Work with custom rulesets
Use the following workflow to deploy a custom ruleset:
- Create a custom ruleset.
- Add rules to your custom ruleset.
- Add a rule to a phase entry point ruleset that executes the custom ruleset.
You must create a rule with execute action in an entry point ruleset to execute the custom ruleset (step 3 in the previous procedure). 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.
To modify custom ruleset behavior, Cloudflare recommends creating a new custom ruleset or editing the custom ruleset instead of using overrides.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-