| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/waf/managed-rules/waf-exceptions/define-dashboard/ | [Back] [Original] |
To add an exception at the zone level:
In the Cloudflare dashboard, go to the Security rules page.
Go to Security rules ↗Select Create > Managed rules.
To add an exception at the account level (Enterprise plans only):
In the Cloudflare dashboard, go to the WAF page.
Go to WAF ↗Go to the Managed rulesets tab.
Select Deploy > Deploy managed exception.
In Exception name, enter a name for the exception.
[The Add exception page in the Cloudflare dashboard]In When incoming requests match, specify a filter expression that defines the conditions for applying the exception. When the expression matches, the WAF will evaluate the exception skipping one or more rules of WAF managed rulesets. The filter expression uses the Rules language.
In Then, select the exception type that determines which rules to skip:
Select Select ruleset.
Next to the ruleset containing the rule(s) you wish to skip, select Select rules.
A) To skip one or more rules in the ruleset:
920460 to find the rule 920460: Abnormal character escapes in request.B) To skip all the rules in the ruleset:
Select all the rules in the current page by selecting the checkbox in the table header, near Description/Rule ID. The table header will display 10 rules selected (of <TOTAL> rules).
[Rule selection page showing the option to select all the rules in the ruleset]Select Select all <TOTAL> rules in the table header to select all the rules across all pages.
Select Next.
(Optional) To disable logging for requests matching the exception, disable Log matching requests.
To save and deploy your exception, select Deploy. If you are not ready to deploy your exception, select Save as Draft.
To edit an exception at the zone level:
In the Cloudflare dashboard, go to the Security rules page.
Go to Security rules ↗(Optional) Filter by Managed Rules.
Find the exception you want to edit and select its name. Exceptions are rules listed with Action = Skip.
Once you have finished making changes, select Save.
Alternatively, to delete the exception, select Delete exception.
To edit an exception at the account level (Enterprise plans only):
In the Cloudflare dashboard, go to the WAF page.
Go to WAF ↗Go to the Managed rulesets tab.
Find the exception you want to edit and select its name. Exceptions are rules listed with Action = Skip.
Once you have finished making changes, select Save.
Alternatively, to delete the exception, select Delete exception.
Note
Exceptions only apply to rules executing a managed ruleset listed after them. For example, if you are skipping a rule belonging to the Cloudflare OWASP Core Ruleset, make sure the exception is listed in the rules list before the Execute rule deploying this managed ruleset.
| Web Proxy Viewer | New URL | Original Page |