26-day intensive DevSecOps course β from Docker fundamentals to enterprise security pipelines, Kubernetes, SIEM and Incident Response.
This repository documents my personal learning path through a Ready2Use DevSecOps course. It contains:
- Daily notes with concepts, commands and exercises
- POC source files (Dockerfiles, Compose stacks, CI/CD workflows)
- Lab configs (Nginx, PostgreSQL, Wazuh, Kubernetes, Helm)
- A complete command reference for every tool covered
| Day(s) | Topic | Key Tools / Concepts |
|---|---|---|
| 1 | Docker fundamentals & multi-stage builds | docker build, multi-stage, Python/Go/Nginx |
| 2 | Container networking | Bridge, host, overlay networks |
| 3 | Container clinic β troubleshooting | docker inspect, docker logs, exec |
| 4 | Docker Compose β basics | docker compose up/down, services |
| 5 | Git & versioning | git init, branches, git log |
| 6 | Volumes & Sidecar pattern | Bind mounts, named volumes, sidecar |
| 7 | Git branching strategies | Feature branches, rebase, merge |
| 8 | Nginx reverse proxy & TLS | nginx.conf, self-signed certs, HTTPS |
| 9 | POC 1 β Nginx Hardened + Gitleaks | pre-commit hooks, secret scanning |
| 10 | Docker Compose orchestration | Multi-service stacks, healthchecks |
| 11 | Image security: Trivy + Hadolint | CVE scanning, Dockerfile linting |
| 12 | POC 2 β PostgreSQL full stack | Flask + Nginx + Postgres Compose stack |
| 13 | Runtime hardening & secrets | cap_drop, no-new-privileges, Docker Secrets |
| 15 | Recap & exercises | Consolidation |
| 16 | POC 3 β First CI/CD Pipeline | GitHub Actions: Hadolint + Gitleaks + Trivy |
| 18 | Pipeline optimization & review | Caching, Strategy Matrix, SARIF upload |
| 19 | SAST, Secret Scanning & SCA | Semgrep, SonarQube, TruffleHog, Trivy |
| 20 | DAST, Supply Chain & Policy as Code | OWASP ZAP, Sigstore/Cosign, OPA, Falco |
| 21 | Kubernetes & OpenShift fundamentals | Pods, Deployments, Services, RBAC, NetworkPolicy |
| 22 | Helm package manager & Wazuh intro | Helm charts, helm install, Wazuh architecture |
| 23 | Wazuh SIEM & Detection Engine | Agents, FIM, custom rules, alerting |
| 25 | Incident Response, Forensics & Remediation | IR lifecycle, memory forensics, log analysis |
| 26 | Final Project β Enterprise DevSecOps | Full assessment: hardening + pipeline + report |
days/day09/
A hardened Nginx container with Gitleaks pre-commit hook to prevent secrets from ever reaching the repository.
Stack: Docker Compose Β· Nginx Β· Gitleaks Β· pre-commit
days/day12/
A complete 3-tier application: Python Flask API, PostgreSQL database, and Nginx as reverse proxy β all in Docker Compose with proper network segmentation.
Stack: Docker Compose Β· Flask Β· PostgreSQL Β· Nginx
days/day16/
First GitHub Actions CI/CD pipeline with 3 automated security checks on every push and pull request.
Pipeline: Hadolint (Dockerfile linting) β Gitleaks (secret scan) β Trivy (CVE scan, SARIF output)
days/day26/
Full enterprise-grade security assessment:
- Dockerfile & Compose hardening (non-root user,
cap_drop: ALL, network segmentation, Docker Secrets) - CI/CD pipeline with SAST + SCA + Secret Scanning + DAST (OWASP ZAP)
- Executive delivery report
- Docker β multi-stage builds, layer optimization, non-root users
- Docker Compose β multi-service orchestration, healthchecks, secrets, network segmentation
- GitHub Actions β workflow authoring, caching, Strategy Matrix, SARIF upload
- Gitleaks β secret scanning in pipeline and pre-commit hooks
- Hadolint β Dockerfile static analysis
- Trivy β container image scanning, SCA (dependencies), IaC scanning
- Semgrep β SAST with custom rules, taint analysis (Source β Sink)
- SonarQube β Quality Gates, code smells vs vulnerabilities
- TruffleHog β entropy-based secret scanning with live API verification
- OWASP ZAP β DAST (Dynamic Application Security Testing)
- Kubernetes β Pods, Deployments, Services, ConfigMaps, RBAC, NetworkPolicy
- Helm β chart-based application packaging and deployment
- OPA / Rego β Policy as Code for Kubernetes admission control
- Falco β runtime threat detection for containers
- Sigstore / Cosign β container image signing and supply chain verification
- Wazuh β agent deployment, FIM (File Integrity Monitoring), custom detection rules
- Incident Response β IR lifecycle (Preparation β Identification β Containment β Eradication β Recovery)
- Digital Forensics β memory analysis, log forensics, timeline reconstruction
- Shift-Left Security β move security checks earlier (IDE & CI), not just at deployment
- SAST vs DAST vs SCA vs Secret Scanning β four complementary analysis layers
- Taint Analysis β tracing user input (Source) to dangerous operations (Sink)
- Security Gate β a CI/CD step that blocks merge/deploy when risk threshold is exceeded
- SARIF β Static Analysis Results Interchange Format; standard for integrating scan results into GitHub Security tab
- Supply Chain Security β pinning Actions versions, signing images with Cosign, verifying SBOMs
- Principle of Least Privilege β
cap_drop: ALL, non-root users, read-only filesystems
devsecops-journey/
βββ README.md
βββ notes/ # Daily course notes (Markdown)
β βββ day01-docker-fundamentals.md
β βββ day02-networking.md
β βββ ...
β βββ day26-final-project.md
βββ days/ # Lab files, Dockerfiles, Compose stacks, CI configs
β βββ day09-poc1/
β βββ day12-poc2/
β βββ day16-poc3/
β βββ day26-final/
βββ reference/
βββ all-commands.md # Full command reference for every tool
This repository is for educational purposes. Notes and documentation are released under MIT License.
Built during the Ready2Use DevSecOps Course β 2025/2026