SECOPS

Open Linear Tickets for Each Cloudflare WAF Drift Item

Audits live Cloudflare WAF rules against the GitHub baseline and opens a deduplicated Linear issue for every drifted rule, tagged by severity.

CategorySecOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerScheduled audit run
  • ActionPull live Cloudflare WAF rulesCloudflareCloudflare
  • ActionRead approved baseline from GitHubGitHubGitHub
  • LogicDiff and score each drift item by severity
  • ActionLook up existing Linear issue per ruleLinearLinear
  • OutputCreate or update Linear remediation ticketLinearLinear

What it does

This turns WAF drift into actionable work. It compares the live Cloudflare ruleset to the approved baseline in GitHub, and for each rule that was added, removed, or modified without review, it creates a Linear issue describing the exact delta. Existing open tickets for the same rule are updated instead of duplicated.

When to use it

Use it when you want drift handled through your normal engineering queue rather than a noisy chat ping. Each finding gets an owner, a severity label, and a paper trail, which is ideal for teams under SOC 2 or PCI change-control obligations.

How it works

  1. 1A schedule triggers the audit run.
  2. 2Cloudflare returns all active firewall and WAF custom rules per zone.
  3. 3GitHub provides the committed baseline for comparison.
  4. 4A diff step produces a list of drift items, each scored by how risky the change is (a disabled block rule ranks higher than a renamed allow rule).
  5. 5For each drift item, a Linear lookup checks for an existing open issue keyed on the rule ID.
  6. 6The Linear output creates a new issue or appends a comment to the existing one, applying the computed severity label.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  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.