Skip to content

Refactor vulnerability report project filter

What does this MR do and why?

This MR refactors the vulnerability report project filter to use the new components that we've been writing. Functionally it's the same as the old project filter. Here's 2 videos giving a rundown of how it works:

Untitled

Untitled2

How to set up and validate locally

  1. Go to any group, or create a new one.
  2. If the group does not have project with vulnerabilities, clone this project into the group: https://gitlab.com/gitlab-examples/security/security-reports
  3. Create additional projects in the group, as desired. The additional projects don't need to have vulnerabilities.
  4. Go the the group -> Security & Compliance -> Vulnerability report.
  5. Test the project filter for the group vulnerability report.
  6. Click on the hamburger menu in the top toolbar -> Security.
  7. Click on Settings and add a few projects to the monitored projects.
  8. Click on Vulnerability Report.
  9. Test the project filter for the instance vulnerability report.

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

Edited by Daniel Tian

Merge request reports

Loading