IT OPS

Cloudflare WAF Drift Detector vs IaC Baseline → ClickUp Ticket

On a schedule, pulls live Cloudflare WAF rules, diffs them against the approved Terraform/IaC baseline in Git.

CategoryIT Ops
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule fires the drift check
  • ActionList live WAF rules from Cloudflare zoneCloudflareCloudflare
  • ActionRead approved IaC baseline from GitHubGitHubGitHub
  • LogicDiff live rules against baseline; stop if identical
  • OutputOpen ClickUp ticket per drifted rulesetClickUpClickUp

What it does

Compares the WAF custom rules actually running on your Cloudflare zone against the version-controlled baseline that defines what *should* be deployed. When live config diverges from the approved baseline, it files a single ClickUp ticket per drifted ruleset, including the specific fields that changed.

When to use it

Run this when your WAF is managed as code but people still have console access and can hand-edit rules. It catches out-of-band changes, half-finished hotfixes, and silent reverts before they become an incident or audit finding.

How it works

  1. 1A daily schedule fires the workflow.
  2. 2The Cloudflare step lists all WAF custom rules and rulesets for the target zone.
  3. 3The GitHub step reads the approved baseline file (e.g. `waf/rules.tf` or exported JSON) from the main branch.
  4. 4A logic step normalizes both sides and computes a structured diff — added, removed, and modified rules with old/new values.
  5. 5If the diff is empty the run ends quietly; otherwise it continues.
  6. 6A ClickUp ticket is created summarizing each drifted rule, the field deltas, and the owning zone.

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 ClickUpDocs + tasks + chats in one workspace.
  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.