All Products
Search
Document Center

Operations audit log

Last Updated: Mar 10, 2021

ActionTrail records the operations that are performed on your Alibaba Cloud resources. You can query operation records in the ActionTrail console and store audit events to a Logstore in Log Service or a bucket in Object Storage Service (OSS). The operation records stored by ActionTrail can be used for security analysis, resource change tracking, and compliance audit. mPaaS is integrated with Alibaba Cloud ActionTrail.

mPaaS operation logs recorded in ActionTrail

Logs stored in ActionTrail are mainly API events. mPaaS allows you to configure audit for key API operations.

Details about key API operations

Component that the API operation belongs to PopAPI name Function
mPaaS Synchronization Service (MSS) UpdateMssSignStatus Update the status of the signature verification switch.
mPaaS Synchronization Service (MSS) UpdateMssConfigStatus Update bizType status.
mPaaS Synchronization Service (MSS) UpdateMssConfig Update bizType.
mPaaS Synchronization Service (MSS) CreateMssGloblaSyncData Push a global sync message.
mPaaS Synchronization Service (MSS) CreateMssSingleSyncData Create a single sync message.
Message Push Service (MPS) PushMpsBroadcast Push a broadcast message.
Message Push Service (MPS) PushMpsMultiple Send a message to a group of contacts.
Message Push Service (MPS) PushMpsTemplate Send a template message.
Message Push Service (MPS) PushMpsSimple Send a simple message.
Message Push Service (MPS) UpdateMpsKeys Update information about a private key.
Message Push Service (MPS) UpdateMpsCert Update a push certificate.
Mobile Delivery Service (MDS) AddMdsMiniConfig Add the configuration information about a mini program.
Mobile Delivery Service (MDS) DeleteMdsMiniConfig Delete the configuration information about a mini program.
Mobile Delivery Service (MDS) UpdateMdsMiniConfig Update the configuration information about a mini program.
Mobile Delivery Service (MDS) DeleteMdsResourceConfig Delete a rule about resource release.
Mobile Delivery Service (MDS) UpdateMdsResourceConfig Update a rule about resource release.
Mobile Delivery Service (MDS) UpdateMdsWhitelist Update a whitelist.
Mobile Delivery Service (MDS) DeleteMdsWhitelist Delete a whitelist.
Mobile Delivery Service (MDS) ImportMdsClientSwitch Import switch configurations.
Mobile Delivery Service (MDS) CreateMdsClientSwitch Create a switch.
Mobile Delivery Service (MDS) UpdateMdsClientSwitch Update a switch.
Mobile Delivery Service (MDS) CreateMdsMiniprogramTask Create a task for releasing a mini program.
Mobile Delivery Service (MDS) DeleteMdsMiniprogram Delete a mini program.
Mobile Delivery Service (MDS) CreateMdsNebualTask Create a task for releasing an offline package.
Mobile Delivery Service (MDS) DeleteMdsNebula Delete an offline package.
Mobile Delivery Service (MDS) DeleteMdsHotpatchResource Delete a Hotpatch resource.
Mobile Delivery Service (MDS) CreateMdsHotpatchTask Create a Hotpatch task.
Mobile Delivery Service (MDS) UpdateMdsHotpatchTaskStatus Update the status of a Hotpatch task.
Mobile Delivery Service (MDS) CreateMdsHotpatchRollbackTask Create a Hotpatch rollback task.
Mobile Delivery Service (MDS) CreateMdsUpgradeTask Create a task for releasing an upgrade package.
Mobile Delivery Service (MDS) DeleteMdsUpgradePackage Delete an upgrade package.
Mobile Delivery Service (MDS) UpdateMdsUpgradeTaskStatus Update the status of a task for releasing an upgrade package.
Mobile Delivery Service (MDS) BatchDeleteMdsResourceConfig Delete multiple release rules at the same time.
Mobile Delivery Service (MDS) UpdateMdsNebulaTask Update a task for releasing an offline package.
mAppCenter CreateMpaasApp Create an app.
mAppCenter DeleteMpaasApp Delete an app.
Mobile Gateway Service (MGS) SaveMgsApirest Modify the configurations of HTTP API.
Mobile Gateway Service (MGS) SaveMgsConfigencrypt Modify encryption configurations.
Mobile Gateway Service (MGS) SaveMgsConfigcors Modify cross-region configurations.
Mobile Gateway Service (MGS) DeleteMgsApi Delete API configurations.
Mobile Gateway Service (MGS) SaveMgsSys Modify the configurations of an API group.
Mobile Gateway Service (MGS) DeleteMgsSys Delete the configurations of an API group.
Mobile Gateway Service (MGS) SaveMgsConfighandlerswitch Modify general configurations.

Sample log

The following code snippet shows a log stored in ActionTrail. The log records the detailed information about the creation of an mPaaS app by calling the CreateMpaasApp operation.

 
  1. {
  2. "eventId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
  3. "eventVersion": 1,
  4. "responseElements": {
  5. "RequestId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
  6. "ResultCode": "OK",
  7. "ResultContent": {
  8. "RequestId": "",
  9. "Data": {
  10. "AppId": "ONEXPRE18c5509171455",
  11. "Message": "success",
  12. "Data": "success",
  13. "Code": "",
  14. "Success": true
  15. }
  16. }
  17. },
  18. "eventSource": "mpaas.cn-hangzhou.aliyuncs.com",
  19. "requestParameters": {
  20. "AcsHost": "mpaas.cn-hangzhou.aliyuncs.com",
  21. "RequestId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
  22. "WorkspaceId": "default",
  23. "HostId": "mpaas.cn-hangzhou.aliyuncs.com",
  24. "AppName": "action",
  25. "CommonParamsJsonStr": {
  26. "TenantId": "RXPCAMDL",
  27. "AppId": "13FF079171113",
  28. "WorkspaceId": "default",
  29. "OnexFlag": true
  30. },
  31. "TenantId": "RXPCAMDL",
  32. "AppId": "13FF079171113",
  33. "AcsProduct": "mPaaS",
  34. "AcceptLanguage": "zh-CN",
  35. "RegionId": "cn-hangzhou",
  36. "MpaasMappcenterAppCreateJsonStr": {
  37. "OnexFlag": true,
  38. "AppName": "action"
  39. },
  40. " charset": "UTF-8",
  41. "OnexFlag": true
  42. },
  43. "sourceIpAddress": "Internal",
  44. "userAgent": "pre-mpaaspub.console.aliyun.com",
  45. "eventType": "ApiCall",
  46. "userIdentity": {
  47. "sessionContext": {
  48. "attributes": {
  49. "mfaAuthenticated": "false",
  50. "creationDate": "2020-12-17T06:55:12Z"
  51. }
  52. },
  53. "accountId": "1103496162005321",
  54. "principalId": "1103496162005321",
  55. "type": "root-account",
  56. "userName": "root"
  57. },
  58. "serviceName": "MobilePaaS",
  59. "additionalEventData": {
  60. "Scheme": "https"
  61. },
  62. "apiVersion": "2020-10-28",
  63. "requestId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
  64. "eventTime": "2020-12-17T06:55:12Z",
  65. "isGlobal": false,
  66. "acsRegion": "cn-hangzhou",
  67. "eventName": "CreateMpaasApp"
  68. }