The DevSecOps pipeline
What is a DevSecOps pipeline?
A DevSecOps pipeline is a CI/CD pipeline with security checks built into each stage. Code is scanned in the pull request, dependencies and container images are checked during the build, infrastructure code is tested before it is applied, the running build is tested in staging, and production is monitored. Each check gives fast feedback and can stop a release on a serious finding.
Stage by stage
| Stage | Security checks |
|---|---|
| Commit and pull request | Secret scanning, static analysis (SAST), human code review |
| Build | Dependency scanning (SCA), container image scanning, signed build artifacts |
| Infrastructure | Checks on Terraform, Kubernetes and other infrastructure code |
| Staging | Dynamic testing (DAST) against the deployed build, API tests |
| Release | A gate on open critical findings |
| Production | Monitoring, logging and a fast path to patch |
Keep it fast
Security checks that slow every build get turned off. Run the quick ones on every pull request and the slow ones on a schedule or in parallel. Block merges only on findings you trust, and send the rest to a queue that someone actually reads.
Handling findings
A pipeline is only as good as its triage. Decide who owns a finding, how fast each severity has to be fixed, and how a false positive is suppressed: with a written reason, not just muted.
Where pokayoke fits
pokayoke works at the pull request stage on GitHub. Its GitHub App reviews every push and pull request, runs exploits to prove what it can, marks each finding proven or not, and on paid plans sends the fix privately. The other stages need their own tools.