From 8643f0dc47fcc90523a76fe3d4fd31181c5a0e86 Mon Sep 17 00:00:00 2001 From: iglocska Date: Sun, 17 Sep 2017 12:31:50 +0200 Subject: [PATCH] fix: Fixed an issue with the email object not having the correct requiredoneof fieldnames, fixes MISP/MISP#2481 --- objects/email/definition.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/objects/email/definition.json b/objects/email/definition.json index 7d1659a..ec74d14 100644 --- a/objects/email/definition.json +++ b/objects/email/definition.json @@ -3,7 +3,7 @@ "uuid": "a0c666e0-fc65-4be8-b48f-3423d788b552", "meta-category": "network", "description": "Email object describing an email with meta-information", - "version": 3, + "version": 4, "attributes": { "reply-to": { "description": "Email address the reply will be sent to", @@ -116,19 +116,19 @@ } }, "requiredOneOf": [ - "email-src", - "email-src-display-name", - "email-dst", - "email-dst-display-name", - "email-subject", - "email-attachment", - "email-message-id", - "email-reply-to", + "from", + "from-display-name", + "to", + "to-display-name", + "subject", + "attachment", + "message-id", + "reply-to", "send-date", "url", - "email-mime-boundary", - "email-thread-index", - "email-header", + "mime-boundary", + "thread-index", + "header", "x-mailer" ] }