ActionTrail mencatat operasi yang dilakukan pada sumber daya Alibaba Cloud Anda. Anda dapat meninjau catatan operasi di konsol ActionTrail dan menyimpan peristiwa audit ke Logstore di Log Service atau bucket di Object Storage Service (OSS). Catatan operasi yang disimpan oleh ActionTrail dapat digunakan untuk analisis keamanan, pelacakan perubahan sumber daya, dan audit kepatuhan. mPaaS terintegrasi dengan Alibaba Cloud ActionTrail.
Log operasi mPaaS yang direkam di ActionTrail
Log yang disimpan di ActionTrail terutama mencakup peristiwa API. mPaaS memungkinkan Anda mengonfigurasi audit untuk operasi API utama.
Detail tentang operasi API utama
Komponen yang dimiliki oleh operasi API | Nama PopAPI | Fungsi |
|---|---|---|
mPaaS Synchronization Service (MSS) | UpdateMssSignStatus | Perbarui status saklar verifikasi tanda tangan. |
mPaaS Synchronization Service (MSS) | UpdateMssConfigStatus | Perbarui status bizType. |
mPaaS Synchronization Service (MSS) | UpdateMssConfig | Perbarui bizType. |
mPaaS Synchronization Service (MSS) | CreateMssGloblaSyncData | Kirim pesan sinkronisasi global. |
mPaaS Synchronization Service (MSS) | CreateMssSingleSyncData | Buat pesan sinkronisasi tunggal. |
Message Push Service (MPS) | PushMpsBroadcast | Kirim pesan siaran. |
Message Push Service (MPS) | PushMpsMultiple | Kirim pesan ke sekelompok kontak. |
Message Push Service (MPS) | PushMpsTemplate | Kirim pesan template. |
Message Push Service (MPS) | PushMpsSimple | Kirim pesan sederhana. |
Message Push Service (MPS) | UpdateMpsKeys | Perbarui informasi tentang kunci pribadi. |
Message Push Service (MPS) | UpdateMpsCert | Perbarui sertifikat push. |
Mobile Delivery Service (MDS) | AddMdsMiniConfig | Tambahkan informasi konfigurasi tentang program mini. |
Mobile Delivery Service (MDS) | DeleteMdsMiniConfig | Hapus informasi konfigurasi tentang program mini. |
Mobile Delivery Service (MDS) | UpdateMdsMiniConfig | Perbarui informasi konfigurasi tentang program mini. |
Mobile Delivery Service (MDS) | DeleteMdsResourceConfig | Hapus aturan tentang pelepasan sumber daya. |
Mobile Delivery Service (MDS) | UpdateMdsResourceConfig | Perbarui aturan tentang pelepasan sumber daya. |
Mobile Delivery Service (MDS) | UpdateMdsWhitelist | Perbarui daftar putih. |
Mobile Delivery Service (MDS) | DeleteMdsWhitelist | Hapus daftar putih. |
Mobile Delivery Service (MDS) | ImportMdsClientSwitch | Impor konfigurasi saklar. |
Mobile Delivery Service (MDS) | CreateMdsClientSwitch | Buat saklar. |
Mobile Delivery Service (MDS) | UpdateMdsClientSwitch | Perbarui saklar. |
Mobile Delivery Service (MDS) | CreateMdsMiniprogramTask | Buat tugas untuk melepaskan program mini. |
Mobile Delivery Service (MDS) | DeleteMdsMiniprogram | Hapus program mini. |
Mobile Delivery Service (MDS) | CreateMdsNebualTask | Buat tugas untuk melepaskan paket offline. |
Mobile Delivery Service (MDS) | DeleteMdsNebula | Hapus paket offline. |
Mobile Delivery Service (MDS) | DeleteMdsHotpatchResource | Hapus sumber daya Hotpatch. |
Mobile Delivery Service (MDS) | CreateMdsHotpatchTask | Buat tugas Hotpatch. |
Mobile Delivery Service (MDS) | UpdateMdsHotpatchTaskStatus | Perbarui status tugas Hotpatch. |
Mobile Delivery Service (MDS) | CreateMdsHotpatchRollbackTask | Buat tugas rollback Hotpatch. |
Mobile Delivery Service (MDS) | CreateMdsUpgradeTask | Buat tugas untuk melepaskan paket peningkatan. |
Mobile Delivery Service (MDS) | DeleteMdsUpgradePackage | Hapus paket peningkatan. |
Mobile Delivery Service (MDS) | UpdateMdsUpgradeTaskStatus | Perbarui status tugas untuk melepaskan paket peningkatan. |
Mobile Delivery Service (MDS) | BatchDeleteMdsResourceConfig | Hapus beberapa aturan rilis secara bersamaan. |
Mobile Delivery Service (MDS) | UpdateMdsNebulaTask | Perbarui tugas untuk melepaskan paket offline. |
mAppCenter | CreateMpaasApp | Buat aplikasi. |
mAppCenter | DeleteMpaasApp | Hapus aplikasi. |
Mobile Gateway Service (MGS) | SaveMgsApirest | Ubah konfigurasi HTTP API. |
Mobile Gateway Service (MGS) | SaveMgsConfigencrypt | Ubah konfigurasi enkripsi. |
Mobile Gateway Service (MGS) | SaveMgsConfigcors | Ubah konfigurasi lintas wilayah. |
Mobile Gateway Service (MGS) | DeleteMgsApi | Hapus konfigurasi API. |
Mobile Gateway Service (MGS) | SaveMgsSys | Ubah konfigurasi grup API. |
Mobile Gateway Service (MGS) | DeleteMgsSys | Hapus konfigurasi grup API. |
Mobile Gateway Service (MGS) | SaveMgsConfighandlerswitch | Ubah konfigurasi umum. |
Contoh log
Potongan kode berikut menunjukkan log yang disimpan di ActionTrail. Log tersebut mencatat informasi detail tentang pembuatan aplikasi mPaaS melalui pemanggilan operasi CreateMpaasApp.
{
"eventId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
"eventVersion": 1,
"responseElements": {
"RequestId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
"ResultCode": "OK",
"ResultContent": {
"RequestId": "",
"Data": {
"AppId": "ONEXPRE18c5509171455",
"Message": "success",
"Data": "success",
"Code": "",
"Success": true
}
}
},
"eventSource": "mpaas.cn-hangzhou.aliyuncs.com",
"requestParameters": {
"AcsHost": "mpaas.cn-hangzhou.aliyuncs.com",
"RequestId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
"WorkspaceId": "default",
"HostId": "mpaas.cn-hangzhou.aliyuncs.com",
"AppName": "action",
"CommonParamsJsonStr": {
"TenantId": "RXPCAMDL",
"AppId": "13FF079171113",
"WorkspaceId": "default",
"OnexFlag": true
},
"TenantId": "RXPCAMDL",
"AppId": "13FF079171113",
"AcsProduct": "mPaaS",
"AcceptLanguage": "zh-CN",
"RegionId": "cn-hangzhou",
"MpaasMappcenterAppCreateJsonStr": {
"OnexFlag": true,
"AppName": "action"
},
" charset": "UTF-8",
"OnexFlag": true
},
"sourceIpAddress": "Internal",
"userAgent": "pre-mpaaspub.console.aliyun.com",
"eventType": "ApiCall",
"userIdentity": {
"sessionContext": {
"attributes": {
"mfaAuthenticated": false,
"creationDate": "2020-12-17T06:55:12Z"
}
},
"accountId": "1103496162005321",
"principalId": "1103496162005321",
"type": "root-account",
"userName": "root"
},
"serviceName": "MobilePaaS",
"additionalEventData": {
"Scheme": "https"
},
"apiVersion": "2020-10-28",
"requestId": "108DF5F5-291D-4B4A-85B0-2D887B83CEF7",
"eventTime": "2020-12-17T06:55:12Z",
"isGlobal": false,
"acsRegion": "cn-hangzhou",
"eventName": "CreateMpaasApp"
}