计算巢服务(ComputeNest)已与阿里云ActionTrail集成,您可以在ActionTrail中查看和检索用户行为日志,同时通过ActrionTrail将日志投递到日志服务LogStore或指定的OSS Bucket中,满足实时审计、问题回溯分析等需要。
ActionTrail中记录的ComputeNest操作日志
ComputeNest的操作审计日志主要包含的是API事件,其中OpenAPI事件在ActionTrail中记录的eventType取值为ApiCall,这些事件的含义参考如下:
事件名称 | 事件含义 |
ListServiceInstances | 查询服务实例列表 |
ListServiceRegistrations | 查询服务注册列表 |
ListServices | 查询服务列表 |
RegisterService | 注册服务 |
UpdateService | 更新服务 |
GetSupplierInformation | 获取服务商信息 |
DeleteService | 删除服务 |
DeleteServiceInstances | 删除服务实例 |
withdrawService | 下线服务 |
ContinueDeployServiceInstance | 继续部署服务实例 |
DeployServiceInstance | 部署服务实例 |
CancelServiceRegistration | 取消服务注册 |
CreateService | 创建服务 |
CreateServiceInstance | 创建服务实例 |
DescribeRegions | 查询地域列表 |
GetService | 获取服务详情 |
GetServiceInstance | 获取服务实例详情 |
LaunchService | 上线服务 |
ListInuseServices | 查询使用的服务列表 |
ComputeNest审计日志样例
{
"ApiVersion": "2021-05-21",
"RequestId": "E192CFBA-****-****-****-49BECB21FFEC",
"EventType": "ApiCall",
"UserIdentity": {
"sessionContext": {
"attributes": {
"mfaAuthenticated": "false"
}
},
"accountId": "130******360047",
"principalId": "130******360047",
"type": "root-account",
"userName": "root"
},
"AcsRegion": "cn-hangzhou",
"EventName": "ListServices",
"RequestParameters": {
"AcsProduct": "ComputeNestSupplier",
"MaxResults": 20,
"AcceptLanguage": "zh-CN",
"RegionId": "cn-hangzhou"
},
"EventSource": "computenestsupplier.cn-hangzhou.aliyuncs.com",
"ServiceName": "ComputeNest",
"EventTime": "2021-09-06T03:22:04Z",
"UserAgent": "computenest.console.aliyun.com",
"EventId": "E192CFBA-****-****-****-49BECB21FFEC",
"AdditionalEventData": {},
"ErrorCode": "",
"ErrorMessage": "",
"EventVersion": "1",
"SourceIpAddress": "**6.*1.*4.*0"
}