All Products
Search
Document Center

DataWorks:ScanSensitiveData

Last Updated:Oct 17, 2024

Checks whether input data contains sensitive data.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DatastringYes

The data that you want to check.

13900001234

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

Sensitivesobject

The check result. sensDatas indicates the rules that are used to check the sensitive data. sensDatas includes the following parameters:

  • hitCount: the number of times that the sensitive data hits the rule.
  • ruleName: the name of the rule.
RequestIdstring

The request ID.

0000-ABCD-EFG****

Examples

Sample success responses

JSONformat

{
  "Sensitives": {
    "test": "test",
    "test2": 1
  },
  "RequestId": "0000-ABCD-EFG****"
}

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.Meta.NoTenantThe user is not the owner of any tenants.The user is not the owner of any tenants.
500InternalError.DQC.BizErrorAn internal error occurred.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history