Configuring a JSON Policy
A JSON policy is associated with a JSON profile to validate the requests based on the policy settings.
Add a JSON Policy
Go to the WEBSITES > JSON Security page.
In the JSON Policies section, click Add JSON Policy.
In the Add JSON Policy window, specify values for the following:
Policy Name – Enter a name to identify this JSON policy.
Max Keys – Specify the maximum allowable keys in the JSON request.
Minimum – 0
Maximum – 16384
Max Key Length – Specify the maximum allowable length for JSON key names.
Minimum – 0
Maximum – 1024
Max Value Length – Specify the maximum allowable length for JSON value. This is applicable only for the datatype "String".
Minimum – 0
Maximum – 8192
Click Show Advanced Options to configure advanced settings.
Max Number Value – Specify the maximum allowable value for the JSON datatype "Number".
Minimum – 1
Maximum – 9999999999999999999
Max Object Depth – Specify the maximum allowable depth for nested JSON structure.
Minimum – 0
Maximum – 64
Max Array Elements – Specify the maximum allowable number of elements in an array.
Minimum – 0
Maximum – 8192
Max Siblings – Specify the maximum allowable number of elements in a single JSON object.
Minimum – 0
Maximum – 2048
Click Save.
The created JSON policies are displayed in the JSON Policies section. If an existing policy is modified, the changes will be applied to the JSON profile that the edited JSON policy is associated with.
Contact Us
Barracuda Campus
Barracuda Support