ActionTrail audit log overview
Address Purification is integrated with Alibaba Cloud ActionTrail. You can use ActionTrail to view and retrieve user behavioral logs. You can also deliver logs to a Simple Log Service Logstore or a specified OSS bucket to meet your requirements for real-time auditing and issue analysis.
Audit logs recorded in ActionTrail
The audit logs for Address Purification consist primarily of API events. For these events, the `eventType` recorded in ActionTrail is `ApiCall`. For more information, see the API documentation.
Some API events are not yet included in the API documentation. The following table describes these events:
Event name | Event definition |
CreateProject | Create a project |
DeleteProject | Delete a project |
GetAlgorithmResult | Get algorithm results |
GetProject | Get a project |
GetProjectAndService | Get project services |
GetStatistics | Get statistics |
GetUsedCount | Get the usage count |
GetUserInfomation | Get user information |
InfoService | Information service |
ListAPIs | List APIs |
ListProjectNames | List project names |
ListProjects | Project list |
ListServices | List services |
UpdateProject | Update a project |
Sample audit log
{
"ApiVersion": "2019-11-18",
"RequestId": "1A35512F-****-****-****-0C45EDF7B207",
"EventType": "ApiCall",
"UserIdentity": {
"accessKeyId": "LTAI********xfky",
"sessionContext": {
"attributes": {
"mfaAuthenticated": "false"
}
},
"accountId": "1248********8139",
"principalId": "1248********8139",
"type": "root-account",
"userName": "root"
},
"AcsRegion": "cn-hangzhou",
"EventName": "ExtractPhone",
"RequestParameters": {
"charset": "utf-8",
"AcsHost": "address-purification.cn-hangzhou.aliyuncs.com",
"ServiceCode": "addrp",
"AcsProduct": "address-purification",
"RequestId": "1A35512F-****-****-****-0C45EDF7B207",
"AppKey": "d6mo****tv6c",
"Text": "",
"RegionId": "cn-hangzhou",
"HostId": "address-purification.cn-hangzhou.aliyuncs.com"
},
"EventSource": "address-purification.cn-hangzhou.aliyuncs.com",
"ServiceName": "AddressPurification",
"EventTime": "2021-07-27T02:44:35Z",
"UserAgent": "Java/********1",
"EventId": "1A35512F-****-****-****-0C45EDF7B207",
"AdditionalEventData": {
"Scheme": "http"
},
"ResponseElements": {
"RequestId": "1A35512F-****-****-****-0C45EDF7B207",
"Data": "{\\\"phone_extract\\\":[],\\\"status\\\":\\\"OK\\\",\\\"time_used\\\":{\\\"rt\\\":{\\\"basic_chunking\\\":0.000271********578125,\\\"phone_extract\\\":0.000079********992188},\\\"start\\\":162****875.38***44}}"
},
"ErrorCode": "",
"ErrorMessage": "",
"EventVersion": "1",
"SourceIpAddress": "**0.*2.**8.**5"
}