Why do we put security controls into shared pipeline templates instead of asking each team to add them?
BeginnerProductionBuilding a DevSecOps Program
Answer
Because opt-in security gets 20% adoption and opt-out gets 95%. A reusable workflow or CI include means one change rolls out scanning to every repo, versions are pinned centrally and teams cannot quietly drop a step.
# .github/workflows/ci.yml in each repo
jobs:
security:
uses: acme/platform-workflows/.github/workflows/security.yml@v3
secrets: inherit
We pair this with a rule (GitHub ruleset "required workflows" or a GitLab compliance pipeline) so the security job cannot be removed from the repo side.
More on Building a DevSecOps Program
You join a 300-engineer company with no security program. What do you do in the first 90 days?IntermediateWhat are the building blocks of a mature DevSecOps program?BeginnerHow do you sell a DevSecOps program to leadership that sees security as a cost centre?IntermediateHow should a central security team and product teams split responsibilities?IntermediateWhat is a "paved road" in DevSecOps and why does it work better than mandates?BeginnerHow do you run a security champions program that does not fade out after three months?Intermediate