Show dismissal reason badge in vulnerability report
What does this MR do and why?
Show dismissal reason badge in the vulnerability report.
Relates to #408909 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
You'll need an EE license & runners set up.
- enable
expose_dismissal_reason
ff:echo "Feature.enable(:expose_dismissal_reason)" | rails c
- import security-reports
- run a pipeline on master branch
- dismiss various vulnerabilities with different reasons
- validate that dismissal reason is being shown for the correct vulnerabilities in a neutral small badge
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.
Edited by Lorenz van Herwaarden