Work with custom rulesets
Use the following workflow to deploy a custom ruleset.
- Create a root ruleset if you do not have one.
- Create a custom ruleset.
- Add rules to your custom ruleset.
- Add a rule to the root ruleset to deploy the custom ruleset.
You can modify the behavior of deployed managed rulesets by adding overrides to the rules in the root ruleset that deploys them.
To modify custom ruleset behavior, Cloudflare recommends creating a new custom ruleset or editing the current custom ruleset instead of using overrides.
Refer to workflow examples for examples of deploying custom and managed rules.