GetSensitiveData

Updated at:

Queries the latest sensitive data identification results in all the DataWorks workspaces of a tenant.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PageSize

integer

Yes

The number of entries per page. Maximum value: 1000.

1000

PageNo

integer

Yes

The page number. Pages start from page 1.

1

Name

string

Yes

The parameters that you can configure to query the access records. Valid values:

  • dbType: Data type.

  • instanceName: Instance name.

  • databaseName: Database name.

  • projectName: Project name.

  • clusterName: Cluster name.

The sample value shows the parameters configured to query the access records of the sensitive data in the abc database of the Hologres instance ABC. You must configure the parameters based on the compute engine that you use in your business.

[ {"dbType":"hologres","instanceName":"ABC","databaseName":"abc"}, {"dbType":"ODPS.ODPS","projectName":"adbc"} ]

Response elements

Element

Type

Description

Example

object

Response parameters

SensitiveData

object

The information about the sensitive data returned. The information includes totalCount and sensDatas. sensDatas includes the following parameters:

  • guid: the ID of the metadata of the tenant. For example, the ID of the metadata in the MaxCompute compute engine is in the Project name.Table name.Column name format.

  • sensType: the type of the sensitive data.

  • sensLevel: the sensitivity level of the sensitive data

``` { "sensDatas": [ { "sensLevel": "L1", "guid": "dsg_demo.animal.dog", "sensType": "姓名" } ], "totalCount": 2171 } ```

RequestId

string

The request ID.

0000-ABCD-EFG****

Examples

Success response

JSON format

{
  "SensitiveData": {
    "test": "test",
    "test2": 1
  },
  "RequestId": "0000-ABCD-EFG****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 Invalid.Param The request parameter is invalid.
500 InternalError.DQC.BizError An internal error occurred.
403 Forbidden.NoTenant The tenant information cannot be obtained using user ID.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.