Skip to content

Commit 157ec2b

Browse files
DennisKoclaudeelasticmachinecursoragent
authored
[Security Solution] insights overview flyout v2 (elastic#268538)
## Summary elastic#251817 First of two PRs. This one adds the entities overview to the Flyout v2 Insights section as a **render-only** change — every click handler is just text for now. The follow-up PR wires those handlers to the entity-details, alerts, misconfigurations and vulnerabilities tools flyouts. ### Code changes - `git mv` the `EntitiesOverview`, `HostEntityOverview`, and `UserEntityOverview` components from `flyout/document_details/right/components/` into `flyout_v2/document/components/`. - Decouple the components from `useDocumentDetailsContext`: inputs are passed through props (`hit: DataTableRecord`, `scopeId`, `renderCellActions`, optional `onShow*` callbacks). `dataAsNestedObject` is fetched internally via `useEventDetails` when not supplied so the legacy expandable flyout keeps avoiding the duplicate fetch. - Render `EntitiesOverview` inside the Flyout v2 `InsightsSection` as text (no links). - Update the legacy expandable flyout's right `InsightsSection` and the `HOST_PREVIEW_BANNER` / `USER_PREVIEW_BANNER` consumers (`{host,user}_details.tsx`, `link_utils.ts`, related test files) to import from the new location. - Move the related `test_ids` constants from `document_details/right/components/test_ids.ts` to `flyout_v2/document/components/test_ids.ts`. https://github.com/user-attachments/assets/7920f3fa-120c-4566-8009-464c9a5aeda1 ### UI changes - **Legacy expandable flyout (flag off):** Insights → Entities renders identically to `main`. Clicking the section title still opens the left-panel Entities tab; clicking host/user names still opens the legacy preview panel. - **Flyout v2 (flag on):** the Insights section now contains the entities sub-panel showing host/user data, alert counts, misconfigurations and vulnerabilities chips. **Every click on this sub-panel is just text** A follow-up PR will wire them. - **Discover:** same render-only behavior as Flyout v2. ## How to test Add to `kibana.dev.yml`: ``` xpack.securitySolution.enableExperimental: [ 'newFlyoutSystemEnabled' ] ``` ## What to look for when testing - Insights → Entities section in the legacy expandable flyout renders identically to main and all legacy click behaviors still work (flag off). - New flyout Insights section renders the entities sub-panel; clicking the section title, host name, user name, alerts chip, misconfig chip, and vulnerability chip does nothing (no console errors, no overlay opens). - Discover shows the entities sub-panel; clicks are inert. --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 307404a commit 157ec2b

40 files changed

Lines changed: 1288 additions & 782 deletions

x-pack/platform/plugins/private/translations/translations/de-DE.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44258,15 +44258,9 @@
4425844258
"xpack.securitySolution.flyout.right.header.shareButtonToolTip": "Alert teilen",
4425944259
"xpack.securitySolution.flyout.right.header.statusTitle": "Status",
4426044260
"xpack.securitySolution.flyout.right.header.tableTabLabel": "Tabelle",
44261-
"xpack.securitySolution.flyout.right.host.hostPreviewTitle": "Hostdetails anzeigen",
4426244261
"xpack.securitySolution.flyout.right.insights.alerts.alertsCountDescription": "Alerts",
4426344262
"xpack.securitySolution.flyout.right.insights.alerts.alertsTitle": "Alerts",
4426444263
"xpack.securitySolution.flyout.right.insights.alerts.alertsTooltip": "Alle Warnungen anzeigen",
44265-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTitle": "Entitäten",
44266-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTooltip": "Alle Entitäten anzeigen",
44267-
"xpack.securitySolution.flyout.right.insights.entities.hostLoadingAriaLabel": "Host-Überblick",
44268-
"xpack.securitySolution.flyout.right.insights.entities.noDataDescription": "Host- und Nutzerinformationen sind für diese Warnung nicht verfügbar.",
44269-
"xpack.securitySolution.flyout.right.insights.entities.userLoadingAriaLabel": "Nutzerübersicht",
4427044264
"xpack.securitySolution.flyout.right.insights.misconfiguration.misconfigurationTooltip": "Alle Fehlkonfigurationsbefunde anzeigen",
4427144265
"xpack.securitySolution.flyout.right.insights.misconfigurations.failedFindingsText": "{count, plural, one {Failed finding} other {Failed findings}}",
4427244266
"xpack.securitySolution.flyout.right.insights.misconfigurations.misconfigurationsTitle": "Fehlkonfigurationen",
@@ -44280,7 +44274,9 @@
4428044274
"xpack.securitySolution.flyout.right.network.networkPreviewTitle": "Netzwerkdetails anzeigen",
4428144275
"xpack.securitySolution.flyout.right.overview.overviewContentAriaLabel": "Überblick",
4428244276
"xpack.securitySolution.flyout.right.rule.rulePreviewTitle": "Vorschau der Regeldetails",
44283-
"xpack.securitySolution.flyout.right.user.userPreviewTitle": "Nutzerdetails in der Vorschau anzeigen",
44277+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.errorDescription": "Ein Fehler verhindert, dass diese Warnung visualisiert wird.",
44278+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.graphAriaLabel": "Graph-Vorschau",
44279+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.loadingAriaLabel": "Graph-Vorschau",
4428444280
"xpack.securitySolution.flyout.right.vulnerabilityFinding.PreviewTitle": "Vorschau der Schwachstellendetails",
4428544281
"xpack.securitySolution.flyout.sessionView.title": "Sitzungsansicht",
4428644282
"xpack.securitySolution.flyout.sessionViewer.noDataDescription": "Sie können die Details der Linux-Sitzung nur einsehen, wenn Sie die Einstellung {setting} in Ihrer Elastic Defend-Integrationsrichtlinie aktiviert haben. Weitere Informationen finden Sie unter {link}.",

x-pack/platform/plugins/private/translations/translations/fr-FR.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44107,15 +44107,9 @@
4410744107
"xpack.securitySolution.flyout.right.header.shareButtonToolTip": "Partager l'alerte",
4410844108
"xpack.securitySolution.flyout.right.header.statusTitle": "Statut",
4410944109
"xpack.securitySolution.flyout.right.header.tableTabLabel": "Tableau",
44110-
"xpack.securitySolution.flyout.right.host.hostPreviewTitle": "Afficher un aperçu des détails de l'hôte",
4411144110
"xpack.securitySolution.flyout.right.insights.alerts.alertsCountDescription": "Alertes",
4411244111
"xpack.securitySolution.flyout.right.insights.alerts.alertsTitle": "Alertes",
4411344112
"xpack.securitySolution.flyout.right.insights.alerts.alertsTooltip": "Afficher toutes les alertes",
44114-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTitle": "Entités",
44115-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTooltip": "Afficher toutes les entités",
44116-
"xpack.securitySolution.flyout.right.insights.entities.hostLoadingAriaLabel": "aperçu de l'hôte",
44117-
"xpack.securitySolution.flyout.right.insights.entities.noDataDescription": "Les informations de l'hôte et de l'utilisateur ne sont pas disponibles pour cette alerte.",
44118-
"xpack.securitySolution.flyout.right.insights.entities.userLoadingAriaLabel": "aperçu de l'utilisateur",
4411944113
"xpack.securitySolution.flyout.right.insights.misconfiguration.misconfigurationTooltip": "Afficher tous les résultats de mauvaise configuration",
4412044114
"xpack.securitySolution.flyout.right.insights.misconfigurations.misconfigurationsTitle": "Configurations incorrectes",
4412144115
"xpack.securitySolution.flyout.right.insights.misconfigurations.postureScoreDescription": "Score du niveau",
@@ -44127,7 +44121,9 @@
4412744121
"xpack.securitySolution.flyout.right.network.networkPreviewTitle": "Aperçu des détails du réseau",
4412844122
"xpack.securitySolution.flyout.right.overview.overviewContentAriaLabel": "Aperçu",
4412944123
"xpack.securitySolution.flyout.right.rule.rulePreviewTitle": "Afficher les détails de la règle",
44130-
"xpack.securitySolution.flyout.right.user.userPreviewTitle": "Aperçu des détails de l'utilisateur",
44124+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.errorDescription": "Une erreur empêche la visualisation de cette alerte.",
44125+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.graphAriaLabel": "Aperçu du graphique",
44126+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.loadingAriaLabel": "aperçu du graphique",
4413144127
"xpack.securitySolution.flyout.right.vulnerabilityFinding.PreviewTitle": "Prévisualiser les détails de la vulnérabilité",
4413244128
"xpack.securitySolution.flyout.sessionView.title": "Vue de session",
4413344129
"xpack.securitySolution.flyout.sessionViewer.noDataDescription": "Vous ne pouvez afficher les détails de la session Linux que si vous avez activé le paramètre {setting} dans votre politique d'intégration Elastic Defend. Pour en savoir plus, consultez {link}.",

x-pack/platform/plugins/private/translations/translations/ja-JP.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44423,15 +44423,9 @@
4442344423
"xpack.securitySolution.flyout.right.header.shareButtonToolTip": "アラートを共有",
4442444424
"xpack.securitySolution.flyout.right.header.statusTitle": "ステータス",
4442544425
"xpack.securitySolution.flyout.right.header.tableTabLabel": "表",
44426-
"xpack.securitySolution.flyout.right.host.hostPreviewTitle": "ホスト詳細をプレビュー",
4442744426
"xpack.securitySolution.flyout.right.insights.alerts.alertsCountDescription": "アラート",
4442844427
"xpack.securitySolution.flyout.right.insights.alerts.alertsTitle": "アラート",
4442944428
"xpack.securitySolution.flyout.right.insights.alerts.alertsTooltip": "すべてのアラートを表示",
44430-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTitle": "エンティティ",
44431-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTooltip": "すべてのエンティティを表示",
44432-
"xpack.securitySolution.flyout.right.insights.entities.hostLoadingAriaLabel": "ホスト概要",
44433-
"xpack.securitySolution.flyout.right.insights.entities.noDataDescription": "このアラートでは、ホストとユーザーの情報は利用できません。",
44434-
"xpack.securitySolution.flyout.right.insights.entities.userLoadingAriaLabel": "ユーザー概要",
4443544429
"xpack.securitySolution.flyout.right.insights.misconfiguration.misconfigurationTooltip": "すべての構成エラー調査結果を表示",
4443644430
"xpack.securitySolution.flyout.right.insights.misconfigurations.failedFindingsText": "{count, plural, one {Failed finding} other {失敗した調査結果}}",
4443744431
"xpack.securitySolution.flyout.right.insights.misconfigurations.misconfigurationsTitle": "構成エラー",
@@ -44445,7 +44439,9 @@
4444544439
"xpack.securitySolution.flyout.right.network.networkPreviewTitle": "ネットワーク詳細をプレビュー",
4444644440
"xpack.securitySolution.flyout.right.overview.overviewContentAriaLabel": "概要",
4444744441
"xpack.securitySolution.flyout.right.rule.rulePreviewTitle": "ルール詳細をプレビュー",
44448-
"xpack.securitySolution.flyout.right.user.userPreviewTitle": "ユーザー詳細をプレビュー",
44442+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.errorDescription": "エラーが発生したため、このアラートを可視化できません。",
44443+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.graphAriaLabel": "グラフプレビュー",
44444+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.loadingAriaLabel": "グラフプレビュー",
4444944445
"xpack.securitySolution.flyout.right.vulnerabilityFinding.PreviewTitle": "脆弱性の詳細をプレビュー",
4445044446
"xpack.securitySolution.flyout.sessionView.title": "セッションビュー",
4445144447
"xpack.securitySolution.flyout.sessionViewer.noDataDescription": "Linuxセッションの詳細を表示できるのは、Elastic Defendの統合ポリシーで{setting}設定を有効にしている場合のみです。詳細については、{link}を参照してください。",

x-pack/platform/plugins/private/translations/translations/zh-CN.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44416,15 +44416,9 @@
4441644416
"xpack.securitySolution.flyout.right.header.shareButtonToolTip": "共享告警",
4441744417
"xpack.securitySolution.flyout.right.header.statusTitle": "状态",
4441844418
"xpack.securitySolution.flyout.right.header.tableTabLabel": "表",
44419-
"xpack.securitySolution.flyout.right.host.hostPreviewTitle": "预览主机详情",
4442044419
"xpack.securitySolution.flyout.right.insights.alerts.alertsCountDescription": "告警",
4442144420
"xpack.securitySolution.flyout.right.insights.alerts.alertsTitle": "告警",
4442244421
"xpack.securitySolution.flyout.right.insights.alerts.alertsTooltip": "显示所有告警",
44423-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTitle": "实体",
44424-
"xpack.securitySolution.flyout.right.insights.entities.entitiesTooltip": "显示所有实体",
44425-
"xpack.securitySolution.flyout.right.insights.entities.hostLoadingAriaLabel": "主机概览",
44426-
"xpack.securitySolution.flyout.right.insights.entities.noDataDescription": "主机和用户信息对此告警不可用。",
44427-
"xpack.securitySolution.flyout.right.insights.entities.userLoadingAriaLabel": "用户概览",
4442844422
"xpack.securitySolution.flyout.right.insights.misconfiguration.misconfigurationTooltip": "显示所有错误配置结果",
4442944423
"xpack.securitySolution.flyout.right.insights.misconfigurations.failedFindingsText": "{count, plural, one {Failed finding} other {未通过的检测结果}}",
4443044424
"xpack.securitySolution.flyout.right.insights.misconfigurations.misconfigurationsTitle": "错误配置",
@@ -44438,7 +44432,9 @@
4443844432
"xpack.securitySolution.flyout.right.network.networkPreviewTitle": "预览网络详情",
4443944433
"xpack.securitySolution.flyout.right.overview.overviewContentAriaLabel": "概览",
4444044434
"xpack.securitySolution.flyout.right.rule.rulePreviewTitle": "预览规则详情",
44441-
"xpack.securitySolution.flyout.right.user.userPreviewTitle": "预览用户详情",
44435+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.errorDescription": "阻止对此告警进行可视化时出错。",
44436+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.graphAriaLabel": "图表预览",
44437+
"xpack.securitySolution.flyout.right.visualizations.graphPreview.loadingAriaLabel": "图表预览",
4444244438
"xpack.securitySolution.flyout.right.vulnerabilityFinding.PreviewTitle": "漏洞预览详情",
4444344439
"xpack.securitySolution.flyout.sessionView.title": "会话视图",
4444444440
"xpack.securitySolution.flyout.sessionViewer.noDataDescription": "如果已在 Elastic Defend 集成策略中启用 {setting} 设置,则您只能查看 Linux 会话详情。请参阅 {link} 了解更多信息。",

x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/home/entity_alerts_cell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
getAlertsByStatusQuery,
4444
parseAlertsData,
4545
} from '../../../overview/components/detection_response/alerts_by_status/use_alerts_by_status';
46-
import { getFormattedAlertStats } from '../../../flyout/document_details/shared/components/alert_count_insight';
46+
import { getFormattedAlertStats } from '../../../flyout_v2/document/main/components/alert_count_insight';
4747

