Forum Discussion
ASM parameter allow but for one particular value
Maybe I dont see the woods for the trees. What I want to do is to have ASM look for a parameter and only if it has a particular value the policy shall block.
Therefore I thought I could apply a RegEx to the parameters data type: ^(.(?!blockthisvalue))*$
However I dont get ASM to block that. Am I just doing it wrong? What would be the best way to achieve my requirement?
Regards Andreas
1 Reply
- akroehnert
Nimbostratus
after some troubleshooting I had the facepalm event. A little dot was causing the problem. Setting the RegEx for the data type to ^((?!blockthisvalue))*$ (without the dot after the first bracket) works like a charm.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com