All Products
Search
Document Center

Data Security Center:DescribeRiskLevels

Last Updated:Oct 17, 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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sddp:DescribeRiskLevelsget
  • All Resources
    *
    none
none

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.

RiskLevelobject
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