Storage Insights audit logging

This document describes audit logging for Storage Insights. Google Cloud servicesgenerate 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

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

protoPayload.serviceName="storageinsights.googleapis.com"

Methods by permission type

Each IAM permission has atype property, whose value is an enumthat can be one of four values:ADMIN_READ,ADMIN_WRITE,DATA_READ, orDATA_WRITE. When you call a method,Storage Insights generates an audit log whose category is dependent on thetype property of the permission required to perform the method.Methods that require an IAM permission with thetype property valueofDATA_READ,DATA_WRITE, orADMIN_READ generateData Access audit logs.Methods that require an IAM permission with thetype property valueofADMIN_WRITE generateAdmin Activity audit logs.

API methods in the following list that are marked with (LRO) are long-running operations (LROs).These methods usually generate two audit log entries: one when the operation starts andanother when it ends. For more information seeAudit logs for long-running operations.
Permission typeMethods
ADMIN_READgoogle.cloud.location.Locations.ListLocations
google.cloud.storageinsights.v1.StorageInsights.GetDatasetConfig
google.cloud.storageinsights.v1.StorageInsights.GetReportConfig
google.cloud.storageinsights.v1.StorageInsights.GetReportDetail
google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs
google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs
google.cloud.storageinsights.v1.StorageInsights.ListReportDetails
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITEgoogle.cloud.storageinsights.v1.StorageInsights.CreateDatasetConfig (LRO)
google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig
google.cloud.storageinsights.v1.StorageInsights.DeleteDatasetConfig (LRO)
google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig
google.cloud.storageinsights.v1.StorageInsights.LinkDataset (LRO)
google.cloud.storageinsights.v1.StorageInsights.UnlinkDataset (LRO)
google.cloud.storageinsights.v1.StorageInsights.UpdateDatasetConfig (LRO)
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.location.Locations

The following audit logs are associated with methods belonging togoogle.cloud.location.Locations.

ListLocations

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

google.cloud.storageinsights.v1.StorageInsights

The following audit logs are associated with methods belonging togoogle.cloud.storageinsights.v1.StorageInsights.

CreateDatasetConfig

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

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"

DeleteDatasetConfig

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

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"

GetDatasetConfig

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

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"

LinkDataset

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

ListDatasetConfigs

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

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"

UnlinkDataset

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

UpdateDatasetConfig

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

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"

google.longrunning.Operations

The following audit logs are associated with methods belonging togoogle.longrunning.Operations.

GetOperation

  • Method:google.longrunning.Operations.GetOperation
  • Audit log type:Data access
  • Permissions:
    • storageinsights.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:
    • storageinsights.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 followingreasons:

  • It is a high volume method involving significant 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.longrunning.Operations.WaitOperation

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-14 UTC.