Queries the records that are generated on a specified date for access to sensitive data in all the DataWorks workspaces of a tenant.
Debugging
Authorization information
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Name | string | Yes | The parameters that you can configure to query the access records. Valid values:
The following example shows the parameters configured to query the access records of the sensitive data in the abc database of the Hologres instance ABC: [ {"dbType":"hologres","instanceName":"ABC","databaseName":"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"} ] |
| PageSize | integer | Yes | The number of entries per page. Minimum value: 1. Maximum value: 1000. | 1 |
| PageNo | integer | Yes | The page number. Valid values: 1 to 1000. | 100 |
| Date | string | Yes | The date on which access records were generated. Specify the value in the yyyyMMdd format. | 20210116 |
| OpType | string | No | The operation that is performed on the data. Valid values:
| SQL_SELECT |
Response parameters
Examples
Sample success responses
JSONformat
{
"OpSensitiveData": "\"opSensDatas\": [ { \"sensLevel\": \"L4\", \"opTime\": \"2021-02-07 00:14:51\", \"opAccount\": \"ALIYUN$dsg_test\", \"sensType\": \"Mobile phone number\", \"sql\": \"select * from dsg_demo.tbl_phonebook where phone_no = '1331111****';\" } ], \"totalCount\": 6",
"RequestId": "0000-ABCD-EFG****"
}Error codes
| HTTP status code | Error code | Error message |
|---|---|---|
| 400 | Invalid.Param | The request parameter is invalid. |
| 403 | Forbidden.NoTenant | The tenant information cannot be obtained using user ID. |
| 500 | InternalError.DQC.BizError | An internal error occurred. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
