How do you test that your pipeline controls actually work?
AdvancedProductionSupply Chain and Pipeline Security
Answer
Treat security controls like code: add negative tests. Open a PR with a seeded fake secret and confirm push protection or the scan blocks it; push an unsigned image and confirm admission rejects it; try to deploy to production from a feature branch and confirm the OIDC trust policy denies it; attempt a fork PR reading secrets in a test repository. Run these as scheduled "control verification" jobs or periodic red-team exercises and alert when a control fails open.
More on Supply Chain and Pipeline Security
What is a software supply chain attack, and where does the pipeline fit?BeginnerWhat is an SBOM and why do you generate one in CI?BeginnerHow do you sign container images and verify them at deploy time?IntermediateWhat is SLSA and which level should a typical team aim for?IntermediateHow do you verify provenance before deploying?AdvancedHow do you scan images and dependencies in the pipeline without drowning in noise?Intermediate