Queries the latest sensitive data in all the DataWorks workspaces of a tenant.
Try it now
Test
RAM authorization
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:
The sample value shows how to query the access records of sensitive data in the abc database of the Hologres instance ABC. Configure the parameters based on the compute engine that you use. |
[ {"dbType":"hologres","instanceName":"ABC","databaseName":"abc"}, {"dbType":"ODPS.ODPS","projectName":"adbc"} ] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| SensitiveData |
object |
The sensitive data returned, which includes totalCount and sensDatas. The sensDatas parameter includes the following fields:
|
|
| RequestId |
string |
The request ID. |
0000-ABCD-EFG**** |
Examples
Success response
JSON format
{
"SensitiveData": {
"sensDatas": [
{
"sensLevel": "L1",
"guid": "dsg_demo.animal.dog",
"sensType": "Name"
}
],
"totalCount": 2171
},
"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.