From 694d8889c4b0d84a46be20066adb1b33b695fe14 Mon Sep 17 00:00:00 2001 From: eric-intuitem <71850047+eric-intuitem@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:14:10 +0100 Subject: [PATCH 1/2] improve vulnerability display --- frontend/src/lib/utils/table.ts | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/utils/table.ts b/frontend/src/lib/utils/table.ts index 07e8f9bc3..465655288 100644 --- a/frontend/src/lib/utils/table.ts +++ b/frontend/src/lib/utils/table.ts @@ -273,8 +273,28 @@ export const listViewFields: ListViewFieldsConfig = { } }, vulnerabilities: { - head: ['ref_id', 'name', 'description', 'applied_controls', 'folder', 'labels'], - body: ['ref_id', 'name', 'description', 'applied_controls', 'folder', 'filtering_labels'], + head: [ + 'ref_id', + 'name', + 'description', + 'status', + 'severity', + 'applied_controls', + 'folder', + 'labels' + ], + body: [ + 'ref_id', + 'name', + 'description', + 'status', + 'severity', + 'applied_controls', + 'folder', + 'status', + 'severity', + 'filtering_labels' + ], filters: { folder: DOMAIN_FILTER, filtering_labels: LABELS_FILTER From 336584f8f1d0a58f59a6a20d225325f9c49ebbbc Mon Sep 17 00:00:00 2001 From: eric-intuitem <71850047+eric-intuitem@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:17:36 +0100 Subject: [PATCH 2/2] Update table.ts --- frontend/src/lib/utils/table.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/lib/utils/table.ts b/frontend/src/lib/utils/table.ts index 465655288..b916b68e1 100644 --- a/frontend/src/lib/utils/table.ts +++ b/frontend/src/lib/utils/table.ts @@ -291,8 +291,6 @@ export const listViewFields: ListViewFieldsConfig = { 'severity', 'applied_controls', 'folder', - 'status', - 'severity', 'filtering_labels' ], filters: {