Chapter 1 - DevSecOps
Defining DevSecOps
- Dev = Development
- Sec = Security
- Ops = Operations
DevSecOps is a methodology that integrates security practices within the DevOps process. The main goal of DevSecOps is to embed security in every part of the development lifecycle, from initial design through integration, testing, deployment, and software delivery.
Ok, now what? You just have to start integrating this into your coding practices? Actually yes, the whole reason this curriculum is applicable for every person working in IT is because it is best development practice to have a secure lifecycle throughout all of the processes IT goes through when developing a project.
Source: Red Hat
Why Implement DevSecOps:
The Importance of Security in SDLC:
The software development lifecycle (SDLC) is a framework used to develop, deploy, and maintain software. A common problem in software development is that security related activities are deferred until the testing phase, which is late in the SDLC after most of the critical design and implementation has been completed. Missing a security related risk could be costly, set back progress, and go unnoticed causing room for further severe impact.
What is “Shift” Testing:
“Shift left” and “shift right” are terms that emphasize implementing security practices throughout the SDLC. By adopting shift left and shift right principles, teams are able to fix security flaws early on. They are meant to evaluate and ensure quality of the project by focusing on continuous testing methods.
To shift left is to incorporate security testing as soon as possible to find vulnerabilities and fix defects as early as possible in development.
To shift right is to monitor user behavior, usage, performance, and security metrics in the production stage to verify software operability.
Source: Red Hat
Tools and technologies:
Infrastructure as code scanning
Source: Microsoft
Dynamic and Static Application Security Testing
Source: Microsoft
Container Scanning
Source 1: Docker
Source 2: Microsoft
References
1. “What is DevSecOps?” Red Hat, https://www.redhat.com/en/topics/devops/what-is-devsecops. Accessed 8 Apr. 2024.
2. “What is DevSecOps?” Microsoft, https://www.microsoft.com/en-us/security/business/security-101/what-is-devsecops. Accessed 8 Apr. 2024.
3. “Use containers to Build, Share and Run your applications” Docker, https://www.docker.com/resources/what-container/. Accessed 8 Apr. 2024.
4. “Shift left vs. shift right” Red Hat, https://www.redhat.com/en/topics/devops/shift-left-vs-shift-right. Accessed 8 Apr. 2024.