doc: really enforce more the completeness of json schema

Completes commit f1f32a39ee

End better describe exception_policy
pull/13863/head
Philippe Antoine 1 month ago committed by Victor Julien
parent cf4a86185d
commit dae9264120

@ -238,7 +238,7 @@ jobs:
run: ./scripts/schema-sort.py --check ./etc/schema.json
- name: Check EVE schema has all additionalProperties
run: test $(cat etc/schema.json | 'paths( objects | (.type == "object" and (has("additionalProperties") | not) )) | join(".")' | wc -l) = "0"
run: test $(cat etc/schema.json | jq 'paths( objects | (.type == "object" and (has("additionalProperties") | not) )) | join(".")' | wc -l) = "0"
almalinux-9:
name: AlmaLinux 9 (schema)

@ -7176,47 +7176,59 @@
"properties": {
"app_layer": {
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"description":
"Consolidated stats on how many times app-layer error exception policy was applied, and which one",
"$ref": "#/$defs/exceptionPolicy"
}
}
},
"defrag": {
"type": "object",
"additionalProperties": false,
"properties": {
"memcap": {
"description":
"How many times defrag memcap exception policy was applied, and which one",
"$ref": "#/$defs/exceptionPolicy"
}
}
},
"flow": {
"type": "object",
"additionalProperties": false,
"properties": {
"memcap": {
"description":
"How many times flow memcap exception policy was applied, and which one",
"$ref": "#/$defs/exceptionPolicy"
}
}
},
"tcp": {
"type": "object",
"additionalProperties": false,
"properties": {
"midstream": {
"description":
"How many times midstream exception policy was applied, and which one",
"$ref": "#/$defs/exceptionPolicy"
},
"ssn_memcap": {
"reassembly": {
"description":
"How many times session memcap exception policy was applied, and which one",
"How many times reassembly memcap exception policy was applied, and which one",
"$ref": "#/$defs/exceptionPolicy"
},
"reassembly": {
"ssn_memcap": {
"description":
"How many times reassembly memcap exception policy was applied, and which one",
"How many times session memcap exception policy was applied, and which one",
"$ref": "#/$defs/exceptionPolicy"
}
}
}
}
},
"file_store": {
"type": "object",

Loading…
Cancel
Save