Skip to content

Update Vulnerability::Reads#dismissal_reason if it exists

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

  1. Set up a new project with some Vulnerabilities
  2. Checkout this branch
  3. Dismiss a Vulnerability with a reason, make note of it's ID
  4. 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.

Edited by Michał Zając

Merge request reports

Loading