Analytics Hub 审核日志记录
本文档介绍了 Analytics Hub 的审核日志记录。Google Cloud 服务会生成审核日志,以记录 Google Cloud 资源中的管理和访问活动。 如需详细了解 Cloud Audit Logs,请参阅以下内容:
服务名称
Analytics Hub 审核日志使用服务名称 analyticshub.googleapis.com
。
针对此服务的过滤条件:
protoPayload.serviceName="analyticshub.googleapis.com"
方法(按权限类型)
每个 IAM 权限都有一个 type
属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ
、ADMIN_WRITE
、DATA_READ
或 DATA_WRITE
。在您调用某个方法时,Analytics Hub 会生成一个审核日志,其类别取决于执行该方法所需权限的 type
属性。需要 IAM 权限且 type
属性值为 DATA_READ
、DATA_WRITE
或 ADMIN_READ
的方法会生成数据访问审核日志。需要 IAM 权限且 type
属性值为 ADMIN_WRITE
的方法会生成管理员活动审核日志。
权限类型 | 方法 |
---|---|
ADMIN_READ |
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing |
ADMIN_WRITE |
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing |
API 接口审核日志
如需了解如何评估每种方法的权限以及评估哪些权限,请参阅 Analytics Hub 的 Identity and Access Management 文档。
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService
以下审核日志与属于 google.cloud.bigquery.analyticshub.v1.AnalyticsHubService
的方法相关联。
CreateDataExchange
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange"
CreateListing
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing"
DeleteDataExchange
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange"
DeleteListing
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing"
DeleteSubscription
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription
- 审核日志类型:管理员活动
- 权限:
analyticshub.subscriptions.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription"
GetDataExchange
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange"
GetIamPolicy
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.getIamPolicy - ADMIN_READ
analyticshub.listings.getIamPolicy - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy"
GetListing
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing"
GetSubscription
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription
- 审核日志类型:数据访问
- 权限:
analyticshub.subscriptions.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription"
ListDataExchanges
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges"
ListListings
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings"
ListOrgDataExchanges
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges"
ListSharedResourceSubscriptions
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.viewSubscriptions - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions"
ListSubscriptions
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions
- 审核日志类型:数据访问
- 权限:
analyticshub.subscriptions.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions"
RefreshSubscription
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription
- 审核日志类型:管理员活动
- 权限:
analyticshub.subscriptions.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription"
RevokeSubscription
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.update - ADMIN_WRITE
analyticshub.listings.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription"
SetIamPolicy
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.setIamPolicy - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy"
SubscribeDataExchange
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.subscriptions.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange"
SubscribeListing
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.subscribe - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing"
UpdateDataExchange
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange"
UpdateListing
- 方法:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing"
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService
以下审核日志与属于 google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService
的方法相关联。
CreateDataExchange
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange"
CreateListing
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing"
DeleteDataExchange
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange"
DeleteListing
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing"
GetDataExchange
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange"
GetIamPolicy
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.getIamPolicy - ADMIN_READ
analyticshub.listings.getIamPolicy - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy"
GetListing
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing"
ListDataExchanges
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges"
ListListings
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings"
ListOrgDataExchanges
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges
- 审核日志类型:数据访问
- 权限:
analyticshub.dataExchanges.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges"
SetIamPolicy
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.setIamPolicy - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy"
SubscribeListing
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing
- 审核日志类型:数据访问
- 权限:
analyticshub.listings.subscribe - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing"
UpdateDataExchange
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange
- 审核日志类型:管理员活动
- 权限:
analyticshub.dataExchanges.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange"
UpdateListing
- 方法:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing
- 审核日志类型:管理员活动
- 权限:
analyticshub.listings.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing"
不会生成审核日志的方法
由于以下一个或多个原因,方法可能不会生成审核日志:
- 这是一种高容量方法,涉及较高的日志生成和存储费用。
- 它的审核价值较低。
- 其他审核或平台日志已提供方法。
以下方法不会生成审核日志:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.TestIamPermissions
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.TestIamPermissions