From a13726c138d3ce9b3d1126749fbddc0e3ba944f4 Mon Sep 17 00:00:00 2001 From: ater49 <31342330+ater49@users.noreply.github.com> Date: Wed, 4 Oct 2017 13:31:25 +0200 Subject: [PATCH 1/2] Update definition.json Link attribute added in case of url present into the post. Multiple set to true for "username-quoted" --- objects/microblog/definition.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/objects/microblog/definition.json b/objects/microblog/definition.json index 98d1aa5..12910c3 100644 --- a/objects/microblog/definition.json +++ b/objects/microblog/definition.json @@ -43,6 +43,12 @@ "ui-priority": 0, "misp-attribute": "datetime" }, + "link": { + "description": "Link into the microblog post", + "ui-priority": 0, + "misp-attribute": "text", + "multiple": true + }, "removal-date": { "description": "When the microblog post was removed", "ui-priority": 0, @@ -51,10 +57,11 @@ "username-quoted": { "description": "Username who are quoted into the microblog post", "ui-priority": 0, + "multiple": true, "misp-attribute": "text" } }, - "version": 2, + "version": 3, "description": "Microblog post like a Twitter tweet or a post on a Facebook wall.", "meta-category": "misc", "uuid": "8ec8c911-ddbe-4f5b-895b-fbff70c42a60", From deda8abfb12c7b3da6d3a86a5e1f73e5e9cc263d Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 6 Oct 2017 08:22:41 +0200 Subject: [PATCH 2/2] use url attribute type for link inside a post --- objects/microblog/definition.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/microblog/definition.json b/objects/microblog/definition.json index 12910c3..4f2b869 100644 --- a/objects/microblog/definition.json +++ b/objects/microblog/definition.json @@ -46,7 +46,7 @@ "link": { "description": "Link into the microblog post", "ui-priority": 0, - "misp-attribute": "text", + "misp-attribute": "url", "multiple": true }, "removal-date": {