Queries the number of packets blocked by a specified security feature.

Note The maximum number of times that users can call this operation per second is 50.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDcdnUserSecDrop

The operation that you want to perform. Set the value to DescribeDcdnUserSecDrop.

Data String Yes 20201203

The date or month that you want to query.

  • If data is collected every day, set the date in the format of yyyymmdd, such as 20201203.
  • If data is collected every month, set the month in the format of yyyymm, such as 202012.
Metric String Yes 1day

The time interval at which data is collected.

  • If data is collected every day, the number of blocked packets on the specified day is calculated.
  • If data is collected every month, the number of blocked packets in the specified month is calculated.
SecFunc String Yes waf

The security feature. Valid values:

  • waf: WAF
  • tmd: rate limiting
  • robot: bot traffic recognition
  • l4_dm_drop: domain name blocking on Layer 4

Response parameters

Parameter Type Example Description
Drops Integer 233023208

The number of packets that are blocked.

Msg String Found

Indicates whether the information is found.

  • Found: yes
  • Not Found: no
RequestId String 4A1295C0-7A5C-4F27-8D70-C3A648E7037F

The ID of the request.

UuidStr String 1day10811******6429wafDCDN

The character string that is concatenated based on the request parameters and is used to locate causes when data is not found.

Examples

Sample requests

http://cdn.aliyuncs.com?Action=DescribeDcdnUserSecDrop
&SecFunc=waf
&Metric=1day
&Data=20201203
&<Common request parameters>

Sample success responses

XML format

<RequestId>4A1295C0-7A5C-4F27-8D70-C3A648E7037F</RequestId>
<Msg>Found</Msg>
<Drops>233023208</Drops>
<UuidStr>1day10811******6429wafDCDN</UuidStr>

JSON format

{
    "RequestId": "4A1295C0-7A5C-4F27-8D70-C3A648E7037F",
    "Msg": "Found",
    "Drops": 233023208,
    "UuidStr": "1day10811******6429wafDCDN"
}

Error codes

For a list of error codes, visit the API Error Center.