Skip to content

Commit

Permalink
tooltip added to OS column
Browse files Browse the repository at this point in the history
  • Loading branch information
semd committed Jan 19, 2022
1 parent b606054 commit d3e43fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ export const getHostsColumns = (showRiskColumn: boolean): 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,
mobileOptions: { show: true },
sortable: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
Expand Down

0 comments on commit d3e43fc

Please sign in to comment.