fix: Fixed an issue with the email object not having the correct requiredoneof fieldnames, fixes MISP/MISP#2481

pull/26/merge
iglocska 2017-09-17 12:31:50 +02:00
parent 777ef97aeb
commit 8643f0dc47
1 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
"uuid": "a0c666e0-fc65-4be8-b48f-3423d788b552", "uuid": "a0c666e0-fc65-4be8-b48f-3423d788b552",
"meta-category": "network", "meta-category": "network",
"description": "Email object describing an email with meta-information", "description": "Email object describing an email with meta-information",
"version": 3, "version": 4,
"attributes": { "attributes": {
"reply-to": { "reply-to": {
"description": "Email address the reply will be sent to", "description": "Email address the reply will be sent to",
@ -116,19 +116,19 @@
} }
}, },
"requiredOneOf": [ "requiredOneOf": [
"email-src", "from",
"email-src-display-name", "from-display-name",
"email-dst", "to",
"email-dst-display-name", "to-display-name",
"email-subject", "subject",
"email-attachment", "attachment",
"email-message-id", "message-id",
"email-reply-to", "reply-to",
"send-date", "send-date",
"url", "url",
"email-mime-boundary", "mime-boundary",
"email-thread-index", "thread-index",
"email-header", "header",
"x-mailer" "x-mailer"
] ]
} }