Queries the column detection results of a data table.
Operation description
Before you begin
The DescribeDataObjectColumnDetail operation has been revised to DescribeDataObjectColumnDetailV2. Use the newer version DescribeDataObjectColumnDetailV2 when developing applications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDataObjectColumnDetail |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
| PageSize |
integer |
No |
The maximum number of data asset instances to display on each page in a paged query. Settings this parameter for paging. Default value: 10. |
10 |
| CurrentPage |
integer |
No |
The page number of the current page in a paged query. Settings this parameter for paging. Default value: 1. |
1 |
| ProductId |
integer |
No |
The ID of the product to which the data object belongs. Valid values:
|
5 |
| Id |
integer |
No |
The unique ID of the data object to query. Note
You can call DescribeDataObjects to obtain the ID. |
318248 |
| TemplateId |
integer |
No |
The industry template ID. Note
You can call DescribeDataObjects to obtain the industry template ID. |
1 |
| FeatureType |
integer |
No |
This parameter is deprecated. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number of the current page in a paged query. Settings this parameter for paging. Default value: 1. |
1 |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
8C8036CC-961D-514E-88E8-3088B5A50CA9 |
| PageSize |
integer |
The maximum number of data asset instances to display on each page in a paged query. Settings this parameter for paging. Default value: 10. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
61 |
| Items |
array<object> |
The list of column detection results of the data table. |
|
|
array<object> |
The column detection result object of the data table. |
||
| ColumnName |
string |
The column name. |
hide14 |
| DataType |
string |
The data type of the column. |
varchar |
| ColumnComment |
string |
The comment of the column. |
column comment |
| PrimaryKey |
boolean |
Indicates whether the column is a primary key. Valid values:
|
true |
| Id |
string |
The unique ID of the column object. |
1509415150052786176 |
| RiskLevelId |
integer |
The risk level ID. Valid values:
|
2 |
| RiskLevelName |
string |
The risk level name. Valid values:
|
S1 |
| RuleId |
integer |
The ID of the sensitive data detection rule that is hit. |
1004 |
| RuleName |
string |
The name of the sensitive data detection rule that is hit. |
name |
| Categories |
array |
The list of industry categories to which the sensitive data belongs. |
|
|
string |
The industry category to which the sensitive data belongs. Multiple categories are separated by commas. |
general sensitive information |
|
| ModelTags |
array<object> |
The list of data tags. |
|
|
object |
The data tag object. |
||
| Id |
integer |
The ID of the data label. Valid values:
|
101 |
| Name |
string |
The name of the data label. Valid values:
|
personal sensitive information |
| EngineType |
string |
The engine type. Valid values:
|
MySQL |
| MaskingStatus |
integer |
The encryption status of the column. Valid values:
|
-1 |
| InstanceName |
string |
The instance name of the data asset table. |
rm-1234 |
| TableName |
string |
The table name. |
it_table |
| RegionId |
string |
The region where the asset resides. |
cn-hangzhou |
| ProductId |
integer |
The ID of the product to which the data object belongs. Valid values:
|
5 |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "8C8036CC-961D-514E-88E8-3088B5A50CA9",
"PageSize": 10,
"TotalCount": 61,
"Items": [
{
"ColumnName": "hide14",
"DataType": "varchar",
"ColumnComment": "column comment",
"PrimaryKey": true,
"Id": "1509415150052786176",
"RiskLevelId": 2,
"RiskLevelName": "S1",
"RuleId": 1004,
"RuleName": "name",
"Categories": [
"general sensitive information"
],
"ModelTags": [
{
"Id": 101,
"Name": "personal sensitive information"
}
],
"EngineType": "MySQL",
"MaskingStatus": -1,
"InstanceName": "rm-1234",
"TableName": "it_table",
"RegionId": "cn-hangzhou",
"ProductId": 5
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.