Add has_vulnerability_resolution column to vulnerability_reads table
Background
We need to be able to filter vulnerabilities on whether they have the "Resolve with Duo" button enabled.
This button is enabled if a finding's CWE value is included in this
[hard-coded list][0] of CWE values.
These values ultimately come from the name column of the
[vulnerability_identifiers model][1]
This issue is to create a new column as step 1 in the backend implementation plan described in the epic
Implementation Plan
- create a migration to run
def change add_column :vulnerability_reads, :has_vulnerability_resolution, :boolean, default: false end
Edited by Michael Becker