cloudflare / cloudflare/cloudflare-docs

Skip rule behavior of a rule inside a ruleset

Open
#32,976 0 comments 0 reactions 2 assignees Claimed by @xmflsct View on GitHub
content:edit documentation product:waf
Dominant language
MDX
Stars
5.2k
Forks
16.7k
Avg merge
2d 6h
Merged PRs (30d)
337

Description

### Existing documentation URL(s)

https://developers.cloudflare.com/waf/custom-rules/skip/options/#skip-the-remaining-custom-rules-current-phase

### What changes are you suggesting?

From the current document: https://developers.cloudflare.com/waf/custom-rules/skip/options/#skip-the-remaining-custom-rules-current-phase

For a rule inside a ruleset to skip other ruleset, the document mentioned the option `"phase": "current"` in API. The document said it will `skip all remaining rules in the custom ruleset, as well as all later rules in the entry point ruleset where the rule executing the custom ruleset was defined`.

However, with real test result of rule evaluation, the skip rule with "phase": "current" will skip:
- All remaining rules the current custom ruleset
- All later rule in the entry point ruleset
- AND all later rule in the later custom rulesets too.

I would suggest updating the current note
- From `skip all remaining rules in the custom ruleset, as well as all later rules in the entry point ruleset where the rule executing the custom ruleset was defined`:
- To `skip all remaining rules in the **_current_** custom ruleset, as well as all later rules in the entry point ruleset where the rule executing the custom ruleset was defined and **_later custom rulesets_** `

My email is hiep@cloudflare.com

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.