From: Jeff Lucovsky Date: Mon, 29 Jun 2020 13:50:21 +0000 (-0400) Subject: output/smb: Include common output options X-Git-Tag: suricata-6.0.0-beta1~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6c4936a200731ea73ba850e7a7a5b61e72ff8ae;p=thirdparty%2Fsuricata.git output/smb: Include common output options This commit will cause common metadata values and the community id to be included in log output when configured. --- diff --git a/src/output-json-smb.c b/src/output-json-smb.c index 89ded45712..f56cb0244a 100644 --- a/src/output-json-smb.c +++ b/src/output-json-smb.c @@ -75,6 +75,7 @@ static int JsonSMBLogger(ThreadVars *tv, void *thread_data, } jb_close(jb); + EveAddCommonOptions(&thread->ctx->cfg, p, f, jb); MemBufferReset(thread->buffer); OutputJsonBuilderBuffer(jb, thread->ctx->file_ctx, &thread->buffer);