From: Eric Leblond Date: Wed, 20 May 2015 08:23:36 +0000 (+0200) Subject: email-json: add bcc to extended fields X-Git-Tag: suricata-3.0RC1~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946f2a6acc4541e92584d2db628d940f2e1a2e39;p=thirdparty%2Fsuricata.git email-json: add bcc to extended fields --- diff --git a/src/output-json-email-common.c b/src/output-json-email-common.c index 30b8c62fa7..b255a8e493 100644 --- a/src/output-json-email-common.c +++ b/src/output-json-email-common.c @@ -69,7 +69,7 @@ struct { uint32_t flags; } email_fields[] = { { "reply_to", "reply-to", LOG_EMAIL_DEFAULT }, - { "bcc", "bcc", LOG_EMAIL_COMMA }, + { "bcc", "bcc", LOG_EMAIL_COMMA|LOG_EMAIL_EXTENDED }, { "message_id", "message-id", LOG_EMAIL_EXTENDED }, { "subject", "subject", LOG_EMAIL_EXTENDED }, { "x_mailer", "x-mailer", LOG_EMAIL_EXTENDED }, diff --git a/suricata.yaml.in b/suricata.yaml.in index bdc54279cd..7767620cda 100644 --- a/suricata.yaml.in +++ b/suricata.yaml.in @@ -141,7 +141,7 @@ outputs: # alerts: no # log alerts that caused drops - smtp: #extended: yes # enable this for extended logging information - # this includes: message-id, subject, x_mailer, user-agent + # this includes: bcc, message-id, subject, x_mailer, user-agent # custom fields logging from the list: # reply-to, bcc, message-id, subject, x-mailer, user-agent, received, # x-originating-ip, in-reply-to, references, importance, priority,