Querying Features Available in a Site
Function
This API is used to query features available for a certain site.
Debugging
You can use API Explorer to debug this API.
URI
GET /v1/{project_id}/waf/config/console
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
| Content-Type | Yes | String | Content type Default: application/json;charset=utf8 |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| eps | Boolean | Support for EPS |
| tls | Boolean | Support for TLS |
| ipv6 | Boolean | Support for IPv6 |
| alert | Boolean | Support for alarms |
| custom | Boolean | Support for precise protection |
| elb_mode | Boolean | Support for load-balancing WAF instances |
| event_lts | Boolean | Support for LTS for WAF logging |
| multi_dns | Boolean | Support for multi-DNS resolution |
| search_ip | Boolean | Support for searching for IP addresses |
| cc_enhance | Boolean | Support for CC attack protection enhancement |
| cname_switch | Boolean | Support for CNAME record switchover |
| custom_block | Boolean | Support for precise block |
| advanced_ignore | Boolean | Support for false alarm masking |
| js_crawler_enable | Boolean | Support for JavaScript anti-crawler |
| deep_decode_enable | Boolean | Support for in-depth parsing |
| overview_bandwidth | Boolean | Support for bandwidth statistics |
| proxy_use_oldcname | Boolean | Support for DNS resolution with the old CNAME record |
| check_all_headers_enable | Boolean | Support for inspection of all headers |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error code message |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error code message |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error code message |
Example Requests
None
Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Request failed. |
| 401 | The token does not have required permissions. |
| 500 | Internal server error. |
Error Codes
See Error Codes.
Last Article: Querying Features Available in a Site
Next Article: Managing Websites Protected by Cloud WAF
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.