Add scan execution action controls
What does this MR do and why?
Add scan execution action controls Alexander Turinske authored 2 minutes ago
- allow user to add a new action and select a scan type
- if a user changes the yaml, it is reflected in rule mode
- Update action label to be dynamic: the first action text should start with 'THEN', the second action text should start with 'AND'
Screenshots or screen recordings
State | Screenshot |
---|---|
Only one scan | |
Second scan added | |
Dropdown |
How to set up and validate locally
- Upload a GitLab Ultimate license
- Turn on the
:scan_execution_rule_mode
feature flag - Navigate to a project =>
Security & Compliance
=>Policies
=>New policy
=>Scan Execution Policy
- Verify rule mode scans action is set to
DAST
- Click the
Add action
button - Verify the yaml has a new
DAST
scan added - Navigate to yaml mode
- Modify the scan
- Navigate to rule mode
- Verify the change is reflected
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 #359887 (closed)
Edited by Alexander Turinske