Draft: Update policy-editor-layout to include rule mode
What does this MR do and why?
Update policy-editor-layout to include rule mode default fields
- the rule mode for policies should look exactly the same except for the rules and actions
- incorporate the name, description, and enabled toggle into the default policy-editor-layout rule-mode configuration so that it does not need to be reimplemented every time
- add new feature flag for scan execution rule mode
Related to #359884 (closed)
Screenshots or screen recordings
Page | Before | After |
---|---|---|
Scan Execution Policies - Rule Mode | it didn't exist before | |
Scan Result Policies - Rule Mode | No visual change |
How to set up and validate locally
- Ensure your GDK has a GitLab Ultimate license uploaded
- Navigate to a project =>
Security and Compliance
=>Policies
=>New policy
- Select
Scan Execution Policy
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 Alexander Turinske