123DevOps··9 min read

What is DevSecOps? Security across the whole delivery cycle, without slowing the team down

What DevSecOps is, why it exists, shift-left and shift-everywhere, which security activity belongs in each pipeline stage, the culture that holds it together, reference frameworks, and a 30/60/90-day roadmap with a sample GitHub Actions workflow.

CI/CD

For a long time, security was a phase: the code was finished, someone from security ran a review (or a pentest) close to launch, and handed back a list of problems. That worked when software shipped twice a year. With daily deploys, that phase becomes a bottleneck or, worse, gets skipped.

DevSecOps is the answer to that mismatch. In this guide we go from concept to practice: what it is, why it exists, which security activity belongs in each stage of the cycle, the culture that holds it all together, and a 90-day roadmap to get started.

What DevSecOps is

DevSecOps is the practice of building security into the entire software development and delivery cycle, from planning to operations, in an automated way and with responsibility shared among development, security, and operations.

It isn’t a tool or a job title. It’s the same idea as DevOps (break down silos and automate the path to production) applied to security: instead of a gate at the end, small, frequent controls spread across the workflow the team already uses. The OWASP DevSecOps Guideline sums up the goal as adding security controls without slowing delivery down.

Why it exists

Two reasons drive the movement.

1. Finding problems late is expensive. A SQL injection flagged in the editor costs minutes. The same flaw found in production requires investigation, a rushed fix, a new deploy, maybe customer notification, and an impact analysis. The further a problem travels down the pipeline, the more people and context it involves. There is no universal magic number, but the direction is widely agreed: earlier is cheaper.

2. Speed and security have to go together. Teams that ship several times a day can’t wait for a manual review on every change. If security doesn’t keep up, it gets bypassed. Automating checks in the pipeline is what lets you have both: frequent releases and a guaranteed baseline of security on every one of them.

Shift-left and shift-everywhere

Shift-left means moving checks to the start of the cycle, the “left” of the timeline: secret scanning before the commit, static analysis on the PR, dependencies checked at build time. That’s where fixing things is cheapest.

Shift-left alone isn’t enough. Some flaws only show up with the application running: environment configuration, runtime behavior, a CVE published months after deploy in a dependency that is already in production. Hence the term shift-everywhere, which the OWASP guideline itself uses: security at every stage, including after deploy, with continuous detection and response. The left side prevents; the right side detects what slipped through and what appeared later.

Shared responsibility

Role Main responsibility
Development Write secure code, fix findings in their own PR, keep dependencies up to date
Security Define policies, maintain rules as code, tune tools, support the critical cases
Operations / platform Hardened environments, secrets out of the code, a reliable pipeline, monitoring and response

The security team stops being the approver of every change and becomes the owner of the security platform, which other teams use on their own.

Security at every stage of the cycle

Stage Security activity Examples
Plan Threat modeling and security requirements STRIDE, OWASP ASVS requirements
Code Security linters in the IDE, secret scanning in pre-commit SonarQube for IDE, Semgrep, gitleaks
Build SAST, SCA, and SBOM generation CodeQL, Semgrep, Dependabot, OSV-Scanner, Trivy, Syft
Test DAST against the running application ZAP, Nuclei
Release Artifact signing and provenance Cosign, build attestations (SLSA)
Deploy IaC scanning and policy as code Checkov, Trivy (misconfig), KICS, OPA/Conftest
Operate Runtime protection, WAF, monitoring Falco, WAF, SLO-based alerts

Each row of this table deserves its own article; the one on SCA, SAST, and DAST covers the build and test tools in detail, and what to do after deploy covers the operate stage.

A minimal sample pipeline

A GitHub Actions workflow with four checks running in parallel: secrets, SAST, SCA, and container image scanning.

# .github/workflows/devsecops.yml
name: devsecops
on:
  pull_request:
  push:
    branches: [main]

permissions:
  contents: read

jobs:
  secrets:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
        with:
          fetch-depth: 0          # full history for the scan
      - uses: gitleaks/gitleaks-action@v3
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}  # required for organization repos

  sast:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      actions: read
      security-events: write    # publish alerts to code scanning
    steps:
      - uses: actions/checkout@v6
      - uses: github/codeql-action/init@v4
        with:
          languages: javascript-typescript
      - uses: github/codeql-action/analyze@v4

  sca:
    if: github.event_name == 'pull_request'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: actions/dependency-review-action@v5
        with:
          fail-on-severity: critical

  container:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - run: docker build -t app:${{ github.sha }} .
      - name: Trivy on the image
        run: |
          docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
            aquasec/trivy:0.76.2 image --severity CRITICAL \
            --ignore-unfixed --exit-code 1 app:${{ github.sha }}

