Skip to content

Commit

Permalink
[Security Solution] [Detections] rename gap column and delete "last l…
Browse files Browse the repository at this point in the history
…ookback date" column from monitoring table (#89801)
  • Loading branch information
dhurley14 committed Jan 30, 2021
1 parent 05b7107 commit 52f5403
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,19 +356,20 @@ export const getMonitoringColumns = (
truncateText: true,
width: '14%',
},
{
field: 'current_status.last_look_back_date',
name: i18n.COLUMN_LAST_LOOKBACK_DATE,
render: (value: RuleStatus['current_status']['last_look_back_date']) => {
return value == null ? (
getEmptyTagValue()
) : (
<FormattedDate value={value} fieldName={'last look back date'} />
);
},
truncateText: true,
width: '16%',
},
// hiding this field until after 7.11 release
// {
// field: 'current_status.last_look_back_date',
// name: i18n.COLUMN_LAST_LOOKBACK_DATE,
// render: (value: RuleStatus['current_status']['last_look_back_date']) => {
// return value == null ? (
// getEmptyTagValue()
// ) : (
// <FormattedDate value={value} fieldName={'last look back date'} />
// );
// },
// truncateText: true,
// width: '16%',
// },
{
field: 'current_status.status_date',
name: i18n.COLUMN_LAST_COMPLETE_RUN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export const COLUMN_QUERY_TIMES = i18n.translate(
export const COLUMN_GAP = i18n.translate(
'xpack.securitySolution.detectionEngine.rules.allRules.columns.gap',
{
defaultMessage: 'Gap (if any)',
defaultMessage: 'Last Gap (if any)',
}
);

Expand Down

0 comments on commit 52f5403

Please sign in to comment.