Safeguard
Industry Analysis•

Does a security failure count as a DORA change failure?

A failed security gate in CI is not a DORA change failure, but a security problem found after release can be. How to classify each case consistently.

Safeguard Security Team
3 min read

A security gate that blocks a build before deployment is not a change failure in DORA terms, because nothing was deployed. A security problem discovered after a deployment that requires immediate intervention, such as a rollback or hotfix, can count. Define the rule once and apply it consistently.

What the definition says

DORA's guide defines change fail rate as the ratio of deployments that require immediate intervention following a deployment, likely resulting in a rollback of the changes or a hotfix to quickly remediate any issues. It defines deployment rework rate as the ratio of deployments that are unplanned but happen as a result of an incident in production. It also describes failed deployment recovery time as the time to recover from a deployment that fails and requires immediate intervention.

The key word is deployment. These measures describe what happens to changes that went out.

Classifying common cases

SituationCounts as change failure?Why
Gate blocks a pull requestNoNo deployment happened
Gate blocks a deploy jobNoChange never reached production
New advisory published for code already live, patched in the normal cycleNoNot an immediate intervention caused by the change
Deployed change introduced a vulnerability, rolled back urgentlyYesImmediate intervention after deployment
Deployed change shipped with an exposed credential, rotated and hotfixedYesHotfix after deployment
Unplanned deployment to fix an exploited issueLikely reworkUnplanned deployment due to an incident

The grey case is a new vulnerability disclosed against a dependency you shipped weeks ago. The change did not fail when it shipped, and the scoring depends on your rule. Most teams keep these out of change fail rate and track them under vulnerability management, with its own measures such as time to remediate.

A practical rule

  1. Write down your definition of immediate intervention.
  2. Tag each production rollback or hotfix with a cause category, including security.
  3. Count a security tagged intervention in change fail rate only if it meets the same bar as any other cause.
  4. Track security related incidents and exposure time in a separate security view, so they do not disappear if they are not counted as change failures.

Keeping a cause tag lets you answer "how many of our failed changes were security related?" without a debate.

Why not count gate failures

Counting gate blocks as change failures would punish the control that is working. A blocked build is the system catching a problem early. Track gate blocks in your gate outcome metrics instead.

Quick check

Does a vulnerable dependency found after release count?

Only if it led to immediate intervention such as rollback or hotfix under your definition. Otherwise track it as vulnerability backlog.

Who decides the classification?

Agree it between engineering and security up front and review it quarterly, so the number is stable over time.

How Safeguard fits

Safeguard offers dependency and SBOM scanning with policies and gates that catch issues before release, and continuous monitoring for advisories on what has shipped. Try a free scan at gold.safeguard.sh/scan.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.