Skip to content

About

πŸ“š My DevSecOps learning journey β€” Docker, GitHub Actions, SAST/DAST/SCA, Kubernetes, Helm, Wazuh SIEM, Incident Response & more. 26-day intensive course notes, POCs and lab files.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ DevSecOps Journey

26-day intensive DevSecOps course β€” from Docker fundamentals to enterprise security pipelines, Kubernetes, SIEM and Incident Response.

Docker GitHub Actions Trivy Wazuh Kubernetes


πŸ‘€ About This Repo

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

Course Structure

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

POCs & Projects

POC 1 β€” Hardened Nginx + Secret Scanning

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


POC 2 β€” Full Flask + PostgreSQL + Nginx Stack

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


POC 3 β€” CI/CD Security Pipeline

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)


Final Project β€” Enterprise DevSecOps Assessment

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

Skills & Tools

Containerization

  • Docker β€” multi-stage builds, layer optimization, non-root users
  • Docker Compose β€” multi-service orchestration, healthchecks, secrets, network segmentation

CI/CD & GitHub

  • GitHub Actions β€” workflow authoring, caching, Strategy Matrix, SARIF upload
  • Gitleaks β€” secret scanning in pipeline and pre-commit hooks
  • Hadolint β€” Dockerfile static analysis

Security Testing

  • 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)

Infrastructure Security

  • 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

SIEM & Monitoring

  • 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

Key Concepts Learned

  • 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

Repository Structure

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

License

This repository is for educational purposes. Notes and documentation are released under MIT License.


Built during the Ready2Use DevSecOps Course β€” 2025/2026

About

πŸ“š My DevSecOps learning journey β€” Docker, GitHub Actions, SAST/DAST/SCA, Kubernetes, Helm, Wazuh SIEM, Incident Response & more. 26-day intensive course notes, POCs and lab files.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors