Mengkueri lima data deret waktu event keamanan teratas, yang diagregasi berdasarkan objek berbeda dan diurutkan dalam Pesanan menurun.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Metric |
string |
Yes |
Data deret waktu yang digunakan untuk statistik. Setiap data deret waktu sesuai dengan objek statistik yang berbeda. Nilai valid:
Valid values:
|
time |
| EventId |
string |
Yes |
ID event keamanan. |
0b7ab137a065aab7656986***11db |
| InstanceId |
string |
Yes |
ID Instans Web Application Firewall (WAF). Catatan
Panggil operasi DescribeInstance untuk mengkueri ID Instans WAF. |
waf_elasticity-cn-0xldbqt**** |
| RegionId |
string |
No |
Wilayah tempat Instans WAF berada. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TopMetrics |
array<object> |
The list of statistics. |
|
|
object |
The statistics. |
||
| Cnt |
integer |
The number of attacks. |
20 |
| Value |
string |
The attack value. The meaning of this parameter varies based on the value of Metric.
|
115.28.209.212 |
| Country |
string |
The country where the source IP address of the attack is located. Catatan
This parameter is returned only when Metric is set to src. |
CN |
| Region |
string |
The region where the source IP address of the attack is located. Catatan
This parameter is returned only when Metric is set to src. |
cn-hangzhou |
| RequestId |
string |
The ID of the request. |
12EF3845-CCEB-4B84-AE60-2B49B*****EE5 |
Contoh
Respons sukses
JSONformat
{
"TopMetrics": [
{
"Cnt": 20,
"Value": "115.28.209.212",
"Country": "CN",
"Region": "cn-hangzhou"
}
],
"RequestId": "12EF3845-CCEB-4B84-AE60-2B49B*****EE5"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.