This topic describes how to use ActionTrail to record the operations that RAM users or the owners of Alibaba Cloud accounts perform on resource groups.
Procedure
Result
{
"eventId": "B1CFCA37-83FA-4288-B623-01994CF8****",
"eventVersion": "1",
"requestParameters": {
"RequestId": "B1CFCA37-83FA-4288-B623-01994CF8BDD2",
"DisplayName": "actiontrail",
"HostId": "resourcemanager-share.aliyuncs.com",
"Name": "action"
},
"eventSource": "resourcemanager-share.aliyuncs.com",
"sourceIpAddress": "42.120.XX.XX",
"userIdentity": {
"sessionContext": {
"attributes": {
"mfaAuthenticated": "false",
"creationDate": "2019-03-08T07:00:04Z"
}
},
"accountId": "123456789012****",
"principalId": "111749508818****",
"userName": "root",
"type": "root-account"
},
"eventType": "ApiCall",
"serviceName": "ResourceManager",
"apiVersion": "2016-11-11",
"requestId": "B1CFCA37-83FA-4288-B623-01994CF8BDD2",
"eventTime": "2019-03-08T07:00:04Z",
"acsRegion": "cn-hangzhou",
"eventName": "CreateResourceGroup"
}