chg: [irc] add nickname used for associated IRC server and channel(s)

pull/178/head
Alexandre Dulaunoy 2019-04-27 10:32:10 +02:00
parent 1966d4d5f0
commit 0f6fdee7f3
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,9 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"ip", "ip",
"hostname" "hostname",
"channel",
"nickname"
], ],
"attributes": { "attributes": {
"text": { "text": {
@ -39,6 +41,12 @@
"misp-attribute": "text", "misp-attribute": "text",
"multiple": true "multiple": true
}, },
"nickname": {
"description": "IRC nickname used to connect to the associated IRC server and channels",
"ui-priority": 1,
"misp-attribute": "text",
"multiple": true
},
"hostname": { "hostname": {
"description": "Hostname of the IRC server", "description": "Hostname of the IRC server",
"categories": [ "categories": [
@ -60,7 +68,7 @@
"multiple": true "multiple": true
} }
}, },
"version": 1, "version": 2,
"description": "An IRC object to describe an IRC server and the associated channels.", "description": "An IRC object to describe an IRC server and the associated channels.",
"meta-category": "network", "meta-category": "network",
"uuid": "4bbbc004-c344-4b20-8672-b41102177fc7", "uuid": "4bbbc004-c344-4b20-8672-b41102177fc7",