Skip to content

Skip rule behavior of a rule inside a ruleset #32976

Description

@hiep4hiep

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions