Skip to content

Display a group by dropdown

Savas Vedova requested to merge 420055-create-group-by-button into master

What does this MR do and why?

This MR does two things:

  • Introduce :vulnerability_report_grouping feature flag
  • Display a listbox on the project vulnerability report when the feature flag is enabled

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable :vulnerability_report_grouping feature flag: echo "Feature.enable(:vulnerability_report_grouping)" | rails c
  2. Fork https://gitlab.com/gitlab-examples/security/security-reports
  3. Run a pipeline against the default branch
  4. Visit Secure > Vulnerability Report
  5. See the group by button

It currently does nothing other than setting the state. Upcoming work will introduce more functionality.

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

Edited by Savas Vedova

Merge request reports