Cloudflare Docs
WAF
Visit WAF on GitHub
Set theme to dark (⇧+D)

Manage custom rules in the dashboard

Manage custom rules in Security > WAF > Custom rules.

The custom rules interface allows you to:

The Custom rules tab in the dashboard, listing three example rules

​​ Manage custom rules

Edit, delete, or enable/disable rules in the Custom rules card.

​​ Enable or disable a rule

To enable/disable a rule, select the toggle button on the right of the rule you want to change.

​​ Edit a rule

To edit a rule:

  1. Select Edit on the right of the rule you want to change.
  2. Update the rule parameters.
  3. Select Save.

​​ Delete a rule

To delete a rule, select Delete next to the rule you want to delete and confirm the operation.