Backup and DR Service audit logging

This document describes audit logging for Backup and DR Service, which methods generate audit logs, the details about the audit log(s) each method produces, and which methods do not produce audit logs, if any. Google Cloud generates audit logs that record administrative and access activities within your Google Cloud resources. For more information, see Cloud Audit Logs overview.

Service name

Backup and DR Service audit logs use the service name backupdr.googleapis.com.

Methods by permission type

Methods that check DATA_READ, DATA_WRITE, and ADMIN_READ permissions generate logs categorized as Data Access audit logs. Methods that check ADMIN_WRITE permissions generate logs categorized as Admin Activity audit logs.

Permission type Methods
ADMIN_READ google.cloud.backupdr.v1.BackupDR.GetBackup
google.cloud.backupdr.v1.BackupDR.GetBackupVault
google.cloud.backupdr.v1.BackupDR.GetDataSource
google.cloud.backupdr.v1.BackupDR.GetManagementServer
google.cloud.backupdr.v1.BackupDR.ListBackupVaults
google.cloud.backupdr.v1.BackupDR.ListBackups
google.cloud.backupdr.v1.BackupDR.ListDataSources
google.cloud.backupdr.v1.BackupDR.ListManagementServers
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE google.cloud.backupdr.v1.BackupDR.AbandonBackup
google.cloud.backupdr.v1.BackupDR.CreateBackupVault
google.cloud.backupdr.v1.BackupDR.CreateManagementServer
google.cloud.backupdr.v1.BackupDR.DeleteBackup
google.cloud.backupdr.v1.BackupDR.DeleteBackupVault
google.cloud.backupdr.v1.BackupDR.DeleteManagementServer
google.cloud.backupdr.v1.BackupDR.FetchAccessToken
google.cloud.backupdr.v1.BackupDR.FinalizeBackup
google.cloud.backupdr.v1.BackupDR.InitiateBackup
google.cloud.backupdr.v1.BackupDR.RemoveDataSource
google.cloud.backupdr.v1.BackupDR.SetInternalStatus
google.cloud.backupdr.v1.BackupDR.UpdateBackup
google.cloud.backupdr.v1.BackupDR.UpdateBackupVault
google.cloud.backupdr.v1.BackupDR.UpdateDataSource
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.DeleteOperation

Audit logs for each API interface

For information about how and which permissions are evaluated, for each method, see the Identity and Access Management documentation for Backup and DR Service.

google.cloud.backupdr.v1.BackupDR

The following section contains details about audit logs associated with methods belonging to google.cloud.backupdr.v1.BackupDR.

AbandonBackup

  • Method: google.cloud.backupdr.v1.BackupDR.AbandonBackup
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.abandonBackup - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.AbandonBackup"

CreateBackupVault

  • Method: google.cloud.backupdr.v1.BackupDR.CreateBackupVault
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.backupVaults.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.CreateBackupVault"

CreateManagementServer

  • Method: google.cloud.backupdr.v1.BackupDR.CreateManagementServer
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.managementServers.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.CreateManagementServer"

DeleteBackup

  • Method: google.cloud.backupdr.v1.BackupDR.DeleteBackup
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvbackups.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.DeleteBackup"

DeleteBackupVault

  • Method: google.cloud.backupdr.v1.BackupDR.DeleteBackupVault
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.backupVaults.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.DeleteBackupVault"

DeleteManagementServer

  • Method: google.cloud.backupdr.v1.BackupDR.DeleteManagementServer
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.managementServers.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.DeleteManagementServer"

FetchAccessToken

  • Method: google.cloud.backupdr.v1.BackupDR.FetchAccessToken
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.fetchAccessToken - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.FetchAccessToken"

FinalizeBackup

  • Method: google.cloud.backupdr.v1.BackupDR.FinalizeBackup
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.finalizeBackup - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.FinalizeBackup"

GetBackup

  • Method: google.cloud.backupdr.v1.BackupDR.GetBackup
  • Audit log type: Data access
  • Permissions:
    • backupdr.bvbackups.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.GetBackup"

GetBackupVault

  • Method: google.cloud.backupdr.v1.BackupDR.GetBackupVault
  • Audit log type: Data access
  • Permissions:
    • backupdr.backupVaults.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.GetBackupVault"

GetDataSource

  • Method: google.cloud.backupdr.v1.BackupDR.GetDataSource
  • Audit log type: Data access
  • Permissions:
    • backupdr.bvdataSources.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.GetDataSource"

GetManagementServer

  • Method: google.cloud.backupdr.v1.BackupDR.GetManagementServer
  • Audit log type: Data access
  • Permissions:
    • backupdr.managementServers.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.GetManagementServer"

InitiateBackup

  • Method: google.cloud.backupdr.v1.BackupDR.InitiateBackup
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.initiateBackup - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.InitiateBackup"

ListBackupVaults

  • Method: google.cloud.backupdr.v1.BackupDR.ListBackupVaults
  • Audit log type: Data access
  • Permissions:
    • backupdr.backupVaults.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.ListBackupVaults"

ListBackups

  • Method: google.cloud.backupdr.v1.BackupDR.ListBackups
  • Audit log type: Data access
  • Permissions:
    • backupdr.bvbackups.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.ListBackups"

ListDataSources

  • Method: google.cloud.backupdr.v1.BackupDR.ListDataSources
  • Audit log type: Data access
  • Permissions:
    • backupdr.bvdataSources.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.ListDataSources"

ListManagementServers

  • Method: google.cloud.backupdr.v1.BackupDR.ListManagementServers
  • Audit log type: Data access
  • Permissions:
    • backupdr.managementServers.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.ListManagementServers"

RemoveDataSource

  • Method: google.cloud.backupdr.v1.BackupDR.RemoveDataSource
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.remove - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.RemoveDataSource"

SetInternalStatus

  • Method: google.cloud.backupdr.v1.BackupDR.SetInternalStatus
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.setInternalStatus - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.SetInternalStatus"

UpdateBackup

  • Method: google.cloud.backupdr.v1.BackupDR.UpdateBackup
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvbackups.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.UpdateBackup"

UpdateBackupVault

  • Method: google.cloud.backupdr.v1.BackupDR.UpdateBackupVault
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.backupVaults.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.UpdateBackupVault"

UpdateDataSource

  • Method: google.cloud.backupdr.v1.BackupDR.UpdateDataSource
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.bvdataSources.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.backupdr.v1.BackupDR.UpdateDataSource"

google.longrunning.Operations

The following section contains details about audit logs associated with methods belonging to google.longrunning.Operations.

CancelOperation

  • Method: google.longrunning.Operations.CancelOperation
  • Audit log type: Admin activity
  • Permissions:
    • backupdr.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:
    • backupdr.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:
    • backupdr.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:
    • backupdr.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.backupdr.v1.BackupDR.TestIamPermissions
  • google.cloud.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.WaitOperation