Skip to content
Cloudflare Docs

WAF 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_customzone Go to Security rules
Rate limiting rulesetsAccounthttp_ratelimitroot Go to WAF > Rate limiting rulesets tab
Rate limiting rulesZonehttp_ratelimitzone Go to Security rules
Managed rulesetsAccounthttp_request_firewall_managedroot Go to WAF > Managed rulesets tab
Managed rulesZonehttp_request_firewall_managedzone Go to Security rules

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