Skip to main content
Welcome to the wrap-up of our DevSecOps pipeline. We have:
  • Secured the developer workstation with Talisman Git Hooks
  • Run mutation tests, unit tests, and integration tests
  • Performed static analysis (SAST) and dynamic analysis (DAST) using OWASP ZAP
  • Scanned dependencies with Dependency Check and Trivy
  • Validated manifests via OPA Conftest and Kubesec
  • Configured automatic rollbacks in Kubernetes deployments
  • Sent build notifications to Slack for real-time visibility
Below is a quick overview of the tools and their purposes:

Adding a Manual Approval Stage

To ensure an architect or manager authorizes production deployments, we introduce a Promote to PROD stage with a two-day timeout. The snippet below shows how to integrate this into your Jenkinsfile:
The pipeline will pause at the Promote to PROD stage until an approver selects Proceed or Abort. Aborting will stop the pipeline and notify the team via Slack.
Once committed and pushed, the pipeline executes all stages and halts at our manual approval gate:
The image shows a Jenkins pipeline for a "devsecops-numeric-application" with various stages like build, tests, scans, and deployment. It includes a prompt asking for approval to deploy to the production environment.
At this point, the designated approver clicks Proceed to deploy or Abort to cancel. If aborted, the stage turns gray, the pipeline stops, and a Slack alert is sent. The screenshot below shows the completed pipeline with all checks passing and the approval prompt still active:
The image shows a Jenkins pipeline for a "devsecops-numeric-application," detailing various stages such as build, testing, scanning, deployment, and integration. Each stage is marked with a green check, indicating successful completion, and there's a prompt for production deployment.
In the next section, we’ll add cluster benchmarking with Kubebench, enforce pod-to-pod security using KubeScan, perform a Kubernetes cluster vulnerability audit, and then finalize the production rollout.

Watch Video