From f7f0a88838e417c7c55451e31cf9ff7967be7b00 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Thu, 15 Mar 2018 09:38:53 +0100 Subject: [PATCH] fix: some parts of the URL can be repeated such as resource path, anchor... multiple flag added to the potential part to be repeated. following a discussion in Gitter with @makflwana --- objects/url/definition.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/objects/url/definition.json b/objects/url/definition.json index 368e8f7..10729f9 100644 --- a/objects/url/definition.json +++ b/objects/url/definition.json @@ -6,7 +6,8 @@ "fragment": { "description": "Fragment identifier is a short string of characters that refers to a resource that is subordinate to another, primary resource.", "ui-priority": 0, - "misp-attribute": "text" + "misp-attribute": "text", + "multiple": true }, "tld": { "description": "Top-Level Domain", @@ -42,12 +43,14 @@ "resource_path": { "description": "Path (between hostname:port and query)", "ui-priority": 0, - "misp-attribute": "text" + "misp-attribute": "text", + "multiple": true }, "query_string": { "description": "Query (after path, preceded by '?')", "ui-priority": 0, - "misp-attribute": "text" + "misp-attribute": "text", + "multiple": true }, "url": { "description": "Full URL", @@ -92,7 +95,7 @@ "misp-attribute": "hostname" } }, - "version": 5, + "version": 6, "description": "url object describes an url along with its normalized field (like extracted using faup parsing library) and its metadata.", "meta-category": "network", "uuid": "60efb77b-40b5-4c46-871b-ed1ed999fce5",