From d3e43fc931068ae920b62b775067ffe5e9824714 Mon Sep 17 00:00:00 2001 From: semd Date: Wed, 19 Jan 2022 16:29:20 +0100 Subject: [PATCH 1/2] tooltip added to OS column --- .../public/hosts/components/hosts_table/columns.tsx | 8 +++++++- .../public/hosts/components/hosts_table/translations.ts | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/hosts/components/hosts_table/columns.tsx b/x-pack/plugins/security_solution/public/hosts/components/hosts_table/columns.tsx index db2af21d4e325..30f62c7637974 100644 --- a/x-pack/plugins/security_solution/public/hosts/components/hosts_table/columns.tsx +++ b/x-pack/plugins/security_solution/public/hosts/components/hosts_table/columns.tsx @@ -88,7 +88,13 @@ export const getHostsColumns = (showRiskColumn: boolean): HostsTableColumns => { }, { field: 'node.host.os.name', - name: i18n.OS, + name: ( + + <> + {i18n.OS} + + + ), truncateText: false, mobileOptions: { show: true }, sortable: false, diff --git a/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts b/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts index 88c01f695b940..ead534b1edc5b 100644 --- a/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts +++ b/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts @@ -40,6 +40,13 @@ export const HOST_RISK_TOOLTIP = i18n.translate( } ); +export const OS_LAST_SEEN_TOOLTIP = i18n.translate( + 'xpack.securitySolution.hostsTable.osLastSeenToolTip', + { + defaultMessage: 'Most recently observed OS', + } +); + export const OS = i18n.translate('xpack.securitySolution.hostsTable.osTitle', { defaultMessage: 'Operating system', }); From f1854df986aec328fd70db0869b61abd6f041b82 Mon Sep 17 00:00:00 2001 From: semd Date: Mon, 24 Jan 2022 17:08:05 +0100 Subject: [PATCH 2/2] change os info message --- .../public/hosts/components/hosts_table/translations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts b/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts index ead534b1edc5b..15276355f800c 100644 --- a/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts +++ b/x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts @@ -43,7 +43,7 @@ export const HOST_RISK_TOOLTIP = i18n.translate( export const OS_LAST_SEEN_TOOLTIP = i18n.translate( 'xpack.securitySolution.hostsTable.osLastSeenToolTip', { - defaultMessage: 'Most recently observed OS', + defaultMessage: 'Last observed operating system', } );