DEVOPS

Nightly rescan of running staging images and rollback on new CVEs

On a nightly schedule, rescans every image currently running in staging against fresh vulnerability feeds and, if a newly disclosed Critical CVE appears, rolls the affected…

CategoryDevOps
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule fires
  • ActionList + rescan running staging image digestsShell
  • LogicBranch: any newly disclosed Critical CVE?
  • ActionRoll staging service back to last clean tagShell
  • ActionPurge Cloudflare cache for affected hostsCloudflareCloudflare
  • OutputPost rollback summary to SlackSlack

What it does

Catches CVEs disclosed *after* an image was already promoted. A scan that passed yesterday can fail tonight when a new advisory drops, so this re-evaluates the live staging fleet every night and reacts automatically.

When to use it

Use it when long-lived staging images sit untouched for days and you need ongoing assurance against newly published vulnerabilities, not just a one-time gate at promotion.

How it works

  1. 1A nightly schedule trigger kicks off the run.
  2. 2A shell step lists the image digests currently deployed to staging and rescans each against updated CVE databases.
  3. 3A logic branch isolates services whose images now carry a fresh Critical CVE that was absent at promotion time.
  4. 4For each affected service, an action rolls staging back to the last known-clean image tag.
  5. 5A Cloudflare action purges the edge cache for the rolled-back hostnames so stale responses are not served.
  6. 6A Slack message summarizes which services were rolled back, the new CVE IDs, and the safe tag restored.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect ShellRun sandboxed commands inside the workspace.
  2. 2
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  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.