Queries security events detected by the basic API security scan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeFreeUserEvents |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstance operation to query the ID of the current WAF instance. |
waf_v3prepaid_public_cn-27a3**** |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| RequestId |
string |
The request ID. |
8A2DF88D-90C2-56E9-B8D5-36BB9646791C |
| Event |
array<object> |
The list of security events detected by the basic scan. |
|
|
object |
The information about a security event detected by the basic scan. |
||
| EventTag |
string |
The event type. Note
Call the DescribeApisecRules operation to obtain the supported event types. |
Event_DataTraverse |
| ApiFormat |
string |
The API. |
/api/login |
| Domain |
string |
The domain name to which the API belongs. |
www.***.cn |
| AttackIP |
string |
The attack IP address. |
104.234.140.** |
| AttackTime |
integer |
The time of the attack. This value is a UNIX timestamp. Unit: seconds. |
1683703260 |
| EventLevel |
string |
The event level. Valid values:
|
high |
Examples
Success response
JSON format
{
"RequestId": "8A2DF88D-90C2-56E9-B8D5-36BB9646791C",
"Event": [
{
"EventTag": "Event_DataTraverse",
"ApiFormat": "/api/login",
"Domain": "www.***.cn",
"AttackIP": "104.234.140.**",
"AttackTime": 1683703260,
"EventLevel": "high"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.