ScanSensitiveData

更新时间:
复制 MD 格式

Identifies sensitive data in the specified input string.

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 input string to scan for sensitive data.

13900001234

Response elements

Element

Type

Description

Example

object

The response object.

Sensitives

object

The scan result. The sensDatas array lists the matched sensitive data rules with the following fields:

  • hitCount: the number of times the input matches the rule.

  • ruleName: the name of the rule.

RequestId

string

The request ID.

0000-ABCD-EFG****

Examples

Success response

JSON format

{
  "Sensitives": {
    "sensDatas": [
      {
        "hitCount": 1,
        "ruleName": "Phone number"
      }
    ]
  },
  "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.