Skip to content

Resolve "Add formated report type name to vulnerability scanners"

What does this MR do and why?

Implement the reportTypeHumanized attribute to the VulnerabilityScannerType to make scanner presentation simpler for the frontend.

Screenshots or screen recordings

Screenshot_from_2022-08-19_15-09-25

How to set up and validate locally

  1. Configure a project in a group with a variety of executed scanners
  2. Execute the following graphql query on the /-/graphql_explorer against your configured testing group's path
query vulnerabilityScanners {
  group(fullPath: "testing-group") {
    vulnerabilityScanners {
      nodes {
        reportTypeHumanized
      }
    }
  }
}
  1. Confirm that the returned scanner types are in a humanised format.

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

Edited by Gregory Havenga

Merge request reports

Loading