Mengkueri daftar event keamanan penting yang dipaginasikan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeThreatEvent |
list |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
Nama domain yang dilindungi oleh WAF. Jika Anda tidak menentukan parameter ini, event keamanan untuk semua nama domain akan dikueri. |
www.abc.com |
| StartTime |
integer |
Yes |
Awal rentang pengatur waktu yang akan dikueri. Nilainya adalah Stempel waktu UNIX dalam milidetik. |
1668496310000 |
| EndTime |
integer |
Yes |
Akhir rentang pengatur waktu yang akan dikueri. Nilainya adalah Stempel waktu UNIX dalam milidetik. |
1749916800000 |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 5. Nilai valid: 1 hingga 200. |
10 |
| InstanceId |
string |
Yes |
ID instans Web Application Firewall (WAF). Catatan
Anda dapat memanggil operasi DescribeInstance untuk mengkueri ID instans WAF. |
waf_v2_public_cn-2bl4**** |
| RegionId |
string |
No |
Wilayah tempat instans WAF berada. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-aeky65ka***** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of security events that match the query conditions. |
10 |
| RequestId |
string |
The request ID. |
98106632-6865-5600-A834-3D909*** |
| ThreatEvents |
array<object> |
The list of notable security events. |
|
|
object |
The security event. |
||
| EventLevel |
string |
The severity level of the security event. Valid values:
|
high |
| EndTime |
integer |
The time when the last attack occurred. This value is a UNIX timestamp in milliseconds. |
1768406400000 |
| EventSrc |
string |
The source IP address of the attack. Catatan
A security event may have multiple source IP addresses. This operation returns only one of them. |
3.3.3.3 |
| EventId |
string |
The ID of the security event. |
f439994c8ab39f84eced33490f0c4388 |
| BlockRate |
string |
The percentage of attack requests that were blocked by WAF. |
100% |
| EventTag |
string |
The type of the security event. Valid values:
|
Event_InternalLoginWeakPasswd |
| EventTarget |
string |
The protected object that is the target of the attack. Catatan
A security event may have multiple protected objects as targets. This operation returns only one of them. |
test.aliyundemo.com-waf |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 10,
"RequestId": "98106632-6865-5600-A834-3D909***",
"ThreatEvents": [
{
"EventLevel": "high",
"EndTime": 1768406400000,
"EventSrc": "3.3.3.3",
"EventId": "f439994c8ab39f84eced33490f0c4388",
"BlockRate": "100%",
"EventTag": "Event_InternalLoginWeakPasswd",
"EventTarget": "test.aliyundemo.com-waf"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.