Queries the log delivery status for protected objects.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResourceLogDeliveryStatus |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to query the ID of the WAF instance. |
waf_v3prepaid_public_cn-g6z3z***** |
| Resources |
string |
Yes |
The protected objects that you want to query. Separate multiple protected objects with commas (,). |
alb-wewbb23dfsetetcic1242-0****,test.waf.com-waf |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
| LogConfigs |
array<object> |
A list of log delivery configurations for the protected objects. |
|
|
object |
The log delivery configuration for the protected object. |
||
| Resource |
string |
The protected object. |
test.waf.com-waf |
| Status |
boolean |
The log delivery status for the protected object. Valid values:
|
true |
| DeliveryName |
string |
The name of the log delivery configuration. |
export-kafka |
| DeliveryType |
string |
The type of log delivery for the protected object. Valid values:
|
kafka |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0",
"LogConfigs": [
{
"Resource": "test.waf.com-waf",
"Status": true,
"DeliveryName": "export-kafka",
"DeliveryType": "kafka"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.