Help Center/ Data Security Center/ API Reference/ API Description/ Asset Map/ Obtaining Assets of All Risk Levels from the Navigation Pane on the Left
Updated on 2026-01-13 GMT+08:00

Obtaining Assets of All Risk Levels from the Navigation Pane on the Left

Function

This API is used to obtain asset statistics of different risk levels on the asset map, which are displayed in the navigation pane on the left.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/data-map/risk-level-statistics

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which is used to identify a specific project.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

security_group_ids

No

Array of strings

Security group ID list, which is used to filter assets.

security_level_ids

No

Array of strings

Security level ID list, which is used to filter assets.

type

No

String

Asset type, which is used to filter assets.

limit

No

Integer

Maximum number of returned results.

offset

No

Integer

Offset of the returned result.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

data_level

Array of DataLevelInfo objects

Data level information array.

total

Integer

Total number of records.

Table 4 DataLevelInfo

Parameter

Type

Description

level_color_number

Integer

Data level color code.

level_id

String

Data level ID.

level_name

String

Data level name.

risk_list

Array of RiskListInfo objects

Risk list.

total

Integer

Total number of records.

Table 5 RiskListInfo

Parameter

Type

Description

detail_list

Array of CommonInfo objects

Detailed risk information list.

total

Integer

Total number of records.

type

String

Risk type.

Table 6 CommonInfo

Parameter

Type

Description

asset_name

String

Asset name.

asset_type

String

Asset type.

create_time

Long

Creation time.

id

String

Asset ID.

ins_type

String

Instance type.

is_authorized

Boolean

Whether it is authorized.

is_scaned

Boolean

Whether it is scanned.

scan_detail

ScanDetail object

Asset security scanning details.

security_strategy

SecurityStrategy object

Security policy information.

threat_analysis

ThreatAnalysis object

Threat analysis information.

vpc_id

String

VPC ID

Table 7 ScanDetail

Parameter

Type

Description

job_id

String

Scan task ID.

last_scan_time

Long

Last scan time.

object_num

Integer

Number of scanned objects.

scan_risk

String

Scan risk severity.

scan_template_id

String

Scan template ID.

scan_template_name

String

Scan template name.

security_level_color

Integer

Security level color.

security_level_id

String

Security level ID.

security_level_name

String

Security level name.

sensitive_object_num

Integer

Number of sensitive objects.

Table 8 SecurityStrategy

Parameter

Type

Description

ssl_enabled

String

SSL enabling status.

access_strategy

String

Access policy.

access_strategy_level

String

Access policy level.

authority_enable

Boolean

Enable permission.

authority_level

String

Permission level.

backup_and_restore

String

Backup and restoration policy.

backup_enable

Boolean

Enable backup.

backup_level

String

Backup level.

data_volume_encrypt_enable

Boolean

Enable data volume encryption.

data_volume_encrypt_level

String

Data volume encryption level.

dbss_audit_security_level

String

DBSS audit security level.

dbss_audit_status

Boolean

DBSS audit status.

disk_encrypted

String

Disk encryption status.

disk_encrypted_enable

Boolean

Enable disk encryption.

encrypt_level

String

Encryption level.

https_enable

Boolean

Enable HTTPS.

https_level

String

HTTPS level.

ik_enable

String

IK enabling status.

is_encrypt

Boolean

Encrypted or not.

obs_audit_level

String

OBS audit level.

obs_audit_status

Boolean

OBS audit status.

public_network_access

String

Public network access policy.

public_network_enable

Boolean

Enable public network access.

security_group_level

String

Security group level.

ssl_status

Boolean

SSL status.

total_risk

String

Overall risk severity level.

working_mode

String

Working mode.

working_type

String

Work type.

Table 9 ThreatAnalysis

Parameter

Type

Description

abnormal_login_level

String

Abnormal login severity.

risky_operation_level

String

High-risk operation level.

sql_inject_level

String

SQL injection level.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Request succeeded. The risk level statistics are returned.

401

Unauthorized access to the resource.

403

Access denied. Insufficient permissions.

404

The requested resource does not exist.

Error Codes

See Error Codes.