Skip to content

Commit 00c8eb9

Browse files
pedrosousaRebeccaTamachiro
authored andcommitted
[WAF, REng] Clarify skip rules scope (#21291)
1 parent e4bc0d2 commit 00c8eb9

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/content/docs/ruleset-engine/rules-language/actions.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ The action of a rule tells Cloudflare how to handle matches for the rule [expres
1616

1717
The table below lists the actions available in the Rules language.
1818

19-
Some actions like *Block*, called terminating actions, will stop the evaluation of the remaining rules. The *Skip* action will skip the evaluation of *some* rules when there is a match, but the exact behavior will depend on the rule configuration.
19+
Some actions like _Block_, called terminating actions, will stop the evaluation of the remaining rules. The _Skip_ action will skip the evaluation of _some_ rules when there is a match, but the exact behavior will depend on the rule configuration.
2020

2121
The available actions depend on the [phase](/ruleset-engine/about/phases/) where you are configuring the rule. Refer to each product’s documentation for details on the phase(s) supported by that product.
2222

23-
24-
23+
{/* prettier-ignore */}
2524
<table style="width: 100%">
2625
<thead>
2726
<tr>
@@ -124,6 +123,12 @@ The available actions depend on the [phase](/ruleset-engine/about/phases/) where
124123
The available skip options depend on the phase where you configure the rule. Refer to each
125124
product’s documentation for details.
126125
</p>
126+
<p>
127+
If you configure a rule with the <em>Skip</em> action at the account level it will only
128+
affect rules/phases configured at the account level, not at the zone level.
129+
To skip rules/phases at the zone level you must configure a rule with the <em>Skip</em>
130+
action at the zone level.
131+
</p>
127132
</td>
128133
<td>
129134
No
@@ -283,9 +288,6 @@ The available actions depend on the [phase](/ruleset-engine/about/phases/) where
283288
</tbody>
284289
</table>
285290

286-
287-
288291
:::note
289-
290-
Cloudflare Firewall Rules, now deprecated, supports a different set of actions, including the *Allow* and *Bypass* actions. Refer to [Firewall rules actions](/firewall/cf-firewall-rules/actions/) for more information.
292+
Cloudflare Firewall Rules, now deprecated, supports a different set of actions, including the _Allow_ and _Bypass_ actions. Refer to [Firewall rules actions](/firewall/cf-firewall-rules/actions/) for more information.
291293
:::

src/content/docs/waf/custom-rules/skip/options.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ The available skip options in custom rules are the following:
4646
| [Rate Limiting (previous version)](/waf/reference/legacy/old-rate-limiting/) | `rateLimit` |
4747
| [WAF managed rules (previous version)](/waf/reference/legacy/old-waf-managed-rules/) | `waf` |
4848

49-
- The API values are case sensitive.
49+
- The API values are case-sensitive.
50+
51+
- Currently, you cannot skip [Bot Fight Mode](/bots/get-started/free/), only Super Bot Fight Mode (refer to Skip phases above).
5052

5153
:::note
52-
Currently, you cannot skip [Bot Fight Mode](/bots/get-started/free/), only Super Bot Fight Mode (refer to Skip phases above).
54+
If you configure a skip rule at the account level it will only affect other rules/phases configured at the account level, not at the zone level. To skip rules/phases at the zone level you must configure a skip rule at the zone level.
5355
:::
5456

5557
## Logging

0 commit comments

Comments
 (0)