Skip to content

Add disabled icon for disabled security policies

Artur Fedorov requested to merge 441434-policies-fix-icon into master

What does this MR do and why?

This MR adds an icon for disabled policies

Previously no icon was rendered for disabled policies. Now user would see gray disabled icon

This code update enhances the user interface for managing security orchestration policies. It introduces tooltips to provide additional context about policy statuses, such as whether a policy is enabled or disabled. The tooltip content is now more descriptive, providing a clear explanation of the policy's status. Additionally, the visual representation of policy statuses has been improved, with enabled policies now displaying a green checkmark icon and disabled policies displaying a grayed-out icon. These changes aim to make it easier for users to understand and manage their security orchestration policies.

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 icon Screenshot 2024-08-07 at 15.16.19.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to Group/project
  2. Secure -> Polices
  3. Create any 2 policies enabled and disabled
  4. If you have policies, just disable one of it
  5. Make sure enabled policies have green icon and enabled tooltip, disabled policies have gray icon

Related to #441434

Merge request reports