fix: [suricata] allow multiple Suricata rules in the object (similar context) and fix the rule to be in Snort format

Fix #106
pull/107/merge
Alexandre Dulaunoy 2018-07-09 21:50:44 +02:00
parent eff3a5f3f5
commit 2b5592cfa6
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 5 additions and 4 deletions

View File

@ -4,14 +4,15 @@
],
"attributes": {
"comment": {
"description": "A description of the Suricata rule.",
"description": "A description of the Suricata rule(s).",
"ui-priority": 0,
"misp-attribute": "comment"
},
"suricata": {
"description": "Suricata rule.",
"ui-priority": 0,
"misp-attribute": "suricata"
"misp-attribute": "snort",
"multiple": true
},
"version": {
"description": "Version of the Suricata rule depending where the suricata rule is known to work as expected.",
@ -24,8 +25,8 @@
"ui-priority": 0
}
},
"version": 1,
"description": "An object describing a Suricata rule along with its version and context",
"version": 2,
"description": "An object describing one or more Suricata rule(s) along with version and contextual information.",
"meta-category": "network",
"uuid": "3c177337-fb80-405a-a6c1-1b2ddea8684a",
"name": "suricata"