2017-02-12 21:01:36 +01:00
|
|
|
{
|
2017-02-13 17:01:22 +01:00
|
|
|
"additionalProperties": false,
|
2020-04-03 13:37:17 +02:00
|
|
|
"id": "https://www.github.com/MISP/misp-warninglists/schema.json",
|
2017-02-12 21:01:36 +01:00
|
|
|
"properties": {
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"list": {
|
2020-04-03 13:37:17 +02:00
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2017-02-12 21:01:36 +01:00
|
|
|
"type": "array",
|
2020-04-03 13:37:17 +02:00
|
|
|
"uniqueItems": true
|
|
|
|
},
|
|
|
|
"matching_attributes": {
|
2017-02-12 21:01:36 +01:00
|
|
|
"items": {
|
|
|
|
"type": "string"
|
2020-04-03 13:37:17 +02:00
|
|
|
},
|
|
|
|
"type": "array",
|
|
|
|
"uniqueItems": true
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
2017-02-12 21:01:36 +01:00
|
|
|
},
|
|
|
|
"type": {
|
2017-12-22 15:32:24 +01:00
|
|
|
"enum": [
|
|
|
|
"string",
|
|
|
|
"substring",
|
|
|
|
"hostname",
|
2020-03-05 13:19:26 +01:00
|
|
|
"cidr",
|
2022-12-01 14:42:01 +01:00
|
|
|
"regex"
|
2020-04-03 13:37:17 +02:00
|
|
|
],
|
|
|
|
"type": "string"
|
2017-02-12 21:01:36 +01:00
|
|
|
},
|
2020-04-03 13:37:17 +02:00
|
|
|
"version": {
|
|
|
|
"type": "integer"
|
2017-02-12 21:01:36 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"list",
|
|
|
|
"description",
|
|
|
|
"version",
|
2017-12-22 15:32:24 +01:00
|
|
|
"name",
|
|
|
|
"type"
|
2020-04-03 13:37:17 +02:00
|
|
|
],
|
|
|
|
"title": "Validator for misp-warninglists",
|
|
|
|
"type": "object"
|
2017-02-12 21:01:36 +01:00
|
|
|
}
|