Creates reusable popover for security policies
What does this MR do and why?
This MR creates reusable component and replaces three similar popovers:
ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_execution/action/custom_section_tooltip.vue
ee/app/assets/javascripts/security_orchestration/components/policy_editor/scope/compliance_framework_tooltip.vue
ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_execution/action/scan_filters/runner_tags_list.vue
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
NO VISUAL CHANGES
Before | After |
---|---|
custom_section_tooltip |
|
compliance_framework_tooltip |
|
runner_tags_list |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Feature.enable(:compliance_pipeline_in_policies)
Feature.enable(:security_policies_policy_scope)
- Go to Group
- Security -> Policies -> new policy -> new scan execution policy
- Policy scope section on top for
compliance_framework_tooltip
- Add new action
Execute Yaml code block
, you will seecustom_section_tooltip
-
runner_tags_list
, make sure you have no tags for a group, Selecthas specific tag
in runner tag section and hover overlistbox
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 #431880 (closed)