Trigger SAST FP detection workflow

What does this MR do and why?

This MR triggers duo workflow sast_fp_detection/v1 for detecting if a vulnerability is false positive or not. The workflow is triggered when the vulnerability is created.

References

https://gitlab.com/gitlab-org/gitlab/-/issues/569264

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. You need to have a project with Ultimate license.
  2. Enable feature flag for the project by running Feature.enable(:enable_vulnerability_fp_detection, project) in the rails console.
  3. Visit project's vulnerability dashboard.
  4. Submit a vulnerability.
  5. Visit the Automate -> Agent sessions on left side bar for the project, and see the new agent session being created for sast fp detection.

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.

Related to #569264

Edited by Hitesh Raghuvanshi

Merge request reports

Loading