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