Decouple policy name update from yaml/rule modes
What does this MR do and why?
Decouple policy name update from yaml/rule modes and set rule mode as default.
Related issue: #354572 (closed) and #354216 (closed)
Screenshots or screen recordings
Policy name is set from rule mode so only empty validation is present
Rule mode is the default mode
How to set up and validate locally
- Enable
scan_result_policyfeature flag (if you haven't pulled master for a while) - Create a security project as described in the docs
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zamir Martins

