Scan result policy: allow selection of branch type
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.
- Go to
project
orgroup
-
Secure
->Policies
- Create new or edit existing
scan result policy
- Branch type dropdown should have have new options and specific branches should add
branches
property instead ofbranch_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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #414657 (closed)
Edited by Artur Fedorov