What does a good secure-by-default golden repository template contain?
BeginnerProductionBuilding a DevSecOps Program
Answer
CODEOWNERS, branch ruleset (reviews, status checks, no force push)- Reusable CI workflow call with SAST, SCA, secrets, IaC and image scanning
- Hardened Dockerfile (pinned digest base, non-root user, multi-stage)
- Renovate or Dependabot config with grouping and automerge for patch updates
.pre-commit-config.yamlwith gitleaksSECURITY.mdwith reporting contact- Helm chart with
securityContext, resource limits and a NetworkPolicy - OIDC-based deploy job, no long-lived secrets
New services start compliant on day one.
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?BeginnerWhy do we put security controls into shared pipeline templates instead of asking each team to add them?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?Beginner