Add approvers when editing scan result policies
What does this MR do and why?
Add approvers when editing scan result policies taking into consideration the existing feature flag. It also split a couple of fields which were previously only used for scan execution scan.
The approval data will only be used on the frontend in the follow-up MR.
Related issue: #351166 (closed)
Screenshots or screen recordings
Link to docs related to scan result policies
Link to docs related to scan execution policies
How to set up and validate locally
- Enable
scan_result_policy
feature flag - Create a security project as described in the docs
- Create a new scan result policy with the project owner
- Log in with another user with lower privileges (like developer)
- Trying to edit the policy will bring up the link to the documentation.
- The same steps can be followed for scan execution policies.
** The instructions above are mostly related to the changes in regards to the link to the documentation. Approval data will be used on the frontend only in the follow-up MR.
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