You can call this operation to query the types of anomalous activities.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeEventTypes

The operation that you want to perform. Set the value to DescribeEventTypes.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
ParentTypeId Long No 01

The ID of the anomalous activity type for which you want to query anomalous activity subtypes. Valid values:

  • 01: anomalous permission access
  • 02: anomalous data flow
  • 03: anomalous data operation

Response parameters

Parameter Type Example Description
EventTypeList

The list of anomalous activity types that were queried.

Note If you do not specify the ParentTypeId parameter, anomalous activity types are returned. If you specify the ParentTypeId parameter, anomalous activity subtypes under the specified anomalous activity type are returned.
Code String 01

The code of the anomalous activity type.

Description String Anomalous permission access, ***

The description of the anomalous activity type.

Id Long 1

The unique ID of the anomalous activity type.

Name String Anomalous permission access

The name of the anomalous activity type.

SubTypeList

The list of anomalous activity subtypes that were queried.

Code String 020008

The code of the anomalous activity subtype.

Description String No protection for the MaxCompute sensitive project, ****

The description of the anomalous activity subtype.

Id Long 1

The unique ID of the anomalous activity subtype.

Name String No protection for the MaxCompute sensitive project

The name of the anomalous activity subtype.

Status Integer 1

The status of the anomalous activity subtype. Valid values:

  • 1: Sensitive Data Discovery and Protection (SDDP) is enabled to detect anomalous activities of this subtype.
  • 0: SDDP is disabled from detecting anomalous activities of this subtype.
RequestId String 769FB3C1-F4C9-42DF-9B72-7077A8989C13

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeEventTypes
&<Common request parameters>

Sample success responses

XML format

<DescribeEventTypes>
	  <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>
	  <EventTypeList>
		    <SubTypeList>
			      <Id>1</Id>
			      <Code>010001</Code>
			      <Name>No protection for the MaxCompute sensitive project</Name>
			      <Status>1</Status>
		    </SubTypeList>
		    <Id>1</Id>
		    <Code>01</Code>
		    <Name>Anomalous permission access</Name>
	  </EventTypeList>
</DescribeEventTypes>

JSON format

{
	"EventTypeList":[
		{
			"Name":"Anomalous permission access",
			"SubTypeList":[
				{
					"Name":"No protection for the MaxCompute sensitive project",
					"Status":1,
					"Id":1,
					"Code":"010001"
				}
			],
			"Id":1,
			"Code":"01"
		}
	],
	"RequestId":"769FB3C1-F4C9-42DF-9B72-7077A8989C13"
}

Error codes

For a list of error codes, visit the API Error Center.