From 7153359cb8e2aca76fe0a8c8c27ec56e88a49c21 Mon Sep 17 00:00:00 2001 From: Yara Tercero Date: Tue, 20 Jun 2023 14:44:30 -0700 Subject: [PATCH] [Security Solution] [Detection Engine] - Add tour for new eql missing events feature (#158863) ## Summary Adds tour highlighting the new missing events EQL feature for 8.9. --- .../security_solution/common/constants.ts | 2 +- .../alternative_tour/translations.ts | 4 ++-- .../pages/rule_management/index.tsx | 21 +++++++++++-------- .../translations/translations/fr-FR.json | 1 - .../translations/translations/ja-JP.json | 1 - .../translations/translations/zh-CN.json | 1 - 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/x-pack/plugins/security_solution/common/constants.ts b/x-pack/plugins/security_solution/common/constants.ts index 2d88a0bb0066d..bfef49e0f3d35 100644 --- a/x-pack/plugins/security_solution/common/constants.ts +++ b/x-pack/plugins/security_solution/common/constants.ts @@ -475,7 +475,7 @@ export const RULES_TABLE_MAX_PAGE_SIZE = 100; * we will need to update these constants with the corresponding version. */ export const NEW_FEATURES_TOUR_STORAGE_KEYS = { - RULE_MANAGEMENT_PAGE: 'securitySolution.rulesManagementPage.newFeaturesTour.v8.6', + RULE_MANAGEMENT_PAGE: 'securitySolution.rulesManagementPage.newFeaturesTour.v8.9', }; export const RULE_DETAILS_EXECUTION_LOG_TABLE_SHOW_METRIC_COLUMNS_STORAGE_KEY = diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/alternative_tour/translations.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/alternative_tour/translations.ts index b92b78324e943..79666589d7646 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/alternative_tour/translations.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/alternative_tour/translations.ts @@ -15,8 +15,8 @@ export const CREATE_RULE_TOUR_TITLE = i18n.translate( ); export const CREATE_RULE_TOUR_CONTENT = i18n.translate( - 'xpack.securitySolution.detectionEngine.rules.tour.createRuleTourContent', + 'xpack.securitySolution.detectionEngine.rules.tour.createRuleTourContent.eql', { - defaultMessage: `Alert suppression options are now available for Custom Query rules and multiple fields can be selected in New Terms rules`, + defaultMessage: `EQL now allows you to specify events that should not occur in a sequence`, } ); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/pages/rule_management/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/pages/rule_management/index.tsx index 7af3ef9e74fcf..086f3a65d3894 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/pages/rule_management/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/pages/rule_management/index.tsx @@ -43,6 +43,7 @@ import { MiniCallout } from '../../components/mini_callout/mini_callout'; import { usePrebuiltRulesStatus } from '../../../rule_management/logic/prebuilt_rules/use_prebuilt_rules_status'; import { MaintenanceWindowCallout } from '../../components/maintenance_window_callout/maintenance_window_callout'; +import { RulesPageTourComponent } from '../../components/rules_table/alternative_tour/tour'; import { SuperHeader } from './super_header'; import { NEW_PREBUILT_RULES_AVAILABLE_CALLOUT_TITLE, @@ -168,15 +169,17 @@ const RulesPageComponent: React.FC = () => { - - {i18n.ADD_NEW_RULE} - + + + {i18n.ADD_NEW_RULE} + + diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index b9186178b4188..37115c5bef2f7 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -31331,7 +31331,6 @@ "xpack.securitySolution.detectionEngine.rules.stepActionsTitle": "Actions", "xpack.securitySolution.detectionEngine.rules.stepDefinitionTitle": "Définition", "xpack.securitySolution.detectionEngine.rules.stepScheduleTitle": "Planification", - "xpack.securitySolution.detectionEngine.rules.tour.createRuleTourContent": "Les options de suppression d'alerte sont maintenant disponibles pour les règles de requête personnalisée, et plusieurs champs peuvent être sélectionnés dans les règles relatives aux nouveaux termes", "xpack.securitySolution.detectionEngine.rules.tour.createRuleTourTitle": "De nouvelles fonctionnalités de règle de sécurité sont disponibles", "xpack.securitySolution.detectionEngine.rules.updateButtonTitle": "Mettre à jour", "xpack.securitySolution.detectionEngine.rulesSnoozeBadge.error.unableToFetch": "Impossible de récupérer les paramètres de répétition", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 22fb242625c1f..faee43f7fa3df 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -31312,7 +31312,6 @@ "xpack.securitySolution.detectionEngine.rules.stepActionsTitle": "アクション", "xpack.securitySolution.detectionEngine.rules.stepDefinitionTitle": "定義", "xpack.securitySolution.detectionEngine.rules.stepScheduleTitle": "スケジュール", - "xpack.securitySolution.detectionEngine.rules.tour.createRuleTourContent": "カスタムクエリルールでアラート抑制オプションが利用可能になり、新規条件ルールで複数のフィールドを選択できるようになりました", "xpack.securitySolution.detectionEngine.rules.tour.createRuleTourTitle": "新しいセキュリティルール機能が利用可能です", "xpack.securitySolution.detectionEngine.rules.updateButtonTitle": "更新", "xpack.securitySolution.detectionEngine.rulesSnoozeBadge.error.unableToFetch": "スヌーズ設定を取得できません", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 28da13532cabd..c66a222583a02 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -31308,7 +31308,6 @@ "xpack.securitySolution.detectionEngine.rules.stepActionsTitle": "操作", "xpack.securitySolution.detectionEngine.rules.stepDefinitionTitle": "定义", "xpack.securitySolution.detectionEngine.rules.stepScheduleTitle": "计划", - "xpack.securitySolution.detectionEngine.rules.tour.createRuleTourContent": "告警阻止选项现在可用于定制查询规则,并且可以在新字词规则中选择多个字段", "xpack.securitySolution.detectionEngine.rules.tour.createRuleTourTitle": "有新的安全规则功能可用", "xpack.securitySolution.detectionEngine.rules.updateButtonTitle": "更新", "xpack.securitySolution.detectionEngine.rulesSnoozeBadge.error.unableToFetch": "无法提取暂停设置",