Analytics Hub audit logging
This document describes audit logging for Analytics Hub. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:
- Types of audit logs
- Audit log entry structure
- Storing and routing audit logs
- Cloud Logging pricing summary
- Enable Data Access audit logs
Service name
Analytics Hub audit logs use the service name analyticshub.googleapis.com
.
Filter for this service:
protoPayload.serviceName="analyticshub.googleapis.com"
Methods by permission type
Each IAM permission has a type
property, whose value is an enum
that can be one of four values: ADMIN_READ
, ADMIN_WRITE
,
DATA_READ
, or DATA_WRITE
. When you call a method,
Analytics Hub generates an audit log whose category is dependent on the
type
property of the permission required to perform the method.
Methods that require an IAM permission with the type
property value
of DATA_READ
, DATA_WRITE
, or ADMIN_READ
generate
Data Access audit logs.
Methods that require an IAM permission with the type
property value
of ADMIN_WRITE
generate
Admin Activity audit logs.
Permission type | Methods |
---|---|
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 interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Analytics Hub.
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService
.
CreateDataExchange
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange"
CreateListing
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing"
DeleteDataExchange
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange"
DeleteListing
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing"
DeleteSubscription
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription
- Audit log type: Admin activity
- Permissions:
analyticshub.subscriptions.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription"
GetDataExchange
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange"
GetIamPolicy
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.getIamPolicy - ADMIN_READ
analyticshub.listings.getIamPolicy - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy"
GetListing
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing
- Audit log type: Data access
- Permissions:
analyticshub.listings.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing"
GetSubscription
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription
- Audit log type: Data access
- Permissions:
analyticshub.subscriptions.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription"
ListDataExchanges
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges"
ListListings
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings
- Audit log type: Data access
- Permissions:
analyticshub.listings.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings"
ListOrgDataExchanges
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges"
ListSharedResourceSubscriptions
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions
- Audit log type: Data access
- Permissions:
analyticshub.listings.viewSubscriptions - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions"
ListSubscriptions
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions
- Audit log type: Data access
- Permissions:
analyticshub.subscriptions.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions"
RefreshSubscription
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription
- Audit log type: Admin activity
- Permissions:
analyticshub.subscriptions.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription"
RevokeSubscription
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.update - ADMIN_WRITE
analyticshub.listings.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription"
SetIamPolicy
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.setIamPolicy - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy"
SubscribeDataExchange
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.subscriptions.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange"
SubscribeListing
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing
- Audit log type: Data access
- Permissions:
analyticshub.listings.subscribe - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing"
UpdateDataExchange
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange"
UpdateListing
- Method:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing"
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService
.
CreateDataExchange
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange"
CreateListing
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing"
DeleteDataExchange
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange"
DeleteListing
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing"
GetDataExchange
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange"
GetIamPolicy
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.getIamPolicy - ADMIN_READ
analyticshub.listings.getIamPolicy - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy"
GetListing
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing
- Audit log type: Data access
- Permissions:
analyticshub.listings.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing"
ListDataExchanges
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges"
ListListings
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings
- Audit log type: Data access
- Permissions:
analyticshub.listings.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings"
ListOrgDataExchanges
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges
- Audit log type: Data access
- Permissions:
analyticshub.dataExchanges.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges"
SetIamPolicy
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.setIamPolicy - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy"
SubscribeListing
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing
- Audit log type: Data access
- Permissions:
analyticshub.listings.subscribe - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing"
UpdateDataExchange
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange
- Audit log type: Admin activity
- Permissions:
analyticshub.dataExchanges.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange"
UpdateListing
- Method:
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing
- Audit log type: Admin activity
- Permissions:
analyticshub.listings.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing"
Methods that don't produce audit logs
A method might not produce audit logs for one or more of the following reasons:
- It is a high volume method involving signifcant log generation and storage costs.
- It has low auditing value.
- Another audit or platform log already provides method coverage.
The following methods don't produce audit logs:
google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.TestIamPermissions
google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.TestIamPermissions