SECOPS

Repeat-offender IP auto-block with trace evidence

When a single source IP trips the WAF repeatedly inside a window, adds it to a Cloudflare IP block list and captures the Honeycomb traces it generated as evidence in a Linear…

CategorySecOps
Enginesim
Difficultyadvanced
Triggerevent
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerCloudflare WAF firewall event keyed by source IPCloudflareCloudflare
  • LogicCount offenses per IP; gate on repeat-offender threshold
  • ActionAdd IP to Cloudflare IP Access block listCloudflareCloudflare
  • ActionCapture Honeycomb traces from that IP as evidenceHoneycomb
  • OutputFile Linear ticket with block action and trace linksLinearLinear

What it does

It tracks WAF firewall events per source IP and, when one IP crosses a repeat-offense threshold in a short window, programmatically adds that IP to a Cloudflare IP Access (block) list. It then captures the Honeycomb traces tied to that IP's requests as evidence and files a Linear ticket so the action is reviewable and reversible.

When to use it

Use it for fast, defensible containment of obvious single-source abuse where you want the block applied immediately but also want an audit trail and a human review hook.

How it works

  1. 1Cloudflare WAF firewall events trigger, keyed by source IP.
  2. 2A logic step counts offenses per IP in the window and gates on the repeat-offender threshold.
  3. 3An action step adds the IP to a Cloudflare IP Access block list via the API.
  4. 4An action step pulls the Honeycomb traces generated by that IP during the window for evidence.
  5. 5The output step opens a Linear ticket containing the block action, offense counts, and trace links for review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect HoneycombDistributed traces and queries.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  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.