This document describes audit logging for , including which methods generate audit logs, details about the audit logs each method produces, and which methods do not produce audit logs, if any. Google Cloud generates audit logs that record administrative and access activities within your Google Cloud resources. For more information, see Cloud Audit Logs overview, this page includes information on how to view audit logs, how to store and route them, and more.
Service name
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,
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.GetEntitlement 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.GetEntitlement google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ListEntitlements google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.ListGrants |
ADMIN_WRITE |
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement 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.UpdateEntitlement google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CreateEntitlement google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.CreateGrant google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager.DeleteEntitlement 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 .
google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager
The following section contains details about audit logs associated with
methods belonging to google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager
.
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"
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"
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"
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 section contains details about audit logs associated with
methods belonging to google.cloud.privilegedaccessmanager.v1alpha.PrivilegedAccessManager
.
ApproveGrant
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.ApproveGrant"
CheckOnboardingStatus
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.CheckOnboardingStatus"
CreateEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.CreateEntitlement"
CreateGrant
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.CreateGrant"
DeleteEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.DeleteEntitlement"
DenyGrant
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.DenyGrant"
GetEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.GetEntitlement"
GetGrant
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.GetGrant"
ListEntitlements
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.ListEntitlements"
ListGrants
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.ListGrants"
RevokeGrant
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.RevokeGrant"
UpdateEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1alpha.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.v1alpha.PrivilegedAccessManager.UpdateEntitlement"
google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager
The following section contains details about audit logs associated with
methods belonging to google.cloud.privilegedaccessmanager.v1beta.PrivilegedAccessManager
.
CreateEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.CreateEntitlement"
CreateGrant
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.CreateGrant"
DeleteEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.DeleteEntitlement"
GetEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.GetEntitlement"
ListEntitlements
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.ListEntitlements"
ListGrants
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.ListGrants"
UpdateEntitlement
- Method:
google.cloud.privilegedaccessmanager.v1beta.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.v1beta.PrivilegedAccessManager.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