From 9db01e340c6455d9ef4f62a480c74aa35c39e780 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Tue, 23 Jul 2024 23:01:12 +0200 Subject: [PATCH] add href links to MBC, and refactor into helpers functions Create href for both MBC and ATT&CK using helper functions `createMBCHref` and `createATTACKHref` --- webui/src/components/ProcessCapabilities.vue | 4 +- webui/src/components/RuleMatchesTable.vue | 59 ++++++++++++++++---- 2 files changed, 50 insertions(+), 13 deletions(-) diff --git a/webui/src/components/ProcessCapabilities.vue b/webui/src/components/ProcessCapabilities.vue index 29a8f4f8..0e7afb11 100644 --- a/webui/src/components/ProcessCapabilities.vue +++ b/webui/src/components/ProcessCapabilities.vue @@ -54,7 +54,7 @@ }} matches) - ({{ slotProps.node.data.location }} match) + (1 {{ slotProps.node.data.location }} match) - +