A library consortium's pipeline has a clean scan report for a base image, and the job about to run in production is a child image that has not been scanned. No secret is in the source, and two people already approved the merge. Which pipeline step is next?
Select an answer to reveal the explanation.
Short Explanation
You can treat the base image as the crate’s lumber: its clean report does not tell you what was packed into the child image. Scan the exact child-image digest production will run and permit promotion only if the scan meets release policy. Rotating a secret when none was committed, checking a public storage account in a plan this pipeline is not applying, or adding another approval after two approvals would still leave your child image unchecked.
Full Explanation
Production will run a child image, while the clean report covers only its base image; it does not describe packages added in the child. Scan the exact child-image digest production will run and permit promotion only if the scan meets release policy, so promotion is gated on the artifact actually shipped rather than its parent. Pinning to the digest prevents substitution between scan and deploy, and requiring release policy ensures a completed scan alone is not enough to promote a vulnerable image. Blocking the merge and rotating a secret is a mismatch: no secret was committed in the source, and rotation does not examine image layers or dependencies. A policy gate for a public storage account in a plan this pipeline is not applying checks an infrastructure plan this release is not applying to production, rather than the image being shipped. Another human approval is unnecessary because two people already approved the merge, and an additional approval still would not scan the child image. Exam caveat: A clean scan of the child image still does not prove who built it, so signature checks remain a separate later step after this gap is closed. Practical check: Promote a lab child image with no scan and confirm the pipeline stops; then scan that same digest and confirm promotion proceeds only on policy pass.