Skip to content

Scan result policy: allow selection of branch type

Artur Fedorov requested to merge 414657-scan-result-policy-branch-type into master

What does this MR do and why?

This MR resolves Scan result policy: allow selection of branch type (#414657 - closed) • Martin Čavoj • 16.2 • Needs attention (Deliverable)

Now scan result policy can have either branch_type or specific branches in yaml structure

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Configuration via UI Configuration via YAML
branch_type_toggle validation

How to set up and validate locally

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

  1. Go to project or group
  2. Secure -> Policies
  3. Create new or edit existing scan result policy
  4. Branch type dropdown should have have new options and specific branches should add branches property instead of branch_type

MR acceptance checklist

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

Related to #414657 (closed)

Edited by Artur Fedorov

Merge request reports

Loading