Fix missing AutoFixHelpText for group and instance security reports
What does this MR do and why?
This MR fixes the missing AutoFixHelpText
badge that shows on the project vulnerability report, but not the group and instance reports.
How to set up and validate locally
- Clone this project into a group: https://gitlab.com/gitlab-org/govern/threat-insights-demos/verify-390076
- Run a pipeline against the
main
branch. - Go to the project's vulnerability report. Click on 1 of the 2 vulnerabilities.
- On the vulnerability details page, click on
Resolve with merge request
on the upper right corner. - Go back to the project vulnerability report after the merge request is created. Refresh the page and verify that the badge is shown.
- Go to the group vulnerability report and filter by the project. Verify that the badge is shown.
- In the instance security settings, add the project to the instance report. Go to the instance vulnerability report and verify that the badge is shown for the project.
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 #427895 (closed)