Queries a paginated list of notable security events.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeThreatEvent |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
The domain name to query. |
www.abc.com |
| StartTime |
integer |
Yes |
The start of the time range to query. The value is a UNIX timestamp in seconds. The time is in Coordinated Universal Time (UTC). |
1668496310000 |
| EndTime |
integer |
Yes |
The end of the time range to query. The value is a UNIX timestamp in seconds. The time is in UTC. |
1749916800000 |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 5. Valid values: 1 to 200. |
10 |
| InstanceId |
string |
Yes |
The ID of the Web Application Firewall (WAF) instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf_v2_public_cn-2bl4**** |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aeky65ka***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries returned. |
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 event. Valid values:
|
high |
| EndTime |
integer |
The time of the last attack. The value is a UNIX timestamp in seconds. The time is in UTC. |
1768406400000 |
| EventSrc |
string |
The source IP address of the attack. Note
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 block rate. |
100% |
| EventTag |
string |
The name of the event. Valid values:
|
Event_InternalLoginWeakPasswd |
| EventTarget |
string |
The protected object that is the target of the attack. Note
A security event may have multiple protected objects as targets. This operation returns only one of them. |
test.aliyundemo.com-waf |
Examples
Success response
JSON format
{
"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"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.