GitOps, CI/CD and automation ยท Practice and architecture
SBOM, image signature and Trivy scan: three different controls
A signature can be valid even when an image contains a critical vulnerability. A scan may be clear even when artifact origin is unknown. The three controls provide distinct evidence and do not replace one another.
SBOM: what is in the artifact?
An SBOM describes identified components and versions. It helps determine whether a newly disclosed component issue affects a distributed image. Record how it was produced and bind it to an immutable artifact reference. An inventory alone does not certify an image as secure.
Signature: who attested to this artifact?
Signature verification is meaningful with an explicit trust policy: allowed identity, repository and build process. A valid signature says nothing by itself about vulnerabilities or runtime compliance.
Scan: what is known at scan time?
The scanner matches identified components with available data. The result depends on coverage and data freshness, so results may change without a rebuild. Define when production images should be scanned again.
A practical acceptance gate
Bind the SBOM, verified signature and scan results to the same digest intended for deployment. Distinguish missing evidence from a failed check. Record an accepted exception's scope, owner and review date.