Skip to content

Fix cardinality error while upserting the identifiers

Mehmet Emin INAC requested to merge deduplicate_identifiers_before_upsert into master

What does this MR do and why?

We need to remove the duplicates from the vulnerability.identifiers before doing do upsert to prevent having a PG::CardinalityViolation error.

Related to Fix identifier collision while creating vulnera... (!109398 - merged).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading