Queries the details about the security credit score of the current Alibaba Cloud account in a specific region.

Usage notes

You can call the DescribeDdosCredit operation to query the details about the security credit score of the current Alibaba Cloud account in a specific region. The details include the security credit score, security credit level, and the time period after which blackhole filtering is automatically deactivated.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

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 DescribeDdosCredit

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

DdosRegionId String Yes cn-hangzhou

The ID of the region to query.

Note You can call the DescribeRegions operation to query the most recent region list.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
Success Boolean true

Indicates whether the request is successful. Valid values:

  • true: indicates that the request is successful.
  • false: indicates that the request fails.
RequestId String E1F7BD73-8E9D-58D9-8658-CFC97112C641

The ID of the request.

DdosCredit Object

The details of the security credit score of the current Alibaba Cloud account in the specified region.

Score Integer 550

The security credit score. The full score is 1000.

ScoreLevel String D

The security credit level. Valid values:

  • A: outstanding
  • B: excellent
  • C: good
  • D: average
  • E: poor
  • F: poorer
BlackholeTime Integer 150

The time period after which blackhole filtering is automatically deactivated in the specified region. Unit: minutes.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeDdosCredit
&DdosRegionId=cn-hangzhou
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeDdosCreditResponse>
    <Success>true</Success>
    <RequestId>E1F7BD73-8E9D-58D9-8658-CFC97112C641</RequestId>
    <DdosCredit>
        <Score>550</Score>
        <ScoreLevel>D</ScoreLevel>
        <BlackholeTime>150</BlackholeTime>
    </DdosCredit>
</DescribeDdosCreditResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Success" : true,
  "RequestId" : "E1F7BD73-8E9D-58D9-8658-CFC97112C641",
  "DdosCredit" : {
    "Score" : 550,
    "ScoreLevel" : "D",
    "BlackholeTime" : 150
  }
}

Error codes

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