Skip to content

v2.0.11 — Synchronous Inspector fallback for queued production images

Choose a tag to compare

@jmgasper jmgasper released this 18 Nov 00:09
· 10 commits to master since this release
a7bb398

A production release can exhaust its full 30-minute polling budget while Amazon Inspector is still waiting to begin the initial package scan. When ECR has reported PENDING for 90 seconds, the publisher can now confirm Inspector coverage for the exact repository and digest and run an on-demand Inspector assessment.

The fallback verifies the pinned SBOM Generator archive, image configuration and every layer ID. It applies the production severity threshold and reads ECR again before promotion. If inventory generation or assessment is unavailable, the publisher continues its existing ECR poll. This requires the regional inspector-scan:ScanSbom permission in the production deployment role and its boundary.

The offline suite covers concurrent registry failure, blocking findings, invalid reports and the ECR polling path. A live read-only test exercised the fallback on a queued image and checked a previous image with known blocking findings.