| bindappfwprofile_jsondosurl |
Use this method to bind jsondosurl to appfw profile. |
Syntax |
Parameters |
name |
Name of the profile to which to bind an exemption or rule. This is mandatory parameter. |
jsondosurl |
The URL on which we need to enforce the specified JSON denial-of-service (JSONDoS) attack protections.
An JSON DoS configuration consists of the following items:
* URL. PCRE-format regular expression for the URL.
* Maximum-document-length-check toggle. ON to enable this check, OFF to disable it.
* Maximum document length. Positive integer representing the maximum length of the JSON document.
* Maximum-container-depth-check toggle. ON to enable, OFF to disable.
* Maximum container depth. Positive integer representing the maximum container depth of the JSON document.
* Maximum-object-key-count-check toggle. ON to enable, OFF to disable.
* Maximum object key count. Positive integer representing the maximum allowed number of keys in any of the JSON object.
* Maximum-object-key-length-check toggle. ON to enable, OFF to disable.
* Maximum object key length. Positive integer representing the maximum allowed length of key in any of the JSON object.
* Maximum-array-value-count-check toggle. ON to enable, OFF to disable.
* Maximum array value count. Positive integer representing the maximum allowed number of values in any of the JSON array.
* Maximum-string-length-check toggle. ON to enable, OFF to disable.
* Maximum string length. Positive integer representing the maximum length of string in JSON.
|
jsonmaxcontainerdepthcheck |
State if JSON Max Container Depth Check is ON or OFF. Default value = OFF. Possible Values : ON, OFF. |
jsonmaxcontainerdepth |
Maximum allowed nesting depth of JSON document. JSON allows one to nest the containers (object and array) in any order to any depth. This check protects against documents that have excessive depth of hierarchy. Default value = AS_JSON_DEFAULT_MAX_CONTAINER_DEPTH. Maximum value = AS_JSON_ALLOWED_MAX_CONTAINER_DEPTH. |
jsonmaxdocumentlengthcheck |
State if JSON Max Document Length Check is ON or OFF. Default value = OFF. Possible Values : ON, OFF. |
jsonmaxdocumentlength |
Maximum document length of JSON document, in bytes. Default value = AS_JSON_DEFAULT_MAX_DOCUMENT_LENGTH. Maximum value = AS_MAX_LONG_INT_LEN. |
jsonmaxobjectkeycountcheck |
State if JSON Max Object Key Count Check is ON or OFF. Default value = OFF. Possible Values : ON, OFF. |
jsonmaxobjectkeycount |
Maximum key count in the any of JSON object. This check protects against objects that have large number of keys. Default value = AS_JSON_DEFAULT_MAX_OBJECT_KEY_COUNT. Maximum value = AS_MAX_LONG_INT_LEN. |
jsonmaxobjectkeylengthcheck |
State if JSON Max Object Key Length Check is ON or OFF. Default value = OFF. Possible Values : ON, OFF. |
jsonmaxobjectkeylength |
Maximum key length in the any of JSON object. This check protects against objects that have large keys. Default value = AS_JSON_DEFAULT_MAX_OBJECT_KEY_LENGTH. Maximum value = AS_MAX_LONG_INT_LEN. |
jsonmaxarraylengthcheck |
State if JSON Max Array Length Check is ON or OFF. Default value = OFF. Possible Values : ON, OFF. |
jsonmaxarraylength |
Maximum array length in the any of JSON object. This check protects against arrays having large lengths. Default value = AS_JSON_DEFAULT_MAX_ARRAY_LENGTH. Maximum value = AS_MAX_LONG_INT_LEN. |
jsonmaxstringlengthcheck |
State if JSON Max String Length Check is ON or OFF. Default value = OFF. Possible Values : ON, OFF. |
jsonmaxstringlength |
Maximum string length in the JSON. This check protects against strings that have large length. Default value = AS_JSON_DEFAULT_MAX_STRING_LENGTH. Maximum value = AS_MAX_LONG_INT_LEN. |
Return Value |
Returns simpleResult |
See Also |