From 04cc48a3897bf0afac4cb072a88127ccb3ed6eed Mon Sep 17 00:00:00 2001
From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Date: Tue, 29 Oct 2024 09:40:22 +1100
Subject: [PATCH] [8.x] Added redirect option after Entity CSV upload (#197937)
(#198092)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
# Backport
This will backport the following commits from `main` to `8.x`:
- [Added redirect option after Entity CSV upload
(#197937)](https://github.com/elastic/kibana/pull/197937)
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
Co-authored-by: Jared Burgett <147995946+jaredburgettelastic@users.noreply.github.com>
---
.../components/result_step.tsx | 17 ++++++++++++++---
.../components/entity_store/translations.ts | 2 +-
.../pages/entity_store_management_page.tsx | 2 +-
.../public/management/links.ts | 2 +-
4 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality_file_uploader/components/result_step.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality_file_uploader/components/result_step.tsx
index 3a71b48055fcc..07629b2c6e0b6 100644
--- a/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality_file_uploader/components/result_step.tsx
+++ b/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality_file_uploader/components/result_step.tsx
@@ -7,6 +7,7 @@
import {
EuiButtonEmpty,
+ EuiButton,
EuiCallOut,
EuiCodeBlock,
EuiFlexGroup,
@@ -17,7 +18,8 @@ import {
import React from 'react';
import { FormattedMessage } from '@kbn/i18n-react';
import { css } from '@emotion/react';
-import type { BulkUpsertAssetCriticalityRecordsResponse } from '../../../../../common/entity_analytics/asset_criticality/types';
+import { SecurityPageName } from '@kbn/deeplinks-security';
+import type { BulkUpsertAssetCriticalityRecordsResponse } from '../../../../../common/api/entity_analytics';
import { buildAnnotationsFromError } from '../helpers';
import { ScheduleRiskEngineCallout } from './schedule_risk_engine_callout';
@@ -61,7 +63,7 @@ export const AssetCriticalityResultStep: React.FC<{
data-test-subj="asset-criticality-result-step-success"
title={
}
@@ -69,9 +71,18 @@ export const AssetCriticalityResultStep: React.FC<{
iconType="checkInCircleFilled"
>
+
+
+ {
+
+ }
+
diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/translations.ts b/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/translations.ts
index 127ff5c88506b..4c113dd533acb 100644
--- a/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/translations.ts
+++ b/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/translations.ts
@@ -51,7 +51,7 @@ export const ENABLEMENT_DESCRIPTION_RISK_ENGINE_ONLY = i18n.translate(
export const ENABLEMENT_DESCRIPTION_ENTITY_STORE_ONLY = i18n.translate(
'xpack.securitySolution.entityAnalytics.entityStore.enablement.description.store',
{
- defaultMessage: "Allows comprehensive monitoring of your system's hosts and users.",
+ defaultMessage: 'Store host and user entities observed in events.',
}
);
diff --git a/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx b/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx
index 8b2292448b13d..1ca2b0e2b02da 100644
--- a/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx
+++ b/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx
@@ -290,7 +290,7 @@ export const EntityStoreManagementPage = () => {
{isEntityStoreFeatureFlagDisabled && }
diff --git a/x-pack/plugins/security_solution/public/management/links.ts b/x-pack/plugins/security_solution/public/management/links.ts
index 27b5b62eac6f8..d033fdf491ce8 100644
--- a/x-pack/plugins/security_solution/public/management/links.ts
+++ b/x-pack/plugins/security_solution/public/management/links.ts
@@ -198,7 +198,7 @@ export const links: LinkItem = {
id: SecurityPageName.entityAnalyticsEntityStoreManagement,
title: ENTITY_STORE,
description: i18n.translate('xpack.securitySolution.appLinks.entityStoreDescription', {
- defaultMessage: "Allows comprehensive monitoring of your system's hosts and users.",
+ defaultMessage: 'Store host and user entities observed in events.',
}),
landingIcon: IconAssetCriticality,
path: ENTITY_ANALYTICS_ENTITY_STORE_MANAGEMENT_PATH,