Begin populating the `has_vulnerability_resolution` column

Context

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 of CWE values.

We added a new column in MR 165548 to support this feature

This Issue

Now that the column has been added, we need to start setting the value during the vulnerability ingestion flow.

You can see more detailed discussions in the epic

Implementation Plan

Since the owasp top 10 feature, we have moved away from a sql-trigger based approach for vulnerablity_reads and now manage that table via application code.1

Given this new approach, updating the vulnerability_reads ingestion task class should be all that is required for this new column.

  1. Migrate Vulnerability::Read create / update logic from postgresql to Rails

Edited by Michael Becker