chg: [object fields] allow additional requiredOneOf fields in blog, microblog, meme-image objects. add attachment field to blog object. add username to news-media.

pull/226/head
VVX7 2020-02-02 20:08:44 -05:00
parent bc052e17f4
commit bde68265e3
5 changed files with 49 additions and 12 deletions

View File

@ -1,6 +1,10 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"post" "post",
"archive",
"url",
"link",
"attachment"
], ],
"attributes": { "attributes": {
"post": { "post": {
@ -94,7 +98,7 @@
"misp-attribute": "text" "misp-attribute": "text"
} }
}, },
"version": 13, "version": 14,
"description": "Blog post like Medium or WordPress.", "description": "Blog post like Medium or WordPress.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "1f165fc0-b158-498f-8bc8-6dc3d2822bb1", "uuid": "1f165fc0-b158-498f-8bc8-6dc3d2822bb1",

View File

@ -1,6 +1,7 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"attachment", "attachment",
"archive",
"document-text" "document-text"
], ],
"attributes": { "attributes": {
@ -98,7 +99,7 @@
"misp-attribute": "datetime" "misp-attribute": "datetime"
} }
}, },
"version": 6, "version": 7,
"description": "Object describing a meme (image).", "description": "Object describing a meme (image).",
"meta-category": "file", "meta-category": "file",
"uuid": "6f6c3b61-f085-475e-93df-2e2d9c2fb0f6", "uuid": "6f6c3b61-f085-475e-93df-2e2d9c2fb0f6",

View File

@ -1,6 +1,10 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"post" "post",
"archive",
"url",
"link",
"attachment"
], ],
"attributes": { "attributes": {
"post": { "post": {
@ -124,7 +128,7 @@
"multiple": true "multiple": true
} }
}, },
"version": 17, "version": 18,
"description": "Microblog post like a Twitter tweet or a post on a Facebook wall.", "description": "Microblog post like a Twitter tweet or a post on a Facebook wall.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "8ec8c911-ddbe-4f5b-895b-fbff70c42a60", "uuid": "8ec8c911-ddbe-4f5b-895b-fbff70c42a60",

View File

@ -1,18 +1,23 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"name", "name",
"alias" "alias",
"archive",
"url",
"link",
"attachment"
], ],
"attributes": { "attributes": {
"name": { "name": {
"description": "Name of the news agency.", "description": "Name of the news agency.",
"disable_correlation": false, "disable_correlation": true,
"ui-priority": 100, "ui-priority": 100,
"misp-attribute": "text" "misp-attribute": "text"
}, },
"alias": { "alias": {
"description": "Alias of the news agency.", "description": "Alias of the news agency.",
"ui-priority": 99, "ui-priority": 99,
"disable_correlation": true,
"misp-attribute": "text", "misp-attribute": "text",
"multiple": true "multiple": true
}, },
@ -65,7 +70,7 @@
"multiple": true "multiple": true
} }
}, },
"version": 1, "version": 2,
"description": "News agencies compile news and disseminate news in bulk.", "description": "News agencies compile news and disseminate news in bulk.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "92b3f7fd-c4bc-42af-a73b-033ace439622", "uuid": "92b3f7fd-c4bc-42af-a73b-033ace439622",

View File

@ -1,21 +1,32 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"source", "source",
"alias" "alias",
"archive",
"content",
"url",
"link",
"attachment"
], ],
"attributes": { "attributes": {
"source": { "source": {
"description": "Name of the news source.", "description": "Name of the news source.",
"disable_correlation": false, "disable_correlation": true,
"ui-priority": 100, "ui-priority": 100,
"misp-attribute": "text" "misp-attribute": "text"
}, },
"alias": { "alias": {
"description": "Alias of the news source.", "description": "Alias of the news source.",
"ui-priority": 99, "ui-priority": 99,
"disable_correlation": true,
"misp-attribute": "text", "misp-attribute": "text",
"multiple": true "multiple": true
}, },
"username": {
"description": "Username who posted the blog post.",
"ui-priority": 0,
"misp-attribute": "text"
},
"content": { "content": {
"description": "Raw content of the news.", "description": "Raw content of the news.",
"ui-priority": 1, "ui-priority": 1,
@ -112,6 +123,18 @@
"misp-attribute": "text", "misp-attribute": "text",
"multiple": true "multiple": true
}, },
"embedded-link": {
"description": "Site linked by the blog post.",
"ui-priority": 0,
"misp-attribute": "url",
"multiple": true
},
"embedded-safe-link": {
"description": "Safe site linked by the blog post.",
"ui-priority": 0,
"misp-attribute": "link",
"multiple": true
},
"e-mail": { "e-mail": {
"description": "Email address of the news source.", "description": "Email address of the news source.",
"ui-priority": 10, "ui-priority": 10,
@ -119,8 +142,8 @@
"multiple": true "multiple": true
} }
}, },
"version": 1, "version": 2,
"description": "News media are forms of mass media deliverings news to the general public.", "description": "News media are forms of mass media delivering news to the general public.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "691463c5-5302-4847-9bec-4c56ccfec677", "uuid": "691463c5-5302-4847-9bec-4c56ccfec677",
"name": "news-media" "name": "news-media"