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.
  • 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
  • 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
    • REST API Version 1 (v1)
      • Advanced Security and Clickjacking Protection
      • Allow/Deny Rules
      • Certificates
      • Clustering
      • Content Rule
      • Custom Parameter Class and Custom Attack Types
      • Logs
      • Rule Group Server
      • Security Policy
      • Server
      • Service Group
      • Status Codes and Error Responses
      • Trusted Hosts
      • Virtual Service
      • Vsites
      • Website Profiles
    • REST API Version 3 (v3)
    • How to Generate API Calls
    • File-Based Configuration Management for Barracuda Web Application Firewall
    • Using Postman for Barracuda Web Application Firewall APIs
    • How to Enable Dual-Factor Authentication for the Barracuda Web Application Firewall Web Interface Access
    • REST API to Manage Multi-IP on Azure and AWS Cloud Deployments
  • 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.
    /
    Website Profiles
    Published Mar 24

    Website Profiles

    Mar 24, 2026
    Subscribe

    The learned structure of an application is called a profile of the website. Website profiles are made up of profiles for URLs and profiles for parameters of those URLs. A URL profile lists allowed fields like HTTP methods, names and types of each parameter, query strings, length based restrictions, etc. A Parameter profile defines the allowed format for each parameter using either a negative or positive security model and includes length restrictions.

    Website Profiles allow you to create specific rules to fine tune the security settings of a Service. They do not modify the default security policy settings, but fine tune security settings specific to a Service. For more information, see Configuring Website Profiles.

    The following diagram shows the location of enforcement of Website Profiles in the Request/Response evaluation flow:

    04 - Stage 2 with Positive Security.jpg

     

    For more information on the complete evaluation flow for requests and responses, refer to Evaluation Policy and Flow.

    To Update a Website Profile

    URL: /v1/virtual_services/{virtual_service_id}

    Method: PUT

    Description: Updates the values of given parameters in the given website profile.

    Parameter Name

    Data Type

    Mandatory

    Description

    Input Parameters:

     

     

     

    use_profile

    String

    Optional

    Specifies whether or not to validate the incoming requests against the URL profiles and parameter profiles. The values include:

    • yes

    • no

    strict_profile_check

    String

    Optional

    Specifies whether or not to enforce strict profile checks for the requests coming for the specified service. The values include:

    • yes

    • no

    mode

    Enumeration

    Optional

    Specifies the mode of the website profile for the specified service. The enumerated values include:

    • active - allows or blocks the requests coming to the web application by validating against the URL profiles.

    • passive - validates the requests against the URL profiles and logs the request errors.

    • learning - starts learning the selected web application.

    allowed_domains

    Alphanumeric

    Optional

    Specify the domain or IP address of the Service whose requests/responses should be validated against the URL and parameter profiles. 

    exclude_url_patterns

    Alphanumeric

    Optional

    Specify the URL patterns to be excluded in the URL profile validations.

    include_url_patterns

    Alphanumeric

    Optional

    Specify the URL patterns to be included in the URL profile validations in spite of being listed in the exclude_url_patterns parameter.

    Example: Updating a Website Profile

    Request:

    curl http://10.11.26.132:8000/restapi/v1/virtual_services/service_4 -u 'eyJldCI6IjI2NTk5MzYzMDUiLCJwYXNzd29yZCI6IjBjMjZlNjRiNTFhYTUxMWE0YzhhN2ZkNzQy\nMTllZTg5IiwidXNlciI6ImFkbWluIn0=\n:' -X PUT -H Content-Type:application/json -d '{"website_profiles":{"use_profile":"yes","strict_profile_check":"no","mode":"passive","allowed_domains":["*","www.abc.com","99.99.1.119"],"exclude_url_patterns":["*.jpg","*.txt"],"include_url_patterns":["*.jpeg"]}}'

    Response:

    {"id":"service_4","token":"eyJldCI6IjI2NTk5MzYzMDUiLCJwYXNzd29yZCI6IjBjMjZlNjRiNTFhYTUxMWE0YzhhN2ZkNzQy\nMTllZTg5IiwidXNlciI6ImFkbWluIn0=\n"}

    To Create a URL Profile

    URL: /v1/virtual_services/{virtual_service_id}/url_profiles

    Method: POST


    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": 10, "requestCorrelationId": "61aa05ad605d49beb6ec1a3d7ba48253"}