== 1. Install the pinned pipeline tools in a virtual environment bandit 1.9.4 pip-audit 2.10.1 == 2. Start a local registry and create a signing key pair cosign.key cosign.pub == 3. Run the pipeline == Pipeline for orders 1.0.0 gate 1 unit tests pass gate 2 static analysis (bandit) pass gate 3 dependency audit (pip-audit) pass gate 4 secret scan (trivy) pass gate 5 build + image scan (CRITICAL) pass gate 6 SBOM (syft, CycloneDX) pass gate 7 push, sign, attest (cosign) pass gate 8 policy (conftest) pass gate 9 deploy signed digest only pass PIPELINE PASSED: localhost:5002/orders@sha256:23db1f2fd1d7c4bd7716db7c36940fbba35de56efca7f8a7b5d877b850a155af == The release PASS the signed image is running and ready PASS it runs as user 10001 with a read-only root filesystem PASS it runs the exact digest the pipeline signed PASS the signed SBOM attestation verifies (966 components) == Each gate blocks what it exists to block PASS gate 1 blocks a change that breaks the health check PASS gate 2 blocks shell injection (subprocess with shell=True) PASS gate 2 blocks a suppression without a reason PASS gate 3 blocks a dependency with known vulnerabilities (requests 2.19.1) PASS gate 4 blocks a committed cloud access key PASS gate 8 blocks a manifest that may run as root, writable, without limits PASS the policy names each problem (4 violations listed) == Deploy refuses anything not signed by our key PASS an unsigned digest is refused PASS a tag instead of a digest is refused PASS a digest signed with someone else's key is refused PASS nothing refused was started PASS the signed release is still the one running RESULT: all checks passed