本文档介绍了 Workflows 的审核日志记录。Google Cloud 服务会生成审核日志,以记录 Google Cloud 资源中的管理和访问活动。 如需详细了解 Cloud Audit Logs,请参阅以下内容:
服务名称
Workflows 审核日志使用服务名称 workflowexecutions.googleapis.com
。针对此服务的过滤条件:
protoPayload.serviceName="workflowexecutions.googleapis.com"
方法(按权限类型)
每个 IAM 权限都有一个 type
属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ
、ADMIN_WRITE
、DATA_READ
或 DATA_WRITE
。当您调用某个方法时,Workflows 会生成一个审核日志,其类别取决于执行该方法所需权限的 type
属性。需要 IAM 权限且 type
属性值为 DATA_READ
、DATA_WRITE
或 ADMIN_READ
的方法会生成数据访问审核日志。需要 IAM 权限且 type
属性值为 ADMIN_WRITE
的方法会生成管理员活动审核日志。
权限类型 | 方法 |
---|---|
DATA_READ |
google.cloud.workflows.executions.v1.Events.ListCallbacks google.cloud.workflows.executions.v1.ExecutionHistory.GetStepEntry google.cloud.workflows.executions.v1.ExecutionHistory.ListStepEntries google.cloud.workflows.executions.v1.Executions.ExportData google.cloud.workflows.executions.v1.Executions.GetExecution google.cloud.workflows.executions.v1.Executions.ListExecutions google.cloud.workflows.executions.v1alpha1.Executions.GetExecution google.cloud.workflows.executions.v1alpha1.Executions.ListExecutions google.cloud.workflows.executions.v1beta.Executions.GetExecution google.cloud.workflows.executions.v1beta.Executions.ListExecutions |
DATA_WRITE |
google.cloud.workflows.executions.v1.Events.SendHttpCallback google.cloud.workflows.executions.v1.Executions.CancelExecution google.cloud.workflows.executions.v1.Executions.CreateExecution google.cloud.workflows.executions.v1.Executions.DeleteExecutionHistory google.cloud.workflows.executions.v1.Executions.TriggerPubsubExecution google.cloud.workflows.executions.v1alpha1.Executions.CancelExecution google.cloud.workflows.executions.v1alpha1.Executions.CreateExecution google.cloud.workflows.executions.v1beta.Executions.CancelExecution google.cloud.workflows.executions.v1beta.Executions.CreateExecution |
API 接口审核日志
如需了解如何针对每种方法评估权限以及评估哪些权限,请参阅 Workflows 的 Identity and Access Management 文档。
google.cloud.workflows.executions.v1.Events
以下审核日志与属于 google.cloud.workflows.executions.v1.Events
的方法相关联。
ListCallbacks
- 方法:
google.cloud.workflows.executions.v1.Events.ListCallbacks
- 审核日志类型:数据访问
- 权限:
workflows.callbacks.list - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Events.ListCallbacks"
SendHttpCallback
- 方法:
google.cloud.workflows.executions.v1.Events.SendHttpCallback
- 审核日志类型:数据访问
- 权限:
workflows.callbacks.send - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Events.SendHttpCallback"
google.cloud.workflows.executions.v1.ExecutionHistory
以下审核日志与属于 google.cloud.workflows.executions.v1.ExecutionHistory
的方法相关联。
GetStepEntry
- 方法:
google.cloud.workflows.executions.v1.ExecutionHistory.GetStepEntry
- 审核日志类型:数据访问
- 权限:
workflows.stepEntries.get - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.ExecutionHistory.GetStepEntry"
ListStepEntries
- 方法:
google.cloud.workflows.executions.v1.ExecutionHistory.ListStepEntries
- 审核日志类型:数据访问
- 权限:
workflows.stepEntries.list - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.ExecutionHistory.ListStepEntries"
google.cloud.workflows.executions.v1.Executions
以下审核日志与属于 google.cloud.workflows.executions.v1.Executions
的方法相关联。
CancelExecution
- 方法:
google.cloud.workflows.executions.v1.Executions.CancelExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.cancel - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.CancelExecution"
CreateExecution
- 方法:
google.cloud.workflows.executions.v1.Executions.CreateExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.create - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.CreateExecution"
DeleteExecutionHistory
- 方法:
google.cloud.workflows.executions.v1.Executions.DeleteExecutionHistory
- 审核日志类型:数据访问
- 权限:
workflows.executions.cancel - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.DeleteExecutionHistory"
ExportData
- 方法:
google.cloud.workflows.executions.v1.Executions.ExportData
- 审核日志类型:数据访问
- 权限:
workflows.executions.get - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.ExportData"
GetExecution
- 方法:
google.cloud.workflows.executions.v1.Executions.GetExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.get - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.GetExecution"
ListExecutions
- 方法:
google.cloud.workflows.executions.v1.Executions.ListExecutions
- 审核日志类型:数据访问
- 权限:
workflows.executions.list - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.ListExecutions"
TriggerPubsubExecution
- 方法:
google.cloud.workflows.executions.v1.Executions.TriggerPubsubExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.create - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1.Executions.TriggerPubsubExecution"
google.cloud.workflows.executions.v1alpha1.Executions
以下审核日志与属于 google.cloud.workflows.executions.v1alpha1.Executions
的方法相关联。
CancelExecution
- 方法:
google.cloud.workflows.executions.v1alpha1.Executions.CancelExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.cancel - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1alpha1.Executions.CancelExecution"
CreateExecution
- 方法:
google.cloud.workflows.executions.v1alpha1.Executions.CreateExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.create - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1alpha1.Executions.CreateExecution"
GetExecution
- 方法:
google.cloud.workflows.executions.v1alpha1.Executions.GetExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.get - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1alpha1.Executions.GetExecution"
ListExecutions
- 方法:
google.cloud.workflows.executions.v1alpha1.Executions.ListExecutions
- 审核日志类型:数据访问
- 权限:
workflows.executions.list - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1alpha1.Executions.ListExecutions"
google.cloud.workflows.executions.v1beta.Executions
以下审核日志与属于 google.cloud.workflows.executions.v1beta.Executions
的方法相关联。
CancelExecution
- 方法:
google.cloud.workflows.executions.v1beta.Executions.CancelExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.cancel - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1beta.Executions.CancelExecution"
CreateExecution
- 方法:
google.cloud.workflows.executions.v1beta.Executions.CreateExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.create - DATA_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1beta.Executions.CreateExecution"
GetExecution
- 方法:
google.cloud.workflows.executions.v1beta.Executions.GetExecution
- 审核日志类型:数据访问
- 权限:
workflows.executions.get - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1beta.Executions.GetExecution"
ListExecutions
- 方法:
google.cloud.workflows.executions.v1beta.Executions.ListExecutions
- 审核日志类型:数据访问
- 权限:
workflows.executions.list - DATA_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.workflows.executions.v1beta.Executions.ListExecutions"