Make sure that `present_on_default_branch` is set to `true` if a branch containing a Vulnerability is merged
Why are we doing this work
We want to make sure that the following workflow is possible:
- Create an MR
- Run security scanners (this creates Security::Finding object)
- Interact with the
Security::Finding– either dismiss it or create an issue to investigate - A
Vulnerabilitywithpresent_on_default_branchset tofalseis created - Merge the MR
- Once the MR is merged set
present_on_default_branchtotruefor the Vulnerabilities the user has interacted with - For all other
Vulnerabilities::FindingaVulnerabilitywithpresent_on_default_branchsettrueshould be created.
This issue's focus are points 5-7.
Related: #324860 (closed)
Implementation plan
TBA
Edited by Michał Zając