Skip to content

Commit

Permalink
Add Timestamp column
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Dec 4, 2023
1 parent 01fba70 commit 8967906
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/config/column-generator.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,14 @@ export const defaultAlertsColumns = () => [
return renderPlainTextAlertCell({ value, cell });
},
}),
incidentColumn({
id: 'creation_time',
header: 'Timestamp',
columnType: 'alert',
accessor: (incident) => incident.alerts?.[0]?.body?.cef_details?.creation_time || '',
minWidth: 100,
renderer: renderPlainTextAlertCell,
}),
];

export const customAlertColumnForSavedColumn = (savedColumn) => {
Expand Down

0 comments on commit 8967906

Please sign in to comment.