Skip to content

Commit

Permalink
tooltip added to OS column (#123377)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
semd and kibanamachine committed Jan 24, 2022
1 parent 429b252 commit e76cedb
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 e76cedb

Please sign in to comment.