WAF Skip Rules: Custom Rules, Managed Exceptions, and Execution Order
How WAF skip rules and managed exceptions let legitimate traffic bypass rate limits, bot checks, and managed rules safely.
This page summarises Cloudflare documentation on the Skip action in WAF custom rules and WAF exceptions (skip rules) in the managed rules phase. Both patterns answer the same operational question: legitimate requests are blocked or challenged by a security feature—how do you exempt them without turning protection off site-wide?
Skip action in WAF custom rules: what it bypasses
Section titled “Skip action in WAF custom rules: what it bypasses”A WAF custom rule whose action is Skip is also called a skip rule. Skip rules let matching requests bypass selected security features that would otherwise block, challenge, or rate-limit them.
Use the Skip action in a custom rule to skip one or more security features. A rule configured with the Skip action is also known as a skip rule.
Skip rules allow specific requests to bypass security features that would otherwise block or challenge them. Use skip rules when legitimate traffic matches a security rule unintentionally.
— Cloudflare, Configure a rule with the Skip action
Typical situations include trusted API clients hitting rate limiting, monitoring probes triggering managed rules, or verified bots caught by ASN-based block rules. Cloudflare documents the same pattern for login protection, Splunk Logpush HEC, and Super Bot Fight Mode exceptions.
How to create a skip rule in the dashboard
Section titled “How to create a skip rule in the dashboard”In the Cloudflare dashboard, open Security rules, create or edit a Custom rule, set When incoming requests match using the Rules language, choose Skip under Choose action, pick the skip targets, then Deploy (or Save as Draft). For API configuration, use the Rulesets API as described in API examples.
Available skip options: phases, products, and the current ruleset
Section titled “Available skip options: phases, products, and the current ruleset”Skip behaviour depends on which action_parameters you set (dashboard labels mirror these). The authoritative list is Available skip options.
| Goal | Dashboard (typical) | API parameter | Notes |
|---|---|---|---|
| Stop evaluating later custom rules in this ruleset | All remaining custom rules | ruleset: "current" |
Equivalent to legacy Firewall Rules Allow for the ruleset |
| Skip rate limiting, SBFM, or WAF managed rules phases | All rate limiting rules / All Super Bot Fight Mode rules / All managed rules | phases (e.g. http_ratelimit, http_request_sbfm, http_request_firewall_managed) |
Account-level phase skip affects both account and zone for matching requests |
| Skip non–Ruleset Engine products | Zone Lockdown, UA Blocking, BIC, etc. | products (e.g. zoneLockdown, uaBlock, bic) |
Case-sensitive API values |
| Skip rest of the custom-rules phase | — | phase: "current" |
Zone level only |
Skipping a phase does not skip security products that run outside the Ruleset Engine, such as Browser Integrity Check or Zone Lockdown. To skip those products, use the Skip products option instead.
— Cloudflare, Available skip options
Currently, you cannot skip Bot Fight Mode, only Super Bot Fight Mode.
— Cloudflare, Available skip options
You may combine several skip parameters in one rule. You can also disable logging for matching skip rules via the logging object (API examples).
Skip action vs legacy Allow and Bypass
Section titled “Skip action vs legacy Allow and Bypass”Before WAF custom rules, Firewall Rules used separate Allow and Bypass actions. The Skip action replaces both:
The Skip action fully replaces the Allow and Bypass actions, which are not supported in WAF custom rules.
With the Skip action you can do the following: Stop running all the remaining custom rules (equivalent to the Allow action); Avoid running other security products (equivalent to the Bypass action); A combination of the above.
— Cloudflare, Firewall rules upgrade
Use the Rulesets API for full Skip behaviour; the legacy Firewall Rules API does not expose Skip natively.
WAF managed rules exceptions: skip in the managed phase
Section titled “WAF managed rules exceptions: skip in the managed phase”WAF exceptions are skip rules deployed to the http_request_firewall_managed phase entry-point ruleset. They apply only to WAF managed rulesets, not to arbitrary products.
Create an exception to skip the execution of WAF managed rulesets or some of their rules. The exception configuration includes an expression that defines the skip conditions, and the rules or rulesets to skip under those conditions.
— Cloudflare, Create exceptions
Currently, only the Cloudflare Web Application Firewall (WAF) supports managed rules exceptions.
— Cloudflare, Create an exception
Exception types (priority order)
Section titled “Exception types (priority order)”From highest to lowest priority (Types of exceptions):
- Skip all remaining rules in the entry point ruleset (all remaining WAF managed ruleset rules for matches).
- Skip one or more WAF managed rulesets (
action_parameters.rulesets). - Skip one or more rules inside managed rulesets (
action_parameters.rules).
Define exceptions at zone level (Security rules → Managed rules) or account level on Enterprise (Add an exception in the dashboard). API creation uses action: "skip" on rules in the same phase (Add an exception via API).
OWASP Core Ruleset: partial skips and rule 949110
Section titled “OWASP Core Ruleset: partial skips and rule 949110”When you skip only some OWASP rules, other rules may still raise the threat score until 949110: Inbound Anomaly Score Exceeded fires:
An exception that skips only some OWASP rules may leave the threat score above the threshold, so 949110 can still match and apply the configured action. To fully exempt matching requests from OWASP, skip rule 949110 itself or select all the rules of the Cloudflare OWASP Core Ruleset.
— Cloudflare, Add an exception in the dashboard
Skip all remaining rules also bypasses 949110 but skips every remaining managed ruleset rule for matching requests—not only OWASP.
Rule execution order: why a skip rule “does nothing”
Section titled “Rule execution order: why a skip rule “does nothing””Skip rules only affect rules listed after them in the same entry-point ruleset.
Rules with skip action only apply to rules with execute action listed after them. If you add a rule with skip action at the end of the rules list, nothing will be skipped.
— Cloudflare, Add an exception via API
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.
— Cloudflare, Add an exception in the dashboard
For custom rules, Cloudflare evaluates rules in order; the first matching rule with a terminating effect matters. Place skip rules above the block or challenge rules they are meant to bypass (Troubleshooting challenges, Discover and secure your API endpoints).
Account vs zone scope: An account-level exception does not skip zone-level execute rules, and vice versa. Within a phase, account rules run before zone rules (Scope and execution order). Account-level exceptions require Enterprise zones and an expression ending with and cf.zone.plan eq "ENT" when using custom conditions at account level (Create an exception).
Skip rules vs IP Access Allow: different bypass models
Section titled “Skip rules vs IP Access Allow: different bypass models”Operators often allowlist an IP with IP Access rules and wonder why custom logic still misbehaves—or the opposite.
The Allow action in IP Access rules bypasses WAF custom rules, rate limiting rules, WAF Managed Rules (except for country-level entries), and deprecated firewall rules. Any matches do not appear in Security Events.
The Skip action in WAF custom rules instructs Cloudflare to selectively skip certain application security products or components, such as WAF managed rules. Depending on the configuration of the custom rule with the Skip action, other security products will still evaluate the request and might block it.
— Cloudflare, Rule phase interactions
Cloudflare recommends custom rules (often with Skip instead of IP Access Allow) for IP and geography filtering, because Allow is a blunt bypass. Allowing an IP via IP Access rules also bypasses configured custom rules entirely— which can make a custom rule appear not to fire.
Common mistakes when allowing legitimate traffic
Section titled “Common mistakes when allowing legitimate traffic”- Skip rule below the rule it should bypass — no effect until order is fixed (Add an exception via API).
- Partial OWASP skip without 949110 — requests still blocked on anomaly score (Add an exception in the dashboard).
- Assuming phase skip covers Zone Lockdown or BIC — use products skip (Available skip options).
- Over-broad IP or ASN skip — partner allow examples stress bot score and hostname constraints (Update custom rules for customers or partners).
- Mixing up Allowlist with Block — positive security patterns (cookie + Skip remaining custom rules, then Block host) depend on rule order (Require a specific cookie).
For block-or-challenge exclusions, Cloudflare recommends a dedicated Skip rule over stuffing not (...) into every block expression when maintenance cost grows (Troubleshooting challenges).
How to check this on your site
Section titled “How to check this on your site”- In the Cloudflare dashboard, open Security rules and confirm skip or exception rules are ordered before the rules they should bypass; managed exceptions must sit before the Execute rule for the target ruleset (Managed Rules).
- Send a test request that matches the skip expression (method, path, IP, or header) and confirm the response is not blocked or challenged; if using Log on Enterprise, review matches before switching to Block (Create a custom rule in the dashboard).
- In Security events, verify whether the request was skipped as intended or stopped by another product still in the stack (Rule phase interactions).
- After OWASP-related exceptions, retest paths that previously returned managed-rule blocks; if 949110 still fires, adjust skips per Add an exception in the dashboard.
- You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.