Skip to content

Only display report type options with scanners

Samantha Ming requested to merge 428133-empty-tool-scanner into master

What does this MR do and why?

When there are no scanners for a report type, that report type will no longer be displayed.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Have the related FF enabled: echo "Feature.enable(:project_tool_filter_with_scanner_name)" | rails c
  2. In order to run a pipeline to generate a Vulnerability report, you'll need an EE license.
  3. Fork https://gitlab.com/gitlab-org/govern/demos/sandbox/minac/test-remediations
  4. Run a pipeline against the default branch. It will generate vulnerabilities.
  5. Go to the project vulnerability report page
  6. The "Tool" filter will only display report types with scanners

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

Edited by Samantha Ming

Merge request reports