AI AGENTS

Daily staged-WAF-rule impact report

Each morning an agent reviews WAF rules that were staged in log-only mode, measures how much traffic each would have blocked or skipped.

CategoryAI Agents
Enginepaperclip
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule starts the run
  • ActionList staged rules and fetch matching eventsCloudflareCloudflare
  • LogicCompute per-rule impact and recommendation
  • ActionWrite per-rule scorecard to NotionNotionNotion
  • OutputPost digest summary to SlackSlack

What it does

Closes the loop after a rule is staged. It pulls a day of firewall events, isolates requests that matched each staged (log-only) rule, and quantifies real-world impact: how many legit-looking requests a skip rule would have unblocked, or how many genuine threats a new block rule would have caught versus false hits. It then recommends enforce, hold, or revise.

When to use it

After proposing WAF changes you want evidence before flipping them live. Run it daily so staged rules don't sit untested and risky ones never get promoted on a hunch.

How it works

  1. 1A daily schedule starts the run.
  2. 2The agent lists currently staged log-only WAF rules from Cloudflare and fetches the day's matching firewall events.
  3. 3It computes per-rule impact metrics — match volume, distinct sources, and an estimate of false-positive versus true-positive matches.
  4. 4It classifies each rule as safe-to-enforce, needs-tightening, or too-broad.
  5. 5It writes a Notion page with a per-rule scorecard and recommendation, and posts a digest summary to Slack linking the report.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect NotionPages, databases, comments.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.