Connectivity Tests audit logging

This document describes audit logging for Connectivity Tests. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. To learn more about Cloud Audit Logs, refer to the following documentation pages:

Service name

Connectivity Tests audit logs use the service name networkmanagement.googleapis.com. Filter for this service:

    protoPayload.serviceName="networkmanagement.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, Connectivity Tests 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 GetIamPolicy
google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTest
google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTests
google.cloud.networkmanagement.v1beta1.ReachabilityService.GetConnectivityTest
google.cloud.networkmanagement.v1beta1.ReachabilityService.ListConnectivityTests
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE SetIamPolicy
google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTest
google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTest
google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest
google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTest
google.cloud.networkmanagement.v1beta1.ReachabilityService.CreateConnectivityTest
google.cloud.networkmanagement.v1beta1.ReachabilityService.DeleteConnectivityTest
google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTest
google.cloud.networkmanagement.v1beta1.ReachabilityService.UpdateConnectivityTest
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 Connectivity Tests.

google.cloud.networkmanagement.v1.ReachabilityService

The following section contains details about audit logs associated with methods belonging to google.cloud.networkmanagement.v1.ReachabilityService.

CreateConnectivityTest

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

DeleteConnectivityTest

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

GetConnectivityTest

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

ListConnectivityTests

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

RerunConnectivityTest

  • Method: google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest
  • Audit log type: Admin activity
  • Permissions:
    • networkmanagement.connectivitytests.rerun - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest"

UpdateConnectivityTest

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

google.cloud.networkmanagement.v1beta1.ReachabilityService

The following section contains details about audit logs associated with methods belonging to google.cloud.networkmanagement.v1beta1.ReachabilityService.

CreateConnectivityTest

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

DeleteConnectivityTest

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

GetConnectivityTest

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

ListConnectivityTests

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

RerunConnectivityTest

  • Method: google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTest
  • Audit log type: Admin activity
  • Permissions:
    • networkmanagement.connectivitytests.rerun - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTest"

UpdateConnectivityTest

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

google.iam.v1.IAMPolicy

The following section contains details about audit logs associated with methods belonging to google.iam.v1.IAMPolicy.

GetIamPolicy

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

SetIamPolicy

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

google.longrunning.Operations

The following section contains details about audit logs associated with methods belonging to google.longrunning.Operations.

CancelOperation

  • Method: google.longrunning.Operations.CancelOperation
  • Audit log type: Admin activity
  • Permissions:
    • networkmanagement.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:
    • networkmanagement.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:
    • networkmanagement.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:
    • networkmanagement.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 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.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.WaitOperation