Step 13 of 36 · Engineering partnership
Security in the delivery pipeline
Automated checks belong in the pipeline, but every noisy check costs you trust. Decide what blocks, what warns and who tunes.
Scanners for code, dependencies, secrets and infrastructure configuration are cheap to switch on and expensive to live with. Turn them all on with default settings and engineers get thousands of findings, most of them irrelevant. They learn to ignore the tool and, soon after, you.
You own three decisions. What blocks a merge: only findings that are near-certain and serious, such as a committed credential. What warns: everything else, routed to the owning team with context. Who tunes: your team, judged on how many findings engineers act on, not how many are raised.
Protect the pipeline itself. It holds credentials and can ship code to production, so it deserves the same care as production. Report problems fixed, not repositories scanned.
Try this week
- Sample twenty recent automated findings and count how many led to a change. Tune or switch off the rules behind the ones that did not.
- Write down which checks may block a release and get engineering leaders to agree the list.
Signs you've got it
- Engineers fix pipeline findings without being chased, because the findings are usually right.
- You can name who may change the pipeline and its secrets, and the list is short.
Resources
- guideSecure Software Development Framework (SSDF) Version 1.1 (NIST SP 800-218) (opens in a new tab)NIST
- guideOWASP Software Assurance Maturity Model (SAMM) (opens in a new tab)OWASP
- bookDeploying Code (Building Secure and Reliable Systems, chapter 14) (opens in a new tab)Jeremiah Spradlin and Mark Lodato
- guideOWASP Top 10 CI/CD Security Risks (opens in a new tab)OWASP
- guideDORA Capabilities: Pervasive security (opens in a new tab)DORA