From d988e4afdb32abf9d19c5d26af65811c53c3d0a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Chantal=20Bel=C3=A9n=20kelm?=
<99441266+chantal-kelm@users.noreply.github.com>
Date: Tue, 23 Jul 2024 09:34:02 -0300
Subject: [PATCH] Remove `rule.mitre_techniques` column from the Threat Hunting
(#6858)
remove rule.mitre_techniques column from the threat hunting
---
.../common/wazuh-discover/render-columns.tsx | 15 ---------------
.../events/threat-hunting-columns.tsx | 6 ------
2 files changed, 21 deletions(-)
diff --git a/plugins/main/public/components/common/wazuh-discover/render-columns.tsx b/plugins/main/public/components/common/wazuh-discover/render-columns.tsx
index 3a69ec65ca..e5ea60f6e8 100644
--- a/plugins/main/public/components/common/wazuh-discover/render-columns.tsx
+++ b/plugins/main/public/components/common/wazuh-discover/render-columns.tsx
@@ -82,19 +82,4 @@ export const wzDiscoverRenderColumns: tDataGridRenderColumn[] = [
{renderMitreTechnique(value)}
),
},
- {
- id: 'rule.mitre_techniques',
- render: value =>
- Array.isArray(value) ? (
-
- {value?.map((technique, index) => (
-
- {renderMitreTechnique(technique)}
-
- ))}
-
- ) : (
- {renderMitreTechnique(value)}
- ),
- },
];
diff --git a/plugins/main/public/components/overview/threat-hunting/events/threat-hunting-columns.tsx b/plugins/main/public/components/overview/threat-hunting/events/threat-hunting-columns.tsx
index e09379cae6..d5f6fec7b9 100644
--- a/plugins/main/public/components/overview/threat-hunting/events/threat-hunting-columns.tsx
+++ b/plugins/main/public/components/overview/threat-hunting/events/threat-hunting-columns.tsx
@@ -22,9 +22,6 @@ export const threatHuntingTableDefaultColumns: tDataGridColumn[] = [
{
id: 'rule.mitre.tactic',
},
- {
- id: 'rule.mitre_technique',
- },
{
id: 'rule.description',
},
@@ -49,9 +46,6 @@ export const threatHuntingTableAgentColumns: EuiDataGridColumn[] = [
{
id: 'rule.mitre.tactic',
},
- {
- id: 'rule.mitre_technique',
- },
{
id: 'rule.description',
},