Update bulk dismissal reason dropdown on Vulnerability Report
Problem to solve
We recently updated the vulnerability detail page to include explanations of each dismissal type in the Status dropdown.
We should carry these inline descriptions to the Vulnerability Report page when vulns are dismissed:
Proposal
Carry the dismissal descriptions over to the dismissal reason dropdown on the Vulnerability Report
Implementation steps
- Pass dismissal descriptions to the vulnerability report page
- Update spec (if needed)
- retrieve dismissalDescriptions from dataset and provide to Vue
- inject into
selection_summary.vue
- Use custom template for dismissal reason listbox and show reasons as subtext
Verification steps
- Go to https://gitlab.com/gitlab-examples/security/security-reports/-/security/vulnerability_report
- Select a couple vulnerabilities
- Choose the "Dismiss" status
- Open the dismissal reason dropdown and verify that each reason has its description as a subtext.
Edited by Lorenz van Herwaarden