Mengkueri konfigurasi langganan log keamanan API.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeApisecLogDeliveries |
get |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Web Application Firewall (WAF). Catatan
Anda dapat memanggil operasi DescribeInstance untuk mengkueri ID instans WAF. |
waf_v3_public_cn-uqm2z****0a |
| RegionId |
string |
No |
Wilayah tempat instans WAF di-deploy. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
2EFCFE18-78F8-5079-B312-07***48B |
| DeliveryConfigs |
array<object> |
The configurations of API security log subscription. |
|
|
object |
The configurations. |
||
| AssertKey |
string |
The type of the log subscription. Valid values:
|
risk |
| Status |
boolean |
The status of API security log subscription. Valid values:
|
true |
| LogStoreName |
string |
The name of the Logstore in Simple Log Service. |
apisec-logstore*** |
| ProjectName |
string |
The name of the project in Simple Log Service. |
apisec-project-14316572******** |
| LogRegionId |
string |
The ID of the region where logs are stored. |
cn-hangzhou |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2EFCFE18-78F8-5079-B312-07***48B",
"DeliveryConfigs": [
{
"AssertKey": "risk",
"Status": true,
"LogStoreName": "apisec-logstore***\n",
"ProjectName": "apisec-project-14316572********",
"LogRegionId": "cn-hangzhou"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.