Teams that measure delivery speed and security separately end up arguing about which one matters, when the useful question is whether they ship fast and safely at the same time. This guide pairs the DORA software delivery metrics with a small set of pipeline security outcome metrics, so engineering managers and DevSecOps leads can see both on one page. Here DORA means the DevOps Research and Assessment programme at dora.dev, not the EU Digital Operational Resilience Act, which is covered in the DORA Guide. The guide gives definitions, formulas, data sources and how to set targets from your own baseline, and it deliberately quotes no industry benchmarks. Programme-wide reporting is covered in the Security Metrics and KPIs Programme Guide and application security measures in the AppSec Programme Metrics Guide; this page focuses on what the pipeline itself can tell you.
Key takeaways
- DORA now defines five delivery metrics. Change lead time, deployment frequency and failed deployment recovery time measure throughput; change fail rate and deployment rework rate measure instability. Reliability sits alongside them as an operational measure.
- Pair every speed metric with a safety metric. Deployment frequency means little if signed artefact share is falling; time to remediate means little if fixes raise the change fail rate.
- Measure outcomes the pipeline can prove. Time to remediate, secret leak rate and time to revoke, signed and provenance-attested artefact share, and pipeline credential type are all computable from systems you already run.
- Set targets from your own baseline. DORA warns that turning metrics into goals invites gaming and that comparing very different applications misleads; track trends per service.
- Design against perverse incentives. Count bypasses and suppressions alongside blocks, and never reward a low finding count on its own.
Why combine delivery and security metrics
Security controls in a pipeline cost time, and delivery pressure erodes controls. Reporting both on one dashboard makes the trade-off visible and lets teams argue from data. Three practical reasons:
- Shared language: engineering teams already track DORA metrics. Security outcomes expressed as rates and times per service, in the same tooling, get attention that a separate scanner report does not.
- Healthy tension: DORA's own guidance is to use several metrics with tension between them rather than one number. Security outcomes provide that tension for throughput.
- Evidence for secure development frameworks: NIST CSF 2.0 outcome PR.PS-06 expects secure software development practices to be integrated and their performance monitored, and NIST SP 800-218 (the Secure Software Development Framework, SSDF, version 1.1, final since February 2022) organises practices into Prepare the Organisation, Protect the Software, Produce Well-Secured Software and Respond to Vulnerabilities. Pipeline metrics are the monitoring evidence.
DORA measures recap
DORA's definitions page (last updated 5 January 2026) groups the metrics as follows. Apply them per application or service, not across a whole estate.
| Metric | Group | DORA definition (paraphrased) |
|---|---|---|
| Change lead time | Throughput | Time for a change to go from commit to running in production |
| Deployment frequency | Throughput | Number of deployments in a period, or time between deployments |
| Failed deployment recovery time | Throughput | Time to recover from a deployment that fails and needs immediate intervention |
| Change fail rate | Instability | Share of deployments that need immediate intervention afterwards |
| Deployment rework rate | Instability | Share of deployments that are unplanned and happen because of a production incident |
The set has evolved. DORA's history page records four candidate metrics in its inaugural 2014 study (deployment frequency, lead time, mean time to recover and change fail rate), with the model settling into throughput and stability by 2015; availability added in 2018 and replaced by reliability in 2021 as an operational measure; mean time to recover renamed failed deployment recovery time in 2023 and narrowed to failures caused by a change; and deployment rework rate added as the fifth delivery metric in 2024. DORA notes that reliability measures operational performance rather than delivery, so track it from your service level objectives (SLO attainment) next to, not inside, the five.
Pipeline security outcome metrics
Choose outcome measures that the pipeline can compute automatically and that a team can move through its own work. A starting set:
- Time to remediate by severity: elapsed time from a vulnerability being found in code, a dependency or an image to the fix being deployed to production. Report median and 90th percentile, per severity, because averages hide the long tail. See the Risk-Based Vulnerability Management Guide for prioritisation.
- Open critical exposure age: age of the oldest unremediated critical or known-exploited finding in a production artefact. It catches what time to remediate misses: items not yet fixed.
- Secret leak rate and time to revoke: secrets that reached a repository or build log per period, normalised by commit volume, plus the time from detection to revocation at the issuer. Push protection blocks are a separate, positive measure: they show leaks prevented. See How to enable GitHub secret scanning push protection.
- Signed artefact share: share of production deployments whose artefact carries a signature verified at deploy or admission time. OpenSSF Scorecard's Signed-Releases check scores 8 for signatures and 10 when releases also carry SLSA provenance, which is a useful two-step ladder. See the Sigstore Guide.
- Provenance coverage: share of production artefacts with build provenance at SLSA Build L2 (hosted platform, signed provenance) or L3 (hardened builds). SLSA v1.2 is the current approved specification. See the SLSA and Build Provenance Guide.
- Static credential share in pipelines: share of pipelines that authenticate to cloud and registries with long-lived secrets rather than OIDC workload identity federation. See the Workload Identity Federation Guide.
- Escape rate: share of security defects found in production (by testing, bug bounty or incident) rather than in the pipeline.
- Gate friction: share of pull requests blocked by a security gate, the wait they add, and the share later judged false positive.
Metric definitions table
Write each metric down once, with an owner, in a metrics dictionary such as the Security Metrics Dictionary Template. Targets below are guidance on direction and how to set them, not industry numbers.
| Metric | Formula | Data source | Target guidance |
|---|---|---|---|
| Change lead time | Median (production deploy time minus commit time) per service | Version control plus deployment events | Improve on your own quarterly baseline; watch for security-labelled changes running slower than features |
| Deployment frequency | Production deployments per week per service | CD platform | Trend up or steady, read together with change fail rate |
| Failed deployment recovery time | Median (recovery time minus failed deploy time) | Incident and deployment records | Trend down; include rollbacks of security fixes |
| Change fail rate | Deployments needing immediate intervention divided by deployments | Incident tickets linked to deploys | Stable or falling while security gates are added |
| Deployment rework rate | Unplanned incident-driven deployments divided by deployments | CD platform labels | Trend down; tag emergency security patches separately |
| Reliability (SLO attainment) | Periods meeting SLO divided by periods | Monitoring and SLO tooling | Meet the SLO each service has agreed |
| Time to remediate | Median and p90 (fix deployed minus finding created), by severity | Scanners, issue tracker, deploy events | Within your own policy timescales per severity; trend down |
| Open critical exposure age | Max age of open critical or known-exploited findings in production artefacts | Artefact and image scanning, CISA KEV match | Zero items beyond policy timescale |
| Secret leak rate | Secrets detected in repos or logs per 1,000 commits | Secret scanning alerts | Trend down as push protection matures |
| Time to revoke leaked secret | Median (revocation time minus detection time) | Secret scanning alerts plus issuer audit logs | As short as your issuers allow; alert on any open beyond one working day by policy |
| Push protection bypass rate | Bypassed blocks divided by all blocks | Secret scanning bypass records | Low and reviewed; every bypass has a reason |
| Signed artefact share | Deployments with verified signature divided by deployments | Admission controller or deploy verification logs | Rising to full coverage for production |
| Provenance coverage | Artefacts with verified SLSA provenance at target level divided by artefacts | Provenance verification step | Rising per release; state the SLSA level measured |
| Static credential share | Pipelines using long-lived secrets divided by pipelines | CI configuration inventory, secrets manager | Falling towards zero where federation is available |
Collecting data from the pipeline
- Start with events, not dashboards: collect commit, build, deploy and incident events with a shared service identifier and the artefact digest. The digest is the join key between a scanner finding, a signature check and a deployment.
- Baseline for one quarter: measure without targets for a few representative services, check the numbers by hand against a sample of real deployments and findings, and fix definitions before publishing anything. DORA's Quick Check is a light way to start the delivery side.
- Use existing integrations: DORA advises using existing tools and pre-built integrations before custom builds. Source control, the CD platform, scanners, the secrets manager and the admission controller already emit most of what you need.
- Add repository posture checks: run OpenSSF Scorecard checks such as Token-Permissions, Dangerous-Workflow, Pinned-Dependencies, Branch-Protection and Signed-Releases across repositories and track the share passing each. See the OpenSSF Scorecard Guide.
- Publish per service, roll up carefully: show each team its own trends; aggregate only rates with the same definition, and never rank teams.
- Review quarterly: retire metrics nobody acts on, and record definition changes so trends are not misread.
Decision guidance by organisation size
| Situation | Start with | Add later |
|---|---|---|
| Small team, one pipeline | Change lead time, change fail rate, time to remediate, secret leak rate | Signed artefact share once signing is in place |
| Mid-size, several platforms | All five DORA metrics, time to remediate, time to revoke, static credential share | Provenance coverage, gate friction |
| Large or regulated estate | Full table per service with a central dictionary and data owners | Escape rate, Scorecard posture across repositories, SLSA level targets per tier |
Avoiding perverse incentives
DORA cites Goodhart's law: once a measure becomes a target it stops being a good measure. Security metrics are especially easy to game.
- Suppression instead of remediation: time to remediate improves when findings are closed as false positive or risk accepted. Report suppressions and exceptions as their own measure and sample them.
- Bypass to ship: rising deployment frequency with a rising push protection bypass rate or more disabled gates is a warning, not a win.
- Counting findings: a falling finding count can mean scanners were switched off. Track scanner coverage of repositories and artefacts alongside.
- Splitting deployments: frequency can be inflated by splitting releases. Read it with change lead time and rework rate.
- Measuring presence, not verification: a signature that nobody verifies proves little. Scorecard's Signed-Releases check itself does not verify signatures, so measure verification at deploy time. The Codecov breach went unnoticed for about two months until a customer compared a checksum, which is the case for measuring verification rather than publication.
- Team league tables: DORA warns against comparing very different applications and using metrics to compete. Use trends for improvement conversations.
Framework mapping
| Metric area | NIST CSF 2.0 | NIST SP 800-53 Rev 5 |
|---|---|---|
| Measuring secure development performance | PR.PS-06, GV.OV-03 | SA-15 Development Process, Standards, and Tools |
| Time to remediate, exposure age | ID.IM-01 | SI-2 Flaw Remediation |
| Signed artefacts and provenance | PR.PS-06 | SR-4 Provenance |
| Pipeline testing and gate results | PR.PS-06 | SA-11 Developer Testing and Evaluation |
| Change fail and rework rates | ID.IM-01 | CM-3 Configuration Change Control |
| Ongoing metric review | GV.OV-03 | CA-7 Continuous Monitoring |
Practitioner checklist
- State in every report that DORA means the dora.dev delivery metrics, and link the EU regulation separately where readers may confuse them.
- Track all five DORA metrics per service, with reliability from SLOs alongside.
- Define time to remediate with median and p90 by severity, and report open critical exposure age next to it.
- Measure secret leak rate, time to revoke and push protection bypass rate together.
- Measure signature and provenance verification at deploy time, not just presence, and state the SLSA level.
- Track the share of pipelines still using long-lived credentials.
- Use the artefact digest as the join key across scanners, signing and deployment data.
- Baseline for a quarter before setting targets, and set targets against your own trend.
- Report suppressions, exceptions, bypasses and scanner coverage beside every outcome metric.
Standards and references
- DORA: Software delivery performance metrics
- DORA: A history of DORA's software delivery metrics
- NIST: SP 800-218 Secure Software Development Framework (SSDF) Version 1.1
- SLSA: Specification v1.2
- SLSA: Security levels (Build track)
- OpenSSF: Scorecard checks
Related NHI Mgmt Group resources: Security Metrics and KPIs Programme Guide · AppSec Programme Metrics Guide · Software Supply Chain Security Guide · CI/CD Security Guide · DevSecOps Guide