Skip to content

Commit fdbac14

Browse files
committed
isIsolated is a real value, i18n
1 parent 95577fc commit fdbac14

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const AlertSummaryViewComponent: React.FC<{
184184
}, [data]);
185185

186186
const agentStatusRow = {
187-
title: 'Agent status',
187+
title: i18n.AGENT_STATUS,
188188
description: {
189189
contextId: timelineId,
190190
eventId,

x-pack/plugins/security_solution/public/common/components/event_details/translations.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,7 @@ export const NESTED_COLUMN = (field: string) =>
9999
defaultMessage:
100100
'The {field} field is an object, and is broken down into nested fields which can be added as column',
101101
});
102+
103+
export const AGENT_STATUS = i18n.translate('xpack.securitySolution.detections.alerts.agentStatus', {
104+
defaultMessage: 'Agent status',
105+
});

x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/agent_statuses.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const AgentStatuses = React.memo(
4545
tooltipContent={isolationFieldName}
4646
value={`${isIsolated}`}
4747
>
48-
<EndpointHostIsolationStatus isIsolated={true} />
48+
<EndpointHostIsolationStatus isIsolated={isIsolated as boolean} />
4949
</DefaultDraggable>
5050
</EuiFlexItem>
5151
</EuiFlexGroup>

0 commit comments

Comments
 (0)