Work with custom rulesets
Use the following workflow to deploy a custom ruleset:
- Create a custom ruleset, optionally providing a list of rules to include in the custom ruleset.
- (Optional) Add rules to your custom ruleset.
- Deploy the custom ruleset by adding an
executerule to a phase entry point ruleset. If you skip this step, the rules of the custom ruleset will not run.
Currently, custom rulesets are only supported by the Cloudflare WAF, both at the account and the zone level.
:::note You cannot execute a custom ruleset from another custom ruleset, only from an entry point ruleset. :::
Change the behavior of a custom ruleset
To modify custom ruleset behavior, Cloudflare recommends creating a new custom ruleset or editing the custom ruleset instead of using overrides.
这篇文档对你有帮助吗?
谢谢你的反馈!