Skip to content

Fetch counts for each group

Savas Vedova requested to merge 424441-display-number-of-items into master

What does this MR do and why?

Add severity counts next to the groups.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable feature flag: echo "Feature.enable(:vulnerability_report_grouping)" | rails c
  2. Fork https://gitlab.com/gitlab-examples/security/security-reports/
  3. Create a pipeline against the default branch
  4. Go to Secure > Vulnerability Report
  5. Use the Group By Button
  6. Check that severity counts next to groups are functioning properly

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 #424441 (closed)

Edited by Savas Vedova

Merge request reports