本文档介绍了咨询通知的审核日志记录。 Google Cloud 服务会生成审核日志,以记录 Google Cloud 资源中的管理和访问活动。如需详细了解 Cloud Audit Logs,请参阅以下内容:
服务名称
Advisory Notifications 审核日志使用服务名称 advisorynotifications.googleapis.com。针对此服务的过滤条件:
protoPayload.serviceName="advisorynotifications.googleapis.com"
方法(按权限类型)
每个 IAM 权限都有一个 type 属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。当您调用某个方法时,Advisory Notifications 会生成一个审核日志,其类别取决于执行该方法所需权限的 type 属性。需要 IAM 权限且 type 属性值为 DATA_READ、DATA_WRITE 或 ADMIN_READ 的方法会生成数据访问审核日志。需要 IAM 权限且 type 属性值为 ADMIN_WRITE 的方法会生成管理员活动审核日志。
| 权限类型 | 方法 |
|---|---|
ADMIN_READ |
google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotificationgoogle.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettingsgoogle.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotificationsgoogle.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.GetSettingsgoogle.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.GetNotificationgoogle.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.ListNotifications |
ADMIN_WRITE |
google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.UpdateSettings |
API 接口审核日志
如需了解如何针对每种方法评估权限以及评估哪些权限,请参阅 Advisory Notifications 的 Identity and Access Management 文档。
google.cloud.advisorynotifications.v1.AdvisoryNotificationsService
以下审核日志与属于 google.cloud.advisorynotifications.v1.AdvisoryNotificationsService 的方法相关联。
GetNotification
- 方法:
google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification - 审核日志类型:数据访问
- 权限:
advisorynotifications.notifications.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification"
GetSettings
- 方法:
google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings - 审核日志类型:数据访问
- 权限:
advisorynotifications.settings.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings"
ListNotifications
- 方法:
google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications - 审核日志类型:数据访问
- 权限:
advisorynotifications.notifications.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications"
google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService
以下审核日志与属于 google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService 的方法相关联。
GetSettings
- 方法:
google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.GetSettings - 审核日志类型:数据访问
- 权限:
advisorynotifications.settings.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.GetSettings"
UpdateSettings
- 方法:
google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.UpdateSettings - 审核日志类型:管理员活动
- 权限:
advisorynotifications.settings.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1alpha.AdvisoryNotificationsService.UpdateSettings"
google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService
以下审核日志与属于 google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService 的方法相关联。
GetNotification
- 方法:
google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.GetNotification - 审核日志类型:数据访问
- 权限:
advisorynotifications.notifications.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.GetNotification"
ListNotifications
- 方法:
google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.ListNotifications - 审核日志类型:数据访问
- 权限:
advisorynotifications.notifications.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.advisorynotifications.v1beta.AdvisoryNotificationsService.ListNotifications"