Checks whether input data contains sensitive data.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ScanSensitiveData

The operation that you want to perform.

Data String Yes 15132674821

The data that you want to check.

RegionId String Yes cn-shenzhen

The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint used to call the operation.

Response parameters

Parameter Type Example Description
RequestId String 0000-ABCD-EFG****

The ID of the request.

Sensitives Map { "sensDatas": [ { "hitCount": 1, "ruleName": "Phone number" } ] }

The result of the check.

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


Sample requests

&<Common request parameters>

Sample success responses

XML format

<Sensitives>{     "sensDatas": [       {         "hitCount": 1,         "ruleName": "Phone number"       }     ]   }</Sensitives>

JSON format

    "Sensitives": "{     \"sensDatas\": [       {         \"hitCount\": 1,         \"ruleName\": \"Phone number\"       }     ]   }",
    "RequestId": "0000-ABCD-EFG****"

Error codes

Http status code Error code Error message Description
403 Forbidden.Meta.NoTenant The user is not the owner of any tenants. The error message returned because the user is not the owner of a tenant.
500 InternalError.DQC.BizError An internal error occurred. The error message returned because an internal server error has occurred.

For a list of error codes, visit the API Error Center.