All Products
Search
Document Center

Data Management:ListSensitiveColumnsDetail

Last Updated:Oct 21, 2024

Queries the details of a sensitive field.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TidlongNo

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

3***
SchemaNamestringYes

The name of the database. You can call the ListSensitiveColumns operation to obtain the name of the database.

Note
  • You can also call the ListDatabases or SearchDatabase operation to obtain the name of a physical database.
  • You can also call the ListLogicDatabases or SearchDatabase operation to obtain the name of a logical database.
  • SchemaName_test
    TableNamestringYes

    The name of the table. You can call the ListSensitiveColumns operation to obtain the name of the table.

    Note You can also call the ListTables operation to obtain the name of the table.
    test
    ColumnNamestringYes

    The name of the field. You can call the ListSensitiveColumns operation to obtain the name of the field.

    Note You can also call the ListColumns operation to obtain the name of the field.
    ColumnName_test
    DbIdlongNo

    The ID of the database. The database can be a physical database or a logical database.

    1860****
    LogicbooleanNo

    Specifies whether the database is a logical database. Valid values:

    • true: The database is a logical database.
    • false: The database is a physical database.
    false

    Response parameters

    ParameterTypeDescriptionExample
    object
    RequestIdstring

    The ID of the request.

    7629888F-C9FB-4D16-A7D3-B443FE06FBD4
    SensitiveColumnsDetailListarray<object>

    The details of the sensitive field.

    SensitiveColumnsDetailobject
    DbIdlong

    The ID of the database.

    1860****
    ColumnNamestring

    The name of the field.

    ColumnName_test
    ColumnDescriptionstring

    The description of the field.

    test
    TableNamestring

    The name of the table.

    test
    DbTypestring

    The type of the database.

    mysql
    ColumnTypestring

    The data type of the field.

    varchar(32)
    Logicboolean

    Indicates whether the database is a logical database. Valid values:

    • true: The database is a logical database.
    • false: The database is not a logical database.
    false
    SchemaNamestring

    The name of the database.

    SchemaName_test
    SearchNamestring

    The name that is used to search for the database.

    test@xxx:3306
    EnvTypestring

    The type of the environment to which the database belongs.

    product
    ErrorCodestring

    The error code returned.

    UnknownError
    ErrorMessagestring

    The error message returned.

    UnknownError
    Successboolean

    Indicates whether the request was successful. Valid values:

    • true: The request was successful.
    • false: The request failed.
    true

    Examples

    Sample success responses

    JSONformat

    {
      "RequestId": "7629888F-C9FB-4D16-A7D3-B443FE06FBD4",
      "SensitiveColumnsDetailList": {
        "SensitiveColumnsDetail": [
          {
            "DbId": 0,
            "ColumnName": "ColumnName_test",
            "ColumnDescription": "test",
            "TableName": "test",
            "DbType": "mysql",
            "ColumnType": "varchar(32)",
            "Logic": false,
            "SchemaName": "SchemaName_test",
            "SearchName": "test@xxx:3306",
            "EnvType": "product"
          }
        ]
      },
      "ErrorCode": "UnknownError",
      "ErrorMessage": "UnknownError",
      "Success": true
    }

    Error codes

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

    Change history

    Change timeSummary of changesOperation
    No change history