Skip to content
WAF
Visit WAF on GitHub
Set theme to dark (⇧+D)

Deploy Managed Rulesets for a zone in the dashboard

You can enable and configure Managed Rulesets for a zone in the WAF tab of the Firewall app.

WAF tab of Firewall app

Deploy a Managed Ruleset

Under Deploy Managed Rulesets, click Add to WAF on the right of a Managed Ruleset to deploy the Managed Ruleset for the current zone.

When you deploy a Managed Ruleset, the WAF adds an Execute rule, displayed under Web Application Firewall (WAF), that deploys the Managed Ruleset.

Enable or disable a Managed Ruleset

Under Web Application Firewall (WAF), click the Enabled toggle on the right of a Managed Ruleset to enable or disable it.

Configure a Managed Ruleset

Configure a Managed Ruleset to:

  • Define specific field values for one or more rules (for example, configure a rule with an action different from the action configured by Cloudflare)
  • Disable one or more rules

To skip one or more rules or WAF Managed Rulesets, add a WAF exception.

Configure field values for all the rules

To configure rule field values for all the rules in a Managed Ruleset:

  1. Go to Firewall > WAF.

  2. Under Web Application Firewall (WAF) and on the right of the Execute rule that deploys the Managed Ruleset you want to configure, click Edit.

  3. Under Ruleset configuration, set one or more rule fields from the available values in the drop-down lists.

    For example, select the action to perform for all the rules in the ruleset from the Ruleset action drop-down list.

    Configure Managed Ruleset

  4. Click Save.

View the rules of a Managed Ruleset

You can browse the available rules in a Managed Ruleset and search for individual rules or tags.

Use the available filters in the Browse Managed Ruleset interface.

To view the rules of a Managed Ruleset:

  1. Go to Firewall > WAF.

  2. Under Web Application Firewall (WAF) and on the right of the Execute rule that deploys the Managed Ruleset you want to browse, click Edit.

  3. Click Browse rules.

    The Browse Managed Ruleset interface displays.

    Browse rules in Managed Ruleset

Configure a single rule in a Managed Ruleset

You can configure one or more rules in the Browse Managed Ruleset interface.

Do the following:

  1. Search for a rule using the available filters. You can search for tags.

  2. Find the rule you want to configure in the results list.

  3. In the result line for the rule you want to change, select the desired value for a field in the displayed drop-down lists. For example, select the rule action in the Action dropdown.

    In some Managed Rulesets, you can also change the status of a rule using the toggle available on the right.

    Browse rules in Managed Ruleset

  4. Click Next.

    The Configure Managed Ruleset interface displays, listing the configuration you just defined.

  5. Click Save.

Configure rules in bulk in a Managed Ruleset

You can configure several rules at once in the Browse Managed Ruleset interface.

Do the following:

  1. Enter search terms in the available input to find the rules you want to configure. You can search for tags.

    Select tag when browsing a Managed Ruleset

  2. In the results list, click the checkbox on the left of all the rules you want to configure.

    Alternatively, click a tag name under the search input to filter the rules with that tag, and then click the checkboxes for the rules you want to configure.

  3. Update one or more fields for the selected rules using the drop-down lists displayed in the top right corner of the table.

    Configure Managed Ruleset rules in bulk

  4. Click Next.

  5. Click Save.