Update Vulnerability::Reads#dismissal_reason if it exists
requested to merge 412668-implement-updating-of-vulnerability-reads-dismissal_reason-when-a-vulnerability into master
What does this MR do and why?
Update Vulnerability::Reads#dismissal_reason if it exists when dismissing a Vulnerability
How to set up and validate locally
- Set up a new project with some Vulnerabilities
- Checkout this branch
- Dismiss a Vulnerability with a reason, make note of it's ID
-
Vulnerabilities::Read.find_by(vulnerability_id: id_here).dismissal_reason
should be populated
Related to #412668 (closed)
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 Michał Zając