url object JQified

pull/7/head
Alexandre Dulaunoy 2017-03-13 07:45:38 +01:00
parent 1da88ddb99
commit 8685efd136
1 changed files with 35 additions and 35 deletions

View File

@ -4,23 +4,11 @@
"description": "url object describes an url along with its normalized field (like extracted using faup parsing library) and its metadata.", "description": "url object describes an url along with its normalized field (like extracted using faup parsing library) and its metadata.",
"version": 1, "version": 1,
"attributes": { "attributes": {
"url": { "host": {
"misp-attribute": "url", "misp-attribute": "hostname",
"misp-usage-frequency": 1
},
"last-seen": {
"misp-attribute": "datetime",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
"text": { "domain_without_tld": {
"misp-attribute": "text",
"misp-usage-frequency": 0
},
"credential": {
"misp-attribute": "text",
"misp-usage-frequency": 0
},
"subdomain": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
@ -28,22 +16,38 @@
"misp-attribute": "domain", "misp-attribute": "domain",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
"domain_without_tld": { "subdomain": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
"host": { "credential": {
"misp-attribute": "hostname",
"misp-usage-frequency": 0
},
"tld": {
"misp-attribute": "tld",
"misp-usage-frequency": 0
},
"port": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "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": { "scheme": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0, "misp-usage-frequency": 0,
@ -55,21 +59,17 @@
"sip" "sip"
] ]
}, },
"first-seen": { "port": {
"misp-attribute": "datetime",
"misp-usage-frequency": 0
},
"resource_path": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
"query_string": { "tld": {
"misp-attribute": "text", "misp-attribute": "tld",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
"fragment": { "url": {
"misp-attribute": "text", "misp-attribute": "url",
"misp-usage-frequency": 0 "misp-usage-frequency": 1
} }
}, },
"requiredOneOf": [ "requiredOneOf": [