Service Control audit logging

This document describes audit logging for Service Control. 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

Service Control audit logs use the service name servicecontrol.googleapis.com. Filter for this service:

    protoPayload.serviceName="servicecontrol.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, Service Control 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
OTHER google.api.servicecontrol.v1.QuotaController.AllocateQuota: To enable this log, enable DATA_WRITE under the service servicemanagement.googleapis.com.
google.api.servicecontrol.v1.ServiceController.Check: To enable this log, enable DATA_WRITE under the service servicemanagement.googleapis.com.
google.api.servicecontrol.v1.ServiceController.Report: To enable this log, enable DATA_WRITE under the service servicemanagement.googleapis.com.
google.api.servicecontrol.v2.ServiceController.Check: To enable this log, enable DATA_WRITE under the service servicemanagement.googleapis.com.
google.api.servicecontrol.v2.ServiceController.Report: To enable this log, enable DATA_WRITE under the service servicemanagement.googleapis.com.

API interface audit logs

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

google.api.servicecontrol.v1.QuotaController

The following audit logs are associated with methods belonging to google.api.servicecontrol.v1.QuotaController.

AllocateQuota

  • Method: google.api.servicecontrol.v1.QuotaController.AllocateQuota
  • Audit log type: Data access
  • Permissions:
    • servicemanagement.services.quota - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.api.servicecontrol.v1.QuotaController.AllocateQuota"

google.api.servicecontrol.v1.ServiceController

The following audit logs are associated with methods belonging to google.api.servicecontrol.v1.ServiceController.

Check

  • Method: google.api.servicecontrol.v1.ServiceController.Check
  • Audit log type: Data access
  • Permissions:
    • servicemanagement.services.check - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.api.servicecontrol.v1.ServiceController.Check"

Report

  • Method: google.api.servicecontrol.v1.ServiceController.Report
  • Audit log type: Data access
  • Permissions:
    • servicemanagement.services.report - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.api.servicecontrol.v1.ServiceController.Report"

google.api.servicecontrol.v2.ServiceController

The following audit logs are associated with methods belonging to google.api.servicecontrol.v2.ServiceController.

Check

  • Method: google.api.servicecontrol.v2.ServiceController.Check
  • Audit log type: Data access
  • Permissions:
    • servicemanagement.services.check - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.api.servicecontrol.v2.ServiceController.Check"

Report

  • Method: google.api.servicecontrol.v2.ServiceController.Report
  • Audit log type: Data access
  • Permissions:
    • servicemanagement.services.report - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.api.servicecontrol.v2.ServiceController.Report"