diff --git a/web/explorer/src/components/RuleMatchesTable.vue b/web/explorer/src/components/RuleMatchesTable.vue
index 71daf622b..0c89c926e 100644
--- a/web/explorer/src/components/RuleMatchesTable.vue
+++ b/web/explorer/src/components/RuleMatchesTable.vue
@@ -152,6 +152,7 @@
{{ item.label }}
+
@@ -215,6 +216,13 @@ const expandedKeys = ref({});
const menu = ref();
const selectedNode = ref({});
const contextMenuItems = computed(() => [
+ {
+ label: "Copy rule name",
+ icon: "pi pi-copy",
+ command: () => {
+ navigator.clipboard.writeText(selectedNode.value.data?.name);
+ }
+ },
{
label: "View source",
icon: "pi pi-eye",
@@ -232,6 +240,7 @@ const contextMenuItems = computed(() => [
label: "Lookup rule in VirusTotal",
icon: "vt-icon",
target: "_blank",
+ description: "Requires VirusTotal Premium account",
url: createVirusTotalUrl(selectedNode.value.data?.name)
}
]);