Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

Managed Ruleset Overrides, Deployment, and Sensitivity

Deploy WAF and DDoS managed rulesets, apply ruleset/tag/rule overrides, and tune sensitivity using Cloudflare dashboard and Rulesets API.

This page summarizes Cloudflare documentation on managed rulesets: preconfigured rules maintained by Cloudflare that you deploy to a phase (for example http_request_firewall_managed for WAF or ddos_l7 for HTTP DDoS). You keep default protection while changing behavior through overrides at ruleset, tag, or rule scope—or, for WAF only, exceptions (skip rules) that take precedence over overrides.

What managed rulesets are and when you need them

Section titled “What managed rulesets are and when you need them”

Managed rulesets give immediate edge protection for common web exploits, credential abuse, sensitive data exposure, and DDoS patterns without authoring every signature yourself.

Cloudflare provides pre-configured managed rulesets that protect against web application exploits such as the following: Zero-day vulnerabilities, Top-10 attack techniques, Use of stolen/leaked credentials, Extraction of sensitive data.

— Cloudflare, Managed Rules

WAF managed rulesets run in the http_request_firewall_managed phase. DDoS managed rulesets protect HTTP (ddos_l7, zone or account) and network traffic (ddos_l4, account level). Only Cloudflare can change the underlying rules; customers deploy the ruleset and adjust defaults via overrides.

Product area Typical managed rulesets (from docs) Main customization
WAF Cloudflare Managed Ruleset, OWASP Core Ruleset, Sensitive Data Detection Action, status, scope, OWASP paranoia level and score threshold
HTTP DDoS HTTP DDoS Attack Protection Action, sensitivity level
Network DDoS Network-layer DDoS Attack Protection Action, sensitivity (account-level overrides only)

Deploy managed rulesets: dashboard vs always-on DDoS

Section titled “Deploy managed rulesets: dashboard vs always-on DDoS”

WAF managed rulesets: turn on in Security Settings

Section titled “WAF managed rulesets: turn on in Security Settings”

For a zone, enable one or more WAF managed rulesets on Security Settings. Each enabled ruleset creates an Execute rule in Security rules.

Turn on the managed ruleset(s) you want to deploy: Cloudflare managed ruleset - Deploys the Cloudflare Managed Ruleset. OWASP Core - Deploys the Cloudflare OWASP Core Ruleset. Sensitive data detection - Deploys the Cloudflare Sensitive Data Detection managed ruleset.

— Cloudflare, Deploy a WAF managed ruleset in the dashboard

Review scope so the ruleset applies to all traffic or a filtered subset, then save. To pause execution without deleting configuration, use the toggle on the deployment rule (same doc).

Enterprise accounts can also deploy WAF managed rulesets at account level from the WAF Managed rulesets tab; deployed rulesets apply only to Enterprise zones unless the expression includes cf.zone.plan eq "ENT".

HTTP DDoS Attack Protection is enabled for all onboarded zones; you add a rule in the ddos_l7 entry point only when you need overrides (Configure via API). Network-layer protection is always on at the account for onboarded prefixes; overrides are account-level only (Network-layer DDoS).

Override levels: ruleset, tag, and rule (and what wins)

Section titled “Override levels: ruleset, tag, and rule (and what wins)”

Overrides change default action, status, sensitivity, or OWASP scoring on top of the managed ruleset defaults (Override a managed ruleset).

You can override a ruleset at three levels: Ruleset overrides apply to all rules in the executed ruleset. Tag overrides apply to all rules with a specific tag. Rule overrides apply to specific rules in a managed ruleset, referenced by their Rule ID.

— Cloudflare, Override a managed ruleset

Precedence: more specific wins—rule overrides beat tag overrides, which beat ruleset overrides. For DDoS entry-point rules, tag and rule overrides have priority over ruleset overrides (HTTP overrides dashboard).

For WAF, exceptions (skip rules) have priority over overrides (Managed Rules).

Future rules vs selected rules only

Ruleset overrides and tag overrides apply to both existing and future rules in the managed ruleset. If you want to override existing rules only, you must use rule overrides.

— Cloudflare, Managed Rules

In the dashboard, when bulk-editing by tag, choose Include new rules or Only selected rules (Cloudflare Managed Ruleset tag configuration).

WAF ruleset-level options people search for

Section titled “WAF ruleset-level options people search for”

At ruleset level for Cloudflare Managed Ruleset, common fields include:

  • Scope — filter expression limiting which requests run the ruleset
  • Ruleset action — Block, Log, challenges, or Default
  • Ruleset status — enables or disables all rules (enabling all also enables rules Cloudflare leaves off by default and future rules)
  • Payload logging — requires a configured public encryption key

WAF rule actions at tag or rule level: Block, Log, Non-Interactive Challenge, Managed Challenge, Interactive Challenge.

Cloudflare Managed Ruleset vs OWASP Core Ruleset

Section titled “Cloudflare Managed Ruleset vs OWASP Core Ruleset”

Cloudflare Managed Ruleset (signature-first, primary WAF layer)

Section titled “Cloudflare Managed Ruleset (signature-first, primary WAF layer)”

Created by the Cloudflare security team, this ruleset provides fast and effective protection for all of your applications. The ruleset is updated frequently to cover new vulnerabilities and reduce false positives.

— Cloudflare, Cloudflare Managed Ruleset

Cloudflare recommends enabling rules whose tags match your stack (for example wordpress). Many rules are disabled by default to balance protection and false positives; enabling all rules via overrides is discouraged except for short proof-of-concept work (Cloudflare Managed Ruleset).

