We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Web Application Firewall

Importing OpenAPI Specifications

  • Last updated on

The Barracuda Web Application Firewall supports API Discovery for APIs that are built with the OpenAPI specification. You can  import new OpenAPI specification file or associate an existing specification file to a service. The OpenAPI schema in JSON/YAML for specification versions 2.0, 3.0, and 3.0.1 are supported for API Discovery. 

The OpenAPI specification is a widely adopted standard for documenting APIs. They are easy to understand and enable users to secure their endpoints with ease while using the Barracuda Web Application Firewall. The OpenAPI Schema is represented through YAML or JSON files that are easy to read.

If the APIs are defined in an OpenAPI Specification file, you can easily import them to Barracuda Web Application Firewall.

Perform the following steps:

  1. Navigate to WEBSITES > JSON Security and then click Import API Spec.
  2. Click Browse, select the JSON/YAML OpenAPI specification file that you want to upload, and then click Next.
  3. Specify values for the following fields:
    1. Service - Name of the service. The value appears by default. Click the drop-down list and select the service if you want to change.
    2. API Specs to be used - The specification file that should be used. The user can import or use the existing specification file.
      • Import new Spec file - imports a new specification file.
      • Associate existing Spec file - associates an existing specification file to a service. Swagger, Open API, and Google API files are supported.
    3. API Spec Name - Name for the configuration.
    4. API Specs to be used - This field is enabled only when the Associate existing Spec file option is selected. It lists all the existing specification files available for associating to a service.
    5. Click Next. The values in all the fields appears by default. However, you can alter the brute force values for endpoints by clicking the down arrow.
    6. Click Next. Change the default values if needed.
    7. Click Next. The Configure Authentication and Authorization page appears. Select the authentication service that you want to apply to the configuration.
    8. Click Preview to preview the configuration before applying. Click Apply to apply the schema through RESTful API.
  4. Select the API endpoints that you want to configure, and then select Next.
  5. Specify the required advanced configuration values, and then click Apply. The configured configuration is applied through the RESTful API.
  6. Click Preview if you want to preview the configuration before applying.
Last updated on