Queries user risk types and statistics related to API security in Web Application Firewall (WAF).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeUserAbnormalType |
get |
*All Resource
|
|
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 WAF instance. |
waf_v2_public_cn-g4***201 |
| ClusterId |
string |
No |
The ID of the hybrid cloud cluster. Note
This parameter applies only to hybrid cloud scenarios. Call the DescribeHybridCloudClusters operation to query the IDs of hybrid cloud clusters. |
993 |
| StartTime |
integer |
No |
The beginning of the time range to query. Specify the time as a UNIX timestamp in seconds. The time is in UTC. |
1723435200 |
| EndTime |
integer |
No |
The end of the time range to query. Specify the time as a UNIX timestamp in seconds. The time is in UTC. |
1726113600 |
| 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-ac***lani |
| UserStatusList |
array |
No |
The list of risk states for which to collect statistics. Note
By default, statistics are collected for risks in the toBeConfirmed, toBeFixed, toBeVerified, and notFixed states. |
|
|
string |
No |
The risk state for which to collect statistics. Valid values:
|
toBeConfirmed |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
3E1CB966-1407-5988-9432-7***D784 |
| Abnormal |
array<object> |
The risk types detected by API security and the number of risks for each type. |
|
|
object |
An object that contains the details of a risk type, including the risk code, category, and count. |
||
| AbnormalCode |
string |
The code that identifies the specific risk, such as |
Risk_InternalWeakPasswd |
| AbnormalParentType |
string |
The parent category of the risk, such as |
RiskType_Account |
| AbnormalType |
string |
The type of the risk detected by API security. Note
Call the DescribeApisecRules operation to query the supported risk types. |
Risk_InternalWeakPasswd |
| AbnormalCount |
integer |
The total number of risks detected for this risk type. |
10 |
Examples
Success response
JSON format
{
"RequestId": "3E1CB966-1407-5988-9432-7***D784",
"Abnormal": [
{
"AbnormalCode": "Risk_InternalWeakPasswd",
"AbnormalParentType": "RiskType_Account",
"AbnormalType": "Risk_InternalWeakPasswd",
"AbnormalCount": 10
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.