Querying the Sensitive Data in Databases
Function
This API is used to query sensitive data in databases in the asset catalog. You can filter the sensitive data statistics of a database by group label ID and type ID.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/metadata/catalog/column-details/database-dim
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
label_id |
No |
String |
Group label ID, which is used to filter the database dimension of a specific group. |
|
type_id |
No |
String |
Type ID, which is used to filter the database dimension of a specific type. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
results |
Array of DatabaseDim objects |
List of column label details by database. |
|
Parameter |
Type |
Description |
|---|---|---|
|
asset_name |
String |
Asset name. |
|
count |
Integer |
Matched items. |
|
db_name |
String |
Database name. |
|
db_type |
String |
Database type. |
|
tables |
Array of TableDim objects |
Table information list. |
|
Parameter |
Type |
Description |
|---|---|---|
|
columns |
Array of ColumnDim objects |
Column information list. |
|
count |
Integer |
Matched items. |
|
table_name |
String |
Table name. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Query result. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project does not exist. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot