New — Iris AI drafts your firewall, routing & rate-limit rules. Explore AI features →
Changelog
Security

See which WAF or bot rule matched a request, in detect mode too

The Traffic Inspector tags each request a WAF or bot rule matched and names the rule and the reason. Each rule shows how many requests it matched.

See which WAF or bot rule matched a request, in detect mode too

You put a WAF or bot rule in detect mode to see what it would stop before it stops anything. Until now that was hard to see: in the Traffic Inspector, a request the rule matched looked like every other request, and the rule didn't say how often it had matched.

Now a request that a WAF or bot-management rule matched carries a tag, whether the rule refused it or only watched. Above is Acme Labs' traffic: an order lookup with an SQL injection in a parameter went through with the tag WAF detect, and a request for /.env was refused with WAF blocked.

The details of a request: the Traffic rule line names the rule WAF baseline, says "would block" and gives the reason, an SQL injection in a parameter
Click a request. The Traffic rule line names the rule and the reason, and says what a rule in detect mode would have done.
Two rules on the Traffic Policy tab, both in detect mode: Known scrapers matched 18 requests in the last 24 hours and WAF baseline 132, each with a link to the Traffic Inspector
Each rule counts what it matched in the last 24 hours. The link opens those requests in the Inspector.

What changed

  • A tag on each matched request. WAF detect or Bot rule detect when the rule is in detect mode and the request went on. WAF blocked or Bot rule blocked when the rule refused it.
  • The rule and the reason. A request's details have a Traffic rule line with the rule's name and why it matched, such as "SQL injection in a parameter" or "TLS fingerprint (JA3) on the rule's denylist".
  • A filter for them. The Traffic rule filter keeps the requests matched in detect mode, the blocked ones, or both.
  • A count on each rule. On an endpoint's Traffic Policy tab, each WAF and bot-management rule shows how many requests it matched in the last 24 hours, with a link to those requests. The counts are updated every 15 minutes.
  • In the API. List Traffic Logs returns a traffic_rule field and takes the same filters.

Requests from before this change carry no tag.

Get started

  1. On an endpoint's Traffic Policy tab, put a WAF or bot-management rule in detect mode.
  2. Open Observability › Traffic Inspector, add a filter on Traffic rule and pick Matched in detect mode.
  3. Click a request to read the rule and the reason.
  4. When the rule matches what you want stopped and nothing else, switch it to block.
  5. Read the docs: Which rule matched.

Read the docs

Ask an AI to summarise this page
Deploy
App hosting Edge functions Domains & certificates
Connect
Secure tunnels API gateway Multi-region edge
Protect
Bot protection & challenge WAF & firewall Edge login
Observe & AI
Monitoring Inspector & replay Iris AI MCP server AI Gateway
Developers
Developer tools Docs ngrok policy converter Blog Changelog
Compare
Ngris vs ngrok Ngris vs Cloudflare Tunnel Ngris vs Vercel Ngris vs Netlify Expose localhost guide
More
Solutions Pricing Enterprise Sign in Get Started Free