Operate Cloudflare WAF: Rules, Exceptions and Evidence
Operate a bounded Cloudflare WAF pilot: verify the origin boundary, deploy a harmless custom rule, investigate sampled events, tune managed-rule exceptions and rate controls, and rehearse recovery.
Product overview, playbooks and related courses
A fictional application team wants to add edge protection without breaking its working API. Seven lessons follow one change from scope to customer handover. A harmless exact-path rule establishes the enforcement path. Later work connects actual decisions to requests, distinguishes a narrow exception from a broad skip, and explains what a rate counter can prove.
Reference: Cloudflare WAF and Ruleset Engine documentation, reviewed November 2026. This SaaS course has no fixed appliance version. Record the actual account, zone, plan, interface and available features before optional product work. The lab assumes Business-plan zone features, existing Full (strict) origin TLS and an enforced customer-specific origin authentication boundary. Account-level deployments, Advanced Rate Limiting, API Shield, bot management and payload logging are outside this pilot.
Four genuine official console screenshots, reproduced under CC BY 4.0 with sources and full-size links, accompany original mechanism diagrams. They show vendor examples, including fields that may require another plan. No screenshot establishes that the fictional pilot ran successfully.
Every dataset is synthetic. Offline Python checks do not reproduce Cloudflare's distributed counters or managed signatures. No exploit payloads, load generator, production change or live tenant execution is required. The first two lessons are public, the third requires a free account and the remaining lessons require Premium. No vendor endorsement or certification is implied.
When you finish, you can
- Bind WAF claims to a proxied hostname and protected origin
- Deploy and verify a deterministic custom rule without attack payloads
- Attribute decisions across rule phases and sampled events
- Select a narrow managed-rule exception with clear residual risk
- Configure rate scope, counters and mitigation without claiming an exact quota
- Deliver a customer acceptance and recovery packet
BEFORE YOU START · You understand HTTP and TLS. All supplied exercises run offline. Optional product work requires an explicitly authorized isolated Business-plan zone, scoped administration rights, an owned harmless HTTPS test application and an existing verified origin boundary.