Checks whether input data contains sensitive data.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
| Action | String | Yes | ScanSensitiveData | The operation that you want to perform. Set the value to ScanSensitiveData. |
| Data | String | Yes | 13900001234 | 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 determines the value of this parameter based on the endpoint that is used to call the operation. |
Response parameters
| Parameter | Type | Example | Description |
| Sensitives | Map | The result of the check. sensDatas indicates the rules that are used to check the sensitive data. sensDatas includes the following parameters:
| |
| RequestId | String | 0000-ABCD-EFG**** | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ScanSensitiveData
&Data=13900001234
&<Common request parameters>Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<ScanSensitiveDataResponse>
<RequestId>0000-ABCD-EFG****</RequestId>
</ScanSensitiveDataResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "0000-ABCD-EFG****"
}Error codes
| HttpCode | Error code | Error message | Description |
| 500 | InternalError.DQC.BizError | An internal error occurred. | An internal server error occurred. |
| 403 | Forbidden.Meta.NoTenant | The user is not the owner of any tenants. | The current user is not a tenant owner. |
For a list of error codes, see Service error codes.