All Products
Search
Document Center

Data Security Center:DescribeRiskLevels

Last Updated:Jul 02, 2024

Queries the sensitivity levels that are defined in a rule template provided by Data Security Center (DSC).

Operation description

You can call this operation to query the sensitivity levels that are defined in the current rule template provided by DSC. This helps you learn about the number of times that each sensitivity level is referenced in the rule template and the highest sensitivity level.

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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the request and response. Valid values:

  • zh_cn: Chinese (default)
  • en_us: English
zh_cn
TemplateIdlongNo

The ID of the industry-specific rule template.

1
FeatureTypeintegerNo

This parameter is deprecated.

2

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

136082B3-B21F-5E9D-B68E-991FFD205D24
RiskLevelListarray<object>

An array that consists of sensitivity levels.

object
Namestring

The name of the sensitivity level. The highest sensitivity level varies based on rule templates. The highest sensitivity level is S10. The highest sensitivity level of the Built-in data security classification templates for Alibaba and Ant Group is S4, and that of the built-in classification templates for financial data and built-in classification templates for assets is S5. For more information about the built-in classification templates for financial data, see Guidelines for Security Classification of Financial Data and Security Data - JRT 0197-2020. For a copied rule template, the highest sensitivity level is S10. The following list describes the sensitivity level names and the corresponding IDs:

  • NA: 1
  • S1: 2
  • S2: 3
  • S3: 4
  • S4: 5
  • S5: 6
  • S6: 7
  • S7: 8
  • S8: 9
  • S9: 10
  • S10: 11
S1
Descriptionstring

The description of the sensitivity level. You can enter a custom description.

The following list describes the sensitivity level names and the corresponding default description:

  • NA: which indicates that no sensitive data is detected.
  • S1: which indicates the sensitive data at sensitivity level 1.
  • S2: which indicates the sensitive data at sensitivity level 2.
  • S3: which indicates the sensitive data at sensitivity level 3.
  • S4: which indicates the sensitive data at sensitivity level 4.
  • S5: which indicates the sensitive data at sensitivity level 5.
  • S6: which indicates the sensitive data at sensitivity level 6.
  • S7: which indicates the sensitive data at sensitivity level 7.
  • S8: which indicates the sensitive data at sensitivity level 8.
  • S9: which indicates the sensitive data at sensitivity level 9.
  • S10: which indicates the sensitive data at sensitivity level 10.
Sensitive data at sensitivity level 1
Idlong

The unique ID of the sensitivity level. Valid values: 1 to 11. Each sensitivity level ID maps a sensitivity level. For example, the sensitivity level ID of 2 corresponds to the sensitivity level S1.

For more information, see the description of the Name parameter.

2
ReferenceNuminteger

The number of times that each sensitivity level is referenced in the rule template. Default value: 0.

20

Examples

Sample success responses

JSONformat

{
  "RequestId": "136082B3-B21F-5E9D-B68E-991FFD205D24",
  "RiskLevelList": [
    {
      "Name": "S1",
      "Description": "Sensitive data at sensitivity level 1\n",
      "Id": 2,
      "ReferenceNum": 20
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-25The request parameters of the API has changedView Change Details