Add new fields for orchestration helper
What does this MR do and why?
User can create limited number of every policy type.
Similar to other types, pipeline execution policy type has 2 fields:
- Maximum number of created policies
- If this limit has been reached
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.
Description | UI |
---|---|
New fields added to data set for policy editor |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Enable feature flag
Feature.enable(:pipeline_execution_policy_type)
- Go to
ee/app/helpers/ee/security_orchestration_helper.rb check if fields are there
- you can check if fields are returned in dataset in
ee/app/assets/javascripts/security_orchestration/policy_editor.js
- Secure -> Policies -> New policy
Related to #456459 (closed)
Edited by Artur Fedorov