Queries the status, region ID, and status modification time of Web Application Firewall (WAF) logs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeUserWafLogStatus |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to view the current WAF instance ID. |
waf_v3prepaid_public_cn-nwy34****0j |
| RegionId |
string |
No |
The region in which the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is used to locate and troubleshoot issues. |
D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
| LogStatus |
string |
The status of WAF logs.
|
normal |
| LogRegionId |
string |
The ID of the region where logs are stored. Valid values:
Note
The Finance Cloud regions are available only to Finance Cloud users, and Finance Cloud users can obtain only these regions. |
cn-hangzhou |
| StatusUpdateTime |
integer |
The time when the log status was modified. Unit: milliseconds. |
1706771796859 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0",
"LogStatus": "normal",
"LogRegionId": "cn-hangzhou",
"StatusUpdateTime": 1706771796859
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.