Base image advice
For a scanned image, AlertaVuln suggests up to three safer base images, each
with the concrete RED /
YELLOW / GREEN
delta it would bring. The advice surfaces on the project’s Containers page and
through the get_base_image_advice MCP tool.
How the base image is found
Section titled “How the base image is found”The advisor identifies the current base image, best-effort, in priority order:
- the OCI annotation
org.opencontainers.image.base.namewhen the image builder recorded it; - heuristics over the image config history;
- the connected repository’s Dockerfile
FROMline, when the project has a connected repo (read through the git provider - the repo is never cloned).
What it recommends
Section titled “What it recommends”Within the same base-image family, the advisor enumerates candidates from the public registry and categorises each suggestion:
- Minor upgrade - a newer patch or point tag of the same major.minor.
- Variant switch - a slimmer or minimal variant (for example a
-slim,-alpine, or distroless equivalent). - Major upgrade - the next major version.
Each candidate is scored by scanning it and comparing tiered counts against your
current base, expressed as a delta such as “-2 RED, -14 YELLOW”. A negative delta
means fewer vulnerabilities. When the project has a connected repo, the advice
also names the Dockerfile path and the FROM line to change.
Scoring is cached by base-image digest and shared across customers, so popular bases are effectively pre-computed. While a candidate is still being scored it is shown as Pending (no delta yet) and settles to Scored once its scan completes.
Best-effort by design
Section titled “Best-effort by design”Advice never blocks or delays finding ingestion - if the advisor has nothing to offer (for example a private base image it cannot enumerate), it degrades to “no advice available” and the rest of the scan is unaffected.
See also
Section titled “See also”av image scan- scan an image to get advice for it- Continuous monitoring - the nightly sweep also refreshes base-image scores
- Container image scanning - the full coverage overview