From a47ba8c5b83d30fdf2fdd71da0b24f9e9397e2e3 Mon Sep 17 00:00:00 2001 From: ater49 Date: Mon, 14 Dec 2020 22:25:58 +0100 Subject: [PATCH] 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