Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda Web Application Firewall
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Web Application Firewall
  • 30-Day Evaluation Guide - Barracuda Web Application Firewall
  • Getting Started
  • Deployment
  • Services
  • Securing HTTP/HTTPS Traffic
  • Advanced Bot Protection
  • Client-Side Protection
  • API Security
    • REST API and JSON Security
      • JSON Security Components
        • Configuring a JSON Policy
        • JSON Key Profile
      • REST API Discovery
    • Web Services and XML Firewall Protection
    • GraphQL Security
  • Advanced Security
  • IP Reputation-Based Filters
  • Tuning Security Rules
  • Barracuda Active Threat Intelligence
  • Access Control
  • Traffic Management
  • Configuring User-Defined Patterns
  • Logging, Reporting and Monitoring
  • High Availability
  • Networking
  • System Administration and Maintenance
  • Certificate Management
  • Centralized Management of the Barracuda Web Application Firewall
  • Attacks Description - Action Policy
  • REST API
  • Common Web Application Attacks
  • How to Set Up Barracuda Cloud Control
  • End of Support and End of Life Information
  • Critical Vulnerabilities in Web Application
  • Barracuda Advanced Bot Protection Cloud Infrastructure Upgrade Information
  • Barracuda WAF 12.2 Firmware Hardened to Augment Security of Product Features

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Configuring a JSON Policy
    Published Jun 14, 2023

    Configuring a JSON Policy

    Jun 14, 2023
    Subscribe

    A JSON policy is associated with a JSON profile to validate the requests based on the policy settings. 

    Add a JSON Policy

    1. Go to the WEBSITES > JSON Security page.

    2. In the JSON Policies section, click Add JSON Policy.

    3. In the Add JSON Policy window, specify values for the following:

      1. Policy Name – Enter a name to identify this JSON policy.

      2. Max Keys –  Specify the maximum allowable keys in the JSON request.

        1. Minimum –  0

        2. Maximum –  16384

      3. Max Key Length –  Specify the maximum allowable length for JSON key names.

        1. Minimum –  0

        2. Maximum – 1024

      4. Max Value Length –  Specify the maximum allowable length for JSON value. This is applicable only for the datatype "String".

        1. Minimum –  0

        2. Maximum –  8192

      5. Click Show Advanced Options to configure advanced settings.

      6. Max Number Value –  Specify the maximum allowable value for the JSON datatype "Number".

        1. Minimum –  1

        2. Maximum – 9999999999999999999

       

      Providing '0' as the Max Number Value will be considered as an infinite value.

       

      1. Max Object Depth – Specify the maximum allowable depth for nested JSON structure.

        1. Minimum – 0

        2. Maximum – 64

      2. Max Array Elements – Specify the maximum allowable number of elements in an array.

        1. Minimum – 0

        2. Maximum – 8192

      3. Max Siblings – Specify the maximum allowable number of elements in a single JSON object.

        1. Minimum – 0

        2. Maximum – 2048

      4. 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.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 32, "requestCorrelationId": "e45e447a7fc54b19887d83a74c96acbd"}