Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to whitelist an ip address in Azure WAF

I have an Azure Application Gateway Web Application Firewall using the OWASP 3.0 ruleset. I created a custom policy so I could create a custom rule which simply allows traffic if it's from a specific IP Address and it has a priority of 1. This is great and I can see log entries in the firewall logs that the rule has been matched. However, I also see log entries that some of the OWASP rules have been matched as well.

My question is whether or not it is possible to prevent further rule/ruleset processing for this specific ip address?

like image 827
devlife Avatar asked Oct 22 '25 16:10

devlife


1 Answers

In WAF Application Gateway, custom policy takes precedence. So if you have a rule to allow certain IP and if that matches, the other rules of OWASP are not processed. The traffic is allowed.

This is the behavior as of today, please provide feedback in User voice if you have a different scenario.

like image 122
msrini-MSIT Avatar answered Oct 25 '25 12:10

msrini-MSIT