Skip to content

Fix vulnerability report not showing for manually-added vulnerabilities

Daniel Tian requested to merge 354082-fix-report-not-showing into master

What does this MR do and why?

This MR fixes 2 issues:

  1. If a project has not run any pipelines, or has not run any pipelines that generates security reports, the project report shows the "report is not configured" component. However, this component was still incorrectly shown if a vulnerability was added through the GraphQL API. This is now fixed so that the project report is shown if there are vulnerabilities.

  2. Even with the report shown, vulnerabilities added through the vulnerabilityCreate GraphQL resource were not shown on the report because the Tool filter was missing the GENERIC dropdown item. This has been fixed.

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 #354082 and #353176 (closed)

Edited by Daniel Tian

Merge request reports

Loading