Hello @Sheik Mohamed Yasar ,
I understand that you would like to know if it is possible to exclude URLs in Application Gateway WAF.
If you use Azure Application Gateway Web Application Firewall (WAF) v2 SKU, then you can make use of custom rules to achieve your requirement. Custom rules allow you to create your own rules that are evaluated for each request that passes through the WAF. Custom rules in WAF v2 allows you to configure RequestUri
match variable.
For more details, please refer the below docs:
https://zcusa.951200.xyz/en-gb/azure/web-application-firewall/ag/custom-waf-rules-overview
https://zcusa.951200.xyz/en-us/azure/web-application-firewall/ag/create-custom-waf-rules
Custom rules are only available with Application gateway WAF v2 with WAF policy configuration.
From your screenshot, it looks like you are using the legacy WAF configuration.
In case you are using Application Gateway WAF v2 SKU with legacy WAF, then you can upgrade your WAF legacy configuration to WAF policy directly without any downtime.
Also, validate if you are using Application gateway WAF V2 SKU or V1 SKU.
Application Gateway v1 doesn't support WAF policy or custom rules. So, in case you are using Application Gateway WAF v1 SKU, you should migrate your Application Gateway v1 to v2 version and then upgrade legacy WAF configuration to WAF policy to make use of custom rules.
Refer: https://zcusa.951200.xyz/en-us/azure/application-gateway/migrate-v1-v2
Kindly let us know if the above helps or you need further assistance on this issue.
Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.