Call the ListSensitiveColumnsDetail to obtain the details about sensitive fields.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListSensitiveColumnsDetail |
The operation that you want to perform. Valid values: ListSensitiveColumnsDetail . |
ColumnName | String | Yes | test |
The name of the column. |
SchemaName | String | Yes | test |
The name of the database. |
TableName | String | Yes | test |
The name of the table. |
Tid | Long | Yes | 1 |
The ID of the tenant. Note The tenant ID is obtained by hovering over the avatar. For more information, see
Tenant ID and Tenant .
|
RegionId | String | No | cn-hangzhou |
The Region parameter. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrorCode | String | UnknownError |
The error code. |
ErrorMessage | String | UnknownError |
The returned message. |
RequestId | String | 7629888F-C9FB-4D16-A7D3-B443FE06FBD4 |
The ID of the request. |
SensitiveColumnsDetailList | Array of SensitiveColumnsDetail |
The details list of sensitive fields. |
|
SensitiveColumnsDetail | |||
ColumnDescription | String | test |
The description of the field. |
ColumnName | String | test |
The name of the column. |
ColumnType | String | varchar(32) |
The field type. |
DbId | Long | 124 |
The ID of the database. |
DbType | String | mysql |
The type of the storage instance of the DRDS database. |
EnvType | String | product |
Environment. |
Logic | Boolean | false |
Indicates whether the database is a logical database. |
SchemaName | String | test |
The name of the database. |
SearchName | String | test@xxx:3306 |
The database search name. |
TableName | String | test |
The name of the table. |
Success | Boolean | true |
Indicates whether the request was successful. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ListSensitiveColumnsDetail &<common request parameters>
Sample success responses
XML
format
<RequestId> 7629888F-C9FB-4D16-A7D3-B443FE06FBD4 </RequestId> <SensitiveColumnsDetailList> <SensitiveColumnsDetail> <TableName> king_info </TableName> <ColumnName> mobile </ColumnName> <ColumnType> varchar(64) </ColumnType> <SearchName> poc_prod@xxx.mysql.rds.aliyuncs.com:3306[xxx] </SearchName> <ColumnDescription> mobile </ColumnDescription> <DbId> 8511149 </DbId> <Logic> false </Logic> <SchemaName> poc_prod </SchemaName> <EnvType> product </EnvType> <DbType> mysql </DbType> </SensitiveColumnsDetail> </SensitiveColumnsDetailList> <Success> true </Success>
JSON
Format
{"RequestId": "7629888F-C9FB-4D16-A7D3-B443FE06FBD4", "SensitiveColumnsDetailList": { "SensitiveColumnsDetail": [ { "TableName": "king_info", "ColumnName": "mobile", "ColumnType": "varchar(64)", "SearchName": "poc_prod@xxx.mysql.rds.aliyuncs.com:3306[xxx]", "ColumnDescription": "mobile", "DbId": 8511149, "Logic": false, "SchemaName":" poc_prod", "EnvType": "product", "DbType": "mysql" } ] }, "Success": true}
Error code
Go to the Error Center For more information, see error codes.