Mar 24 2023 04:14 AM
Hi Experts,
We are trying to migrate our WAF solution to Azure WAF, and some validation rules use REGEX to match the Variable Selector. We are trying to implement the same on Azure WAF and are not sure if that is supported. The Azure Application Gateway WAF document does not cover that.
Basically what we are trying to achieve is, to implement this (attached image):
I am not sure if this is supported as the Azure Application Gateway WAF document does not mention it. We need a way to implement this rule so that it can cover multiple arg## instead of us having to create one rule for each. It is going to be difficult when we have, let's say, 100 args (arg1, arg2, arg3,......, arg100) or more.
Is it supported on Azure Application Gateway WAF? If not, what are the other ways/workaround to implement the same?
Thanks in advance!
Mar 26 2023 07:00 PM
I didn't try but I believed yes as per REGEX supported
Apr 04 2023 09:53 AM
Apr 07 2023 03:35 AM - edited Apr 07 2023 03:38 AM
Hi Shanker,
The field allows us to put the RegEx for Post Args Selector but I am not sure if it is supported as I could not test it. The Azure documentation does not mention the support of RegEx for the Selector (https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/custom-waf-rules-overview#select...).
Were you able to implement and test it successfully?
Also, take a look at the Question that I had posted for the same that says it is not currently supported.
https://learn.microsoft.com/en-us/answers/questions/1192824/azure-web-application-firewall-(waf)-reg...