Cloud Bigtable Admin API audit logging
This document describes audit logging for Cloud Bigtable Admin API. 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
Cloud Bigtable Admin API audit logs use the service name bigtableadmin.googleapis.com
.
Filter for this service:
protoPayload.serviceName="bigtableadmin.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,
Cloud Bigtable Admin API 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.bigtable.admin.v2.BigtableInstanceAdmin.GetAppProfile google.bigtable.admin.v2.BigtableInstanceAdmin.GetCluster google.bigtable.admin.v2.BigtableInstanceAdmin.GetIamPolicy google.bigtable.admin.v2.BigtableInstanceAdmin.GetInstance google.bigtable.admin.v2.BigtableInstanceAdmin.ListAppProfiles google.bigtable.admin.v2.BigtableInstanceAdmin.ListClusters google.bigtable.admin.v2.BigtableInstanceAdmin.ListHotTablets google.bigtable.admin.v2.BigtableInstanceAdmin.ListInstances google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView google.bigtable.admin.v2.BigtableTableAdmin.GetBackup google.bigtable.admin.v2.BigtableTableAdmin.GetIamPolicy google.bigtable.admin.v2.BigtableTableAdmin.GetTable google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews google.bigtable.admin.v2.BigtableTableAdmin.ListBackups google.bigtable.admin.v2.BigtableTableAdmin.ListTables google.longrunning.Operations.GetOperation google.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.bigtable.admin.v2.BigtableInstanceAdmin.CreateAppProfile google.bigtable.admin.v2.BigtableInstanceAdmin.CreateCluster google.bigtable.admin.v2.BigtableInstanceAdmin.CreateInstance google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteAppProfile google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteCluster google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteInstance google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateCluster google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateInstance google.bigtable.admin.v2.BigtableInstanceAdmin.SetIamPolicy google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateAppProfile google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateCluster google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateInstance google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup google.bigtable.admin.v2.BigtableTableAdmin.CreateAuthorizedView google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup google.bigtable.admin.v2.BigtableTableAdmin.CreateTable google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable google.bigtable.admin.v2.BigtableTableAdmin.SetIamPolicy google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable |
DATA_WRITE |
google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange |
API interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Cloud Bigtable Admin API.
google.bigtable.admin.v2.BigtableInstanceAdmin
The following audit logs are associated with methods belonging to
google.bigtable.admin.v2.BigtableInstanceAdmin
.
CreateAppProfile
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.CreateAppProfile
- Audit log type: Admin activity
- Permissions:
bigtable.appProfiles.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.CreateAppProfile"
CreateCluster
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.CreateCluster
- Audit log type: Admin activity
- Permissions:
bigtable.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.CreateCluster"
CreateInstance
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.CreateInstance
- Audit log type: Admin activity
- Permissions:
bigtable.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.CreateInstance"
DeleteAppProfile
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteAppProfile
- Audit log type: Admin activity
- Permissions:
bigtable.appProfiles.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteAppProfile"
DeleteCluster
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteCluster
- Audit log type: Admin activity
- Permissions:
bigtable.clusters.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteCluster"
DeleteInstance
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteInstance
- Audit log type: Admin activity
- Permissions:
bigtable.instances.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteInstance"
GetAppProfile
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.GetAppProfile
- Audit log type: Data access
- Permissions:
bigtable.appProfiles.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.GetAppProfile"
GetCluster
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.GetCluster
- Audit log type: Data access
- Permissions:
bigtable.clusters.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.GetCluster"
GetIamPolicy
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.GetIamPolicy
- Audit log type: Data access
- Permissions:
bigtable.instances.getIamPolicy - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.GetIamPolicy"
GetInstance
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.GetInstance
- Audit log type: Data access
- Permissions:
bigtable.instances.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.GetInstance"
ListAppProfiles
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.ListAppProfiles
- Audit log type: Data access
- Permissions:
bigtable.appProfiles.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.ListAppProfiles"
ListClusters
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.ListClusters
- Audit log type: Data access
- Permissions:
bigtable.clusters.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.ListClusters"
ListHotTablets
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.ListHotTablets
- Audit log type: Data access
- Permissions:
bigtable.hotTablets.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.ListHotTablets"
ListInstances
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.ListInstances
- Audit log type: Data access
- Permissions:
bigtable.instances.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.ListInstances"
PartialUpdateCluster
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateCluster
- Audit log type: Admin activity
- Permissions:
bigtable.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateCluster"
PartialUpdateInstance
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateInstance
- Audit log type: Admin activity
- Permissions:
bigtable.instances.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateInstance"
SetIamPolicy
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.SetIamPolicy
- Audit log type: Admin activity
- Permissions:
bigtable.instances.setIamPolicy - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.SetIamPolicy"
UpdateAppProfile
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateAppProfile
- Audit log type: Admin activity
- Permissions:
bigtable.appProfiles.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateAppProfile"
UpdateCluster
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateCluster
- Audit log type: Admin activity
- Permissions:
bigtable.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateCluster"
UpdateInstance
- Method:
google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateInstance
- Audit log type: Admin activity
- Permissions:
bigtable.instances.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateInstance"
google.bigtable.admin.v2.BigtableTableAdmin
The following audit logs are associated with methods belonging to
google.bigtable.admin.v2.BigtableTableAdmin
.
CheckConsistency
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency
- Audit log type: Data access
- Permissions:
bigtable.tables.checkConsistency - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency"
CopyBackup
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup
- Audit log type: Admin activity
- Permissions:
bigtable.backups.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup"
CreateAuthorizedView
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.CreateAuthorizedView
- Audit log type: Admin activity
- Permissions:
bigtable.authorizedViews.create - ADMIN_WRITE
bigtable.tables.mutateRows - DATA_WRITE
bigtable.tables.readRows - DATA_READ
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.CreateAuthorizedView"
CreateBackup
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup
- Audit log type: Admin activity
- Permissions:
bigtable.backups.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup"
CreateTable
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.CreateTable
- Audit log type: Admin activity
- Permissions:
bigtable.tables.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.CreateTable"
DeleteAuthorizedView
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView
- Audit log type: Admin activity
- Permissions:
bigtable.authorizedViews.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView"
DeleteBackup
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup
- Audit log type: Admin activity
- Permissions:
bigtable.backups.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup"
DeleteTable
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable
- Audit log type: Admin activity
- Permissions:
bigtable.tables.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable"
DropRowRange
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange
- Audit log type: Data access
- Permissions:
bigtable.tables.mutateRows - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange"
GenerateConsistencyToken
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken
- Audit log type: Data access
- Permissions:
bigtable.tables.generateConsistencyToken - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken"
GetAuthorizedView
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView
- Audit log type: Data access
- Permissions:
bigtable.authorizedViews.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView"
GetBackup
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.GetBackup
- Audit log type: Data access
- Permissions:
bigtable.backups.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.GetBackup"
GetIamPolicy
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.GetIamPolicy
- Audit log type: Data access
- Permissions:
bigtable.backups.getIamPolicy - ADMIN_READ
bigtable.tables.getIamPolicy - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.GetIamPolicy"
GetTable
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.GetTable
- Audit log type: Data access
- Permissions:
bigtable.tables.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.GetTable"
ListAuthorizedViews
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews
- Audit log type: Data access
- Permissions:
bigtable.authorizedViews.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews"
ListBackups
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.ListBackups
- Audit log type: Data access
- Permissions:
bigtable.backups.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.ListBackups"
ListTables
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.ListTables
- Audit log type: Data access
- Permissions:
bigtable.tables.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.ListTables"
ModifyColumnFamilies
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies
- Audit log type: Admin activity
- Permissions:
bigtable.tables.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies"
RestoreTable
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable
- Audit log type: Admin activity
- Permissions:
bigtable.tables.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable"
SetIamPolicy
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.SetIamPolicy
- Audit log type: Admin activity
- Permissions:
bigtable.authorizedViews.setIamPolicy - ADMIN_WRITE
bigtable.tables.setIamPolicy - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.SetIamPolicy"
UndeleteTable
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable
- Audit log type: Admin activity
- Permissions:
bigtable.tables.undelete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable"
UpdateAuthorizedView
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView
- Audit log type: Admin activity
- Permissions:
bigtable.authorizedViews.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView"
UpdateBackup
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup
- Audit log type: Admin activity
- Permissions:
bigtable.backups.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup"
UpdateTable
- Method:
google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable
- Audit log type: Admin activity
- Permissions:
bigtable.tables.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable"
google.longrunning.Operations
The following audit logs are associated with methods belonging to
google.longrunning.Operations
.
GetOperation
- Method:
google.longrunning.Operations.GetOperation
- Audit log type: Data access
- Permissions:
bigtable.instances.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- Method:
google.longrunning.Operations.ListOperations
- Audit log type: Data access
- Permissions:
bigtable.instances.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
System events
System Event audit logs are generated by GCP systems, not direct user action. For more information, see System Event audit logs.
Method Name | Filter For This Event | Notes |
---|---|---|
AutoscaleCluster |
protoPayload.methodName="AutoscaleCluster"
|
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.bigtable.admin.v2.BigtableInstanceAdmin.TestIamPermissions
google.bigtable.admin.v2.BigtableTableAdmin.TestIamPermissions
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.WaitOperation