waf template json-check¶
JSON check
json-check Specification¶
Type Configuration Resource Element Name json-check Element URI /axapi/v3/waf/template/{name}/json-check Element Attributes json-check_attributes Schema json-check schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/waf/template/{name}/json-check | ||
Get Object | GET | /axapi/v3/waf/template/{name}/json-check | ||
Modify Object | POST | /axapi/v3/waf/template/{name}/json-check | ||
Replace Object | PUT | /axapi/v3/waf/template/{name}/json-check | ||
Delete Object | DELETE | /axapi/v3/waf/template/{name}/json-check |
json-check attributes¶
format-check
Description Check HTTP body for JSON format compliance
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
max-array-values
Description Maximum number of values in an array in a JSON request body (default 256) (Maximum number of values in a JSON array (default 256))
Type: number
Range: 0-4096
Default: 256
max-depth
Description Maximum recursion depth in a value in a JSON requesnt body (default 16) (Maximum recursion depth in a JSON value (default 16))
Type: number
Range: 0-4096
Default: 16
max-object-members
Description Maximum number of members in an object in a JSON request body (default 256) (Maximum number of members in a JSON object (default 256))
Type: number
Range: 0-4096
Default: 256
max-string-length
Description Maximum length of a string in a JSON request body (default 64) (Maximum length of a JSON string (default 64))
Type: number
Range: 0-4096
Default: 64
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters