Cloud CDN audit logging

This document describes audit logging for Cloud CDN. 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 CDN audit logs use the service name compute.googleapis.com. Filter for this service:

    protoPayload.serviceName="compute.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 CDN 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 v1.compute.backendServices.aggregatedList
v1.compute.backendServices.get
v1.compute.backendServices.getHealth
v1.compute.backendServices.getIamPolicy
v1.compute.backendServices.list
v1.compute.backendServices.testIamPermissions
ADMIN_WRITE v1.compute.backendServices.addSignedUrlKey
v1.compute.backendServices.delete
v1.compute.backendServices.deleteSignedUrlKey
v1.compute.backendServices.insert
v1.compute.backendServices.patch
v1.compute.backendServices.setEdgeSecurityPolicy
v1.compute.backendServices.setIamPolicy
v1.compute.backendServices.setSecurityPolicy
v1.compute.backendServices.update

API interface audit logs

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

compute.v1.BackendServicesService

The following audit logs are associated with methods belonging to compute.v1.BackendServicesService.

addSignedUrlKey

  • Method: v1.compute.backendServices.addSignedUrlKey
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.addSignedUrlKey - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.addSignedUrlKey"

aggregatedList

  • Method: v1.compute.backendServices.aggregatedList
  • Audit log type: Data access
  • Permissions:
    • compute.backendServices.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.aggregatedList"

delete

  • Method: v1.compute.backendServices.delete
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.delete"

deleteSignedUrlKey

  • Method: v1.compute.backendServices.deleteSignedUrlKey
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.deleteSignedUrlKey - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.deleteSignedUrlKey"

get

  • Method: v1.compute.backendServices.get
  • Audit log type: Data access
  • Permissions:
    • compute.backendServices.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.get"

getHealth

  • Method: v1.compute.backendServices.getHealth
  • Audit log type: Data access
  • Permissions:
    • compute.backendServices.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.getHealth"

getIamPolicy

  • Method: v1.compute.backendServices.getIamPolicy
  • Audit log type: Data access
  • Permissions:
    • compute.backendServices.getIamPolicy - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.getIamPolicy"

insert

  • Method: v1.compute.backendServices.insert
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.create - ADMIN_WRITE
    • compute.instanceGroups.use - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.insert"

list

  • Method: v1.compute.backendServices.list
  • Audit log type: Data access
  • Permissions:
    • compute.backendServices.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.list"

patch

  • Method: v1.compute.backendServices.patch
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.get - ADMIN_READ
    • compute.backendServices.update - ADMIN_WRITE
    • compute.healthChecks.useReadOnly - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.patch"

setEdgeSecurityPolicy

  • Method: v1.compute.backendServices.setEdgeSecurityPolicy
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.setSecurityPolicy - ADMIN_WRITE
    • compute.securityPolicies.use - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.setEdgeSecurityPolicy"

setIamPolicy

  • Method: v1.compute.backendServices.setIamPolicy
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.setIamPolicy - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.setIamPolicy"

setSecurityPolicy

  • Method: v1.compute.backendServices.setSecurityPolicy
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.setSecurityPolicy - ADMIN_WRITE
    • compute.securityPolicies.use - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.setSecurityPolicy"

testIamPermissions

  • Method: v1.compute.backendServices.testIamPermissions
  • Audit log type: Data access
  • Permissions:
    • compute.backendServices.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.testIamPermissions"

update

  • Method: v1.compute.backendServices.update
  • Audit log type: Admin activity
  • Permissions:
    • compute.backendServices.update - ADMIN_WRITE
    • compute.healthChecks.useReadOnly - ADMIN_READ
    • compute.instanceGroups.use - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="v1.compute.backendServices.update"