Queries the log status of protected objects.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResourceLogStatus |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf-cn-zz11zcl**** |
| Resources |
string |
Yes |
The protected objects to query. Separate multiple protected objects with commas (,). |
alb-wewbb23dfsetetcic1242-0****,alb-wewbb23dfsetetcic1242-1**** |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The Alibaba Cloud resource group ID. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| RequestId |
string |
The request ID. |
0DABF8AB-2321-5F8D-A8D7-922D757FBFFE |
| Result |
array<object> |
The returned result. |
|
|
array<object> |
The log status information of the protected object. |
||
| Status |
boolean |
The log enabling status of the protected object. Valid values:
|
true |
| Resource |
string |
The queried protected object. |
alb-wewbb23dfsetetcic**** |
| TraceStatus |
boolean |
The Tracing Analysis status. Valid values:
|
true |
| TraceConfig |
object |
The Tracing Analysis configuration. |
|
| Workspace |
string |
cms-test |
|
| RatePerMille |
integer |
90 |
Examples
Success response
JSON format
{
"RequestId": "0DABF8AB-2321-5F8D-A8D7-922D757FBFFE",
"Result": [
{
"Status": true,
"Resource": "alb-wewbb23dfsetetcic****",
"TraceStatus": true,
"TraceConfig": {
"Workspace": "cms-test",
"RatePerMille": 90
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.