Mengkueri 10 ID aturan teratas yang paling sering dipicu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeRuleHitsTopRuleId |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartTimestamp |
string |
Yes |
Awal rentang pengatur waktu untuk dikueri. Nilai ini adalah Stempel waktu UNIX. Unit: detik. |
1665331200 |
| EndTimestamp |
string |
No |
Akhir rentang pengatur waktu untuk dikueri. Nilai ini adalah Stempel waktu UNIX. Unit: detik. Jika Anda tidak menentukan parameter ini, pengatur waktu saat ini akan digunakan. |
1665386280 |
| Resource |
string |
No |
Objek yang dilindungi. |
www.aliyundoc.com |
| RuleType |
string |
No |
Tipe aturan yang dipicu. Jika Anda tidak menentukan parameter ini, statistik untuk semua tipe aturan akan dikembalikan.
|
blacklist |
| InstanceId |
string |
Yes |
ID Instans Web Application Firewall (WAF). Catatan
Panggil operasi DescribeInstance untuk memperoleh ID Instans WAF. |
waf_cdnsdf3**** |
| IsGroupResource |
string |
No |
Apakah akan mengagregasi jumlah pemicuan aturan berdasarkan objek yang dilindungi.
|
true |
| RegionId |
string |
No |
Wilayah tempat Instans WAF berada. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-acfm***q |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
F6334274-8870-5D2F-A1AD-D6EF885AC1ED |
| RuleHitsTopRuleId |
array<object> |
The IDs of the top 10 rules that were hit most frequently. |
|
|
object |
The details of a rule that was hit. |
||
| RuleId |
string |
The ID of the rule. |
5465465 |
| Resource |
string |
The protected object. This parameter is returned only if IsGroupResource is set to false. |
www.aliyundoc.com |
| Count |
integer |
The number of times the rule was hit. |
181174784 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F6334274-8870-5D2F-A1AD-D6EF885AC1ED",
"RuleHitsTopRuleId": [
{
"RuleId": "5465465",
"Resource": "www.aliyundoc.com",
"Count": 181174784
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.