Skip to content

Add policy action builder into scan result policy

What does this MR do and why?

Add policy action builder into scan result policy page. There is another MR in parallel to this one dealing with policy rules. This is applicable to both new and existing policies.

It is important to mention that although the YAML supports multiple attributes in regards to approvers, rule mode will prioritize converting them to ids.

Due to MR size, the customized dropdown will be added as part of this MR.

Follow up from: !80101 (merged)

Related issue: #351166 (closed)

Screenshots or screen recordings

Screen_Shot_2022-02-14_at_3.45.45_PM

How to set up and validate locally

  1. Enable scan_result_policy feature flag
  2. Create a security project as described in the docs
  3. Create a new scan result policy with the project owner

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 Zamir Martins

Merge request reports