Google 服务帐户日志

Google Service Account logs

我有一个 Web 应用程序使用 Google 服务帐户,代表用户的服务帐户调用 API。我正在查看用于记录活动的可用选项,然后根据用户(或任何其他可用条件)进行过滤

非常感谢您对以前任何类似经历的想法?

为了监控 API 修改资源配置或元数据的调用或其他管理操作,您将必须使用 Admin Activity 审计日志

请记住,为了查看这些日志

you must have the Cloud IAM role Logging/Logs Viewer or Project/Viewer

审核日志还记录 the identity of the caller 执行的操作。

您还可以在 Best Practices for Audit Logs 文档的“过滤审核日志”段落中找到有关过滤的更多有用信息。

让我知道这是否有帮助。