Create Managed Rule Exclusion to exclude a rule on a particular host

Jaco Fourie 0 Reputation points
2025-06-26T11:03:42.8266667+00:00

Hi, I am trying to create an exclusion rule on a particular OWASP policy code to exclude a particular host name. I include the rule and use the following:

Match Variable: Request Header Values

Operation: Equals

Select: {my.host.com}

I've tried various other types of exclusions looking at the detailed data and creating rules looking at Arg Keys etc... but I feel this does not work and does not do anything? I view the Firewall logs and still see the messages Match and coming through. Does this even work?

However, I have created some Custom rules which seem to work fine, but I don't want to exclude a hostname from all OWASP rules.

Azure Web Application Firewall
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.