DsgQueryDetails

更新时间:
复制 MD 格式

Exports detailed query results.

Operation description

This API corresponds to the query feature on the Data Security Guard console interface. It retrieves sensitive data identification results for a specified tenant by associating with the tenant ID.

  • Supports filtering by dimensions such as data source type and project workspace.

  • Supports ascending or descending sorting on a specific field.

  • Supports paging.

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

PageSize

integer

Yes

The number of entries per page. Maximum value: 1000.

10

EndTime

string

Yes

The end time of the query range. Example: "2026-06-30 23:59:59".

2026-06-30 23:59:59

Ip

string

No

The internal IP address of the ECU.

203.107.80.20

BeginTime

string

Yes

The start time of the query range. Example: "2026-06-26 00:00:00".

2026-06-26 00:00:00

PageNo

integer

Yes

The page number. Minimum value: 1.

10

SensLevel

string

No

The classification level. Example: 3.

3

ProjectId

string

No

The project workspace name (essentially ProjectName). Example: dsg_demo_gw.

dsg_demo_gw

RuleType

string

No

The type of triggered sensitive rule. Example: Name.

Name.

EngineName

string

Yes

The engine type. Valid values:

  • ODPS.ODPS

  • EMR

  • HOLO.POSTGRES

ODPS.ODPS

NodeId

string

No

The node ID.

123541234

User

string

No

The operator account. Example: dsg_test.

dsg_test

IpAare

string

No

The region to which the IP address belongs. Example: China-Beijing-Beijing, or internal IP address.

China-Beijing-Beijing.

Rows

integer

No

The minimum value of the export volume.

1

Response elements

Element

Type

Description

Example

object

The export detailed paged data.

Success

boolean

Indicates whether the request was successful.

true

ErrorCode

string

The error code.

1031203110005

ErrorMessage

string

The error message.

success

HttpStatusCode

integer

The HTTP status code.

200

Data

any

The operation result. Valid values:

  • true: The operation was successful.

  • false: The operation failed.

select a;

RequestId

string

The request ID. You can use this ID to troubleshoot issues.

C99E2BE6-9DEA-5C2E-8F51-1DDCFEADE490

DynamicErrorCode

string

The error code. The value is the same as ErrorCode.

400

DynamicErrorMessage

string

The error message. The value is the same as ErrorMessage.

Missing parameter

AccessDeniedDetail

string

The details of the access denial. This field is returned only when RAM authentication fails.

None

Examples

Success response

JSON format

{
  "Success": true,
  "ErrorCode": "1031203110005",
  "ErrorMessage": "success",
  "HttpStatusCode": 200,
  "Data": "select a;",
  "RequestId": "C99E2BE6-9DEA-5C2E-8F51-1DDCFEADE490",
  "DynamicErrorCode": "400",
  "DynamicErrorMessage": "Missing parameter",
  "AccessDeniedDetail": "None"
}

Error codes

HTTP status code

Error code

Error message

Description

400 BADPARAMETERS Parameters are missing or in the wrong format.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.