Queries the sensitive data detection results of data assets that Data Security Center (DSC) is authorized to access.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Default value: zh_cn. Valid values:
| zh_cn |
Name | string | No | The keyword that is used to search for data assets. Fuzzy search is supported. | test |
RiskLevels | string | No | The sensitivity level of the data asset. Separate multiple sensitivity levels with commas (,). Valid values:
| 2 |
RuleId | long | No | The unique ID of the sensitive data detection rule that the data assets to be queried hit. Note
If you query sensitive data detection results based on the sensitive data detection rule that the data assets hit, you can call the DescribeRules operation to query the ID of the sensitive data detection rule.
| 11122200 |
RangeId | integer | No | The type of the data asset that you want to query. Valid values:
| 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 20. | 20 |
CurrentPage | integer | No | The number of the page to return. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"CurrentPage": 1,
"RequestId": "71064826-726F-4ADA-B879-05D8055476FB",
"PageSize": 20,
"TotalCount": 1,
"Items": [
{
"Acl": "private",
"CreationTime": 1536751124000,
"DataType": "OSS_BUCKET",
"Owner": "dtdep-239-******",
"SensitiveRatio": "45%",
"Protection": false,
"Labelsec": true,
"TotalCount": 432,
"RiskLevelId": 2,
"RuleName": "\\*\\*\\* rule\n",
"Sensitive": true,
"ObjectKey": "Internal\n",
"RiskLevelName": "Medium sensitivity level\n",
"OdpsRiskLevelName": "S4",
"ProductId": "5",
"Name": "gxdata",
"SensitiveCount": 24,
"Id": "268",
"ProductCode": "RDS"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history