Help Center/ Data Security Center/ API Reference/ API Description/ Sensitive Data Identification/ Obtaining the Security Level List of Sensitive Data
Updated on 2025-07-09 GMT+08:00

Obtaining the Security Level List of Sensitive Data

Function

This API is used to obtain the security level list of sensitive data.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/scan-jobs/{job_id}/security-levels

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

job_id

Yes

String

Sensitive data identification task ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

offset

No

Integer

Page.

limit

No

Integer

Page size.

keyword

No

String

Keyword of a sensitive information object name.

asset_type

No

String

Resource type.

asset_id

No

String

Asset ID.

security_level_ids

No

Array of strings

An array of risk level IDs.

marker

No

Array of strings

Information about the previous/next batch.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

total

Integer

Total number of risks.

security_level_list

Array of ClassificationSecurityLevelInfo objects

List of risk statistics.

Table 4 ClassificationSecurityLevelInfo

Parameter

Type

Description

security_level_id

String

Risk level ID.

security_level_name

String

Risk level name.

security_level_color

Integer

Risk level color.

count

Integer

Number of risky objects.

percent

String

Percentage of a risk level in the statistics.

Status code: 400

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error Code

error_msg

String

Error Message

Example Requests

Obtain the security level list of sensitive data.

GET /v1/{project_id}/scan-jobs/{job_id}/security-levels

Example Responses

Status code: 200

Request sent.

{
  "security_level_list" : [ {
    "security_level_id" : "xxxxxxxxxxxx",
    "security_level_name" : "L4",
    "security_level_color" : 6,
    "count" : 2,
    "percent" : "0.2000"
  } ],
  "total" : 1
}

Status code: 400

Invalid request.

{
  "error_code" : "dsc.40000011",
  "error_msg" : "Invalid parameter"
}

Status Codes

Status Code

Description

200

Request sent.

400

Invalid request.

Error Codes

See Error Codes.