WAF managed rules upgrade

Last updated Apr 16, 2026 On 2022-05-04, Cloudflare started the upgrade from the previous version of WAF managed rules to the new WAF Managed Rules, allowing a first set of eligible zones to migrate. Currently, all zones can upgrade to WAF Managed Rules, including partner accounts.

Cloudflare is gradually upgrading all zones to the new version of WAF Managed Rules. You can also start the upgrade process manually for a zone in the Cloudflare dashboard or via API. The upgrade is irreversible — once you upgrade to the new WAF Managed Rules, you cannot go back to the previous version.

If you are using the old dashboard, once the upgrade finishes your rules will be shown using a different user interface in Security > WAF > Managed rules tab. If you are using the new security dashboard, your upgraded rules will be shown in Security > Security rules.

Additionally, the WAF managed rules APIs will stop working once you upgrade.

Deprecation notice

The APIs and Terraform resources related to the previous version of WAF managed rules are deprecated. The APIs for managing the previous version of WAF managed rules are no longer supported since 2025-06-15. The same applies to Terraform resources related to the previous version of WAF managed rules. You must migrate your configuration to avoid any issues.

Refer to Possible upgrade errors if you are having issues upgrading.

Main benefits

The new version of WAF Managed Rules provides the following benefits over the previous version:

  • New matching engine – WAF Managed Rules are powered by the Ruleset Engine, which allows faster managed rule deployments and the ability to check even more traffic without scaling issues. The rules follow the same syntax used in other Cloudflare security products like WAF custom rules.
  • Updated Managed Rulesets – The Cloudflare OWASP Core Ruleset, one of WAF's Managed Rulesets, is based on the latest version of the OWASP Core Ruleset (v3.x), which adds paranoia levels and improves false positives rates compared to the version used in WAF managed rules (2.x). You also have more control over the sensitivity score, with a clear indication of how much each rule contributes to the score and what was the total score of a triggered request.
  • Better rule browsing and configuration – Deploy Managed Rulesets with a single click to get immediate protection. Override the behavior of entire rulesets, or customize a single rule. Apply overrides to all rules with a specific tag to adjust rules applicable to a given software or attack vector. You can deploy configurations like the following:
  • Deploy the Cloudflare Managed Ruleset across all my zones.
  • Deploy the Cloudflare OWASP Core Ruleset on all traffic that does not contain /api/* in the path.
  • Disable Managed Rulesets across my account for traffic coming from my IP.

For more information on the benefits of WAF Managed Rules, refer to our blog post ↗︎.


Upgrade impact

You will be able to upgrade all your zones that do not have URI-based WAF overrides. The same protection will apply to your zone once you move to the new WAF.

Most configuration settings from the previous version of WAF managed rules will be upgraded to the new version, but some specific configurations originally defined in the OWASP ModSecurity Core Rule Set will be lost — you will have to create these configurations in the new WAF Managed Rules, if needed.

For API users, the APIs for managing the previous version of WAF managed rules will stop working once you upgrade. You must use the Rulesets API to manage the new WAF Managed Rules.

Configurations that will be upgraded

The upgrade process will create an equivalent configuration for the following settings of WAF managed rules:

  • Firewall rules configured with Bypass > WAF Managed Rules.
  • Page Rules configured with Disable Security.
  • Page Rules configured with Web Application Firewall: Off or Web Application Firewall: On.

The OWASP ruleset configuration will be partially upgraded. Refer to the next section for details.

Configurations that will be lost in the upgrade process

The upgrade process will partially migrate the settings of the OWASP ModSecurity Core Rule Set available in the previous version of WAF managed rules.

The following OWASP settings will be migrated:

Old sensitivity PL in new OWASP Score threshold in new OWASP
High PL2 Medium – 40 or higher
Medium PL1 High – 25 or higher
Low PL1 Medium – 40 or higher
Default PL2 Medium – 40 or higher
- Action: The action in the previous OWASP ruleset has an almost direct mapping in the new OWASP managed ruleset, except for the Simulate action which will be migrated to Log.

The following OWASP settings will not be migrated, since there is no direct equivalence between rules in the two versions:

  • OWASP group overrides
  • OWASP rule overrides

To replace these settings you will need to configure the Cloudflare OWASP Core Ruleset in WAF Managed Rules again according to your needs, namely any tag/rule overrides. For more information on configuring the new OWASP Core Ruleset, refer to Cloudflare OWASP Core Ruleset.

Configurations that will prevent you from upgrading

If a zone has URI-based WAF overrides (only available via API), you will not have the option to upgrade to WAF Managed Rules. To upgrade to WAF Managed Rules you must:

  1. Delete any existing URI-based WAF overrides using the Delete a WAF override operation.
  2. Follow the upgrade process described below.

Cloudflare dashboard changes

After the upgrade process is complete, the Cloudflare dashboard will display your rules in:

  • Old dashboard: Security > WAF > Managed rules tab (using a different user interface)
  • New dashboard: Security > Security rules

Unlike the old WAF managed rules, there is no longer a global on/off setting to enable the WAF. Instead, you deploy each managed ruleset individually in your zone.

For more information about deploying WAF Managed Rules in the Cloudflare dashboard, refer to Deploy a WAF managed ruleset in the dashboard.

API changes

Once the upgrade is complete, the APIs for interacting with WAF managed rules will stop working. These APIs are the following:

Caution

If you have any integrations using the WAF managed rules APIs stated above, you must update them before upgrading to the new WAF Managed Rules.

To work with WAF Managed Rules you must use the Rulesets API. For more information on deploying WAF Managed Rules via API, refer to Deploy a WAF managed ruleset via API (zone).

Terraform changes

Once the upgrade is complete, the following Terraform resources for configuring WAF managed rules will stop working:

These resources were only supported in the Terraform Cloudflare provider up to version 3.35. Version 4.x no longer supports these resources ↗︎.

To manage the configuration of the new WAF Managed Rules using Terraform, you must use cloudflare_ruleset ↗︎ resources.


Eligible zones

Phase 2 (since 2022-09-19)

Update notice

On 2023-08-18, Cloudflare added support for upgrading partner accounts to the new WAF Managed Rules.

In phase 2 all zones are eligible for upgrade. The exact upgrade procedure varies according to your Cloudflare plan.

  • Pro and Business customers can upgrade to the new WAF Managed Rules in the Cloudflare dashboard or via API. Once the new version is enabled, the previous version of WAF managed rules will be automatically disabled.
  • Enterprise customers can enable the new WAF Managed Rules configuration while keeping the previous version of WAF managed rules enabled, allowing them to check the impact of the new WAF configuration. After reviewing the behavior of the new configuration and making any required adjustments to specific managed rules, Enterprise users can then finish the upgrade, which will disable the previous version of WAF managed rules.

Note: Zones that have URI-based WAF overrides, which you could only manage via API, will not be able to upgrade immediately to the new WAF Managed Rules. You must delete these overrides before migrating.

Phase 1 (since 2022-05-04)

In phase 1 the upgrade became available to a subset of eligible zones, which had to meet the following requirements:

  • The zone has:
  • WAF disabled, or
  • WAF enabled and only the Cloudflare Managed Ruleset is enabled (the OWASP ModSecurity Core Rule Set must be disabled).
  • The zone has no firewall rules or Page Rules bypassing, enabling, or disabling WAF managed rules:
  • Firewall rules configured with Bypass > WAF Managed Rules.
  • Page Rules configured with Disable Security.
  • Page Rules configured with Web Application Firewall: Off or Web Application Firewall: On.
  • The zone has no URI-based WAF overrides (only available via API).

Start the upgrade

You can start the WAF upgrade in the Cloudflare dashboard or via API.

Using the dashboard

  1. Log in to the Cloudflare dashboard ↗︎, and select your account and zone.
  2. A) If you are using the old dashboard:
  3. Go to Security > WAF > Managed rules tab.