Privileged Access Manager audit logging

This document describes audit logging for Privileged Access 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

Privileged Access Manager audit logs use the service name privilegedaccessmanager.googleapis.com. Filter for this service:

    protoPayload.serviceName="privilegedaccessmanager.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, Privileged Access 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_READ google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetEntitlement
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListEntitlements
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListGrants
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.CheckOnboardingStatus
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.GetEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.GetGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.ListEntitlements
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.ListGrants
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CheckOnboardingStatus
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.GetEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.GetGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ListEntitlements
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ListGrants
ADMIN_WRITE google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.UpdateEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.ApproveGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.CreateEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.CreateGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.DeleteEntitlement
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.DenyGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.RevokeGrant
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.SetupService
google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.UpdateEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ApproveGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CreateEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CreateGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.DeleteEntitlement
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.DenyGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.RevokeGrant
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.UpdateEntitlement

API interface audit logs

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

google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager

The following audit logs are associated with methods belonging to google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.

ApproveGrant

  • Method: google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant
  • Audit log type: Admin activity
  • Permissions:
    • privilegedaccessmanager.grants.approve - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant"

CheckOnboardingStatus

  • Method: google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus
  • Audit log type: Data access
  • Permissions:
    • privilegedaccessmanager.locations.checkOnboardingStatus - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus"

CreateEntitlement

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

CreateGrant

  • Method: google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant
  • Audit log type: Admin activity
  • Permissions:
    • privilegedaccessmanager.grants.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant"

DeleteEntitlement

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

DenyGrant

  • Method: google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant
  • Audit log type: Admin activity
  • Permissions:
    • privilegedaccessmanager.grants.deny - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant"

GetEntitlement

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

GetGrant

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

ListEntitlements

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

ListGrants

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

RevokeGrant

  • Method: google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant
  • Audit log type: Admin activity
  • Permissions:
    • privilegedaccessmanager.grants.revoke - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant"

UpdateEntitlement

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

google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager

The following audit logs are associated with methods belonging to google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.

ApproveGrant

CheckOnboardingStatus

CreateEntitlement

CreateGrant

DeleteEntitlement

DenyGrant

GetEntitlement

GetGrant

ListEntitlements

ListGrants

RevokeGrant

SetupService

UpdateEntitlement

google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager

The following audit logs are associated with methods belonging to google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.

ApproveGrant

CheckOnboardingStatus

CreateEntitlement

CreateGrant

DeleteEntitlement

DenyGrant

GetEntitlement

GetGrant

ListEntitlements

ListGrants

RevokeGrant

UpdateEntitlement

System events

System Event audit logs are generated by GCP systems, not direct user action. For more information, see System Event audit logs.

Method Name Filter For This Event Notes
PAMActivateGrant protoPayload.methodName="PAMActivateGrant"
PAMDeleteGrant protoPayload.methodName="PAMDeleteGrant"
PAMEndGrant protoPayload.methodName="PAMEndGrant"
PAMReportExternalGrantModification protoPayload.methodName="PAMReportExternalGrantModification"

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.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchEntitlements
  • google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchGrants
  • google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.SearchEntitlements
  • google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager.SearchGrants
  • google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.SearchEntitlements
  • google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.SearchGrants
  • google.longrunning.Operations.CancelOperation
  • google.longrunning.Operations.DeleteOperation
  • google.longrunning.Operations.GetOperation
  • google.longrunning.Operations.ListOperations
  • google.longrunning.Operations.WaitOperation