Set vulnerability_occurrence_id on vulnerability_reads during ingestion

What does this MR do and why?

As part of the vulnerabilites on multiple branches project, we are changing vulnerability_reads so that they are related to a vulnerability_occurrence rather than a vulnerability. This change sets the vulnerability_occurrence_id during ingestion so that the relationship is tracked for new records.

References

Relates to: #555981 (closed)

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Brian Williams (Ex-GitLab)

Merge request reports

Loading
Loading