INTEGRITY Cloudflare Docs

Create exceptions

Create an exception to skip the execution of WAF managed rulesets or some of their rules. The exception configuration includes an expression that defines the skip conditions, and the rules or rulesets to skip under those conditions.

Types of exceptions

An exception can have one of the following behaviors (from highest to lowest priority):

For more information on exceptions, refer to Create an exception in the Ruleset Engine documentation.

Scope and execution order

You can define exceptions at the account level and at the zone level. The scope of an exception determines which rules it affects:

Within each phase, account-level rulesets run before zone-level rulesets. This means that if you deploy managed rules at both the account level and the zone level, a request is evaluated against account-level rules first. An exception defined at the zone level will not prevent a match at the account level.

For more information on how WAF features run in sequence, refer to Security features interoperability.

Next steps

Add exceptions in the Cloudflare dashboard or via API.