mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Security Solution] Hide conflict badges when rule customization is not enabled (#214365)
**Resolves: https://github.com/elastic/kibana/issues/214301** ## Summary This PR removes conflict badges from the Rule Updates table for users with license that is insufficient for prebuilt rule customization. **Before (on Basic license)** <img width="1014" alt="Schermafbeelding 2025-03-13 om 13 44 07" src="https://github.com/user-attachments/assets/fd830253-80d0-4250-861c-88b0a11d6786" /> **After (on Basic license)** <img width="1014" alt="Schermafbeelding 2025-03-13 om 13 39 01" src="https://github.com/user-attachments/assets/f8b00964-72bf-4d0a-9f03-9e47231c5227" /> Since users on Basic license can't customize rules, it doesn't make sense to show these badges - they are not actionable anyways. Users will still see a callout mentioning that their modifications will be erased if they open a flyout for a customized rule. <img width="953" alt="Schermafbeelding 2025-03-13 om 13 41 21" src="https://github.com/user-attachments/assets/b2a2514e-2b19-4653-9076-d742130b30b6" />
This commit is contained in:
parent
dfdda2c22f
commit
9f2e07f2de
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ export const useUpgradePrebuiltRulesTableColumns = (): TableColumn[] => {
|
|||
() => [
|
||||
RULE_NAME_COLUMN,
|
||||
MODIFIED_COLUMN,
|
||||
CONFLICT_COLUMN,
|
||||
...(isRulesCustomizationEnabled ? [CONFLICT_COLUMN] : []),
|
||||
...(showRelatedIntegrations ? [INTEGRATIONS_COLUMN] : []),
|
||||
TAGS_COLUMN,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue