Storage Insights audit logging

This document describes audit logging for Storage Insights. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. To learn more about Cloud Audit Logs, refer to the following documentation pages:

Service name

Storage Insights audit logs use the service name storageinsights.googleapis.com. Filter for this service:

    protoPayload.serviceName="storageinsights.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, Storage Insights 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.storageinsights.v1.StorageInsights.GetReportConfig
google.cloud.storageinsights.v1.StorageInsights.GetReportDetail
google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs
google.cloud.storageinsights.v1.StorageInsights.ListReportDetails
ADMIN_WRITE google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig
google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig
google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig

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 Storage Insights.

google.cloud.storageinsights.v1.StorageInsights

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

CreateReportConfig

  • Method: google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig
  • Audit log type: Admin activity
  • Permissions:
    • storageinsights.reportConfigs.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig"

DeleteReportConfig

  • Method: google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig
  • Audit log type: Admin activity
  • Permissions:
    • storageinsights.reportConfigs.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig"

GetReportConfig

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

GetReportDetail

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

ListReportConfigs

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

ListReportDetails

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

UpdateReportConfig

  • Method: google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig
  • Audit log type: Admin activity
  • Permissions:
    • storageinsights.reportConfigs.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig"