VOOZH about

URL: https://thenewstack.io/security-metrics-that-actually-matter-in-a-devops-world/

⇱ Security Metrics that Actually Matter in a DevOps World - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2019-06-28 10:59:25
Security Metrics that Actually Matter in a DevOps World
contributed,sponsor-capsule8,sponsored,sponsored-post-contributed,
DevOps / Observability / Security

Security Metrics that Actually Matter in a DevOps World

DevSecOps’ role as a mindset and practice. In this way it extends beyond just security automation and manifests itself as a culture that produces valuable results for the business.For DevSecOps, this raises the question: If DevOps prioritizes software delivery performance, what should security prioritize to support this?
Jun 28th, 2019 10:59am by Meg O’Leary
👁 Featued image for: Security Metrics that Actually Matter in a DevOps World
Capsule8 sponsored this post.

Capsule8 sponsored this post.

Meg O’Leary
Meg, who is Capsule8's CMO, joined the team bringing more than a decade in communications and marketing roles both on the corporate and agency sides. Before joining Capsule8, Meg co-founded InkHouse Marketing+Media, which continues to be one of the fastest growing agencies in the country with offices in Boston and San Francisco. Earlier in  her career, Meg held various marketing and product management roles at RSA.

“DevSecOps” has recently entered the security lexicon to describe a hybrid of DevOps and security practices — and as we will see below, for good reason.

Most commonly, DevSecOps focuses on the narrow interpretation of DevOps as automation of the build/delivery pipeline. Thus, the typical notion of DevSecOps focuses on the software development lifecycle, attempting to put testing in as early as possible into the design process to protect the integrity and performance of the system at large.

A broader interpretation would see DevSecOps’ role as a mindset and practice. In this way it extends beyond just security automation and manifests itself as a culture that produces valuable results for the business.

For DevSecOps, this raises the question: If DevOps prioritizes software delivery performance, what should security prioritize to support this?

In this post, we describe which specific security metrics you need to help, instead of slowing down, your organization’s business processes.

Four Foundational Principles for Measuring Security

👁 Image
There are four foundational principles to keep in mind when measuring security, drawn from optimal DevOps metrics from the seminal book , et al.:

  1. Measure at the global level, not team level. The ultimate goal of the security team — or any team for that matter — is to help the business achieve its goals. That’s why it’s important to have security metrics at the organizational level — to avoid siloed thinking and to always prioritize the needs of the business over the team;
  2. Measure outcomes versus outputs. Measuring sheer work product is insufficient because it’s not tied to tangible outcomes. For example, measuring the number of hours worked or tests performed isn’t necessarily indicative of progress. What matters is whether those hours and tests reduce the attack surface or the incidence of malicious events;
  3. Don’t focus on static indicators to reach some mythical “maturity threshold.” Instead, prioritize building resilience over an abstract notion of “maturity.” This means instead of having a “cover my bases” mentality of deploying numerous incremental solutions, the objective of security is to increase the entire organization’s ability to respond and rebound from inevitable vulnerabilities and attacks;
  4. Don’t miss the forest for the trees. If you focus too much on individual security components, you’ll lose sight of the impact of those components on the overall system.

Which Security Metrics Actually Matter?

Before we dive into our list, it’s important to acknowledge that most security metrics are vendor-biased, particularly those espousing DevSecOps-specific metrics. An unfortunate byproduct of the security testing market is that we rarely see metrics outside of individual security products — for the simple reason that vendors won’t sell you on metrics that their own products can’t measure.

But make no mistake: you are what you measure. That’s why businesses should be careful about choosing the right metrics that fit with their security goals — regardless of whether their businesses adopt DevOps principles or not. Because if you optimize for a narrow goal, you’ll end up with a narrow program.

Three High-Impact Security Metrics

Broadly speaking, security metrics that support software delivery performance can be grouped into three main categories: 

  1. Deployment metrics measure the health of the deployment process and provide leading indicators of application stability.
    Examples of deployment metrics: time-to-deploy, deployment frequency, deployment success/failure, time spent fixing failed releases, and environment configuration drift.
    Elite performers in this category can deploy on demand;
  2. Lead time metrics measure the capacity of the organization to respond to change and deliver business value (i.e. the time it takes to design and deliver requested security features).
    Examples of lead time metrics: individual productivity/velocity, rework time, cycle time, time-to-value trends.
    Elite performers in this category typically have average lead times <1 hour;
  3. Mean time to repair (MTTR) metrics measure how quickly threats can be remediated and services restored. The ability to remediate security instances quickly is highly correlated with engineering performance.
    List of MTTR metrics: time to triage, time to investigate, time to remediate;
    Elite performers in this category have a MTTR of less than 1 hour.

Don’t Try to Measure Failure

Mean time to failure (MTTF) is one metric security teams should not measure. Failure is inevitable, and to have a metric that incentivizes failure avoidance is unrealistic at best, counterproductive at worst. It takes attention away from the metrics that actually help remediate threats and build resiliency within the organization.

Instead, Measure Tradeoffs…

Improved security almost always comes with tradeoffs — whether that’s more friction or higher costs in time or money.

Here’s a basic example: the reduction in the number of security fixes per new release may be counterbalanced by an increase in employee time spent using security tools. And when you look beyond the security team, the newly added security feature may be outsourcing pain to other parts of the organization.

Having metrics in place to measure the impact of deploying a new security solution forces teams to seriously assess whether the benefits of a new release truly outweigh its costs.

Obviously, the types of metrics used to measure trade-offs would be highly dependent on individual circumstances. But teams can start by asking themselves a few basic questions:

  • How much of your team’s time is spent on product maintenance versus problem-solving?
  • Is there an increase in support tickets indicating confusion over new security policies?
  • Are teams proactively coming to you, or is there evidence of avoidance?

…And Account for Systems Complexity

The complexity of your overall system brings a new level of risk that goes beyond any individual component. These systematic risks need to be taken into account within the organization’s security strategy.

For example, organizations can start by quantifying and balancing the short term and long term stresses to system:

  • Short term stress: active incidents, last-minute reviews, audits, new vulnerabilities;
  • Long term stress: employee turnover, number of product types/systems, number of security tools being used, budget cuts.

Security Metrics Are Only the Beginning

Finally, in our collective exuberance to do testing earlier in the SDLC, we must also assume failure during runtime as well in order to implement a resilient security strategy. Without understanding incidents in production, it’s difficult to create a continuous feedback loop to harden your container images — and certainly harder to continuously improve the security of non-microservices systems, too. Once appropriate security metrics are implemented for production, they can provide valuable feedback into improving pre-release testing. More importantly, they can even ensure security is enabling the business — rather than choking it.

Feature Image by Dominic Alberts from Pixabay.

High-performance attack protection for Linux production environments – whether containerized, virtualized, or bare-metal, on-prem or cloud.
Learn More
The latest from Capsule8
TRENDING STORIES
Meg, who is Capsule8's CMO, joined the team bringing more than a decade in communications and marketing roles both on the corporate and agency sides. Before joining Capsule8, Meg co-founded InkHouse Marketing+Media, which continues to be one of the fastest...
Read more from Meg O’Leary
Capsule8 sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.