Storage Transfer Service audit logging

This document describes audit logging for Storage Transfer Service, which methods generate audit logs, 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

Storage Transfer Service audit logs use the service name storagetransfer.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.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
google.storagetransfer.v1.StorageTransferService.CreateAgentPool
google.storagetransfer.v1.StorageTransferService.GetGoogleServiceAccount
google.storagetransfer.v1.StorageTransferService.GetTransferJob
google.storagetransfer.v1.StorageTransferService.ListTransferJobs
ADMIN_WRITE google.longrunning.Operations.CancelOperation
google.storagetransfer.v1.StorageTransferService.CreateTransferJob
google.storagetransfer.v1.StorageTransferService.DeleteTransferJob
google.storagetransfer.v1.StorageTransferService.PauseTransferOperation
google.storagetransfer.v1.StorageTransferService.ResumeTransferOperation
google.storagetransfer.v1.StorageTransferService.RunTransferJob
google.storagetransfer.v1.StorageTransferService.UpdateTransferJob

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 Storage Transfer Service.

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:
    • storagetransfer.operations.cancel - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.CancelOperation"

GetOperation

  • Method: google.longrunning.Operations.GetOperation
  • Audit log type: Data access
  • Permissions:
    • storagetransfer.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:
    • storagetransfer.operations.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.ListOperations"

google.storagetransfer.v1.StorageTransferService

The following section contains details about audit logs associated with methods belonging to google.storagetransfer.v1.StorageTransferService.

CreateAgentPool

  • Method: google.storagetransfer.v1.StorageTransferService.CreateAgentPool
  • Audit log type: Data access
  • Permissions:
    • storagetransfer.projects.getServiceAccount - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.CreateAgentPool"

CreateTransferJob

  • Method: google.storagetransfer.v1.StorageTransferService.CreateTransferJob
  • Audit log type: Admin activity
  • Permissions:
    • storagetransfer.jobs.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.CreateTransferJob"

DeleteTransferJob

  • Method: google.storagetransfer.v1.StorageTransferService.DeleteTransferJob
  • Audit log type: Admin activity
  • Permissions:
    • storagetransfer.jobs.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.DeleteTransferJob"

GetGoogleServiceAccount

  • Method: google.storagetransfer.v1.StorageTransferService.GetGoogleServiceAccount
  • Audit log type: Data access
  • Permissions:
    • storagetransfer.projects.getServiceAccount - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.GetGoogleServiceAccount"

GetTransferJob

  • Method: google.storagetransfer.v1.StorageTransferService.GetTransferJob
  • Audit log type: Data access
  • Permissions:
    • storagetransfer.jobs.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.GetTransferJob"

ListTransferJobs

  • Method: google.storagetransfer.v1.StorageTransferService.ListTransferJobs
  • Audit log type: Data access
  • Permissions:
    • storagetransfer.jobs.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.ListTransferJobs"

PauseTransferOperation

  • Method: google.storagetransfer.v1.StorageTransferService.PauseTransferOperation
  • Audit log type: Admin activity
  • Permissions:
    • storagetransfer.operations.pause - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.PauseTransferOperation"

ResumeTransferOperation

  • Method: google.storagetransfer.v1.StorageTransferService.ResumeTransferOperation
  • Audit log type: Admin activity
  • Permissions:
    • storagetransfer.operations.resume - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.ResumeTransferOperation"

RunTransferJob

  • Method: google.storagetransfer.v1.StorageTransferService.RunTransferJob
  • Audit log type: Admin activity
  • Permissions:
    • storagetransfer.jobs.run - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.RunTransferJob"

UpdateTransferJob

  • Method: google.storagetransfer.v1.StorageTransferService.UpdateTransferJob
  • Audit log type: Admin activity
  • Permissions:
    • storagetransfer.jobs.delete - ADMIN_WRITE
    • storagetransfer.jobs.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.storagetransfer.v1.StorageTransferService.UpdateTransferJob"

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.storagetransfer.v1.StorageTransferService.DeleteAgentPool
  • google.storagetransfer.v1.StorageTransferService.GetAgentPool
  • google.storagetransfer.v1.StorageTransferService.ListAgentPools
  • google.storagetransfer.v1.StorageTransferService.UpdateAgentPool