SECOPS
On-Demand WAF Rule Investigation with Linear Tracking
Triggered manually for a named WAF rule, this workflow builds a full investigation packet from Cloudflare and Sentry.
How it runs
The automated pipeline, trigger to output.
- TriggerAnalyst manually triggers with a target rule ID
- ActionPull rule's blocked requests from CloudflareCloudflare
- ActionQuery Sentry for errors on affected pathsSentry
- ActionSynthesize verdict and recommended rule changeOpenAI
- ActionFile Linear issue with the investigation packetLinear
- OutputPost Linear link to Slack for the analystSlack
What it does
Lets an analyst kick off a deep investigation of one Cloudflare WAF rule on demand. The agent pulls the rule's recent blocks, breaks down source IPs and targeted paths, cross-references Sentry to see whether those paths served real users, then synthesizes findings into a recommendation and files a tracked Linear issue so the tuning work is owned and visible.
When to use it
Use it when someone reports a specific rule that's misbehaving and you want a thorough, documented investigation rather than a quick glance — for example during a postmortem or a customer escalation about being wrongly blocked.
How it works
- 1An analyst manually triggers the workflow with a target WAF rule ID.
- 2An action pulls the rule's recent blocked requests and metadata from Cloudflare.
- 3An action queries Sentry for errors and traffic on the affected paths.
- 4An agent step synthesizes the evidence into an attack-vs-false-positive call and a recommended rule change.
- 5An action files a Linear issue with the investigation packet and recommendation.
- 6An action posts a link to the Linear issue in Slack for the requesting analyst.
Set it up
What you configure once, before turning it on.
- 1Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
- 2Connect SentryErrors, performance, releases.
- 3Connect LinearIssues, projects, cycles, triage.
- 4Connect SlackChannels, DMs, threads, mentions.
- 5Connect OpenAIModels, embeddings, files.
- 6Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 7Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 8Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More SecOps workflows
Scheduled AWS Access-Key Age Sweep and Forced Rotation
Runs daily to find IAM access keys older than your policy threshold, deactivates the stale key, issues a fresh pair, and notifies the key owner with their replacement instructions.
Correlate Datadog WAF anomaly alert with Cloudflare evidence
When Datadog fires a WAF block-rate anomaly monitor, it pulls the matching Cloudflare firewall events, builds an evidence pack of top rules and ASNs.
Exposed-Secret Incident Triage and Remediation Agent
An agent-driven workflow that investigates a reported leaked secret end to end, decides revoke-versus-escalate, executes the rotation.
Non-Rotatable Leaked Secret to PagerDuty Escalation
Catches secret-scan hits for credentials that cannot be auto-rotated, gathers blast-radius context, and pages the on-call engineer with a step-by-step manual rotation runbook.
GitHub Secret-Scan Hit to Auto-Revoke and Rotate
When GitHub secret scanning flags a leaked credential in a repo, it auto-classifies the secret type, revokes the live key at the provider, mints a replacement.
Post-Revocation Verification and Audit Logging
After a key is revoked, it confirms the old credential actually fails, verifies the replacement works.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
