Application Security - Capacity Indicators, Classifications, and Workflows
Key Performance Indicators
These metrics track our team’s capacity to handle critical security workloads.
Merge Request Review Coverage Rate
This KPI tracks our ability to review security-relevant merge requests that introduced a vulnerability, with or without prior security review. It is tracked through a security review miss rate that we target to get as close to 0% as possible, as that would mean that any merge request that was reviewed by the application security team did not end up introducing a vulnerability.
What I Need To Do To Have This KPI Measured?
- Merge Request Classification Requirements
AppSecWorkType::VulnFixVerification
must be applied to security fix verification Merge RequestsAppSecWorkType::SecurityMRReview
must be applied to all other security code reviews, including those performed during triage rotation or as part of the stable counter part MR review.
Those two labels are applied as part of our capacity metrics and our day-to-day operation. You can find more details on the capacity metric dedicated page on the Type of Work Classification. To understand how we work and how we are applying those labels, you can consult our dedicated page about Milestone Planning.
-
Vulnerability Source Tracking
- Apply
appsec-kpi::vulnerability-introduced
label to Merge Requests identified as introducing vulnerabilities
- Apply
-
Vulnerability Prevention Tracking
- Apply
appsec-kpi::vulnerability-prevented
label to Merge Requests where vulnerabilities were identified and prevented during security review
- Apply
Calculation Method
`Security Review Miss Rate` = (Merged Vulnerability-introducing Merge Requests with Application Security review / Total vulnerability-introducing Merge Requests) * 100
Where:
- Total vulnerability-introducing Merge Requests = Merge Requests labeled with
appsec-kpi::vulnerability-introduced
- Vulnerability-introducing Merge Requests without Application Security review =
appsec-kpi::vulnerability-introduced
Merge Requests lacking bothAppSecWorkType::SecurityMRReview
orAppSecWorkType::VulnFixVerification
- Merged Vulnerability-introducing Merge Requests with Application Security review =
appsec-kpi::vulnerability-introduced
Merge Requests with eitherAppSecWorkType::SecurityMRReview
orAppSecWorkType::VulnFixVerification
441b836f
)