GetSensitiveData
Retrieves the latest sensitive data identification results for all DataWorks workspaces under a tenant.
Try it now
Test
RAM authorization
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:
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:
|
{ "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.