I. Overview

%%{init: { 'theme': 'base', 'themeVariables': { 'edgeLabelBackground': '#fff' }}}%%
flowchart LR
    A["Post-development,\nafter-the-fact security review"] -- "Shift-Left security and\nautomatic CI/CD pipeline integration" --> B["A DevSecOps pipeline\nwith security built in"]
    style A fill:#f9f9f9,stroke:#333,stroke-width:3px
    style B fill:#e1f5fe,stroke:#01579b,stroke-width:3px

Definition: A DevSecOps pipeline is a CI/CD pipeline that automates and integrates security activities across the entire software development lifecycle ( SDLC ) — a modern development framework that secures both speed and security at the same time.

Features:
( Shift-Left ) Applies security from the earliest stage of development ( Shift-Left ), reducing remediation cost and improving quality.
( Continuous Security Verification ) Identifies and blocks threats in real time through automated security tooling at every stage of build, test, and deployment.
( Collaborative Culture ) Builds a shared-responsibility model across the Development ( Dev ), Security ( Sec ), and Operations ( Ops ) teams.
( Compliance Automation ) Automatically verifies adherence to security policy as code ( Policy as Code ), streamlining regulatory response.

II. Mechanism & Components

A. Stage-by-Stage Security Integration Architecture

graph LR
    Plan["Plan\nThreat Modeling"] --> Code["Code\nIDE Security Plugin"]
    Code --> Build["Build\nSAST / SCA"]
    Build --> Test["Test\nDAST / IAST"]
    Test --> Release["Release\nImage Scanning"]
    Release --> Deploy["Deploy\nIaC Scanning"]
    Deploy --> Monitor["Monitor\nRuntime Security"]

    style Build fill:#e1f5fe,stroke:#01579b
    style Test fill:#e1f5fe,stroke:#01579b
    style Deploy fill:#e1f5fe,stroke:#01579b

B. Key Security Techniques and Major Tools by Pipeline Stage

Pipeline StageCore Security ActivityExample Tools
Plan / DesignThreat modeling, defining security requirementsOWASP Threat Dragon, Microsoft TMT
Commit / CodeReal-time IDE inspection, secret detectionSnyk, GitLeaks, Pre-commit hooks
Build / CIStatic analysis ( SAST ), open-source analysis ( SCA )SonarQube, Checkmarx, OWASP Dependency-Check
TestDynamic analysis ( DAST ), interactive analysis ( IAST )OWASP ZAP, Burp Suite Enterprise, Contrast Security
Deploy / CDIaC security scanning, container image scanningTerraform Compliance, Trivy, Clair
Operate / MonitorRuntime security, visibility, incident responseFalco, ELK Stack, WAF, RASP

III. Comparison & Application

ComparisonSAST (Static)DAST (Dynamic)SCA (Software Composition)
Analysis TargetSource code, binary (internal)Running application (external)Open-source libraries, dependencies
TimingBuild stage (early)Test/Staging stage (later)Across the build and deploy stages
Primary GoalDiscover logic defects in codeDetect runtime vulnerabilities and configuration errorsManage vulnerable libraries and licenses
AccuracyHigh potential for false positives ( FP )Accurate since it confirms real attack pathsAccurate, based on an established database

These three are not competing tools to choose between — they are complementary layers, and the actual design decision is sequencing and gating, not selection. Run SCA and SAST at commit time because they are cheap and catch the highest volume of issues early; save DAST for staging, where it earns its cost by confirming which of those findings are actually reachable and exploitable in a running system. A pipeline that only gates on DAST results has already shipped every SAST-catchable defect to a later, more expensive stage.

Last updated 18 Aug 2026, 00:00 UTC. history