Queries the records that are generated on a specified date for access to the high-risk sensitive data in all the DataWorks workspaces of a tenant.
Debugging
Authorization information
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| PageSize | integer | Yes | The number of entries per page. Maximum value: 1000. | 100 |
| PageNo | integer | Yes | The page number. Pages start from 1. | 1 |
| Name | string | No | 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"} ] |
| Date | string | Yes | The date on which access records were generated. Specify the value in the yyyyMMdd format. | 20210221 |
| RiskType | string | No | The method that you use to identify risks.
| Manual identification |
Response parameters
Examples
Sample success responses
JSONformat
{
"RiskData": {
"opRiskDatas": [
{
"riskType": "Hierarchical dimension, EMR engine dimension and project dimension, EMR engine project dimension operation data, export method dimension, EMR engine",
"opTime": "2021-01-04 23:39:13",
"opType": "SQL_SELECT",
"opAccount": "user",
"sensType": "Email/name/mobile phone number",
"sql": "SELECT * FROM default.jiade_1219_test_create LIMIT 20"
}
],
"totalCount": 499
},
"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 |
|---|
