DevSecOps: Securing Code, Dependencies and Containers
Build security in from the very first lines of code — secrets, static analysis, dependencies, SBOMs, Docker images, signatures — and have CI enforce it automatically.
A MasterLinux course · Original text
What you will learn
- Understand “shift-left” and recognize OWASP Top 10 risks in real code
- Model an application's threats with STRIDE before writing the first line
- Never commit a secret, detect one with Gitleaks and clean up Git history
- Read, fix and write static analysis rules with Semgrep
- Find and fix vulnerable dependencies with npm audit and pip-audit, and automate updates
- Produce a CycloneDX or SPDX SBOM with Syft and put it to use
- Scan images, repositories and infrastructure files with Trivy
- Write a hardened Dockerfile — multi-stage, minimal image, non-root user
- Sign and verify what you publish (checksums, keys, cosign and Sigstore)
- Set up security gates in GitHub Actions and GitLab CI that block a critical vulnerability
Course content
11 lessons · 10 h 55 minSection 1 — Fundamentals
Section 2 — Analyzing code
Section 3 — Containers and the delivery chain
Section 4 — Final project
Requirements
- The “Fundamentals” course (included) or solid hands-on experience with the Linux command line
- Git (clone, commit, push) and the basics of a CI pipeline
- Ability to read some JavaScript or Python; Docker basics are a plus
Who is this course for?
- Junior developers who want to ship secure code from day one
- DevOps engineers who need to add security to their pipelines
- Fintech, e-commerce and online public service teams subject to Moroccan Law 09-08