DEVOPS

Gate Cloudflare deploys on CVE budget with Slack override

Before a Cloudflare deploy goes live, scans the build's container image for CVEs and halts the rollout when the severity budget is breached.

CategoryDevOps
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerCloudflare deploy queued webhookCloudflareCloudflare
  • ActionScan build image for CVEsCloudflareCloudflare
  • LogicCompare CVE tally to severity budget
  • ActionPost approval request with breakdownSlack
  • OutputResume or cancel Cloudflare deployCloudflareCloudflare

What it does

This workflow intercepts a pending Cloudflare deployment, scans the image artifact for known vulnerabilities, and enforces a severity budget. If the image is clean it promotes the deploy automatically. If it breaches the budget, the rollout is paused and an approval request with the full CVE breakdown is sent to a Slack channel where an on-call engineer can approve or reject.

When to use it

Use it when you want CVE enforcement at the deploy boundary rather than at PR time, and you need a human override path for genuine emergencies (a hotfix that must ship despite a known low-risk finding).

How it works

  1. 1A webhook fires when a Cloudflare deploy is queued.
  2. 2An action scans the build's image and tallies CVEs by severity.
  3. 3A branch checks the tally against the budget.
  4. 4Within budget, the workflow promotes the Cloudflare deploy and exits.
  5. 5Over budget, it pauses the rollout and posts an approval prompt to Slack.
  6. 6The Slack decision either resumes or cancels the Cloudflare deploy.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.