每个 IAM 权限都有一个 type 属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。在您调用某个方法时,Eventarc Publishing 会生成一个审核日志,其类别取决于执行该方法所需权限的 type 属性。需要 IAM 权限且 type 属性值为 DATA_READ、DATA_WRITE 或 ADMIN_READ 的方法会生成数据访问审核日志。需要 IAM 权限且 type 属性值为 ADMIN_WRITE 的方法会生成管理员活动审核日志。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-04-03。"],[[["Eventarc Publishing generates audit logs for administrative and data access activities within Google Cloud resources, using the service name `eventarcpublishing.googleapis.com`."],["Audit logs are categorized based on the IAM permission type required for a method, with `ADMIN_WRITE` generating Admin Activity logs and `DATA_READ`, `DATA_WRITE`, or `ADMIN_READ` generating Data Access logs."],["The `google.cloud.eventarc.publishing.v1.Publisher.Publish` method, which requires `DATA_WRITE` permission, produces Data Access audit logs and is filterable by `protoPayload.methodName=\"google.cloud.eventarc.publishing.v1.Publisher.Publish\"`."],["Certain methods, such as `google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents` and `google.cloud.eventarc.publishing.v1.Publisher.PublishEvents`, do not generate audit logs due to high volume, low auditing value, or existing coverage in other logs."],["Eventarc Advanced is a Pre-GA feature and is available \"as is\" with potentially limited support, as outlined in the Pre-GA Offerings Terms of the Service Specific Terms."]]],[]]