Audit logging for Cloud Storage for Firebase

This document describes audit logging for Cloud Storage for Firebase. 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:

Service name

Cloud Storage for Firebase audit logs use the service name firebasestorage.googleapis.com. Filter for this service:

    protoPayload.serviceName="firebasestorage.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 Storage for Firebase 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.firebase.storage.controlplane.v1alpha.FirebaseStorageService.GetDefaultBucket
google.firebase.storage.controlplane.v1beta.FirebaseStorageService.GetBucket
google.firebase.storage.controlplane.v1beta.FirebaseStorageService.ListBuckets
ADMIN_WRITE google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.AddFirebase
google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.CreateDefaultBucket
google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.DeleteDefaultBucket
google.firebase.storage.controlplane.v1beta.FirebaseStorageService.AddFirebase
google.firebase.storage.controlplane.v1beta.FirebaseStorageService.CreateDefaultBucket
google.firebase.storage.controlplane.v1beta.FirebaseStorageService.RemoveFirebase

API interface audit logs

For information about how and which permissions are evaluated for each method, see the Cloud Identity and Access Management documentation for Cloud Storage for Firebase.

google.firebase.storage.controlplane.v1alpha.FirebaseStorageService

The following audit logs are associated with methods belonging to google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.

AddFirebase

  • Method: google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.AddFirebase
  • Audit log type: Admin activity
  • Permissions:
    • firebasestorage.buckets.addFirebase - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.AddFirebase"

CreateDefaultBucket

  • Method: google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.CreateDefaultBucket
  • Audit log type: Admin activity
  • Permissions:
    • firebasestorage.defaultBucket.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.CreateDefaultBucket"

DeleteDefaultBucket

  • Method: google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.DeleteDefaultBucket
  • Audit log type: Admin activity
  • Permissions:
    • firebasestorage.defaultBucket.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.DeleteDefaultBucket"

GetDefaultBucket

  • Method: google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.GetDefaultBucket
  • Audit log type: Data access
  • Permissions:
    • firebasestorage.defaultBucket.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1alpha.FirebaseStorageService.GetDefaultBucket"

google.firebase.storage.controlplane.v1beta.FirebaseStorageService

The following audit logs are associated with methods belonging to google.firebase.storage.controlplane.v1beta.FirebaseStorageService.

AddFirebase

  • Method: google.firebase.storage.controlplane.v1beta.FirebaseStorageService.AddFirebase
  • Audit log type: Admin activity
  • Permissions:
    • firebasestorage.buckets.addFirebase - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1beta.FirebaseStorageService.AddFirebase"

CreateDefaultBucket

  • Method: google.firebase.storage.controlplane.v1beta.FirebaseStorageService.CreateDefaultBucket
  • Audit log type: Admin activity
  • Permissions:
    • firebasestorage.defaultBucket.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1beta.FirebaseStorageService.CreateDefaultBucket"

GetBucket

  • Method: google.firebase.storage.controlplane.v1beta.FirebaseStorageService.GetBucket
  • Audit log type: Data access
  • Permissions:
    • firebasestorage.buckets.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1beta.FirebaseStorageService.GetBucket"

ListBuckets

  • Method: google.firebase.storage.controlplane.v1beta.FirebaseStorageService.ListBuckets
  • Audit log type: Data access
  • Permissions:
    • firebasestorage.buckets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1beta.FirebaseStorageService.ListBuckets"

RemoveFirebase

  • Method: google.firebase.storage.controlplane.v1beta.FirebaseStorageService.RemoveFirebase
  • Audit log type: Admin activity
  • Permissions:
    • firebasestorage.buckets.removeFirebase - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.firebase.storage.controlplane.v1beta.FirebaseStorageService.RemoveFirebase"