]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
email-json: add bcc to extended fields
authorEric Leblond <eric@regit.org>
Wed, 20 May 2015 08:23:36 +0000 (10:23 +0200)
committerEric Leblond <eric@regit.org>
Tue, 6 Oct 2015 21:30:46 +0000 (23:30 +0200)
src/output-json-email-common.c
suricata.yaml.in

index 30b8c62fa756495d85f096fd6a63cda275ba9214..b255a8e4933bc0a3befa0e1e136aabbfe4fa20d3 100644 (file)
@@ -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 },
index bdc54279cdb26945ebf157b0750a5f0dd4a60cdc..7767620cda92fd42adb3a4a8351f28717e75b6d7 100644 (file)
@@ -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,