This document describes audit logging for AlloyDB for PostgreSQL. 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
AlloyDB for PostgreSQL audit logs use the service name alloydb.googleapis.com
.
Filter for this service:
protoPayload.serviceName="alloydb.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,
AlloyDB for PostgreSQL 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.alloydb.v1.AlloyDBAdmin.GetBackup google.cloud.alloydb.v1.AlloyDBAdmin.GetCluster google.cloud.alloydb.v1.AlloyDBAdmin.GetInstance google.cloud.alloydb.v1.AlloyDBAdmin.GetUser google.cloud.alloydb.v1.AlloyDBAdmin.ListBackups google.cloud.alloydb.v1.AlloyDBAdmin.ListClusters google.cloud.alloydb.v1.AlloyDBAdmin.ListDatabases google.cloud.alloydb.v1.AlloyDBAdmin.ListInstances google.cloud.alloydb.v1.AlloyDBAdmin.ListUsers google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetCluster google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstance google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackups google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClusters google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstances google.cloud.alloydb.v1beta.AlloyDBAdmin.GetBackup google.cloud.alloydb.v1beta.AlloyDBAdmin.GetCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.GetInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups google.cloud.alloydb.v1beta.AlloyDBAdmin.ListClusters google.cloud.alloydb.v1beta.AlloyDBAdmin.ListDatabases google.cloud.alloydb.v1beta.AlloyDBAdmin.ListInstances google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers google.longrunning.Operations.GetOperation google.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.alloydb.v1.AlloyDBAdmin.CreateBackup google.cloud.alloydb.v1.AlloyDBAdmin.CreateCluster google.cloud.alloydb.v1.AlloyDBAdmin.CreateInstance google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryCluster google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryInstance google.cloud.alloydb.v1.AlloyDBAdmin.CreateUser google.cloud.alloydb.v1.AlloyDBAdmin.DeleteBackup google.cloud.alloydb.v1.AlloyDBAdmin.DeleteCluster google.cloud.alloydb.v1.AlloyDBAdmin.DeleteInstance google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUser google.cloud.alloydb.v1.AlloyDBAdmin.FailoverInstance google.cloud.alloydb.v1.AlloyDBAdmin.GenerateClientCertificate google.cloud.alloydb.v1.AlloyDBAdmin.InjectFault google.cloud.alloydb.v1.AlloyDBAdmin.PromoteCluster google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstance google.cloud.alloydb.v1.AlloyDBAdmin.RestoreCluster google.cloud.alloydb.v1.AlloyDBAdmin.SwitchoverCluster google.cloud.alloydb.v1.AlloyDBAdmin.UpdateBackup google.cloud.alloydb.v1.AlloyDBAdmin.UpdateCluster google.cloud.alloydb.v1.AlloyDBAdmin.UpdateInstance google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUser google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackup google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateCluster google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstance google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryCluster google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstance google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateUser google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackup google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteCluster google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstance google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificate google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstance google.cloud.alloydb.v1alpha.AlloyDBAdmin.SwitchoverCluster google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateCluster google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.BatchCreateInstances google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateBackup google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.GenerateClientCertificate google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.RestartInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.RestoreCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.SwitchoverCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateBackup google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateCluster google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateInstance google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser google.longrunning.Operations.CancelOperation google.longrunning.Operations.DeleteOperation |
DATA_WRITE |
google.cloud.alloydb.v1.AlloyDBAdmin.ExecuteSql google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExecuteSql google.cloud.alloydb.v1beta.AlloyDBAdmin.ExecuteSql |
API interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for AlloyDB for PostgreSQL.
google.cloud.alloydb.v1.AlloyDBAdmin
The following audit logs are associated with methods belonging to
google.cloud.alloydb.v1.AlloyDBAdmin
.
CreateBackup
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.CreateBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.CreateBackup"
CreateCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.CreateCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.CreateCluster"
CreateInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.CreateInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.CreateInstance"
CreateSecondaryCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryCluster"
CreateSecondaryInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryInstance"
CreateUser
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.CreateUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.CreateUser"
DeleteBackup
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.DeleteBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.DeleteBackup"
DeleteCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.DeleteCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.DeleteCluster"
DeleteInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.DeleteInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.DeleteInstance"
DeleteUser
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUser"
ExecuteSql
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.ExecuteSql
- Audit log type: Data access
- Permissions:
alloydb.instances.executeSql - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.ExecuteSql"
FailoverInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.FailoverInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.failover - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.FailoverInstance"
GenerateClientCertificate
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.GenerateClientCertificate
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.generateClientCertificate - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.GenerateClientCertificate"
GetBackup
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.GetBackup
- Audit log type: Data access
- Permissions:
alloydb.backups.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.GetBackup"
GetCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.GetCluster
- Audit log type: Data access
- Permissions:
alloydb.clusters.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.GetCluster"
GetInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.GetInstance
- Audit log type: Data access
- Permissions:
alloydb.instances.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.GetInstance"
GetUser
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.GetUser
- Audit log type: Data access
- Permissions:
alloydb.users.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.GetUser"
InjectFault
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.InjectFault
- Audit log type: Admin activity
- Permissions:
alloydb.instances.injectFault - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.InjectFault"
ListBackups
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.ListBackups
- Audit log type: Data access
- Permissions:
alloydb.backups.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.ListBackups"
ListClusters
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.ListClusters
- Audit log type: Data access
- Permissions:
alloydb.clusters.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.ListClusters"
ListDatabases
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.ListDatabases
- Audit log type: Data access
- Permissions:
alloydb.databases.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.ListDatabases"
ListInstances
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.ListInstances
- Audit log type: Data access
- Permissions:
alloydb.instances.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.ListInstances"
ListUsers
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.ListUsers
- Audit log type: Data access
- Permissions:
alloydb.users.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.ListUsers"
PromoteCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.PromoteCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.promote - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.PromoteCluster"
RestartInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.restart - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstance"
RestoreCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.RestoreCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.RestoreCluster"
SwitchoverCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.SwitchoverCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.get - ADMIN_READ
alloydb.clusters.switchover - ADMIN_WRITE
alloydb.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.SwitchoverCluster"
UpdateBackup
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.UpdateBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.UpdateBackup"
UpdateCluster
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.UpdateCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.UpdateCluster"
UpdateInstance
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.UpdateInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.UpdateInstance"
UpdateUser
- Method:
google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUser"
google.cloud.alloydb.v1alpha.AlloyDBAdmin
The following audit logs are associated with methods belonging to
google.cloud.alloydb.v1alpha.AlloyDBAdmin
.
CreateBackup
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackup"
CreateCluster
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateCluster"
CreateInstance
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstance"
CreateSecondaryCluster
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryCluster"
CreateSecondaryInstance
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstance"
CreateUser
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateUser"
DeleteBackup
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackup"
DeleteCluster
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteCluster"
DeleteInstance
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstance"
ExecuteSql
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExecuteSql
- Audit log type: Data access
- Permissions:
alloydb.instances.executeSql - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExecuteSql"
GenerateClientCertificate
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificate
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.generateClientCertificate - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificate"
GetCluster
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetCluster
- Audit log type: Data access
- Permissions:
alloydb.clusters.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetCluster"
GetInstance
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstance
- Audit log type: Data access
- Permissions:
alloydb.instances.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstance"
ListBackups
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackups
- Audit log type: Data access
- Permissions:
alloydb.backups.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackups"
ListClusters
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClusters
- Audit log type: Data access
- Permissions:
alloydb.clusters.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClusters"
ListInstances
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstances
- Audit log type: Data access
- Permissions:
alloydb.instances.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstances"
RestartInstance
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.restart - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstance"
SwitchoverCluster
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.SwitchoverCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.switchover - ADMIN_WRITE
alloydb.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.SwitchoverCluster"
UpdateCluster
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateCluster"
UpdateInstance
- Method:
google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstance"
google.cloud.alloydb.v1beta.AlloyDBAdmin
The following audit logs are associated with methods belonging to
google.cloud.alloydb.v1beta.AlloyDBAdmin
.
BatchCreateInstances
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.BatchCreateInstances
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.BatchCreateInstances"
CreateBackup
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateBackup"
CreateCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateCluster"
CreateInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateInstance"
CreateSecondaryCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
alloydb.clusters.get - ADMIN_READ
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryCluster"
CreateSecondaryInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryInstance"
CreateUser
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser"
DeleteBackup
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup"
DeleteCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteCluster"
DeleteInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteInstance"
DeleteUser
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser"
ExecuteSql
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.ExecuteSql
- Audit log type: Data access
- Permissions:
alloydb.instances.executeSql - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.ExecuteSql"
FailoverInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.failover - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance"
GenerateClientCertificate
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.GenerateClientCertificate
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.generateClientCertificate - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.GenerateClientCertificate"
GetBackup
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.GetBackup
- Audit log type: Data access
- Permissions:
alloydb.backups.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.GetBackup"
GetCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.GetCluster
- Audit log type: Data access
- Permissions:
alloydb.clusters.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.GetCluster"
GetInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.GetInstance
- Audit log type: Data access
- Permissions:
alloydb.instances.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.GetInstance"
GetUser
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser
- Audit log type: Data access
- Permissions:
alloydb.users.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser"
ListBackups
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups
- Audit log type: Data access
- Permissions:
alloydb.backups.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups"
ListClusters
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.ListClusters
- Audit log type: Data access
- Permissions:
alloydb.clusters.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.ListClusters"
ListDatabases
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.ListDatabases
- Audit log type: Data access
- Permissions:
alloydb.databases.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.ListDatabases"
ListInstances
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.ListInstances
- Audit log type: Data access
- Permissions:
alloydb.instances.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.ListInstances"
ListUsers
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers
- Audit log type: Data access
- Permissions:
alloydb.users.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers"
PromoteCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.promote - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster"
RestartInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.RestartInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.restart - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.RestartInstance"
RestoreCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.RestoreCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.RestoreCluster"
SwitchoverCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.SwitchoverCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.get - ADMIN_READ
alloydb.clusters.switchover - ADMIN_WRITE
alloydb.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.SwitchoverCluster"
UpdateBackup
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateBackup
- Audit log type: Admin activity
- Permissions:
alloydb.backups.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateBackup"
UpdateCluster
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateCluster
- Audit log type: Admin activity
- Permissions:
alloydb.clusters.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateCluster"
UpdateInstance
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateInstance
- Audit log type: Admin activity
- Permissions:
alloydb.instances.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateInstance"
UpdateUser
- Method:
google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser
- Audit log type: Admin activity
- Permissions:
alloydb.users.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser"
google.longrunning.Operations
The following audit logs are associated with methods belonging to
google.longrunning.Operations
.
CancelOperation
- Method:
google.longrunning.Operations.CancelOperation
- Audit log type: Admin activity
- Permissions:
alloydb.operations.cancel - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- Method:
google.longrunning.Operations.DeleteOperation
- Audit log type: Admin activity
- Permissions:
alloydb.operations.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- Method:
google.longrunning.Operations.GetOperation
- Audit log type: Data access
- Permissions:
alloydb.operations.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:
alloydb.operations.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
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.alloydb.v1.AlloyDBAdmin.ListSupportedDatabaseFlags
google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListSupportedDatabaseFlags
google.cloud.alloydb.v1beta.AlloyDBAdmin.ListSupportedDatabaseFlags