Defining WAF exceptions
Define WAF exceptions to skip the execution of WAF managed rulesets or some of their rules. The WAF exception configuration includes an expression that defines the skip conditions, and the rules or rulesets to skip under those conditions.
Types of WAF exceptions
WAF exceptions can have one of the following behaviors (from highest to lowest priority):
- Skip all remaining rules (belonging to WAF managed rulesets).
- Skip one or more WAF managed rulesets.
- Skip one or more rules of WAF managed rulesets.
You define WAF exceptions in a given context — zone level or account level — and they apply only to that context. For example, if you define a WAF exception that skips all remaining rules at the account level, the WAF rules at the zone level will still be evaluated.
WAF exceptions only apply to rules executing a managed ruleset listed after them. If you add a WAF exception at the end of the WAF rules list, nothing will be skipped.
If you define a WAF exception that skips all remaining rules, the expressions of those rules are not evaluated.
If you define a WAF exception that skips a rule of a managed ruleset, the expression of the rule that executes the managed ruleset is evaluated and the managed ruleset rules are executed except for that specific rule, which is bypassed.
Currently, WAF exceptions are not logged in Security Events.