DevSecOps Pipeline
Security checks inside the delivery flow
The DevSecOps pipeline extends the delivery plan with security stages. Source, dependencies and container images are scanned before anything reaches a registry, and staging is probed with dynamic tests before promotion.
Related articles
Based on professional DevOps work (Jan 2020 – Feb 2026). Employer pipelines are not public.
The problem
Vulnerabilities found after release are expensive and risky to fix. Security reviews at the end of a project also slow delivery and are easy to skip under pressure.
DevSecOps pipeline
Scope & evidence
What is implemented publicly, documented, done in professional work, or still planned.
- Pipeline stages in Jenkins / GitLab CIProfessional practice
- Container image scanning with Trivy, failing on critical findingsProfessional practice
- Private image registry (ECR / Harbor)Professional practice
- GitOps deployment with Argo CD and HelmProfessional practice
- Dynamic testing with OWASP ZAP on stagingProfessional practice
- Penetration-testing test casesDocumented on BinaryBlogs
- Shared reference pipeline definition for teamsPlanned
Technology stack
- GitHub / GitLab
- Jenkins
- GitLab CI
- Docker
- Trivy
- OWASP ZAP
- Amazon ECR
- Harbor
- Helm
- Argo CD
- Kubernetes
What makes it hard
01
Noise vs signal
Fail the build on critical and high findings with a fix available; track the rest as backlog with an agreed expiry instead of blocking every merge.
02
Base image hygiene
Standardise on a small set of maintained base images so one patch fixes many services.
03
Shift left without slowing down
Fast scans run on every merge request; slower dynamic scans run against staging after deploy.
Implementation approach
- 1Source push triggers the pipeline in Jenkins or GitLab CI.
- 2Build and unit tests, then static and secret scanning of the source.
- 3Build the container image and scan it with Trivy (OS packages and dependencies).
- 4Quality and security gate: block on critical/high vulnerabilities or failed tests.
- 5Push approved images to ECR or Harbor.
- 6Deploy with Helm / Argo CD to staging, run OWASP ZAP, then promote to production.
Security considerations
- Least-privilege CI credentials; registry push rights only from the pipeline.
- Images are immutable and tagged by commit; production pulls only scanned tags.
- Scan reports archived with each build for audit.
Deployment approach
- Pipeline runs on Jenkins agents or GitLab runners.
- Argo CD reconciles Kubernetes with the Git-tracked Helm values.
- Targets the AWS EKS platform described in its own case study.