IT OPS

Agentic Cloudflare WAF Drift Investigation with Confluence Writeup

When WAF drift is detected, an agent investigates who changed what, correlates it with recent incidents and deploys, drafts a plain-English root-cause writeup in Confluence.

CategoryIT Ops
Enginepaperclip
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDrift signal or schedule starts investigation
  • ActionRead WAF diff and audit log from CloudflareCloudflareCloudflare
  • LogicAgent judges if change weakened protection and was justified
  • ActionPublish root-cause writeup to ConfluenceConfluenceConfluence
  • OutputPage on-call via PagerDuty if change looks maliciousPagerDutyPagerDuty

What it does

Goes beyond detecting drift to explaining it. When a Cloudflare WAF change is found, an agent gathers the diff, the audit-log actor, and surrounding context, reasons about whether the edit was a legitimate response to an incident or something suspicious, and publishes a readable investigation page in Confluence. If the change weakens protection without justification, it pages the on-call engineer.

When to use it

Use it when raw diffs aren't enough and you want a judgment call plus documentation. Good for lean security teams who need an analyst-style writeup of every firewall change without a human staring at audit logs.

How it works

  1. 1A scheduled trigger or upstream drift signal starts the investigation.
  2. 2The agent reads the WAF diff and audit log from Cloudflare to establish what changed and who did it.
  3. 3It reasons over the change to decide whether the edit reduced protection and whether it maps to a known, justified incident.
  4. 4The agent drafts a root-cause writeup and publishes it as a Confluence page.
  5. 5If the change looks malicious or unjustified, it triggers a PagerDuty incident for on-call.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect ConfluenceSpaces, pages, blueprints.
  3. 3
    Connect PagerDutyIncidents, on-call, escalations.
  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.