# DevSecOps — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. Shift-left: scan code, dependencies and images in CI
2. SAST analyses source; DAST tests the running app; SCA checks open-source libraries
3. trivy image app:1.0 — image vulnerability scan
4. Never commit secrets; use a secrets manager
5. Run containers as non-root and drop extra capabilities
6. CIS hardening: secure SSH, disable unused services, patch regularly
