← The blog

Automation · Nov 10, 2026 · 3 min read

From new advisory to affected hosts in minutes, not days

The slowest part of patching is figuring out what's exposed. A small pipeline of SBOMs, advisory feeds, and exposure data fixes that.

  • #vulnerability-management
  • #sbom
  • #automation
White line art of a complex data processing factory machine with neon green and orange accents against a black background.Automation

When PHP2Shell dropped during Black October, the hard question wasn't "how do I patch PHP?" It was "where do we even run PHP?"

For a lot of teams, answering that took days. Spreadsheets, Slack threads, someone grepping Dockerfiles. Meanwhile the clock was running.

That's the gap worth automating. Not the patching itself. The finding out.

The goal

One number: time from advisory published to a ranked list of affected assets. If that number is measured in days, everything downstream is slow too. The goal is minutes.

The pipeline has four parts.

1. Know what you run (SBOMs)

You can't match an advisory against an inventory you don't have. Generate a software bill of materials for every image and artifact you build, in CI, every time.

# Generate an SBOM for an image as part of the build
syft registry.example.com/app:1.4.2 -o cyclonedx-json > sbom.json

Store the SBOMs somewhere queryable, tagged with where each artifact is deployed. The deployment mapping is the part teams skip, and it's the part that matters. "We use PHP 8.3 somewhere" isn't an answer. "PHP 8.3 runs in these six services, and two are internet-facing" is.

2. Watch the advisory feeds

Pull from a few good sources instead of everything:

  • OSV.dev for open source packages across ecosystems. It has a free API.
  • The CISA KEV catalog, the list of vulnerabilities known to be exploited in the wild.
  • GitHub Security Advisories and your key vendors' feeds.

Run the pull on a schedule. Hourly is plenty.

3. Match advisories against SBOMs

This is the easy part, because good tools already exist:

# Match an SBOM against known vulnerabilities, showing only ones with a fix
grype sbom:./sbom.json --only-fixed -o json > findings.json

Run it against every stored SBOM whenever the feeds update, not just at build time. A clean image from last month can become vulnerable today without anyone touching it.

4. Rank by real risk, not just CVSS

Black October showed that CVSS alone drives panic, not prioritization. Rank each finding by context:

  1. Known exploited (on KEV) or public exploit available, and internet-facing: page someone.
  2. Known exploited, internal only: fix this week.
  3. Critical severity, internet-facing, no known exploit: fix this sprint.
  4. Everything else: normal patch cycle.

Exploit prediction scores like EPSS help sort within each tier. Exposure data (is this reachable from the internet?) usually matters more than the score.

Then hand it to humans, with the work done

The output shouldn't be a dashboard someone has to remember to check. It should be a ticket, already filled in:

  • The advisory, and why it ranked where it did
  • The affected services and hosts, and who owns them
  • The fixed version
  • A link to the behavior detection that covers the gap until the patch ships

The engineer's job becomes deciding and fixing, not researching. That's where human time is worth spending.

What this buys you

The next PHP2Shell happens. Within the hour, you know the six services that run PHP, the two that face the internet, who owns them, and which version fixes it. You patch the two in order while a detection watches for PHP spawning shells.

That's what responding at AI speed actually looks like. Not faster panic. Less research.

Next week: where AI fits into triaging what this pipeline finds, and where it confidently gets things wrong.