Skip to content

Progressive DevSecOps Pipeline Series

Costmedium
Deployability ci cd ready
Status devsecops lab
Validation mvn -q -f step-2-sast-sonarcloud/pom.xml test
Java Maven Jenkins Docker Kubernetes SonarCloud Snyk ZAP aws terraform jenkins
Use the guide first.

The full learning guide is on this page. Open the repository files only when a step asks you to inspect code, fork the project, or download raw assets.

A 6-step progressive DevSecOps pipeline built with Jenkins, Terraform, Kubernetes, and security scanning tools.

Each step builds on the previous one, adding more security and deployment capabilities.

StepFolderTopicTools Added
1step-1-infra-creationAWS Infrastructure with TerraformTerraform, Jenkins, EC2, K8s
2step-2-sast-sonarcloudStatic Application Security TestingSonarCloud
3step-3-sca-snykSoftware Composition AnalysisSnyk
4step-4-docker-ecrDocker Build & Push to ECRDocker, AWS ECR
5step-5-deploy-k8sDeploy to KubernetesK8s Deployment
6step-6-dast-zap-e2eDynamic Testing & E2EOWASP ZAP, E2E Tests
Code Commit → Jenkins Pipeline
→ Step 1: Provision Infrastructure (Terraform)
→ Step 2: SAST Scan (SonarCloud)
→ Step 3: SCA Scan (Snyk)
→ Step 4: Docker Build & Push (ECR)
→ Step 5: Deploy to K8s
→ Step 6: DAST Scan (ZAP) + E2E Tests

🔴 Advanced

Jenkins, Terraform, Kubernetes, Docker, SonarCloud, Snyk, OWASP ZAP, AWS ECR, AWS EKS

🛡️ 2026 DevSecOps Enhancements (What You Will Learn)

Section titled “🛡️ 2026 DevSecOps Enhancements (What You Will Learn)”

This series represents a mature 2026 DevSecOps integration, demonstrating a holistic “Shift-Left to Shift-Right” security posture:

  1. Comprehensive Pipeline Gates: Instead of bolting on security at the end, this project embeds strict quality and security gates natively. Implementations like SAST (SonarCloud) and SCA (Snyk) preemptively block vulnerable code and transient dependencies from being built.
  2. Dynamic Runtime Analysis: A critical addition is DAST (OWASP ZAP) against the live environment. By executing dynamic tests against the running Kubernetes application, we identify complex attack vectors and misconfigurations that static source code analysis inherently misses.