Skip to content

Populate group tools dropdown from GraphQL query

Samantha Ming requested to merge 368256-group-graphql-query 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, it queries the scanners and populates the dropdown from the response for the group view.

Screenshots or screen recordings

2022-08-05_at_7.51_PM

How to set up and validate locally

  1. Enable the FF echo "Feature.enable(:refactor_vulnerability_tool_filter)" | rails c
  2. Group view (Group > Security & Compliance > Vulnerability report)
  3. It displays the scanners returned from GraphQL's vulnerability scanner

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

Edited by Samantha Ming

Merge request reports

Loading