4848
const QUERY_KEY_ENTITY_ALERTS_BY_STATUS = 'entity-analytics-alerts-by-status';
4949

x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/privileged_user_monitoring/components/privileged_users_table/columns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import {
4646
} from '../../../../../overview/components/detection_response/translations';
4747
import { FILTER_ACKNOWLEDGED, FILTER_OPEN } from '../../../../../../common/types';
4848
import type { CriticalityLevelWithUnassigned } from '../../../../../../common/entity_analytics/asset_criticality/types';
49-
import { getFormattedAlertStats } from '../../../../../flyout/document_details/shared/components/alert_count_insight';
49+
import { getFormattedAlertStats } from '../../../../../flyout_v2/document/main/components/alert_count_insight';
5050
import { SCOPE_ID } from '../../constants';
5151

5252
const COLUMN_WIDTHS = { actions: '5%', '@timestamp': '20%', privileged_user: '15%' };

x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/host_details.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ import { mockContextValue } from '../../shared/mocks/mock_context';
3535
import { mockFlyoutApi } from '../../shared/mocks/mock_flyout_context';
3636
import { useExpandableFlyoutApi } from '@kbn/expandable-flyout';
3737
import { HostPreviewPanelKey } from '../../../entity_details/host_right';
38-
import { HOST_PREVIEW_BANNER } from '../../right/components/host_entity_overview';
38+
import { HOST_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/host_entity_overview';
3939
import { UserPreviewPanelKey } from '../../../entity_details/user_right';
40-
import { USER_PREVIEW_BANNER } from '../../right/components/user_entity_overview';
40+
import { USER_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/user_entity_overview';
4141
import { NetworkPreviewPanelKey, NETWORK_PREVIEW_BANNER } from '../../../network_details';
4242
import { useAlertsByStatus } from '../../../../overview/components/detection_response/alerts_by_status/use_alerts_by_status';
4343
import { useDataView } from '../../../../data_view_manager/hooks/use_data_view';

x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/host_details.tsx

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ import { ENTITY_RISK_LEVEL } from '../../../../entity_analytics/components/risk_
7979
import { useHasSecurityCapability } from '../../../../helper_hooks';
8080
import { PreviewLink } from '../../../shared/components/preview_link';
8181
import { HostPreviewPanelKey } from '../../../entity_details/host_right';
82-
import { HOST_PREVIEW_BANNER } from '../../right/components/host_entity_overview';
82+
import { HOST_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/host_entity_overview';
8383
import type { NarrowDateRange } from '../../../../common/components/ml/types';
84-
import { MisconfigurationsInsight } from '../../shared/components/misconfiguration_insight';
85-
import { VulnerabilitiesInsight } from '../../shared/components/vulnerabilities_insight';
86-
import { AlertCountInsight } from '../../shared/components/alert_count_insight';
84+
import { MisconfigurationsInsight } from '../../../../flyout_v2/document/main/components/misconfiguration_insight';
85+
import { VulnerabilitiesInsight } from '../../../../flyout_v2/document/main/components/vulnerabilities_insight';
86+
import { AlertCountInsight } from '../../../../flyout_v2/document/main/components/alert_count_insight';
8787
import { DocumentEventTypes } from '../../../../common/lib/telemetry';
8888
import { DETECTION_RESPONSE_ALERTS_BY_STATUS_ID } from '../../../../overview/components/detection_response/alerts_by_status/types';
8989
import { useNavigateToHostDetails } from '../../../entity_details/host_right/hooks/use_navigate_to_host_details';
@@ -98,6 +98,10 @@ import {
9898
buildRiskScoreStateFromEntityRecord,
9999
getRiskFromEntityRecord,
100100
} from '../../../entity_details/shared/entity_store_risk_utils';
101+
import {
102+
CspInsightLeftPanelSubTab,
103+
EntityDetailsLeftPanelTab,
104+
} from '../../../entity_details/shared/components/left_panel/left_panel_header';
101105
import { mergeLegacyIdentityWhenStoreEntityMissing, type IdentityFields } from '../../shared/utils';
102106

103107
const HOST_DETAILS_ID = 'entities-hosts-details';
@@ -549,20 +553,35 @@ export const HostDetails: React.FC<HostDetailsProps> = ({
549553
entityType={EntityType.host}
550554
queryId={`${DETECTION_RESPONSE_ALERTS_BY_STATUS_ID}-document-details-host-entities`}
551555
direction="column"
552-
openDetailsPanel={openDetailsPanel}
556+
onShowAlertCountDetails={() =>
557+
openDetailsPanel({
558+
tab: EntityDetailsLeftPanelTab.CSP_INSIGHTS,
559+
subTab: CspInsightLeftPanelSubTab.ALERTS,
560+
})
561+
}
553562
data-test-subj={HOST_DETAILS_ALERT_COUNT_TEST_ID}
554563
/>
555564
<MisconfigurationsInsight
556565
identityFields={hostInsightsIdentityFields}
557566
direction="column"
558-
openDetailsPanel={openDetailsPanel}
567+
onShowMisconfigurationsDetails={() =>
568+
openDetailsPanel({
569+
tab: EntityDetailsLeftPanelTab.CSP_INSIGHTS,
570+
subTab: CspInsightLeftPanelSubTab.MISCONFIGURATIONS,
571+
})
572+
}
559573
data-test-subj={HOST_DETAILS_MISCONFIGURATIONS_TEST_ID}
560574
telemetryKey={MISCONFIGURATION_INSIGHT_HOST_DETAILS}
561575
/>
562576
<VulnerabilitiesInsight
563577
identityFields={hostInsightsIdentityFields}
564578
direction="column"
565-
openDetailsPanel={openDetailsPanel}
579+
onShowVulnerabilitiesDetails={() =>
580+
openDetailsPanel({
581+
tab: EntityDetailsLeftPanelTab.CSP_INSIGHTS,
582+
subTab: CspInsightLeftPanelSubTab.VULNERABILITIES,
583+
})
584+
}
566585
data-test-subj={HOST_DETAILS_VULNERABILITIES_TEST_ID}
567586
telemetryKey={VULNERABILITIES_INSIGHT_HOST_DETAILS}
568587
/>

x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/prevalence_details.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ import { mockContextValue } from '../../shared/mocks/mock_context';
3232
import { mockFlyoutApi } from '../../shared/mocks/mock_flyout_context';
3333
import { useExpandableFlyoutApi } from '@kbn/expandable-flyout';
3434
import { HostPreviewPanelKey } from '../../../entity_details/host_right';
35-
import { HOST_PREVIEW_BANNER } from '../../right/components/host_entity_overview';
35+
import { HOST_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/host_entity_overview';
3636
import { UserPreviewPanelKey } from '../../../entity_details/user_right';
37-
import { USER_PREVIEW_BANNER } from '../../right/components/user_entity_overview';
37+
import { USER_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/user_entity_overview';
3838
import { createTelemetryServiceMock } from '../../../../common/lib/telemetry/telemetry_service.mock';
3939
import { useUserPrivileges } from '../../../../common/components/user_privileges';
4040
import { mockGetFieldsData } from '../../shared/mocks/mock_get_fields_data';

x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/user_details.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ import { mockContextValue } from '../../shared/mocks/mock_context';
3333
import { mockFlyoutApi } from '../../shared/mocks/mock_flyout_context';
3434
import { useExpandableFlyoutApi } from '@kbn/expandable-flyout';
3535
import { HostPreviewPanelKey } from '../../../entity_details/host_right';
36-
import { HOST_PREVIEW_BANNER } from '../../right/components/host_entity_overview';
36+
import { HOST_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/host_entity_overview';
3737
import { UserPreviewPanelKey } from '../../../entity_details/user_right';
38-
import { USER_PREVIEW_BANNER } from '../../right/components/user_entity_overview';
38+
import { USER_PREVIEW_BANNER } from '../../../../flyout_v2/document/main/components/user_entity_overview';
3939
import { NetworkPreviewPanelKey, NETWORK_PREVIEW_BANNER } from '../../../network_details';
4040
import { useAlertsByStatus } from '../../../../overview/components/detection_response/alerts_by_status/use_alerts_by_status';
4141
import { useDataView } from '../../../../data_view_manager/hooks/use_data_view';

0 commit comments

Comments
 (0)