Mengkueri status pengiriman log untuk objek yang dilindungi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResourceLogDeliveryStatus |
list |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Web Application Firewall (WAF). Catatan
Panggil DescribeInstance untuk mengkueri ID instans WAF. |
waf_v3prepaid_public_cn-g6z3z***** |
| Resources |
string |
Yes |
Objek yang dilindungi yang ingin Anda kueri. Pisahkan beberapa objek yang dilindungi dengan koma (,). |
alb-wewbb23dfsetetcic1242-0****,test.waf.com-waf |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya tempat instans WAF berada. |
rg-acfm***q |
| RegionId |
string |
No |
Wilayah tempat instans WAF berada. Nilai valid:
|
cn-hangzhou |
Elemen respons
|
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 name of the protected object, such as a domain name or Application Load Balancer (ALB) instance. |
test.waf.com-waf |
| Status |
boolean |
Indicates whether log delivery is enabled 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 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0",
"LogConfigs": [
{
"Resource": "test.waf.com-waf",
"Status": true,
"DeliveryName": "export-kafka",
"DeliveryType": "kafka"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.