A few cautions before you copy it:

  • Versions change fast: the tags above were current in November 2026; check the current docs for each action.
  • Pin by SHA in production. Tags can be repointed: in March 2026, almost every tag of aquasecurity/trivy-action was swapped for malicious code after credentials were stolen. Pinning actions to the full SHA (and images to their digest) prevents this; see how to improve your CI/CD.
  • Warn first, block later. Turn the checks on without failing the build for a few weeks, tune them, and only then enable blocking for what is critical.

Culture: what makes it work

Tools without culture become a red dashboard nobody looks at. Four practices make the difference.

Security champions

One developer per team, interested in security, gets extra training and becomes the point of contact: helps with triage, takes part in threat modeling, and brings questions to the security team. It scales knowledge without scaling the central team.

Guardrails instead of gates

A gate stops the flow and requires manual approval. A guardrail lets the team move fast within safe limits: pipeline templates with the checks built in, approved base images, policies that block only what is serious. The secure path becomes the easiest path.

Triage SLAs by severity

Without a deadline, a finding becomes eternal backlog. Agree on deadlines per severity, for example:

Severity Time to fix (example)
Critical A few days
High Up to 30 days
Medium Next few work cycles
Low When there’s an opportunity

The exact numbers depend on business risk. What matters is that they exist, that they’re measured, and that exceptions have an owner and an expiration date.

Managing false positives

Every blocking false positive erodes trust. Block only high-confidence rules, analyze only what the PR changed, and treat exceptions as code. Silent DevSecOps covers that tuning in detail.

Reference frameworks

You don’t need to invent the program from scratch:

  • OWASP DevSecOps Guideline: a practical, vendor-neutral guide to the stages of a secure pipeline (secrets, SCA, SAST, IaC, supply chain, DAST, and more). It is an incubator project at OWASP.
  • OWASP SAMM v2.0: a maturity model with 5 business functions (Governance, Design, Implementation, Verification, and Operations) and 15 practices. Great for measuring where you are and choosing the next step.
  • NIST SSDF (SP 800-218): secure development practices widely cited in public procurement requirements. The final version is 1.1; Rev. 1 (SSDF 1.2) was released as an initial public draft in December 2025. Check whether the final version has been published.
  • SLSA: integrity levels for the supply chain, currently at spec v1.2, with Build and Source tracks. See it in practice in Cosign, SBOM, and SLSA.
  • CISA Secure by Design: principles for software manufacturers, such as treating customer security as a business priority and shipping products that are secure by default.

For verifiable application requirements, the standard is OWASP ASVS; for awareness of the most common risks, the OWASP Top 10.

Maturity roadmap: 30, 60, and 90 days

First 30 days: visibility and the basics

  • Inventory repositories and applications, flagging the critical ones.
  • Turn on secret scanning with push protection, plus automatic dependency updates.
  • Enable SCA and SAST on PRs in warn-only mode, without blocking.
  • Write the policy: what blocks, what warns, and the deadlines per severity.

By 60 days: calibrated blocking

  • Turn on blocking for secrets and for critical vulnerabilities with a fix available.
  • Add image and IaC scanning.
  • Centralize results (SARIF in code scanning, for example).
  • Name your security champions and start measuring the SLAs.

By 90 days: beyond the build

  • Threat modeling for new, relevant features.
  • DAST against the staging environment on every release.
  • SBOMs, signing, and provenance for artifacts.
  • A SAMM assessment as a baseline, plus metrics for time to fix and false positives.

Checklist

  • Secret scanning in pre-commit, push protection, and CI
  • SAST and SCA running on every PR, in parallel with the build
  • Container images scanned before the push
  • A written policy: what blocks, what only warns, and deadlines per severity
  • Exceptions with an owner, a reason, and an expiration date
  • One security champion per team
  • Monitoring and response covering what happens after deploy

DevSecOps isn’t adding a security stage to the pipeline. It’s making sure no stage ignores security.

Get updates on new posts and stay in the loop!