Lists the most threatened resources.
Try it now
Test
RAM authorization
|
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.