Pipeline gates
In GitHub Actions, GitLab CI or Jenkins, pin the generator version and run it against defined source and built-artifact scopes. Validate the emitted schema and mandatory fields; fail the job on a tool error rather than publishing an empty success. Store the tool version, build identity and output alongside the release record.
Bind evidence to the artifact
Resolve the immutable artifact digest after the build. Associate the SBOM with that digest, not only a mutable image tag. Sigstore Cosign can sign or attest artifacts, and in-toto statements provide a structured subject and predicate. SLSA provenance addresses how an artifact was built; an SBOM addresses composition. Keep those evidence types distinct and verify identities, signatures, subjects and policy at intake.
Prevent pipeline drift
Test a changed base image, a re-tagged image and a failed registry upload. Recheck digests after promotion, preserve a documented fallback when tooling changes, and monitor whether the deployed digest differs from the attested digest. Restrict signing permissions and protect the build workflow from unreviewed changes.