Skip to content
Cloudflare Docs

Phases

The Web Application Firewall provides the following phases where you can create rulesets and rules:

  • http_request_firewall_custom
  • http_ratelimit
  • http_request_firewall_managed

These phases exist both at the account level and at the zone level. Considering the available phases and the two different levels, rules will be evaluated in the following order:

Security featureScopePhaseRuleset kindLocation in the dashboard
Custom rulesets
Accounthttp_request_firewall_customcustom (create)
root (deploy)
Go to WAF > Custom rulesets tab
Custom rulesZonehttp_request_firewall_customzoneYour zone > Security > WAF > Custom rules tab
Rate limiting rulesetsAccounthttp_ratelimitroot Go to WAF > Rate limiting rulesets tab
Rate limiting rulesZonehttp_ratelimitzoneYour zone > Security > WAF > Rate limiting rules tab
Managed rulesetsAccounthttp_request_firewall_managedroot Go to WAF > Managed rulesets tab
Managed rulesZonehttp_request_firewall_managedzoneYour zone > Security > WAF > Managed rules tab

To learn more about phases, refer to Phases in the Ruleset Engine documentation.