Fix Removing branch_exceptions in scan result policy
What does this MR do and why?
This MR partially fixes removing branch exceptions in scan result policy
Partially resolves #424844 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Result |
---|
exceptions remove.mov |
How to set up and validate locally
Feature.enable(:security_policies_branch_exceptions)
- Enable feature flag
- Go to a project.
- Go to Secure -> Policies.
- Create a scan result policies with rules with branch exceptions
- Go to policies list and edit newly created policy
- Change exceptions to no exceptions, make sure
branch_exceptions
are removed fromyaml
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 #424844 (closed)