Skip to content

Commit

Permalink
tooltip added to OS column (elastic#123377)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit e76cedb)

# Conflicts:
#	x-pack/plugins/security_solution/public/hosts/components/hosts_table/columns.tsx
#	x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts
  • Loading branch information
semd committed Jan 24, 2022
1 parent dea718b commit 7256aad
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,13 @@ export const getHostsColumns = (): HostsTableColumns => [
},
{
field: 'node.host.os.name',
name: i18n.OS,
name: (
<EuiToolTip content={i18n.OS_LAST_SEEN_TOOLTIP}>
<>
{i18n.OS} <EuiIcon color="subdued" type="iInCircle" className="eui-alignTop" />
</>
</EuiToolTip>
),
truncateText: false,
hideForMobile: false,
sortable: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@ export const FIRST_LAST_SEEN_TOOLTIP = i18n.translate(
}
);

export const HOST_RISK_TOOLTIP = i18n.translate(
'xpack.securitySolution.hostsTable.hostRiskToolTip',
{
defaultMessage:
'Host risk classifcation is determined by host risk score. Hosts classified as Critical or High are indicated as risky.',
}
);

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',
});
Expand Down

0 comments on commit 7256aad

Please sign in to comment.