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 run: ./scripts/schema-sort.py --check ./etc/schema.json
- name: Check EVE schema has all additionalProperties - 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: almalinux-9:
name: AlmaLinux 9 (schema) name: AlmaLinux 9 (schema)

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

Loading…
Cancel
Save