fix: improve ip-port object to add domain instead of IP address

pull/74/head
Alexandre Dulaunoy 2018-01-31 15:05:55 +01:00
parent c57b9b867c
commit 41b0d33ab3
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 13 additions and 5 deletions

View File

@ -1,9 +1,8 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"dst-port", "dst-port",
"src-port" "src-port",
], "domain",
"required": [
"ip" "ip"
], ],
"attributes": { "attributes": {
@ -43,6 +42,15 @@
"ui-priority": 1, "ui-priority": 1,
"misp-attribute": "port" "misp-attribute": "port"
}, },
"domain": {
"description": "Domain",
"categories": [
"Network activity",
"External analysis"
],
"ui-priority": 1,
"misp-attribute": "domain"
},
"ip": { "ip": {
"description": "IP Address", "description": "IP Address",
"categories": [ "categories": [
@ -53,8 +61,8 @@
"misp-attribute": "ip-dst" "misp-attribute": "ip-dst"
} }
}, },
"version": 5, "version": 6,
"description": "An IP address and a port seen as a tuple (or as a triple) in a specific time frame.", "description": "An IP address (or domain) and a port seen as a tuple (or as a triple) in a specific time frame.",
"meta-category": "network", "meta-category": "network",
"uuid": "9f8cea74-16fe-4968-a2b4-026676949ac6", "uuid": "9f8cea74-16fe-4968-a2b4-026676949ac6",
"name": "ip-port" "name": "ip-port"