Queries the attack trend of API security.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeUserEventTrend |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID of the WAF instance. Note
You can call the DescribeInstance operation to query instance ID of the WAF instance. |
waf-cn-7mz2797x*** |
| ClusterId |
string |
No |
The ID of the hybrid cloud cluster. Note
This parameter applies only to hybrid cloud scenarios. You can call the DescribeHybridCloudClusters operation to obtain hybrid cloud cluster information. |
428 |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-aekzwwk****cv5i |
| EventScope |
string |
No |
The dimension of security events. Valid values:
|
ip |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
F51E6DD6-B2D2-57C9-90F1-FAFD0A19DE00 |
| Trend |
array<object> |
The attack trend list. |
|
|
object |
The attack details. |
||
| EventHigh |
integer |
The number of high-risk events. |
9 |
| EventLow |
integer |
The number of low-risk events. |
23 |
| EventMedium |
integer |
The number of medium-risk events. |
17 |
| Timestamp |
integer |
The statistics time in UNIX timestamp format (UTC). Unit: seconds. |
1723435200 |
TimeStamp
deprecated
|
integer |
The statistics time in UNIX timestamp format (UTC). Unit: seconds. Important This parameter is deprecated. Use the Timestamp parameter instead. |
1723435200 |
Examples
Success response
JSON format
{
"RequestId": "F51E6DD6-B2D2-57C9-90F1-FAFD0A19DE00",
"Trend": [
{
"EventHigh": 9,
"EventLow": 23,
"EventMedium": 17,
"Timestamp": 1723435200,
"TimeStamp": 1723435200
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.