Set/Unset hasRemediations in VulnerabilityReads
What does this MR do and why?
When a remediation is ingested for a vulnerability it also updates the corresponding vulnerability_reads.has_remediations
.
Related to #420617 (closed)
How to set up and validate locally
- Import project https://gitlab.com/gitlab-org/govern/threat-insights-demos/verify-390076 into local new project.
- After import trigger a pipeline on the main branch.
- The pipeline in background will start the vulnerability ingestion task and the corresponding
vulnerability_reads
record for the imported project should havehas_remediations
set totrue
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Bala Kumar