Learn about the key fields in a management event and view an event example.
Key fields
|
Field |
Description |
|
acsRegion |
The region ID where the event was generated. |
|
additionalEventData |
Additional information about the event. |
|
apiVersion |
If eventType is ApiCall, this field indicates the API version. |
|
eventCategory |
The event category. Valid value: Management. |
|
eventId |
The unique event ID. |
|
eventName |
The event name.
|
|
eventRW |
The read/write type of the event. Valid values:
|
|
eventSource |
The event source. |
|
eventTime |
The time when the event was generated (UTC). |
|
eventType |
The operation type. Valid values:
Note
For MaxCompute resources, eventType also includes JobEvent, TunnelEvent, TableEvent, AdminEvent, ResourceEvent, FunctionEvent, PrivilegeEvent, RoleEvent, UserEvent, and SchemaEvent. Audit logging. |
|
eventVersion |
The event format version. Current version: 1. |
|
errorCode |
The error code returned if the API request failed. |
|
errorMessage |
The error message returned if the API request failed. |
|
requestId |
The request ID. |
|
requestParameters |
The parameters specified in the API request. |
|
requestParameterJson |
The API request parameters in JSON format. Equivalent to requestParameters. |
|
resourceName |
The name of the associated resource. This is the unique identifier of the resource. Note
Same-type resource names are comma-separated (,). Different-type resource names are semicolon-separated (;). |
|
resourceType |
The associated resource type. Note
Multiple types are semicolon-separated (;). |
|
responseElements |
The API response. |
|
referencedResources |
The resources involved in the event. |
|
serviceName |
The Alibaba Cloud service that generated the event. |
|
sourceIpAddress |
The source IP address. Valid values:
|
|
userAgent |
The user agent of the API request. |
|
isGlobal |
Whether the event is global. Valid values:
|
|
eventAttributes |
The event attributes. |
|
userIdentity |
The requester identity. |
Table 1. Fields included in eventAttributes
|
Field |
Description |
|
SensitiveAction |
Whether the recorded operation is a sensitive operation. Valid value: true. |
Table 2. Fields included in userIdentity
|
Field |
Description |
|
type |
The identity type. Valid values:
|
|
principalId |
The requester ID. Use with the type field to identify the requester.
|
|
accountId |
The Alibaba Cloud account ID of the requester. |
|
accessKeyId |
The AccessKey ID used by the requester.
|
|
userName |
The requester name.
|
|
sessionContext |
The session context recorded for STS token requests or console operations. Includes creationDate and mfaAuthenticated.
|
Example
{
"eventId": "92b33345-0cef-47be-821f-fb9914d3****",
"eventAttributes": {
"SensitiveAction": "true"
},
"eventVersion": 1,
"sourceIpAddress": "ecs.aliyuncs.com",
"userAgent": "ecs.aliyuncs.com",
"eventRW": "Write",
"eventType": "ApiCall",
"referencedResources": {
"ACS::ECS::Instance": [
"i-8vb0smn1lf6g77md****"
],
"ACS::ECS::Disk": [
"d-8vbf8rpv2nn0l1zm****"
]
},
"userIdentity": {
"type": "system",
"userName": "ecs.aliyuncs.com"
},
"serviceName": "Ecs",
"requestId": "32B7EB75-62EE-511E-9449-E19EBF67C2ED",
"eventTime": "2022-10-22T21:52:00Z",
"isGlobal": false,
"acsRegion": "cn-hangzhou",
"eventName": "DeleteDisk"
}