jq of geolocation object

pull/15/head
Alexandre Dulaunoy 2017-03-22 07:32:07 +01:00
parent ff8e9c0a36
commit 3e19326efa
1 changed files with 15 additions and 13 deletions

View File

@ -2,9 +2,23 @@
"requiredOneOf": [ "requiredOneOf": [
"latitude", "latitude",
"longitude", "longitude",
"city",
"region",
"country" "country"
], ],
"attributes": { "attributes": {
"first-seen": {
"description": "When the location was seen for the first time.",
"disable_correlation": true,
"misp-usage-frequency": 0,
"misp-attribute": "datetime"
},
"last-seen": {
"description": "When the location was seen for the last time.",
"disable_correlation": true,
"misp-usage-frequency": 0,
"misp-attribute": "datetime"
},
"text": { "text": {
"description": "A generic description of the location.", "description": "A generic description of the location.",
"disable_correlation": true, "disable_correlation": true,
@ -37,23 +51,11 @@
"description": "Region.", "description": "Region.",
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 1 "misp-usage-frequency": 1
}, },
"country": { "country": {
"description": "Country.", "description": "Country.",
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 1 "misp-usage-frequency": 1
},
"first-seen": {
"description": "When the location was seen for the first time.",
"disable_correlation": true,
"misp-usage-frequency": 0,
"misp-attribute": "datetime"
},
"last-seen": {
"description": "When the location was seen for the last time.",
"disable_correlation": true,
"misp-usage-frequency": 0,
"misp-attribute": "datetime"
} }
}, },
"version": 1, "version": 1,