diff --git a/x-pack/plugins/security_solution/public/flyout/right/components/header_title.test.tsx b/x-pack/plugins/security_solution/public/flyout/right/components/header_title.test.tsx index f4c24e64954ba..6d132ce54501e 100644 --- a/x-pack/plugins/security_solution/public/flyout/right/components/header_title.test.tsx +++ b/x-pack/plugins/security_solution/public/flyout/right/components/header_title.test.tsx @@ -17,7 +17,7 @@ import { FLYOUT_HEADER_TITLE_TEST_ID, } from './test_ids'; import { HeaderTitle } from './header_title'; -import { DOCUMENT_DETAILS } from './translations'; +import { EVENT_DETAILS } from './translations'; import moment from 'moment-timezone'; import { useDateFormat, useTimeZone } from '../../../common/lib/kibana'; import { mockDataFormattedForFieldBrowser, mockGetFieldsData } from '../mocks/mock_context'; @@ -175,6 +175,6 @@ describe('', () => { const { getByTestId } = renderHeader(contextValue); - expect(getByTestId(FLYOUT_HEADER_TITLE_TEST_ID)).toHaveTextContent(DOCUMENT_DETAILS); + expect(getByTestId(FLYOUT_HEADER_TITLE_TEST_ID)).toHaveTextContent(EVENT_DETAILS); }); }); diff --git a/x-pack/plugins/security_solution/public/flyout/right/components/header_title.tsx b/x-pack/plugins/security_solution/public/flyout/right/components/header_title.tsx index eca086385eb17..bac1b3d9f1bd1 100644 --- a/x-pack/plugins/security_solution/public/flyout/right/components/header_title.tsx +++ b/x-pack/plugins/security_solution/public/flyout/right/components/header_title.tsx @@ -19,7 +19,7 @@ import { } from '../../../common/components/event_details/translations'; import { DocumentSeverity } from './severity'; import { RiskScore } from './risk_score'; -import { DOCUMENT_DETAILS } from './translations'; +import { EVENT_DETAILS } from './translations'; import { useBasicDataFromDetailsData } from '../../../timelines/components/side_panel/event_details/helpers'; import { useRightPanelContext } from '../context'; import { PreferenceFormattedDate } from '../../../common/components/formatted_date'; @@ -79,11 +79,11 @@ export const HeaderTitle: VFC = memo(({ flyoutIsExpandable })

- {isAlert && !isEmpty(ruleName) ? ruleName : DOCUMENT_DETAILS} + {isAlert && !isEmpty(ruleName) ? ruleName : EVENT_DETAILS}

- + diff --git a/x-pack/plugins/security_solution/public/flyout/right/components/translations.ts b/x-pack/plugins/security_solution/public/flyout/right/components/translations.ts index a411b0f44054e..ba1bf0040bdf7 100644 --- a/x-pack/plugins/security_solution/public/flyout/right/components/translations.ts +++ b/x-pack/plugins/security_solution/public/flyout/right/components/translations.ts @@ -19,9 +19,9 @@ export const COLLAPSE_DETAILS_BUTTON = i18n.translate( { defaultMessage: 'Collapse details' } ); -export const DOCUMENT_DETAILS = i18n.translate( +export const EVENT_DETAILS = i18n.translate( 'xpack.securitySolution.flyout.documentDetails.headerTitle', - { defaultMessage: 'Document details' } + { defaultMessage: 'Event details' } ); export const SEVERITY_TITLE = i18n.translate( diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index dd35a05d959f7..d71fc539e5859 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -33312,7 +33312,6 @@ "xpack.securitySolution.flyout.documentDetails.entitiesButton": "Entités", "xpack.securitySolution.flyout.documentDetails.entitiesTitle": "Entités", "xpack.securitySolution.flyout.documentDetails.expandDetailButton": "Développer les détails de l'alerte", - "xpack.securitySolution.flyout.documentDetails.headerTitle": "Détails des documents", "xpack.securitySolution.flyout.documentDetails.highlightedFieldsTitle": "Champs en surbrillance", "xpack.securitySolution.flyout.documentDetails.insightsOptions": "Options des informations exploitables", "xpack.securitySolution.flyout.documentDetails.insightsTab": "Informations exploitables", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index d35551cb4bc0c..35185fe312f48 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -33311,7 +33311,6 @@ "xpack.securitySolution.flyout.documentDetails.entitiesButton": "エンティティ", "xpack.securitySolution.flyout.documentDetails.entitiesTitle": "エンティティ", "xpack.securitySolution.flyout.documentDetails.expandDetailButton": "アラート詳細を展開", - "xpack.securitySolution.flyout.documentDetails.headerTitle": "ドキュメント詳細", "xpack.securitySolution.flyout.documentDetails.highlightedFieldsTitle": "ハイライトされたフィールド", "xpack.securitySolution.flyout.documentDetails.insightsOptions": "インサイトオプション", "xpack.securitySolution.flyout.documentDetails.insightsTab": "インサイト", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index bdfb6c949880f..d5c8f41405dc2 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -33307,7 +33307,6 @@ "xpack.securitySolution.flyout.documentDetails.entitiesButton": "实体", "xpack.securitySolution.flyout.documentDetails.entitiesTitle": "实体", "xpack.securitySolution.flyout.documentDetails.expandDetailButton": "展开告警详情", - "xpack.securitySolution.flyout.documentDetails.headerTitle": "文档详情", "xpack.securitySolution.flyout.documentDetails.highlightedFieldsTitle": "突出显示的字段", "xpack.securitySolution.flyout.documentDetails.insightsOptions": "洞见选项", "xpack.securitySolution.flyout.documentDetails.insightsTab": "洞见",