All Products
Search
Document Center

Dynamic Content Delivery Network:DescribeDcdnUserSecDrop

Last Updated:Apr 11, 2024

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

Operation description

Note You can call this operation up to 50 times per second per account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dcdn:DescribeDcdnUserSecDropRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DatastringYes

The date or month that you want to query.

  • If data is collected every day, set Data in the format of yyyymmdd, such as 20201203.
  • If data is collected every month, set Data in the format of yyyymm, such as 202012.
20201203
SecFuncstringYes

The security feature. Valid values:

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

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.
Enumeration Value:
  • 1day
  • 1month
1day

Response parameters

ParameterTypeDescriptionExample
object
Msgstring

Indicates whether the information is found.

  • Found
  • Not Found
Found
RequestIdstring

The ID of the request.

4A1295C0-7A5C-4F27-8D70-C3A648E7037F
Dropsinteger

The number of packets that are blocked.

233023208
UuidStrstring

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

1day10811******6429wafDCDN

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.