Interview Security & DevSecOps

How do you verify the provenance of a build artifact? [Intermediate]

Answer

To verify artifact provenance, I check the artifact digest, the signed provenance attestation, the builder identity, source repository, commit SHA, workflow identity, build parameters, and whether the attestation was issued by a trusted CI system. Then I enforce those checks in promotion or admission policy.

Technical explanation

Provenance should answer where, when, how, and from which source the artifact was built.

Verification should use immutable digests and trusted identities, not tags or untrusted metadata.

Policies should reject artifacts built from unprotected branches, unknown builders, missing provenance, or mismatched source repositories.

Hands-on example

Example: verify that image digest sha256:abc was built by GitHub Actions workflow release.yml from org/checkout at commit 1234 on a protected tag. If the provenance source or builder identity does not match policy, block promotion to production.

Preparing for an interview?

Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.

More Security & DevSecOps interview questions

← All Security & DevSecOps questions