GetSensitiveData

Updated at:

Retrieves the latest sensitive data identification results for all DataWorks workspaces under 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 to return per page. Maximum value: 1000.

1000

PageNo

integer

Yes

The page number. Minimum value: 1.

1

Name

string

Yes

The condition settings for retrieving access records. Optional parameters:

  • dbType: The data type.

  • instanceName: The instance name.

  • databaseName: The database name.

  • projectName: The project name.

  • clusterName: The cluster name.

Example: Retrieve sensitive data access records for the abc database of the ABC instance in Hologres. Configure the parameters based on the engine used 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 returned sensitive data information, including totalCount (the total number of sensitive data entries) and sensDatas (the sensitive data list). The sensDatas list includes:

  • guid: The unique ID of the tenant metadata. For example, the GUID of ODPS data consists of project.table.column.

  • sensType: The sensitivity type.

  • sensLevel: The sensitivity level.

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

RequestId

string

The ID of the request.

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.