All Products
Search
Document Center

Data Security Center:DescribeEvents

Last Updated:Nov 27, 2025

You can call this operation to query a list of anomalous activities.

Operation description

This operation queries alerts for data breach risks to help you find and handle them.

QPS limits

The queries per second (QPS) limit for this operation is 10 for each user. If you exceed the limit, your API calls are throttled. This may affect your business. Plan your API calls accordingly.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sddp:DescribeEvents

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the request and response. The default value is zh_cn. Valid values:

  • zh_cn: Chinese.

  • en_us: English.

zh_cn

Id

integer

No

The unique ID of the anomalous activity.

789026

UserId

integer

No

The ID of the account that performed the operation that triggered the anomalous activity.

1978132506596***

DealUserId

string

No

The ID of the account that handled the anomalous activity.

yundun-***

Status

string

No

The processing status of the anomalous activity.

  • 0: Unhandled.

  • 1: Confirmed.

  • 2: Dismissed.

1

TypeCode

string

No

The code of the parent type of the anomalous activity.

  • 01: Anomalous permission access.

  • 02: Anomalous data flow.

  • 03: Anomalous data operation.

02

SubTypeCode

string

No

The name of the child type of the anomalous activity.

Note

To query anomalous activities by the child type name, call the DescribeEventTypes operation to get the name.

数据下载量异常

StartTime

string

No

The time when the anomalous activity occurred. This is the start time of the detection. The value is a UNIX timestamp. Unit: milliseconds.

1657900000

EndTime

string

No

The time when the detection of the anomalous activity ended. The value is a UNIX timestamp. Unit: milliseconds.

1698700000

PageSize

integer

No

The number of entries to return on each page.

12

CurrentPage

integer

No

The page number of the page to return.

1

InstanceName

string

No

The name of the data asset instance.

rm-uf6yzvbc2tg90iuxk.l****

ProductCode

string

No

The service to which the data asset belongs. Valid values include MaxCompute, OSS, ADS, OTS, and RDS.

OSS

TargetProductCode

string

No

The destination service for an anomalous data flow event. Valid values include MaxCompute, OSS, ADS, OTS, and RDS.

RDS

UserName

string

No

The username of the RAM user.

name

WarnLevel

integer

No

The risk level of the anomalous activity.

  • 1: Low.

  • 2: Medium.

  • 3: High.

1

Response elements

Element

Type

Description

Example

object

The response parameters.

CurrentPage

integer

The page number of the returned page.

1

RequestId

string

The ID of the request.

769FB3C1-F4C9-42DF-9B72-7077A8989C13

PageSize

integer

The number of entries returned per page.

12

TotalCount

integer

The total number of entries returned.

1

Items

array<object>

A list of anomalous activities.

object

An anomalous activity object.

DisplayName

string

The display name of the account that performed the operation.

yundunsr

Status

integer

The processing status of the anomalous activity.

  • 0: Unhandled.

  • 1: Confirmed.

  • 2: Dismissed.

0

WarnLevel

integer

The risk level of the anomalous activity.

  • 1: Low.

  • 2: Medium.

  • 3: High.

2

UserId

integer

The ID of the account that performed the operation.

1978132506596***

StatusName

string

The name of the processing status.

待处理

DealTime

integer

The time when the anomalous activity was handled. The value is a UNIX timestamp in milliseconds.

12223300

DealLoginName

string

The logon name of the account that handled the anomalous activity.

det1111

SubTypeName

string

The name of the child type of the anomalous activity.

数据下载量异常

Backed

boolean

Indicates whether enhanced detection is enabled for the anomalous activity. Enhanced detection improves detection accuracy and the alert reporting rate.

  • true: Enhanced detection is enabled.

  • false: Enhanced detection is disabled.

false

EventTime

integer

The time when the anomalous activity occurred. The value is a UNIX timestamp. Unit: milliseconds.

1545829129000

LoginName

string

The logon name of the account that performed the operation.

det1111

SubTypeCode

string

The code of the child type of the anomalous activity.

020008

TargetProductCode

string

The destination service for the anomalous data flow event.

RDS

TypeCode

string

The code of the parent type of the anomalous activity.

02

AlertTime

integer

The time when an alert was generated for the anomalous activity. The value is a UNIX timestamp. Unit: milliseconds.

154529000

DealUserId

integer

The ID of the account that handled the anomalous activity.

229157443385014***

TypeName

string

The name of the parent type of the anomalous activity.

数据流转异常

DealDisplayName

string

The display name of the account that handled the anomalous activity.

yundunsr

Id

integer

The unique ID of the anomalous activity that is recorded in Data Security Center (DSC).

42233335555

ProductCode

string

The service to which the anomalous activity belongs.

RDS

Examples

Success response

JSON format

{
  "CurrentPage": 1,
  "RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
  "PageSize": 12,
  "TotalCount": 1,
  "Items": [
    {
      "DisplayName": "yundunsr",
      "Status": 0,
      "WarnLevel": 2,
      "UserId": 0,
      "StatusName": "待处理",
      "DealTime": 12223300,
      "DealLoginName": "det1111",
      "SubTypeName": "数据下载量异常",
      "Backed": false,
      "EventTime": 1545829129000,
      "LoginName": "det1111",
      "SubTypeCode": "020008",
      "TargetProductCode": "RDS",
      "TypeCode": "02",
      "AlertTime": 154529000,
      "DealUserId": 0,
      "TypeName": "数据流转异常",
      "DealDisplayName": "yundunsr",
      "Id": 42233335555,
      "ProductCode": "RDS"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.