Show dismissal reason descriptions in bulk actions
What does this MR do and why?
Related #432499 (closed)
Show dismissal reason descriptions in bulk actions.
When dismissing in bulk on the vulnerability report, you can see each dismissal reason description to guide you in making the right choice. This is similar to how it's done already on the vulnerability details page (status dropdown).
note: MR for passing the dismissal descriptions from backend: Add dismissal descriptions to vulnerability rep... (!137744 - merged) • Lorenz van Herwaarden • 16.7
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Prerequisites
- You need an EE license
- You need to have runners enabled (See $2408961 for setting up a runner)
- Import https://gitlab.com/gitlab-examples/security/security-reports
- Run a pipeline on master
Validate
For following pages:
- instance vulnerability report page:
http://gdk.test:3000/-/security/vulnerabilities
(make sure the instance has vulnerabilities by selecting projects with vulnerabilities at http://gdk.test:3000/-/security/dashboard/settings) - group vulnerability report page:
http://gdk.test:3000/groups/<some-group>/-/security/vulnerabilities
(make sure the group has vulnerabilities) - project vulnerability report page:
http://gdk.test:3000/root/security-reports/-/security/vulnerability_report
Validate that when selecting one or more vulnerabilities and choosing "Dismiss" as status, the dismissal reason dropdown now shows the correct description underneath each reason. Descriptions can be found at ee/app/enums/vulnerabilities/dismissal_reason_enum.rb
.
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.