Memorystore for Memcached audit logging

This document describes audit logging for Memorystore for Memcached. 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

Memorystore for Memcached audit logs use the service name memcache.googleapis.com. Filter for this service:

    protoPayload.serviceName="memcache.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, Memorystore for Memcached 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.memcache.v1.CloudMemcache.GetInstance
google.cloud.memcache.v1.CloudMemcache.ListInstances
google.cloud.memcache.v1beta2.CloudMemcache.GetInstance
google.cloud.memcache.v1beta2.CloudMemcache.ListInstances
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE google.cloud.memcache.v1.CloudMemcache.ApplyParameters
google.cloud.memcache.v1.CloudMemcache.CreateInstance
google.cloud.memcache.v1.CloudMemcache.DeleteInstance
google.cloud.memcache.v1.CloudMemcache.UpdateInstance
google.cloud.memcache.v1.CloudMemcache.UpdateParameters
google.cloud.memcache.v1.CloudMemcache.UpgradeInstance
google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters
google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate
google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance
google.cloud.memcache.v1beta2.CloudMemcache.DeleteInstance
google.cloud.memcache.v1beta2.CloudMemcache.UpdateInstance
google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters
google.cloud.memcache.v1beta2.CloudMemcache.UpgradeInstance
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.DeleteOperation

API interface audit logs

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

google.cloud.memcache.v1.CloudMemcache

The following audit logs are associated with methods belonging to google.cloud.memcache.v1.CloudMemcache.

ApplyParameters

  • Method: google.cloud.memcache.v1.CloudMemcache.ApplyParameters
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.applyParameters - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1.CloudMemcache.ApplyParameters"

CreateInstance

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

DeleteInstance

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

GetInstance

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

ListInstances

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

UpdateInstance

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

UpdateParameters

  • Method: google.cloud.memcache.v1.CloudMemcache.UpdateParameters
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.updateParameters - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1.CloudMemcache.UpdateParameters"

UpgradeInstance

  • Method: google.cloud.memcache.v1.CloudMemcache.UpgradeInstance
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.upgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1.CloudMemcache.UpgradeInstance"

google.cloud.memcache.v1beta2.CloudMemcache

The following audit logs are associated with methods belonging to google.cloud.memcache.v1beta2.CloudMemcache.

ApplyParameters

  • Method: google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.applyParameters - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters"

ApplySoftwareUpdate

  • Method: google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.applySoftwareUpdate - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate"

CreateInstance

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

DeleteInstance

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

GetInstance

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

ListInstances

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

UpdateInstance

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

UpdateParameters

  • Method: google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.updateParameters - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters"

UpgradeInstance

  • Method: google.cloud.memcache.v1beta2.CloudMemcache.UpgradeInstance
  • Audit log type: Admin activity
  • Permissions:
    • memcache.instances.upgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.memcache.v1beta2.CloudMemcache.UpgradeInstance"

google.longrunning.Operations

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

CancelOperation

  • Method: google.longrunning.Operations.CancelOperation
  • Audit log type: Admin activity
  • Permissions:
    • memcache.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:
    • memcache.operations.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.DeleteOperation"

GetOperation

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