Skip to content

Commit a47ba8c

Browse files
ater49ater49
authored andcommitted
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.
1 parent 5bc046c commit a47ba8c

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

objects/paste/definition.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"values_list": [
2626
"pastebin.com",
2727
"pastebin.com_pro",
28+
"pastebin.fr",
2829
"pastie.org",
2930
"slexy.org",
3031
"gist.github.com",
@@ -41,6 +42,11 @@
4142
"misp-attribute": "text",
4243
"ui-priority": 1
4344
},
45+
"paste_file": {
46+
"description": "Content of the paste in file",
47+
"misp-attribute": "attachment",
48+
"ui-priority": 0
49+
},
4450
"title": {
4551
"description": "Title of the paste or post.",
4652
"misp-attribute": "text",
@@ -65,5 +71,5 @@
6571
"paste"
6672
],
6773
"uuid": "cedc055c-78aa-49a4-bfd7-4cc30cecef12",
68-
"version": 5
74+
"version": 6
6975
}

objects/twitter-post/definition.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
"multiple": true,
7474
"ui-priority": 1
7575
},
76+
"media":{
77+
"description": "Media (Photos, videos) present in tweet",
78+
"misp_attribute": "attachment",
79+
"multiple": true,
80+
"ui-priority": 0
81+
},
7682
"name": {
7783
"description": "Name of the account that posted this tweet.",
7884
"misp-attribute": "text",
@@ -148,5 +154,5 @@
148154
"attachment"
149155
],
150156
"uuid": "d1214031-ce1b-4a35-bd33-644c707bda2e",
151-
"version": 3
157+
"version": 4
152158
}

0 commit comments

Comments
 (0)