Skip to content

Fix missing AutoFixHelpText for group and instance security reports

Daniel Tian requested to merge 427895-fix-missing-auto-fix-help-text into master

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.

ksnip_20231017-015806

How to set up and validate locally

  1. Clone this project into a group: https://gitlab.com/gitlab-org/govern/threat-insights-demos/verify-390076
  2. Run a pipeline against the main branch.
  3. Go to the project's vulnerability report. Click on 1 of the 2 vulnerabilities.
  4. On the vulnerability details page, click on Resolve with merge request on the upper right corner.
  5. Go back to the project vulnerability report after the merge request is created. Refresh the page and verify that the badge is shown.
  6. Go to the group vulnerability report and filter by the project. Verify that the badge is shown.
  7. 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.

Related to #427895 (closed)

Merge request reports