Rules language
The Cloudflare Rules language is a flexible and intuitive specification for building rule expressions. Based on the widely known Wireshark display filters ↗, the Rules language allows you to precisely target HTTP requests with a syntax and semantics familiar to security engineers.
Refer to the following pages for more information about the available language elements:
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - 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