Serverless VPC Access audit logging

This document describes audit logging for Serverless VPC Access. 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

Serverless VPC Access audit logs use the service name vpcaccess.googleapis.com. Filter for this service:

    protoPayload.serviceName="vpcaccess.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, Serverless VPC Access 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.location.Locations.ListLocations
google.cloud.vpcaccess.v1.VpcAccessService.GetConnector
google.cloud.vpcaccess.v1.VpcAccessService.ListConnectors
google.cloud.vpcaccess.v1beta1.VpcAccessService.GetConnector
google.cloud.vpcaccess.v1beta1.VpcAccessService.ListConnectors
ADMIN_WRITE google.cloud.vpcaccess.v1.VpcAccessService.CreateConnector
google.cloud.vpcaccess.v1.VpcAccessService.DeleteConnector
google.cloud.vpcaccess.v1.VpcAccessService.UpdateConnector
google.cloud.vpcaccess.v1beta1.VpcAccessService.CreateConnector
google.cloud.vpcaccess.v1beta1.VpcAccessService.DeleteConnector
google.cloud.vpcaccess.v1beta1.VpcAccessService.UpdateConnector

API interface audit logs

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

google.cloud.location.Locations

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

ListLocations

  • Method: google.cloud.location.Locations.ListLocations
  • Audit log type: Data access
  • Permissions:
    • vpcaccess.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.vpcaccess.v1.VpcAccessService

The following audit logs are associated with methods belonging to google.cloud.vpcaccess.v1.VpcAccessService.

CreateConnector

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

DeleteConnector

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

GetConnector

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

ListConnectors

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

UpdateConnector

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

google.cloud.vpcaccess.v1beta1.VpcAccessService

The following audit logs are associated with methods belonging to google.cloud.vpcaccess.v1beta1.VpcAccessService.

CreateConnector

  • Method: google.cloud.vpcaccess.v1beta1.VpcAccessService.CreateConnector
  • Audit log type: Admin activity
  • Permissions:
    • vpcaccess.connectors.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.vpcaccess.v1beta1.VpcAccessService.CreateConnector"

DeleteConnector

  • Method: google.cloud.vpcaccess.v1beta1.VpcAccessService.DeleteConnector
  • Audit log type: Admin activity
  • Permissions:
    • vpcaccess.connectors.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.vpcaccess.v1beta1.VpcAccessService.DeleteConnector"

GetConnector

  • Method: google.cloud.vpcaccess.v1beta1.VpcAccessService.GetConnector
  • Audit log type: Data access
  • Permissions:
    • vpcaccess.connectors.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.vpcaccess.v1beta1.VpcAccessService.GetConnector"

ListConnectors

  • Method: google.cloud.vpcaccess.v1beta1.VpcAccessService.ListConnectors
  • Audit log type: Data access
  • Permissions:
    • vpcaccess.connectors.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.vpcaccess.v1beta1.VpcAccessService.ListConnectors"

UpdateConnector

  • Method: google.cloud.vpcaccess.v1beta1.VpcAccessService.UpdateConnector
  • Audit log type: Admin activity
  • Permissions:
    • vpcaccess.connectors.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.vpcaccess.v1beta1.VpcAccessService.UpdateConnector"

Methods that don't produce audit logs

A method might not produce audit logs for one or more of the following reasons:

  • It is a high volume method involving signifcant 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.cloud.vpcaccess.v1alpha1.VpcAccessService.HeartbeatConnector