Pipeline flow
source → secret/SAST → build → image scan → SBOM → sign/attest → policy gate → promote digest → deploy verify- Connect each finding to a concrete risk and control.
- Preserve evidence so a reviewer can reproduce the decision.
Compose security controls into a source→build→artifact→promote flow that scans once, promotes immutable artifacts and separates build from deploy authority.
Fast developer checks reduce feedback time; release gates should operate on the exact built artifact and retained reports.
Rebuilding per environment changes the artifact and invalidates earlier evidence. Promote immutable digests instead.
The identity that builds does not need unrestricted production deployment authority. Environment approvals and scoped roles reduce blast radius.
source → secret/SAST → build → image scan → SBOM → sign/attest → policy gate → promote digest → deploy verifyGoal: Ensure scan/sign/deploy evidence refers to the same artifact digest.
cat > /tmp/promotion.json <<'EOF'
{"build":"sha256:abc","scan":"sha256:abc","sbom":"sha256:abc","signature":"sha256:abc","deploy":"sha256:abc"}
EOFpython3 - <<'PY'
import json
x=json.load(open('/tmp/promotion.json'))
assert len(set(x.values()))==1
print('same immutable artifact promoted')
PYpython3 - <<'PY'
import json
p='/tmp/promotion.json';x=json.load(open(p));x['deploy']='sha256:different'
assert len(set(x.values()))>1
print('policy correctly detects artifact drift')
PYImmutable promotion lets production verification reuse the evidence generated for the artifact that was actually approved.
Review an existing training pipeline for scan/build/SBOM/sign/promote ordering.
find .github/workflows -type f -maxdepth 2 -print 2>/dev/null || trueThree concept checks plus one scenario check.
It preserves artifact identity so scan/SBOM/signature evidence still refers to what is deployed.
On the final built artifact before promotion, in addition to earlier source/dependency checks.
It limits blast radius and supports independent environment policy.
No. Evidence must refer to the exact digest being promoted/deployed.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.