From 3f70223be56f03b982aa83de5b60268a2ddbbfd2 Mon Sep 17 00:00:00 2001 From: James Lagermann Date: Wed, 13 Dec 2023 12:47:17 -0600 Subject: [PATCH] initialize "cve" as "" --- scripts/enrich.zeek | 2 +- zkg.meta | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/enrich.zeek b/scripts/enrich.zeek index 921fde7..1151094 100644 --- a/scripts/enrich.zeek +++ b/scripts/enrich.zeek @@ -52,7 +52,7 @@ event Suricata::connection_alert(c: connection, msg: Corelight::Suricata::Surica local orig = c$id$orig_h; local resp = c$id$resp_h; - local cve: string; + local cve = ""; # Look for CVE in metadata if ( msg$alert?$metadata ){ diff --git a/zkg.meta b/zkg.meta index 236a509..5c24a7d 100644 --- a/zkg.meta +++ b/zkg.meta @@ -1,5 +1,5 @@ [package] -description = Enrich suricata_corelight.log or notice.log with known CVE information. +description = updated 13Dec2023 - Enrich suricata_corelight.log or notice.log with known CVE information. test_command = (cd testing && btest -d) script_dir = scripts tags = suricata cve