Skip to content

Add all option to tool dropdown

Samantha Ming requested to merge 368250-add-all-tools-dropdown into master

What does this MR do and why?

This MR is part of the vulnerability tool filter migration to GraphQL. The Project, Group, and Instance views will use a shared component and populate the dropdown menu items from the vulnerability scanner GraphQL query. Please see the Epic for details > Refactor and consolidate all "tool" dropdowns t... (&8407 - closed)

In this MR, the all option is added to the tool filter component.

Screenshots or screen recordings

Project Group Instance
2022-07-29_at_4.10_PM 2022-07-29_at_4.10_PM 2022-07-29_at_4.11_PM

How to set up and validate locally

  1. Enable the FF echo "Feature.enable(:refactor_vulnerability_tool_filter)" | rails c
  2. Project view (Project > Security & Compliance > Vulnerability report)
  3. Group view (Group > Security & Compliance > Vulnerability report)
  4. Instance view (Menu > Security > Vulnerability Report)
  5. They all have the all option in the Tool dropdown

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

Edited by Samantha Ming

Merge request reports