]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
email-json: add some fields
authorEric Leblond <eric@regit.org>
Thu, 7 May 2015 09:38:15 +0000 (11:38 +0200)
committerEric Leblond <eric@regit.org>
Tue, 6 Oct 2015 21:30:45 +0000 (23:30 +0200)
This patch adds some fields to the list of extracted fields.

src/output-json-email-common.c

index 080151589c14734e1c98c7ca354c83e373666607..d05ecea14169b8a8ad173d76736e2f0e8b9d4985 100644 (file)
@@ -75,7 +75,13 @@ struct {
     { "user_agent", "user-agent", LOG_EMAIL_EXTENDED },
     { "received", "received", LOG_EMAIL_ARRAY },
     { "x_originating_ip", "x-originating-ip", LOG_EMAIL_DEFAULT },
-    { "relays", "relays", LOG_EMAIL_ARRAY },
+    { "in_reply_to",  "in-reply-to", LOG_EMAIL_DEFAULT },
+    { "references",  "references", LOG_EMAIL_DEFAULT },
+    { "importance",  "importance", LOG_EMAIL_DEFAULT },
+    { "priority",  "priority", LOG_EMAIL_DEFAULT },
+    { "sensitivity",  "sensitivity", LOG_EMAIL_DEFAULT },
+    { "organization",  "organization", LOG_EMAIL_DEFAULT },
+    { "content_md5",  "content-md5", LOG_EMAIL_DEFAULT },
     { NULL, NULL, LOG_EMAIL_DEFAULT},
 };