Lab 10: DevSecOps Pipeline
Objectives
Step 1: DevSecOps Pipeline Architecture
Developer → Git Push
│
▼
┌─────────────────────────────────────────────────────────┐
│ CI/CD PIPELINE │
│ │
│ PRE-COMMIT BUILD TEST │
│ ┌───────────┐ ┌──────────┐ ┌──────────────────┐ │
│ │Secret scan│ │SAST │ │DAST (ZAP) │ │
│ │(git-secrets│ │(Bandit, │ │SCA/SBOM │ │
│ │detect-sec)│ │Semgrep) │ │Container scan │ │
│ └───────────┘ └──────────┘ │IaC scan (checkov)│ │
│ └──────────────────┘ │
│ │
│ SECURITY GATES │
│ ┌─────────────────────────────────────────────────┐ │
│ │ No CRITICAL CVEs │ No HIGH SAST │ No secrets │ │
│ │ IaC compliant │ SBOM attached │ DAST passing │ │
│ └─────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ Deploy to │
│ Staging → Production │
└─────────────────────────────────────────────────────────┘Step 2: SAST with Bandit
Step 3: Secret Scanning
Step 4: SCA and SBOM
Step 5: DAST — Dynamic Application Security Testing
Mode
Description
Use Case
Step 6: IaC Security Scanning with Checkov
Step 7: Security Gates
Gate
Fail Condition
Action
Step 8: Capstone — DevSecOps Maturity Model
Summary
Tool
Stage
Purpose
Last updated
