From 8685efd1362db517ee1793e258a66e6858b9726e Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 13 Mar 2017 07:45:38 +0100 Subject: [PATCH] url object JQified --- objects/url/definition.json | 70 ++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/objects/url/definition.json b/objects/url/definition.json index 87eae51..7aaac1f 100644 --- a/objects/url/definition.json +++ b/objects/url/definition.json @@ -4,23 +4,11 @@ "description": "url object describes an url along with its normalized field (like extracted using faup parsing library) and its metadata.", "version": 1, "attributes": { - "url": { - "misp-attribute": "url", - "misp-usage-frequency": 1 - }, - "last-seen": { - "misp-attribute": "datetime", + "host": { + "misp-attribute": "hostname", "misp-usage-frequency": 0 }, - "text": { - "misp-attribute": "text", - "misp-usage-frequency": 0 - }, - "credential": { - "misp-attribute": "text", - "misp-usage-frequency": 0 - }, - "subdomain": { + "domain_without_tld": { "misp-attribute": "text", "misp-usage-frequency": 0 }, @@ -28,22 +16,38 @@ "misp-attribute": "domain", "misp-usage-frequency": 0 }, - "domain_without_tld": { + "subdomain": { "misp-attribute": "text", "misp-usage-frequency": 0 }, - "host": { - "misp-attribute": "hostname", - "misp-usage-frequency": 0 - }, - "tld": { - "misp-attribute": "tld", - "misp-usage-frequency": 0 - }, - "port": { + "credential": { "misp-attribute": "text", "misp-usage-frequency": 0 }, + "text": { + "misp-attribute": "text", + "misp-usage-frequency": 0 + }, + "last-seen": { + "misp-attribute": "datetime", + "misp-usage-frequency": 0 + }, + "fragment": { + "misp-attribute": "text", + "misp-usage-frequency": 0 + }, + "query_string": { + "misp-attribute": "text", + "misp-usage-frequency": 0 + }, + "resource_path": { + "misp-attribute": "text", + "misp-usage-frequency": 0 + }, + "first-seen": { + "misp-attribute": "datetime", + "misp-usage-frequency": 0 + }, "scheme": { "misp-attribute": "text", "misp-usage-frequency": 0, @@ -55,21 +59,17 @@ "sip" ] }, - "first-seen": { - "misp-attribute": "datetime", - "misp-usage-frequency": 0 - }, - "resource_path": { + "port": { "misp-attribute": "text", "misp-usage-frequency": 0 }, - "query_string": { - "misp-attribute": "text", + "tld": { + "misp-attribute": "tld", "misp-usage-frequency": 0 }, - "fragment": { - "misp-attribute": "text", - "misp-usage-frequency": 0 + "url": { + "misp-attribute": "url", + "misp-usage-frequency": 1 } }, "requiredOneOf": [