Get Virtual Service Waf Config

Get Virtual Service Waf Config

Retrieves WAF configuration for a Virtual Service.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices/{virtualServiceId}/waf
COPY
Path Parameters
string
virtualServiceId
Required

virtualServiceId

string
virtualServiceId
Required

virtualServiceId


Authentication
This operation uses the following authentication methods.
Responses
200
Returns EdgeVirtualServiceWafConfig of type(s) application/json;version=39.0
{
    "active": false,
    "mode": "string"
}
boolean
active
Optional

Whether the WAF is active or not. Defaults to false. WAF requires Edge Gateway Load Balancer with PREMIUM feature set.

string As ^(?!\s+$).+
mode
Optional

Mode of the WAF. Supported values are:

  • DETECTION - A log entry is created when the request is flagged based on the specified rules.
  • ENFORCEMENT - It will be blocked when the request is flagged based on the specified rules.
Defaults to DETECTION.