All Products
Search
Document Center

Backup and Disaster Recovery Center:DescribeTopRiskyResources

Last Updated:Mar 30, 2026

Lists the most threatened resources.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

bdrc:DescribeTopRiskyResources

none

*All Resource

*

None None

Request syntax

GET /api/v1/resources/top-risky HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ResourceType

string

No

The resource type.

ACS::ECS::Instance

ResourceCategoryId

string

No

The ID of the resource category.

rc-000***123

Response elements

Element

Type

Description

Example

object

BaseResponse<ListResult>

Data

object

The data returned in the response.

Content

array<object>

A list of resource objects.

object

ResourceArn

string

The Alibaba Cloud Resource Name (ARN) of the resource.

acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx

ProductType

string

The product type.

ecs

ResourceType

string

The resource type.

ACS::ECS::Instance

ResourceId

string

The resource ID.

i-xxxxxxxx

ResourceName

string

The resource name.

test-server

RegionId

string

The ID of the region.

cn-hangzhou

ZoneId

string

The ID of the zone.

cn-hangzhou-j

VpcId

string

The ID of the VPC.

vpc-xxxxxxxx

VSwitchId

string

The ID of the vSwitch.

vsw-xxxxxxxx

CreateTime

integer

The timestamp indicating when the resource was created.

1697798340

Status

string

The status of the resource.

Running

TotalDataSize

integer

The total data size, in bytes.

0

StandardDataSize

integer

The size of data in the Standard storage class, in bytes.

0

IaDataSize

integer

The size of data in the Infrequent Access (IA) storage class, in bytes.

0

ArchiveDataSize

integer

The size of data in the Archive storage class, in bytes.

0

ColdArchiveDataSize

integer

The size of data in the Cold Archive storage class, in bytes.

0

EnableCheck

boolean

Indicates whether the data protection score assessment is enabled.

true

ProtectionScore

integer

The data protection score of the resource.

90

ProtectionScoreUpdatedTime

integer

The timestamp when the protection score was last updated.

1726036498

RiskCount

integer

The number of identified risks.

0

CheckFailedCount

integer

The number of checks that failed.

0

StorageClass

string

The storage class of the data. For example, 'Standard'.

STANDARD

DataRedundancyType

string

The data redundancy type. For example, 'LRS' (locally redundant storage).

LRS

ResourceOwnerId

integer

The ID of the Alibaba Cloud account that owns the resource.

123***7890

NextToken

string

A pagination token. It can be used in the next request to retrieve a new page of results. If this parameter is not returned, it indicates that all results have been returned.

e557bc9a65fe22cb5e2a3b240f06b0de

MaxResults

integer

The maximum number of entries to return on each page.

10

TotalCount

integer

The total number of matching entries. This parameter is optional and might not be returned in the response.

10

RequestId

string

The request ID.

34081B20-C4C0-514F-93F6-8EEC3D1A587E

Examples

Success response

JSON format

{
  "Data": {
    "Content": [
      {
        "ResourceArn": "acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx",
        "ProductType": "ecs",
        "ResourceType": "ACS::ECS::Instance",
        "ResourceId": "i-xxxxxxxx",
        "ResourceName": "test-server",
        "RegionId": "cn-hangzhou",
        "ZoneId": "cn-hangzhou-j",
        "VpcId": "vpc-xxxxxxxx",
        "VSwitchId": "vsw-xxxxxxxx",
        "CreateTime": 1697798340,
        "Status": "Running",
        "TotalDataSize": 0,
        "StandardDataSize": 0,
        "IaDataSize": 0,
        "ArchiveDataSize": 0,
        "ColdArchiveDataSize": 0,
        "EnableCheck": true,
        "ProtectionScore": 90,
        "ProtectionScoreUpdatedTime": 1726036498,
        "RiskCount": 0,
        "CheckFailedCount": 0,
        "StorageClass": "STANDARD",
        "DataRedundancyType": "LRS",
        "ResourceOwnerId": 0
      }
    ],
    "NextToken": "e557bc9a65fe22cb5e2a3b240f06b0de",
    "MaxResults": 10,
    "TotalCount": 10
  },
  "RequestId": "34081B20-C4C0-514F-93F6-8EEC3D1A587E"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.