Interview Prep/DevSecOps/Foundations, Threat Modeling and OWASP

What does "shift-left" mean?

BeginnerConceptFoundations, Threat Modeling and OWASP
Answer

Shift-left means moving security activities earlier on the delivery timeline (left side of a plan-code-build-test-release-run diagram). A bug found in a pull request costs minutes to fix; the same bug found in production costs an incident, a patch and possibly a disclosure.

Typical shift-left controls: threat modeling during design, IDE plugins and pre-commit hooks (gitleaks, Semgrep), SAST and SCA on every PR, IaC scanning before terraform apply, and image scanning before push. It does not mean removing later controls.

All DevSecOps questions Roadmap: Security in the pipeline

More on Foundations, Threat Modeling and OWASP