Shift Left
Shift Left: moving security to the early stages of development
Shift Left is the principle of moving security checks as early as possible in the development cycle: into the IDE, the pull request, the build. That is further left on the project timeline.
The earlier a vulnerability is found, the cheaper it is to fix. In a pull request it takes minutes. After release it means an incident, a hotfix and a post-mortem.
How it works
- IDE plugins and pre-commit hooks.
- SAST and SCA on every pull request.
- Developer training and secure code templates.
Limitations and common mistakes
- All security cannot be pushed onto developers. They need clear results without noise, and support from the security team.
- Not everything is visible on the left. Configuration and runtime behavior are tested at later stages, which is why people also talk about "shift everywhere".