Assured Workloads audit logging

This document describes audit logging for Assured Workloads. 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

Assured Workloads audit logs use the service name assuredworkloads.googleapis.com. Filter for this service:

    protoPayload.serviceName="assuredworkloads.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, Assured Workloads 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.assuredworkloads.v1.AssuredWorkloadsService.GetViolation
google.cloud.assuredworkloads.v1.AssuredWorkloadsService.ListViolations
google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.AnalyzeWorkloadMove
google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.GetWorkload
google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.ListWorkloads
google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.GetWorkload
google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListWorkloadUpdates
google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListWorkloads
ADMIN_WRITE google.cloud.assuredworkloads.v1.AssuredWorkloadsService.AcknowledgeViolation
google.cloud.assuredworkloads.v1.AssuredWorkloadsService.CreateWorkload
google.cloud.assuredworkloads.v1.AssuredWorkloadsService.DeleteWorkload
google.cloud.assuredworkloads.v1.AssuredWorkloadsService.RestrictAllowedResources
google.cloud.assuredworkloads.v1.AssuredWorkloadsService.UpdateWorkload
google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.EnableResourceMonitoring
google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.EnableComplianceUpdates
google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.EnableResourceMonitoring

API interface audit logs

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

google.cloud.assuredworkloads.v1.AssuredWorkloadsService

The following audit logs are associated with methods belonging to google.cloud.assuredworkloads.v1.AssuredWorkloadsService.

AcknowledgeViolation

  • Method: google.cloud.assuredworkloads.v1.AssuredWorkloadsService.AcknowledgeViolation
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.violations.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.v1.AssuredWorkloadsService.AcknowledgeViolation"

CreateWorkload

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

DeleteWorkload

  • Method: google.cloud.assuredworkloads.v1.AssuredWorkloadsService.DeleteWorkload
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.workload.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.v1.AssuredWorkloadsService.DeleteWorkload"

GetViolation

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

ListViolations

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

RestrictAllowedResources

  • Method: google.cloud.assuredworkloads.v1.AssuredWorkloadsService.RestrictAllowedResources
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.workload.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.v1.AssuredWorkloadsService.RestrictAllowedResources"

UpdateWorkload

  • Method: google.cloud.assuredworkloads.v1.AssuredWorkloadsService.UpdateWorkload
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.workload.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.v1.AssuredWorkloadsService.UpdateWorkload"

google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService

The following audit logs are associated with methods belonging to google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.

AnalyzeWorkloadMove

  • Method: google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.AnalyzeWorkloadMove
  • Audit log type: Data access
  • Permissions:
    • assuredworkloads.workload.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.AnalyzeWorkloadMove"

EnableResourceMonitoring

  • Method: google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.EnableResourceMonitoring
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.workload.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.EnableResourceMonitoring"

GetWorkload

  • Method: google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.GetWorkload
  • Audit log type: Data access
  • Permissions:
    • assuredworkloads.workload.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.GetWorkload"

ListWorkloads

  • Method: google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.ListWorkloads
  • Audit log type: Data access
  • Permissions:
    • assuredworkloads.workload.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.ListWorkloads"

google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService

The following audit logs are associated with methods belonging to google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.

EnableComplianceUpdates

  • Method: google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.EnableComplianceUpdates
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.workload.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.EnableComplianceUpdates"

EnableResourceMonitoring

  • Method: google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.EnableResourceMonitoring
  • Audit log type: Admin activity
  • Permissions:
    • assuredworkloads.workload.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.EnableResourceMonitoring"

GetWorkload

  • Method: google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.GetWorkload
  • Audit log type: Data access
  • Permissions:
    • assuredworkloads.workload.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.GetWorkload"

ListWorkloadUpdates

  • Method: google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListWorkloadUpdates
  • Audit log type: Data access
  • Permissions:
    • assuredworkloads.workload.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListWorkloadUpdates"

ListWorkloads

  • Method: google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListWorkloads
  • Audit log type: Data access
  • Permissions:
    • assuredworkloads.workload.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListWorkloads"

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.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.AcknowledgeViolation
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.CreateWorkload
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.DeleteWorkload
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.GetViolation
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.ListViolations
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.MutatePartnerPermissions
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.RestrictAllowedResources
  • google.cloud.assuredworkloads.versioning.v1.AssuredWorkloadsV1MainService.UpdateWorkload
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.AcknowledgeViolation
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ApplyWorkloadUpdate
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.CreateWorkload
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.DeleteWorkload
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.GetViolation
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.ListViolations
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.MutatePartnerPermissions
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.RestrictAllowedResources
  • google.cloud.assuredworkloads.versioning.v1beta1.AssuredWorkloadsV1MainService.UpdateWorkload
  • google.longrunning.Operations.GetOperation
  • google.longrunning.Operations.ListOperations