Skip to content

Add vulnerabilities counts to VSD

Ezekiel Kigbo requested to merge 383697-add-vulnerabilities-metrics-vsd into master

What does this MR do and why?

Adds Critical and High vulnerability count totals to the value streams dashboard.

This MR introduces query to Query.vulnerabilitiescountbyday /index.html#vulnerabilitiescountbyday), this returns vulnerability counts per day which are aggregated by the relevant time period and displayed as a raw total number and a trend graph (6month period).

Screenshots or screen recordings

Before After
Screenshot_2023-05-04_at_6.15.47_pm Screenshot_2023-05-04_at_6.14.23_pm

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

You will need a GitLab Ultimate license

  1. Create a group
  2. Seed cycle analytics data
  3. Seed dora metrics data
  4. Apply this patch to simulate vulnerabilities
  5. Visit the Value streams dashboard

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #383697 (closed)

Edited by Ezekiel Kigbo

Merge request reports