diff --git a/opencti-platform/opencti-front/src/components/dataGrid/dataTableUtils.tsx b/opencti-platform/opencti-front/src/components/dataGrid/dataTableUtils.tsx index df5f5ce17d9e..7047e58a5849 100644 --- a/opencti-platform/opencti-front/src/components/dataGrid/dataTableUtils.tsx +++ b/opencti-platform/opencti-front/src/components/dataGrid/dataTableUtils.tsx @@ -900,6 +900,13 @@ const defaultColumns: DataTableProps['dataColumns'] = { return (<>{b(file?.size)}); }, }, + valid_until: { + id: 'valid_until', + label: 'Valid until', + percentWidth: 10, + isSortable: true, + render: ({ valid_until }, { nsdt }) => {nsdt(valid_until)}, + }, }; export const defaultColumnsMap = new Map>(Object.entries(defaultColumns)); diff --git a/opencti-platform/opencti-front/src/private/components/observations/Indicators.tsx b/opencti-platform/opencti-front/src/private/components/observations/Indicators.tsx index 787a71ead17f..c79de1e0996d 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/Indicators.tsx +++ b/opencti-platform/opencti-front/src/private/components/observations/Indicators.tsx @@ -153,24 +153,27 @@ const Indicators = () => { ); const dataColumns: DataTableProps['dataColumns'] = { - pattern_type: {}, - name: { percentWidth: 21 }, + pattern_type: { + percentWidth: 11, + }, + name: { + percentWidth: 24, + }, createdBy: { isSortable: isRuntimeSort ?? false, + percentWidth: 12, }, creator: { isSortable: isRuntimeSort ?? false, + percentWidth: 12, + }, + objectLabel: { + percentWidth: 15, }, - objectLabel: {}, created: { - percentWidth: 10, + percentWidth: 15, render: ({ created }, { nsdt }) => {nsdt(created)}, }, - valid_until: { - label: 'Valid until', - percentWidth: 10, - isSortable: true, - }, objectMarking: { percentWidth: 10, isSortable: isRuntimeSort ?? false,