From a47ba8c5b83d30fdf2fdd71da0b24f9e9397e2e3 Mon Sep 17 00:00:00 2001 From: ater49 Date: Mon, 14 Dec 2020 22:25:58 +0100 Subject: [PATCH 1/2] Add media in twitter-post in order to store attached medias in a tweet Add pastebin.fr in source of paste and paste_file for storing whole paste file. --- objects/paste/definition.json | 8 +++++++- objects/twitter-post/definition.json | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/objects/paste/definition.json b/objects/paste/definition.json index f5f8ee1..f2b540a 100644 --- a/objects/paste/definition.json +++ b/objects/paste/definition.json @@ -25,6 +25,7 @@ "values_list": [ "pastebin.com", "pastebin.com_pro", + "pastebin.fr", "pastie.org", "slexy.org", "gist.github.com", @@ -41,6 +42,11 @@ "misp-attribute": "text", "ui-priority": 1 }, + "paste_file": { + "description": "Content of the paste in file", + "misp-attribute": "attachment", + "ui-priority": 0 + }, "title": { "description": "Title of the paste or post.", "misp-attribute": "text", @@ -65,5 +71,5 @@ "paste" ], "uuid": "cedc055c-78aa-49a4-bfd7-4cc30cecef12", - "version": 5 + "version": 6 } \ No newline at end of file diff --git a/objects/twitter-post/definition.json b/objects/twitter-post/definition.json index 2bee35e..02cb7de 100644 --- a/objects/twitter-post/definition.json +++ b/objects/twitter-post/definition.json @@ -73,6 +73,12 @@ "multiple": true, "ui-priority": 1 }, + "media":{ + "description": "Media (Photos, videos) present in tweet", + "misp_attribute": "attachment", + "multiple": true, + "ui-priority": 0 + }, "name": { "description": "Name of the account that posted this tweet.", "misp-attribute": "text", @@ -148,5 +154,5 @@ "attachment" ], "uuid": "d1214031-ce1b-4a35-bd33-644c707bda2e", - "version": 3 + "version": 4 } \ No newline at end of file From a410c7c7a6cf28ad9cb885afab86312812e35a91 Mon Sep 17 00:00:00 2001 From: ater49 Date: Mon, 14 Dec 2020 23:01:12 +0100 Subject: [PATCH 2/2] Typo and version number correction + adding a field in twitter-post Adding created-at field in twitter-post --- objects/paste/definition.json | 2 +- objects/twitter-post/definition.json | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/objects/paste/definition.json b/objects/paste/definition.json index f2b540a..d2caf10 100644 --- a/objects/paste/definition.json +++ b/objects/paste/definition.json @@ -42,7 +42,7 @@ "misp-attribute": "text", "ui-priority": 1 }, - "paste_file": { + "paste-file": { "description": "Content of the paste in file", "misp-attribute": "attachment", "ui-priority": 0 diff --git a/objects/twitter-post/definition.json b/objects/twitter-post/definition.json index 02cb7de..8d48033 100644 --- a/objects/twitter-post/definition.json +++ b/objects/twitter-post/definition.json @@ -12,6 +12,11 @@ "multiple": true, "ui-priority": 1 }, + "created-at":{ + "description": "Datetime of Tweet publication", + "misp-attribute": "datetime", + "ui-priority": 0 + }, "embedded-link": { "description": "Link in the tweet", "misp-attribute": "url", @@ -154,5 +159,5 @@ "attachment" ], "uuid": "d1214031-ce1b-4a35-bd33-644c707bda2e", - "version": 4 + "version": 5 } \ No newline at end of file