Filestore audit logging

This document describes audit logging for Filestore, 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.

Notes

For a full list of Filestore resources and their methods, see the Filestore API overview.

Service name

Filestore audit logs use the service name file.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.filestore.v1.CloudFilestoreManager.GetBackup
google.cloud.filestore.v1.CloudFilestoreManager.GetInstance
google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot
google.cloud.filestore.v1.CloudFilestoreManager.ListBackups
google.cloud.filestore.v1.CloudFilestoreManager.ListInstances
google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackup
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstance
google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshot
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackups
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstances
google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshots
ADMIN_WRITE google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup
google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance
google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot
google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackup
google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance
google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot
google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance
google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance
google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackup
google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance
google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackup
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstance
google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshot
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackup
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstance
google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshot
google.cloud.filestore.v1beta1.CloudFilestoreManager.PromoteReplica
google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstance
google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstance
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackup
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstance
google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshot
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 Filestore.

google.cloud.filestore.v1.CloudFilestoreManager

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

CreateBackup

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup
  • Audit log type: Admin activity
  • Permissions:
    • file.backups.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup"

CreateInstance

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance"

CreateSnapshot

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot
  • Audit log type: Admin activity
  • Permissions:
    • file.snapshots.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot"

DeleteBackup

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

DeleteInstance

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance"

DeleteSnapshot

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot
  • Audit log type: Admin activity
  • Permissions:
    • file.snapshots.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot"

GetBackup

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

GetInstance

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.GetInstance
  • Audit log type: Data access
  • Permissions:
    • file.instances.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.GetInstance"

GetSnapshot

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot
  • Audit log type: Data access
  • Permissions:
    • file.snapshots.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot"

ListBackups

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

ListInstances

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.ListInstances
  • Audit log type: Data access
  • Permissions:
    • file.instances.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.ListInstances"

ListSnapshots

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots
  • Audit log type: Data access
  • Permissions:
    • file.snapshots.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots"

RestoreInstance

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.restore - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance"

RevertInstance

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.revert - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance"

UpdateBackup

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

UpdateInstance

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance"

UpdateSnapshot

  • Method: google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot
  • Audit log type: Admin activity
  • Permissions:
    • file.snapshots.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot"

google.cloud.filestore.v1beta1.CloudFilestoreManager

The following section contains details about audit logs associated with methods belonging to google.cloud.filestore.v1beta1.CloudFilestoreManager.

CreateBackup

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackup
  • Audit log type: Admin activity
  • Permissions:
    • file.backups.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackup"

CreateInstance

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstance"

CreateSnapshot

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshot
  • Audit log type: Admin activity
  • Permissions:
    • file.snapshots.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshot"

DeleteBackup

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackup
  • Audit log type: Admin activity
  • Permissions:
    • file.backups.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackup"

DeleteInstance

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstance"

DeleteSnapshot

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshot
  • Audit log type: Admin activity
  • Permissions:
    • file.snapshots.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshot"

GetBackup

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackup
  • Audit log type: Data access
  • Permissions:
    • file.backups.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackup"

GetInstance

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstance
  • Audit log type: Data access
  • Permissions:
    • file.instances.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstance"

GetSnapshot

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshot
  • Audit log type: Data access
  • Permissions:
    • file.snapshots.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshot"

ListBackups

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackups
  • Audit log type: Data access
  • Permissions:
    • file.backups.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackups"

ListInstances

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstances
  • Audit log type: Data access
  • Permissions:
    • file.instances.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstances"

ListSnapshots

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshots
  • Audit log type: Data access
  • Permissions:
    • file.snapshots.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshots"

PromoteReplica

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.PromoteReplica
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.PromoteReplica"

RestoreInstance

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.restore - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstance"

RevertInstance

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.revert - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstance"

UpdateBackup

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackup
  • Audit log type: Admin activity
  • Permissions:
    • file.backups.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackup"

UpdateInstance

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstance
  • Audit log type: Admin activity
  • Permissions:
    • file.instances.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstance"

UpdateSnapshot

  • Method: google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshot
  • Audit log type: Admin activity
  • Permissions:
    • file.snapshots.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshot"

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