Concepts

DevSecOps

Integration of security practices throughout the software development lifecycle, automating security controls in the CI/CD pipeline.

seed#devsecops#security#shift-left#automation#ci-cd#compliance

What it is

DevSecOps integrates security as part of the development process, not as a gate at the end. "Shift left" means moving security controls as early as possible in the development cycle.

Security at each stage

StageControls
CodeSAST, secrets scanning, dependency check
BuildContainer scanning, SBOM
TestDAST, penetration testing
DeployPolicy as code, admission control
RuntimeWAF, anomaly detection, RASP

Tools

CategoryWhat it detectsToolsWhen to run
SASTSource code vulnerabilitiesSemgrep, SonarQube, CodeQLOn every PR
SCAVulnerable dependenciesSnyk, Dependabot, TrivyOn every PR + daily
SecretsCredentials in codeGitLeaks, TruffleHogPre-commit + CI
ContainerImage vulnerabilitiesTrivy, GrypeOn image build
DASTRuntime vulnerabilitiesOWASP ZAP, Burp SuiteIn staging

Principles

  • Automate everything possible
  • Fast feedback (don't block for days)
  • Shared responsibility (not just the security team)
  • Compliance as code

Why it matters

DevSecOps integrates security into every phase of the development cycle, not as a final review. When vulnerability scanning, static analysis, and security policies are part of the pipeline, issues are detected when they are cheap to fix.

References

Concepts