ScanSensitiveData

Updated at:

Checks whether input data contains sensitive data.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Data

string

Yes

The data that you want to check.

13900001234

Response elements

Element

Type

Description

Example

object

The data returned.

Sensitives

object

The check result. sensDatas indicates the rules matched by the identified 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.

``` { "sensDatas": [ { "hitCount": 1, "ruleName": "手机号" } ] } ```

RequestId

string

The request ID.

0000-ABCD-EFG****

Examples

Success response

JSON format

{
  "Sensitives": {
    "sensDatas": [
      {
        "hitCount": 1,
        "ruleName": "手机号"
      }
    ]
  },
  "RequestId": "0000-ABCD-EFG****"
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError.DQC.BizError An internal error occurred.
403 Forbidden.Meta.NoTenant The user is not the owner of any tenants. The user is not the owner of any tenants.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.