Audit Manager audit logging

This document describes audit logging for Audit Manager. 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

Audit Manager audit logs use the service name auditmanager.googleapis.com. Filter for this service:

    protoPayload.serviceName="auditmanager.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, Audit Manager 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_WRITE google.cloud.auditmanager.v1.AuditManager.EnrollResource
google.cloud.auditmanager.v1alpha.AuditManager.EnrollResource
DATA_READ google.cloud.auditmanager.v1.AuditManager.GetAuditReport
google.cloud.auditmanager.v1.AuditManager.GetResourceEnrollmentStatus
google.cloud.auditmanager.v1.AuditManager.ListAuditReports
google.cloud.auditmanager.v1.AuditManager.ListControls
google.cloud.auditmanager.v1.AuditManager.ListFindings
google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses
google.cloud.auditmanager.v1alpha.AuditManager.GetAuditReport
google.cloud.auditmanager.v1alpha.AuditManager.GetResourceEnrollmentStatus
google.cloud.auditmanager.v1alpha.AuditManager.ListAuditReports
google.cloud.auditmanager.v1alpha.AuditManager.ListControls
google.cloud.auditmanager.v1alpha.AuditManager.ListFindings
google.cloud.auditmanager.v1alpha.AuditManager.ListResourceEnrollmentStatuses
DATA_WRITE google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport
google.cloud.auditmanager.v1.AuditManager.GenerateAuditScopeReport
google.cloud.auditmanager.v1alpha.AuditManager.GenerateAuditReport
google.cloud.auditmanager.v1alpha.AuditManager.GenerateAuditScopeReport

API interface audit logs

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

google.cloud.auditmanager.v1.AuditManager

The following audit logs are associated with methods belonging to google.cloud.auditmanager.v1.AuditManager.

EnrollResource

  • Method: google.cloud.auditmanager.v1.AuditManager.EnrollResource
  • Audit log type: Admin activity
  • Permissions:
    • auditmanager.locations.enrollResource - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.EnrollResource"

GenerateAuditReport

  • Method: google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditReports.generate - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport"

GenerateAuditScopeReport

  • Method: google.cloud.auditmanager.v1.AuditManager.GenerateAuditScopeReport
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditScopeReports.generate - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.GenerateAuditScopeReport"

GetAuditReport

  • Method: google.cloud.auditmanager.v1.AuditManager.GetAuditReport
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditReports.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.GetAuditReport"

GetResourceEnrollmentStatus

  • Method: google.cloud.auditmanager.v1.AuditManager.GetResourceEnrollmentStatus
  • Audit log type: Data access
  • Permissions:
    • auditmanager.resourceEnrollmentStatuses.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.GetResourceEnrollmentStatus"

ListAuditReports

  • Method: google.cloud.auditmanager.v1.AuditManager.ListAuditReports
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditReports.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.ListAuditReports"

ListControls

  • Method: google.cloud.auditmanager.v1.AuditManager.ListControls
  • Audit log type: Data access
  • Permissions:
    • auditmanager.controls.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.ListControls"

ListFindings

  • Method: google.cloud.auditmanager.v1.AuditManager.ListFindings
  • Audit log type: Data access
  • Permissions:
    • auditmanager.findings.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.ListFindings"

ListResourceEnrollmentStatuses

  • Method: google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses
  • Audit log type: Data access
  • Permissions:
    • auditmanager.resourceEnrollmentStatuses.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses"

google.cloud.auditmanager.v1alpha.AuditManager

The following audit logs are associated with methods belonging to google.cloud.auditmanager.v1alpha.AuditManager.

EnrollResource

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.EnrollResource
  • Audit log type: Admin activity
  • Permissions:
    • auditmanager.locations.enrollResource - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.EnrollResource"

GenerateAuditReport

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.GenerateAuditReport
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditReports.generate - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.GenerateAuditReport"

GenerateAuditScopeReport

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.GenerateAuditScopeReport
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditScopeReports.generate - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.GenerateAuditScopeReport"

GetAuditReport

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.GetAuditReport
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditReports.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.GetAuditReport"

GetResourceEnrollmentStatus

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.GetResourceEnrollmentStatus
  • Audit log type: Data access
  • Permissions:
    • auditmanager.resourceEnrollmentStatuses.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.GetResourceEnrollmentStatus"

ListAuditReports

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.ListAuditReports
  • Audit log type: Data access
  • Permissions:
    • auditmanager.auditReports.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.ListAuditReports"

ListControls

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.ListControls
  • Audit log type: Data access
  • Permissions:
    • auditmanager.controls.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.ListControls"

ListFindings

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.ListFindings
  • Audit log type: Data access
  • Permissions:
    • auditmanager.findings.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.ListFindings"

ListResourceEnrollmentStatuses

  • Method: google.cloud.auditmanager.v1alpha.AuditManager.ListResourceEnrollmentStatuses
  • Audit log type: Data access
  • Permissions:
    • auditmanager.resourceEnrollmentStatuses.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.auditmanager.v1alpha.AuditManager.ListResourceEnrollmentStatuses"

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.auditmanager.v1.AuditManager.GetOperation
  • google.cloud.auditmanager.v1alpha.AuditManager.GetOperation
  • google.cloud.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.CancelOperation
  • google.longrunning.Operations.DeleteOperation
  • google.longrunning.Operations.GetOperation
  • google.longrunning.Operations.ListOperations
  • google.longrunning.Operations.WaitOperation