Skip to content

crms-devops/dsop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

DevSecOps-pipeline

Overview

19-gate security pipeline across 6 layers. Designed for production deployment on AWS EKS.

Pipeline Stages

PRE-FLIGHT SECURITY

  1. Gitleaks / TruffleHog — secret scanning. BLOCKS on any finding.
  2. Hadolint — Dockerfile lint. BLOCKS on errors.
  3. Checkov — IaC + K8s manifest scan. BLOCKS on HIGH/CRITICAL.
  4. TerraSecure — ML-powered Terraform scan (custom tool). BLOCKS on HIGH risk.

CODE QUALITY + SAST

  1. Bandit — SAST for Python. BLOCKS on HIGH severity.
  2. ESLint security plugin — SAST for TypeScript.
  3. SonarQube — quality gate. BLOCKS if gate fails.

DEPENDENCY + SUPPLY CHAIN

  1. Snyk — dependency CVE scan. BLOCKS on HIGH/CRITICAL.
  2. Syft — SBOM generation in CycloneDX format. Stored as pipeline artifact.

CONTAINER SECURITY

  1. Docker build
  2. Trivy — image scan. BLOCKS on HIGH/CRITICAL CVEs.
  3. Push to AWS ECR.

DEPLOYMENT + RUNTIME SECURITY

  1. ArgoCD sync → EKS staging environment
  2. OWASP ZAP — DAST against staging. BLOCKS on HIGH alerts.
  3. OPA — admission control policy check. BLOCKS non-compliant workloads.
  4. Prometheus smoke test — response time + error rate health check.

PRODUCTION

  1. Manual approval gate (or auto-promote if all gates pass)
  2. ArgoCD promote → EKS production
  3. Slack/email deployment alert with security summary

Why each tool was chosen

Tool Reason
TerraSecure Own ML model — catches Terraform misconfigs others miss
Syft SBOM Compliance requirement — proves full software supply chain visibility
OWASP ZAP Only tool that tests the RUNNING application, not just code
OPA Policy as code — security rules enforced at Kubernetes level
Gitleaks Prevents secrets from ever entering git history

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors