WAF phases

Last updated Aug 3, 2026 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 feature Scope Phase Ruleset kind Location in the dashboard
Custom rulesets<br> Account http_request_firewall_custom custom (create)<br>root (deploy) Go to WAF ↗ > Custom rulesets tab
Custom rules Zone http_request_firewall_custom zone Go to Security rules ↗
Rate limiting rulesets Account http_ratelimit root Go to WAF ↗ > Rate limiting rulesets tab
Rate limiting rules Zone http_ratelimit zone Go to Security rules ↗
Managed rulesets Account http_request_firewall_managed root Go to WAF ↗ > Managed rulesets tab
Managed rules Zone http_request_firewall_managed zone Go to Security rules ↗

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

Was this helpful?

YesNo

WAF phases - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/waf/reference/phases/#page","headline":"WAF phases","description":"WAF rule execution phases and their order of evaluation.","url":"https://developers.cloudflare.com/waf/reference/phases/","inLanguage":"en","image":"https://developers.cloudflare.com/waf/reference/phases/og.png?v=3bb798deab615a01","dateModified":"2026-08-03","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: A WAF managed rule may block site scans performed by Bing Webmaster Tools. title: Bing's Site Scan blocked by a managed rule image: https://developers.cloudflare.com/waf/troubleshooting/blocked-bing-site-scans/og.png?v=2cb1602a5ba85ba4


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/waf/llms.txt
Use this file to discover all available pages before exploring further.