diff --git a/x-pack/plugins/security_solution/public/attack_discovery/attack/mini_attack_chain/translations.ts b/x-pack/plugins/security_solution/public/attack_discovery/attack/mini_attack_chain/translations.ts index 2332ab5a0c5ef..a5c2bb2cc815b 100644 --- a/x-pack/plugins/security_solution/public/attack_discovery/attack/mini_attack_chain/translations.ts +++ b/x-pack/plugins/security_solution/public/attack_discovery/attack/mini_attack_chain/translations.ts @@ -10,6 +10,6 @@ import { i18n } from '@kbn/i18n'; export const ATTACK_CHAIN_TOOLTIP = (tacticsCount: number) => i18n.translate('xpack.securitySolution.attackDiscovery.miniAttackChain.attackChainTooltip', { defaultMessage: - '{tacticsCount} {tacticsCount, plural, one {tactic was} other {tactics were}} identified in the analysis, providing insight into the nature of the detected violations:', + '{tacticsCount} {tacticsCount, plural, one {tactic was} other {tactics were}} identified in the attack:', values: { tacticsCount }, }); diff --git a/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/index.tsx b/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/index.tsx index d5e8c8cb2bf2e..a5ee15a452aca 100644 --- a/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/index.tsx +++ b/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/index.tsx @@ -11,11 +11,14 @@ import { EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem, + EuiIconTip, EuiLink, EuiSpacer, EuiText, EuiToolTip, + useEuiTheme, } from '@elastic/eui'; +import { css } from '@emotion/react'; import React, { useMemo } from 'react'; import { useAssistantAvailability } from '../../../assistant/use_assistant_availability'; @@ -35,6 +38,7 @@ const EmptyPromptComponent: React.FC = ({ isDisabled = false, onGenerate, }) => { + const { euiTheme } = useEuiTheme(); const { hasAssistantPrivilege } = useAssistantAvailability(); const title = useMemo( () => ( @@ -51,6 +55,16 @@ const EmptyPromptComponent: React.FC = ({ + + {i18n.UP_TO} + + @@ -58,11 +72,25 @@ const EmptyPromptComponent: React.FC = ({ {i18n.ALERTS_WILL_BE_ANALYZED(alertsCount)} + + + + ), - [alertsCount] + [alertsCount, euiTheme.size.xs] ); const body = useMemo( diff --git a/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/translations.ts b/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/translations.ts index d71b47c3f099d..33ffdbdf478f2 100644 --- a/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/translations.ts +++ b/x-pack/plugins/security_solution/public/attack_discovery/pages/empty_prompt/translations.ts @@ -30,6 +30,14 @@ export const LEARN_MORE = i18n.translate( } ); +export const RESPONSES_FROM_AI_SYSTEMS = i18n.translate( + 'xpack.securitySolution.attackDiscovery.pages.emptyPrompt.responsesFromAiSystemsTooltip', + { + defaultMessage: + 'Responses from AI systems may not always be entirely accurate, although they can seem convincing. For more information on the Attack Discovery feature and its usage, please reference the documentation.', + } +); + export const SELECT_A_CONNECTOR = i18n.translate( 'xpack.securitySolution.attackDiscovery.pages.emptyPrompt.selectAConnectorLabel', { @@ -40,6 +48,13 @@ export const SELECT_A_CONNECTOR = i18n.translate( export const START_GENERATING_DISCOVERIES = i18n.translate( 'xpack.securitySolution.attackDiscovery.pages.emptyPrompt.startGeneratingDiscoveriesLabel', { - defaultMessage: 'Start generating discoveries via Elastic AI Assistant.', + defaultMessage: 'Start discovering attacks with the power of AI and Elastic Security.', + } +); + +export const UP_TO = i18n.translate( + 'xpack.securitySolution.attackDiscovery.pages.emptyPrompt.upToTitle', + { + defaultMessage: 'Up to', } ); diff --git a/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/countdown/last_times_popover/translations.ts b/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/countdown/last_times_popover/translations.ts index 502449d925676..96cd82112fe71 100644 --- a/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/countdown/last_times_popover/translations.ts +++ b/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/countdown/last_times_popover/translations.ts @@ -12,7 +12,7 @@ export const AVERAGE_TIME_IS_CALCULATED = (intervals: number) => 'xpack.securitySolution.attackDiscovery.loadingCallout.countdown.lastTimesPopover.aiIsCurrentlyAnalyzing', { defaultMessage: - 'Average time is calculated over the last {intervals} {intervals, plural, =1 {generation} other {generations}} on the selected connector:', + 'Remaining time is based on the average speed of the last {intervals} {intervals, plural, =1 {time} other {times}} the same connector generated results.', values: { intervals }, } ); diff --git a/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts b/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts index a63a419b147b5..6c8f9b60c5ac6 100644 --- a/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts +++ b/x-pack/plugins/security_solution/public/attack_discovery/pages/loading_callout/translations.ts @@ -11,7 +11,7 @@ export const AI_IS_CURRENTLY_ANALYZING = (alertsCount: number) => i18n.translate( 'xpack.securitySolution.attackDiscovery.pages.loadingCallout.aiIsCurrentlyAnalyzing', { - defaultMessage: `AI is currently analyzing up to {alertsCount} {alertsCount, plural, =1 {alert} other {alerts}} in the last 24 hours to generate discoveries.`, + defaultMessage: `AI is analyzing up to {alertsCount} {alertsCount, plural, =1 {alert} other {alerts}} in the last 24 hours to generate discoveries.`, values: { alertsCount }, } );