Skip to content

Commit

Permalink
eve/schema: allow authorities in dns.answers in alert
Browse files Browse the repository at this point in the history
Factor out dns.authorities to a definition.
  • Loading branch information
jasonish authored and victorjulien committed Jan 17, 2024
1 parent f80d26d commit 90ae3a2
Showing 1 changed file with 54 additions and 48 deletions.
102 changes: 54 additions & 48 deletions etc/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1040,53 +1040,7 @@
}
},
"authorities": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"rdata": {
"type": "string"
},
"rrname": {
"type": "string"
},
"rrtype": {
"type": "string"
},
"ttl": {
"type": "integer"
},
"soa": {
"type": "object",
"properties": {
"expire": {
"type": "integer"
},
"minimum": {
"type": "integer"
},
"mname": {
"type": "string"
},
"refresh": {
"type": "integer"
},
"retry": {
"type": "integer"
},
"rname": {
"type": "string"
},
"serial": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
"$ref": "#/$defs/dns.authorities"
},
"query": {
"type": "array",
Expand Down Expand Up @@ -1156,7 +1110,10 @@
"opcode": {
"description": "DNS opcode as an integer",
"type": "integer"
}
},
"authorities": {
"$ref": "#/$defs/dns.authorities"
}
},
"additionalProperties": false
},
Expand Down Expand Up @@ -5504,6 +5461,55 @@
}
},
"$defs": {
"dns.authorities": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"rdata": {
"type": "string"
},
"rrname": {
"type": "string"
},
"rrtype": {
"type": "string"
},
"ttl": {
"type": "integer"
},
"soa": {
"type": "object",
"properties": {
"expire": {
"type": "integer"
},
"minimum": {
"type": "integer"
},
"mname": {
"type": "string"
},
"refresh": {
"type": "integer"
},
"retry": {
"type": "integer"
},
"rname": {
"type": "string"
},
"serial": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"stats_applayer_error": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 90ae3a2

Please sign in to comment.