Skip to main content
Security, Risk & Governance OpsLast reviewed 2026-09-20

DevSecOps

Security and delivery as one pipeline: checks run at commit, build, and deploy time — with severity-based SLAs, not a review gate at the end.

Overview

Read the full DevSecOps guidance
WHAT IT IS. DevSecOps moves security from a gate at the end of delivery into the delivery system itself. The pipeline scans secrets at commit, dependencies and containers at build, infrastructure plans before apply, and running workloads continuously — failing the build on what matters and filing tickets with severity-based SLAs for the rest. NIST's Secure Software Development Framework (SP 800-218) organizes the work into four groups — prepare the organization, protect the software, produce well-secured software, and respond to vulnerabilities — and is the citable backbone of this page. WHY IT EXISTS. A security review after three months of development finds problems at the most expensive possible moment, so it gets waived. The same check at pull-request time costs minutes and actually lands. DevSecOps also fixes the accounting: when security work is invisible, it is unfunded; when the pipeline makes it automatic, the cost is mostly fixed and the coverage is provable — which is exactly what a customer's security questionnaire or a SOC 2 auditor is really asking for. WHEN TO USE IT. From the first line of code. Retrofitting security into a delivered system is an archaeology project; starting with a scanned pipeline, a hardened base image, and vaulted secrets is nearly free by comparison. The moment there is a compliance driver (SOC 2, ISO 27001, customer security reviews) the pipeline evidence becomes the answer instead of a scramble. WHO OWNS IT. Security is a center of excellence, not a queue: a small security group owns the scanners, the standards, and the severity rubric; every service team owns the vulnerabilities in its dependencies and its code, the same way it owns its bugs. Security champions — engineers with extra training embedded in product teams — translate between the two. WHAT GOOD LOOKS LIKE. Every merge request is scanned for secrets, known vulnerable dependencies, and container CVEs before a human reviews it; a critical finding in a shipped dependency is remediated within a defined SLA (days, not quarters) because the SLA was agreed when nobody was on fire; secrets live in a manager with rotation and audit, never in git — and a leaked credential is rotated, not deleted from history; access follows least privilege with periodic reviews backed by last-used evidence (CIS Controls, linked below, is the checklist-grade source). HOW TO IMPLEMENT. In order of leverage: (1) secret scanning on every push — assume exposure, rotate what has ever been committed; (2) dependency scanning (SCA) with build-breaking severity thresholds; (3) a minimal, hardened base image and image scanning; (4) infrastructure plan scanning before apply; (5) patch SLAs with owners, reported monthly. Each step is days, and each makes the next audit cheaper. HOW TO ASSESS YOURSELF. The production readiness assessment scores secrets management, access control, patching, and vulnerability handling with citations — see /assess. Related: /devops owns the pipeline these checks ride, /cloudops owns the guardrails that keep misconfigured infrastructure from deploying at all.

Capabilities

  • Access Control

    Least-privilege access with SSO, MFA, and periodic reviews for humans and machines.

  • Data Protection

    Sensitive data classified, encrypted in transit and at rest, and disposed of deliberately.

  • Patch Management

    Dependencies and platforms stay current, with critical patches on a defined clock.

  • Secrets Management

    Vaulted, rotated, access-audited credentials — never in source control.

  • Security Pipeline Gates

    Commit-, build-, and deploy-time security checks that fail the pipeline on findings that matter.

  • Threat Modeling

    Structured analysis of what can attack what, done at design time when changes are still cheap.

  • Vulnerability Management

    Finding, triaging, and remediating weaknesses with severity-based SLAs.

Practices

  • Security Champions

    Engineers with security training embedded in product teams, translating between the disciplines.

  • Shift-Left Security

    Security checks in the pipeline at commit, build, and plan time.

Metrics

  • Dependency Freshness

    Share of runtime dependencies within one minor version of latest stable.

    Unit: %. Good direction: up.

  • Mean Time to Remediate

    Average time from vulnerability confirmed to fix deployed.

    Unit: days. Good direction: down.

  • Pipeline Security Scan Coverage

    Share of builds running secrets, dependency, and container scans.

    Unit: %. Good direction: up.

Tools

  • GitHub Actions

    Pipeline automation integrated with the repository: build, test, scan, and deploy workflows.

    Visit site ↗
  • HashiCorp Vault

    Secrets management, encryption, and dynamic credentials.

    Visit site ↗
  • Snyk

    Dependency and container security scanning in the pipeline.

    Visit site ↗
  • Trivy

    Open-source scanner for containers, IaC, and dependency vulnerabilities in the pipeline.

    Visit site ↗

Architecture patterns

Reference architectures and their trade-offs live in the blueprints library.

Maturity

  1. L1 ReactiveSecurity at the endrequired stage

    A review before release, if any; findings arrive too late and get waived.

  2. L2 RepeatableScans in the pipeline

    Dependency and secret scans run on builds; findings are seen but SLAs are informal.

  3. L3 StandardizedBuild-breaking gates + patch SLAsrequired stage

    Critical findings fail the build; remediation has severity-based SLAs with owners.

  4. L4 MeasuredSecurity evidence on demand

    Pipeline coverage, SLA attainment, and access reviews produce audit-ready evidence continuously.

  5. L5 OptimizedSecurity shapes design

    Threat modeling at design time; the cheapest moment to fix is the one used.

Maturity for devsecops is measured, not guessed — every score traces to your answers. See how maturity is scored.

Put it to work

  • CloudOps

    CloudOps is related to this area

  • DevOps

    DevOps overlaps with this area

  • DevOps

    DevOps is specialized by this area

  • BuildOps

    BuildOps complements this area

Sources