Fix vulnerability report not showing for manually-added vulnerabilities
What does this MR do and why?
This MR fixes 2 issues:
-
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.
-
Even with the report shown, vulnerabilities added through the
vulnerabilityCreate
GraphQL resource were not shown on the report because the Tool filter was missing theGENERIC
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #354082 and #353176 (closed)