Add skip CI configuration to a policy drawer
What does this MR do and why?
Add skip ci configuration to a policy drawer
New configuration for a skip ci and user exceptions list added to a drawer
This merge request updates the structure and functionality of security orchestration components in a GitLab project. The main changes include:
- Relocating the SkipCiConfiguration component and updating its import path in various files.
- Adding a new configuration section to the scan execution policy drawer, which displays skip CI settings when a feature flag is enabled.
- Updating test files to reflect these changes and adding new test cases for the configuration section.
- Introducing new mock data for scan execution policies with configuration settings.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After disabled | After enabled |
|---|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Enable feature flag:
Feature.enable(:security_policies_skip_ci) -
Go to Group/Project
-
Secure -> Policies
-
New scan execution policy
-
Check new section for additional configuration
-
Create policy
-
Go back to a policy list, open a drawer
Related to #508357 (closed)


