本文档介绍 Cloud Workstations 的审核日志记录。Google Cloud 服务会生成审核日志,以记录 Google Cloud 资源中的管理和访问活动。 如需详细了解 Cloud Audit Logs,请参阅以下内容:
服务名称
Cloud Workstations 审核日志使用服务名称 workstations.googleapis.com
。
针对此服务的过滤条件:
protoPayload.serviceName="workstations.googleapis.com"
方法(按权限类型)
每个 IAM 权限都有一个 type
属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ
、ADMIN_WRITE
、DATA_READ
或 DATA_WRITE
。调用方法时
Cloud Workstations 会生成审核日志,其类别取决于
执行该方法所需权限的 type
属性。
需要 IAM 权限且 type
属性值为 DATA_READ
、DATA_WRITE
或 ADMIN_READ
的方法会生成数据访问审核日志。需要 IAM 权限且 type
属性值为 ADMIN_WRITE
的方法会生成管理员活动审核日志。
权限类型 | 方法 |
---|---|
ADMIN_READ |
GetIamPolicy google.cloud.workstations.v1.Workstations.GenerateAccessToken google.cloud.workstations.v1.Workstations.GetWorkstation google.cloud.workstations.v1.Workstations.GetWorkstationCluster google.cloud.workstations.v1.Workstations.GetWorkstationConfig google.cloud.workstations.v1.Workstations.ListWorkstationClusters google.cloud.workstations.v1.Workstations.ListWorkstationConfigs google.cloud.workstations.v1.Workstations.ListWorkstations google.cloud.workstations.v1beta.Workstations.GenerateAccessToken google.cloud.workstations.v1beta.Workstations.GetWorkstation google.cloud.workstations.v1beta.Workstations.GetWorkstationCluster google.cloud.workstations.v1beta.Workstations.GetWorkstationConfig google.cloud.workstations.v1beta.Workstations.ListWorkstationClusters google.cloud.workstations.v1beta.Workstations.ListWorkstationConfigs google.cloud.workstations.v1beta.Workstations.ListWorkstations |
ADMIN_WRITE |
SetIamPolicy google.cloud.workstations.v1.Workstations.CreateWorkstation google.cloud.workstations.v1.Workstations.CreateWorkstationCluster google.cloud.workstations.v1.Workstations.CreateWorkstationConfig google.cloud.workstations.v1.Workstations.DeleteWorkstation google.cloud.workstations.v1.Workstations.DeleteWorkstationCluster google.cloud.workstations.v1.Workstations.DeleteWorkstationConfig google.cloud.workstations.v1.Workstations.StartWorkstation google.cloud.workstations.v1.Workstations.StopWorkstation google.cloud.workstations.v1.Workstations.UpdateWorkstation google.cloud.workstations.v1.Workstations.UpdateWorkstationCluster google.cloud.workstations.v1.Workstations.UpdateWorkstationConfig google.cloud.workstations.v1beta.Workstations.CreateWorkstation google.cloud.workstations.v1beta.Workstations.CreateWorkstationCluster google.cloud.workstations.v1beta.Workstations.CreateWorkstationConfig google.cloud.workstations.v1beta.Workstations.DeleteWorkstation google.cloud.workstations.v1beta.Workstations.DeleteWorkstationCluster google.cloud.workstations.v1beta.Workstations.DeleteWorkstationConfig google.cloud.workstations.v1beta.Workstations.StartWorkstation google.cloud.workstations.v1beta.Workstations.StopWorkstation google.cloud.workstations.v1beta.Workstations.UpdateWorkstation google.cloud.workstations.v1beta.Workstations.UpdateWorkstationCluster google.cloud.workstations.v1beta.Workstations.UpdateWorkstationConfig |
API 接口审核日志
如需了解如何为每种方法评估哪些权限以及评估哪些权限, 请参阅 Cloud Workstations 的 Identity and Access Management 文档。
google.cloud.workstations.v1.Workstations
以下审核日志与属于 google.cloud.workstations.v1.Workstations
的方法相关联。
CreateWorkstation
- 方法:
google.cloud.workstations.v1.Workstations.CreateWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.CreateWorkstation"
CreateWorkstationCluster
- 方法:
google.cloud.workstations.v1.Workstations.CreateWorkstationCluster
- 审核日志类型:管理员活动
- 权限:
workstations.workstationClusters.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.CreateWorkstationCluster"
CreateWorkstationConfig
- 方法:
google.cloud.workstations.v1.Workstations.CreateWorkstationConfig
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.CreateWorkstationConfig"
DeleteWorkstation
- 方法:
google.cloud.workstations.v1.Workstations.DeleteWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.DeleteWorkstation"
DeleteWorkstationCluster
- 方法:
google.cloud.workstations.v1.Workstations.DeleteWorkstationCluster
- 审核日志类型:管理员活动
- 权限:
workstations.workstationClusters.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.DeleteWorkstationCluster"
DeleteWorkstationConfig
- 方法:
google.cloud.workstations.v1.Workstations.DeleteWorkstationConfig
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.DeleteWorkstationConfig"
GenerateAccessToken
- 方法:
google.cloud.workstations.v1.Workstations.GenerateAccessToken
- 审核日志类型:数据访问
- 权限:
workstations.workstations.use - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.GenerateAccessToken"
GetWorkstation
- 方法:
google.cloud.workstations.v1.Workstations.GetWorkstation
- 审核日志类型:数据访问
- 权限:
workstations.workstations.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.GetWorkstation"
GetWorkstationCluster
- 方法:
google.cloud.workstations.v1.Workstations.GetWorkstationCluster
- 审核日志类型:数据访问
- 权限:
workstations.workstationClusters.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.GetWorkstationCluster"
GetWorkstationConfig
- 方法:
google.cloud.workstations.v1.Workstations.GetWorkstationConfig
- 审核日志类型:数据访问
- 权限:
workstations.workstationConfigs.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.GetWorkstationConfig"
ListWorkstationClusters
- 方法:
google.cloud.workstations.v1.Workstations.ListWorkstationClusters
- 审核日志类型:数据访问
- 权限:
workstations.workstationClusters.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.ListWorkstationClusters"
ListWorkstationConfigs
- 方法:
google.cloud.workstations.v1.Workstations.ListWorkstationConfigs
- 审核日志类型:数据访问
- 权限:
workstations.workstationConfigs.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.ListWorkstationConfigs"
ListWorkstations
- 方法:
google.cloud.workstations.v1.Workstations.ListWorkstations
- 审核日志类型:数据访问
- 权限:
workstations.workstations.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.ListWorkstations"
StartWorkstation
- 方法:
google.cloud.workstations.v1.Workstations.StartWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.start - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.StartWorkstation"
StopWorkstation
- 方法:
google.cloud.workstations.v1.Workstations.StopWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.stop - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.StopWorkstation"
UpdateWorkstation
- 方法:
google.cloud.workstations.v1.Workstations.UpdateWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.UpdateWorkstation"
UpdateWorkstationCluster
- 方法:
google.cloud.workstations.v1.Workstations.UpdateWorkstationCluster
- 审核日志类型:管理员活动
- 权限:
workstations.workstationClusters.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.UpdateWorkstationCluster"
UpdateWorkstationConfig
- 方法:
google.cloud.workstations.v1.Workstations.UpdateWorkstationConfig
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1.Workstations.UpdateWorkstationConfig"
google.cloud.workstations.v1beta.Workstations
以下审核日志与属于 google.cloud.workstations.v1beta.Workstations
的方法相关联。
CreateWorkstation
- 方法:
google.cloud.workstations.v1beta.Workstations.CreateWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.CreateWorkstation"
CreateWorkstationCluster
- 方法:
google.cloud.workstations.v1beta.Workstations.CreateWorkstationCluster
- 审核日志类型:管理员活动
- 权限:
workstations.workstationClusters.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.CreateWorkstationCluster"
CreateWorkstationConfig
- 方法:
google.cloud.workstations.v1beta.Workstations.CreateWorkstationConfig
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.CreateWorkstationConfig"
DeleteWorkstation
- 方法:
google.cloud.workstations.v1beta.Workstations.DeleteWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.DeleteWorkstation"
DeleteWorkstationCluster
- 方法:
google.cloud.workstations.v1beta.Workstations.DeleteWorkstationCluster
- 审核日志类型:管理员活动
- 权限:
workstations.workstationClusters.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.DeleteWorkstationCluster"
DeleteWorkstationConfig
- 方法:
google.cloud.workstations.v1beta.Workstations.DeleteWorkstationConfig
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.DeleteWorkstationConfig"
GenerateAccessToken
- 方法:
google.cloud.workstations.v1beta.Workstations.GenerateAccessToken
- 审核日志类型:数据访问
- 权限:
workstations.workstations.use - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.GenerateAccessToken"
GetWorkstation
- 方法:
google.cloud.workstations.v1beta.Workstations.GetWorkstation
- 审核日志类型:数据访问
- 权限:
workstations.workstations.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.GetWorkstation"
GetWorkstationCluster
- 方法:
google.cloud.workstations.v1beta.Workstations.GetWorkstationCluster
- 审核日志类型:数据访问
- 权限:
workstations.workstationClusters.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.GetWorkstationCluster"
GetWorkstationConfig
- 方法:
google.cloud.workstations.v1beta.Workstations.GetWorkstationConfig
- 审核日志类型:数据访问
- 权限:
workstations.workstationConfigs.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.GetWorkstationConfig"
ListWorkstationClusters
- 方法:
google.cloud.workstations.v1beta.Workstations.ListWorkstationClusters
- 审核日志类型:数据访问
- 权限:
workstations.workstationClusters.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.ListWorkstationClusters"
ListWorkstationConfigs
- 方法:
google.cloud.workstations.v1beta.Workstations.ListWorkstationConfigs
- 审核日志类型:数据访问
- 权限:
workstations.workstationConfigs.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.ListWorkstationConfigs"
ListWorkstations
- 方法:
google.cloud.workstations.v1beta.Workstations.ListWorkstations
- 审核日志类型:数据访问
- 权限:
workstations.workstations.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.ListWorkstations"
StartWorkstation
- 方法:
google.cloud.workstations.v1beta.Workstations.StartWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.start - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.StartWorkstation"
StopWorkstation
- 方法:
google.cloud.workstations.v1beta.Workstations.StopWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.stop - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.StopWorkstation"
UpdateWorkstation
- 方法:
google.cloud.workstations.v1beta.Workstations.UpdateWorkstation
- 审核日志类型:管理员活动
- 权限:
workstations.workstations.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.UpdateWorkstation"
UpdateWorkstationCluster
- 方法:
google.cloud.workstations.v1beta.Workstations.UpdateWorkstationCluster
- 审核日志类型:管理员活动
- 权限:
workstations.workstationClusters.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.UpdateWorkstationCluster"
UpdateWorkstationConfig
- 方法:
google.cloud.workstations.v1beta.Workstations.UpdateWorkstationConfig
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workstations.v1beta.Workstations.UpdateWorkstationConfig"
google.iam.v1.IAMPolicy
以下审核日志与属于 google.iam.v1.IAMPolicy
的方法相关联。
GetIamPolicy
- 方法:
GetIamPolicy
- 审核日志类型:数据访问
- 权限:
workstations.workstationConfigs.getIamPolicy - ADMIN_READ
workstations.workstations.getIamPolicy - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="GetIamPolicy"
SetIamPolicy
- 方法:
SetIamPolicy
- 审核日志类型:管理员活动
- 权限:
workstations.workstationConfigs.setIamPolicy - ADMIN_WRITE
workstations.workstations.setIamPolicy - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="SetIamPolicy"
不会生成审核日志的方法
由于以下一个或多个原因,方法可能不会生成审核日志:
- 这是一种高容量方法,涉及较高的日志生成和存储费用。
- 它的审核价值较低。
- 其他审核或平台日志已提供方法。
以下方法不会生成审核日志:
google.cloud.workstations.v1.Workstations.ListUsableWorkstationConfigs
google.cloud.workstations.v1.Workstations.ListUsableWorkstations
google.cloud.workstations.v1beta.Workstations.ListUsableWorkstationConfigs
google.cloud.workstations.v1beta.Workstations.ListUsableWorkstations