The WAF get started flow: deploy Cloudflare Managed Ruleset first; optionally add OWASP after tuning attack score.

OWASP Core Ruleset (score-based, tuning-heavy)

Section titled “OWASP Core Ruleset (score-based, tuning-heavy)”

The Cloudflare OWASP Core Ruleset is designed to work as a single entity to calculate a threat score and execute an action based on that score. When a rule in the ruleset matches a request, the threat score increases according to the rule score.

— Cloudflare, Cloudflare OWASP Core Ruleset

Paranoia level (PL1–PL4): setting PL3 enables all rules in PL1–PL3; higher PL increases aggression and false-positive risk (Concepts).

Score threshold (anomaly threshold):

Label Minimum cumulative score to trigger OWASP action
Low 60 and higher
Medium (default) 40 and higher
High 25 and higher

(Concepts — score threshold)

Mitigation appears on the last ruleset rule (for example inbound anomaly score exceeded); see the OWASP evaluation example for how individual rule scores sum before the threshold check.

DDoS overrides: sensitivity, actions, and plan limits

Section titled “DDoS overrides: sensitivity, actions, and plan limits”

DDoS overrides adjust action and sensitivity level for detections (HTTP parameters, network parameters).

If you are an Enterprise customer with the Advanced DDoS Protection subscription, you can define up to 10 overrides. … If you do not have the Advanced DDoS Protection subscription, you can only deploy one override which will always apply to all incoming requests.

— Cloudflare, Configure in the dashboard (HTTP)

Rules in the ddos_l7 entry point are evaluated in order; Cloudflare applies the first rule whose expression and sensitivity match (same doc). Enterprise customers can use override expressions to scope sensitivity by path or other fields (Override expressions (HTTP)).

Example pattern from docs: a Block override at low sensitivity must be listed before a Log override at high sensitivity, otherwise the log rule matches first and blocking never runs (HTTP override examples).

Network-layer expressions: destination, not source

Section titled “Network-layer expressions: destination, not source”

Overrides filter detection scope; they are not allowlists on mitigation fingerprints.

The use of non-recommended fields in an expression may result in unexpected behavior. … it is recommended to use more stable expressions such as protocol, destination IP, and destination port.

— Cloudflare, Override expressions (network)

Enterprise guidance in Get started with DDoS protection: set all HTTP and network DDoS rules to Log, identify noisy rules, add per-rule sensitivity or action overrides, then remove the blanket log override. Log action for this workflow is Enterprise-only (Get started).

Testing-phase network rules may default to Log in the dashboard until promoted; forcing Block early can increase false positives and skip later DDoS Dynamic defaults (Network-layer DDoS — Network Analytics rule display).

Configure overrides via Rulesets API (outline)

Section titled “Configure overrides via Rulesets API (outline)”

Overrides live in the Execute rule’s action_parameters.overrides when you update a phase entry point ruleset (Override a managed ruleset).

HTTP DDoS — single rule sensitivity example (Adjust the sensitivity of an HTTP DDoS rule to Low):

curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/rulesets/phases/ddos_l7/entrypoint" \
--request PUT \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--json '{
"rules": [{
"action": "execute",
"expression": "true",
"action_parameters": {
"id": "<HTTP_DDOS_RULESET_ID>",
"overrides": {
"rules": [{
"id": "<RULE_ID>",
"sensitivity_level": "low"
}]
}
}
}]
}'

Deploy the HTTP DDoS managed ruleset in the entry point only when defining overrides (Configure via API). Account-level HTTP DDoS overrides exist via API; if a zone has its own overrides, account-level HTTP overrides are not evaluated for that zone (same doc).

OWASP API tuning uses tag overrides on paranoia-level-* tags and a rule override on the final ruleset rule for action and score_threshold (Configure via API). Terraform examples: WAF managed rulesets, DDoS managed rulesets.

Some managed rules are read-only and cannot be overridden (HTTP DDoS dashboard configuration).

Common mistakes when tuning managed rulesets

Section titled “Common mistakes when tuning managed rulesets”
  • Enabling every WAF rule at ruleset level for production traffic instead of tag-aligned rules (high false-positive risk) (Cloudflare Managed Ruleset).
  • Adding OWASP on top of Cloudflare Managed Ruleset and attack score without monitoring PL and score threshold (OWASP reference).
  • Using tag/ruleset overrides when you only meant to change current rules—remember they apply to future rules too (Managed Rules).
  • Wrong DDoS override order so a broad Log override prevents a Block override from ever matching (HTTP override examples).
  • Network override expressions on ip.src or source ports, expecting allowlist behavior during distributed attacks (Override expressions (network)).
  • Enabling all rules at account level across every zone without review (Override a managed ruleset).

For few per-hostname exceptions, Cloudflare suggests exceptions plus a default managed deployment after Log-mode calibration (Streamlined WAF deployment).

  1. In Security Settings or Security rules, confirm each intended WAF managed ruleset shows an Execute deployment and expected scope (Deploy a WAF managed ruleset).
  2. Open the deployment → Browse rules and verify tag-based rules for your stack (for example CMS tags) match intended status and action (Cloudflare Managed Ruleset).
  3. For DDoS, review DDoS protection overrides on Security rules (HTTP) or L3/4 DDoS protection (network); confirm override count and order match your plan (HTTP availability).
  4. After changes, inspect Security Events sampled logs; for OWASP, expand Additional logs to see per-rule scores (OWASP evaluation example).
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match your zone or the linked Cloudflare documentation, email yimasynthetic@gmail.com with the page URL and the exact statement you believe is wrong or unclear.