Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.16] Added redirect option after Entity CSV upload (#197937) #198091

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import {
EuiButtonEmpty,
EuiButton,
EuiCallOut,
EuiCodeBlock,
EuiFlexGroup,
Expand All @@ -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';

Expand Down Expand Up @@ -61,17 +63,26 @@ export const AssetCriticalityResultStep: React.FC<{
data-test-subj="asset-criticality-result-step-success"
title={
<FormattedMessage
defaultMessage="success"
defaultMessage="Success"
id="xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.successTitle"
/>
}
color="success"
iconType="checkInCircleFilled"
>
<FormattedMessage
defaultMessage="Your asset criticality levels have been assigned."
defaultMessage="Your asset criticality levels have been assigned. Note that your assignments can take a few moments to populate."
id="xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.successMessage"
/>
<EuiSpacer size="s" />
<EuiButton href={SecurityPageName.entityAnalytics} color="success" isDisabled={false}>
{
<FormattedMessage
defaultMessage="View asset criticality assignments."
id="xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.viewAssetCriticalityAssignments"
/>
}
</EuiButton>
</EuiCallOut>
<EuiSpacer size="s" />
<ScheduleRiskEngineCallout />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export const EntityStoreManagementPage = () => {
<EuiText>
<FormattedMessage
id="xpack.securitySolution.entityAnalytics.entityStoreManagementPage.subTitle"
defaultMessage="Allows comprehensive monitoring of your system's hosts and users."
defaultMessage="Store host and user entities observed in events."
/>
</EuiText>
{isEntityStoreFeatureFlagDisabled && <EntityStoreFeatureFlagNotAvailableCallout />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down