From 946f2a6acc4541e92584d2db628d940f2e1a2e39 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 20 May 2015 10:23:36 +0200 Subject: [PATCH] email-json: add bcc to extended fields --- src/output-json-email-common.c | 2 +- suricata.yaml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,