Skip to content

Draft: Modify VulnerabilityFeedbackController to create Vulnerability

What does this MR do and why?

Describe in detail what your merge request does and why.

After #324857 (closed) is merged, we should make sure to create a new Vulnerability when a user interacts with an unpersisted Finding.

This MR Modifies the Projects::VulnerabilityFeedbackController to create Vulnerability on the fly for a given Finding.

  • This will not create a new feedback object but only create a vulnerability.
  • We will need to set the present_on_default_branch to false for these new vulnerabilities

This MR is related to issue #324860 (closed) #368311 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Subashis Chakraborty

Merge request reports