Querying Web Protection Policy Configuration
Function
This API is used to query web protection policy configurations.
Calling Method
For details, see Calling APIs.
URI
GET /v2/aad/policies/waf
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
domain_name |
Yes |
String |
Domain name |
|
overseas_type |
Yes |
Integer |
Protection region. 0: regions in the Chinese mainland. 1: regions outside the Chinese mainland. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
token |
|
Content-Type |
Yes |
String |
Content-Type |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
domain_name |
String |
Domain name (including the port). |
|
overseas_type |
Integer |
0: the Chinese mainland. 1: outside the Chinese mainland |
|
options |
WafPolicyOptions object |
Protection settings. You can set the fields you want to modify. |
|
level |
Integer |
Intelligent CC attack protection level. 0: loose. 1: normal. 2: tight. |
|
mode |
Integer |
Intelligent CC attack protection mode. 0: warning. 1: protection. |
|
Parameter |
Type |
Description |
|---|---|---|
|
cc |
Boolean |
Whether to enable CC attack protection (frequency control). |
|
custom |
Boolean |
Whether to enable precise access protection. |
|
geoip |
Boolean |
Whether to enable geolocation access control. |
|
whiteblackip |
Boolean |
Whether to enable blacklist and whitelist protection. |
|
modulex_enabled |
Boolean |
Whether to enable intelligent CC attack protection. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot