Skip to content

Commit

Permalink
initialize "cve" as ""
Browse files Browse the repository at this point in the history
  • Loading branch information
jlagermann committed Dec 13, 2023
1 parent d24b567 commit 3f70223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/enrich.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -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 ){
Expand Down
2 changes: 1 addition & 1 deletion zkg.meta
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3f70223

Please sign in to comment.