This document describes audit logging for Eventarc. 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:
- Types of audit logs
- Audit log entry structure
- Storing and routing audit logs
- Cloud Logging pricing summary
- Enable Data Access audit logs
Service name
Eventarc audit logs use the service name eventarc.googleapis.com
.
Filter for this service:
protoPayload.serviceName="eventarc.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,
Eventarc 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 |
ADMIN_WRITE |
SetIamPolicy |
DATA_READ |
google.cloud.eventarc.v1.Eventarc.GetChannel google.cloud.eventarc.v1.Eventarc.GetChannelConnection google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig google.cloud.eventarc.v1.Eventarc.GetTrigger google.cloud.eventarc.v1.Eventarc.ListChannelConnections google.cloud.eventarc.v1.Eventarc.ListChannels google.cloud.eventarc.v1.Eventarc.ListTriggers |
DATA_WRITE |
google.cloud.eventarc.v1.Eventarc.CreateChannel google.cloud.eventarc.v1.Eventarc.CreateChannelConnection google.cloud.eventarc.v1.Eventarc.CreateTrigger google.cloud.eventarc.v1.Eventarc.DeleteChannel google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection google.cloud.eventarc.v1.Eventarc.DeleteTrigger google.cloud.eventarc.v1.Eventarc.UpdateChannel google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig google.cloud.eventarc.v1.Eventarc.UpdateTrigger |
API interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Eventarc.
google.cloud.eventarc.v1.Eventarc
The following audit logs are associated with methods belonging to
google.cloud.eventarc.v1.Eventarc
.
CreateChannel
- Method:
google.cloud.eventarc.v1.Eventarc.CreateChannel
- Audit log type: Data access
- Permissions:
eventarc.channels.create - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.CreateChannel"
CreateChannelConnection
- Method:
google.cloud.eventarc.v1.Eventarc.CreateChannelConnection
- Audit log type: Data access
- Permissions:
eventarc.channelConnections.create - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.CreateChannelConnection"
CreateTrigger
- Method:
google.cloud.eventarc.v1.Eventarc.CreateTrigger
- Audit log type: Data access
- Permissions:
eventarc.triggers.create - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.CreateTrigger"
DeleteChannel
- Method:
google.cloud.eventarc.v1.Eventarc.DeleteChannel
- Audit log type: Data access
- Permissions:
eventarc.channels.delete - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.DeleteChannel"
DeleteChannelConnection
- Method:
google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection
- Audit log type: Data access
- Permissions:
eventarc.channelConnections.delete - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection"
DeleteTrigger
- Method:
google.cloud.eventarc.v1.Eventarc.DeleteTrigger
- Audit log type: Data access
- Permissions:
eventarc.triggers.delete - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.DeleteTrigger"
GetChannel
- Method:
google.cloud.eventarc.v1.Eventarc.GetChannel
- Audit log type: Data access
- Permissions:
eventarc.channels.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.GetChannel"
GetChannelConnection
- Method:
google.cloud.eventarc.v1.Eventarc.GetChannelConnection
- Audit log type: Data access
- Permissions:
eventarc.channelConnections.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.GetChannelConnection"
GetGoogleChannelConfig
- Method:
google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig
- Audit log type: Data access
- Permissions:
eventarc.googleChannelConfigs.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig"
GetTrigger
- Method:
google.cloud.eventarc.v1.Eventarc.GetTrigger
- Audit log type: Data access
- Permissions:
eventarc.triggers.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.GetTrigger"
ListChannelConnections
- Method:
google.cloud.eventarc.v1.Eventarc.ListChannelConnections
- Audit log type: Data access
- Permissions:
eventarc.channelConnections.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.ListChannelConnections"
ListChannels
- Method:
google.cloud.eventarc.v1.Eventarc.ListChannels
- Audit log type: Data access
- Permissions:
eventarc.channels.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.ListChannels"
ListTriggers
- Method:
google.cloud.eventarc.v1.Eventarc.ListTriggers
- Audit log type: Data access
- Permissions:
eventarc.triggers.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.ListTriggers"
UpdateChannel
- Method:
google.cloud.eventarc.v1.Eventarc.UpdateChannel
- Audit log type: Data access
- Permissions:
eventarc.channels.update - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.UpdateChannel"
UpdateGoogleChannelConfig
- Method:
google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig
- Audit log type: Data access
- Permissions:
eventarc.googleChannelConfigs.update - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig"
UpdateTrigger
- Method:
google.cloud.eventarc.v1.Eventarc.UpdateTrigger
- Audit log type: Data access
- Permissions:
eventarc.triggers.update - DATA_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.eventarc.v1.Eventarc.UpdateTrigger"
google.iam.v1.IAMPolicy
The following audit logs are associated with methods belonging to
google.iam.v1.IAMPolicy
.
GetIamPolicy
- Method:
GetIamPolicy
- Audit log type: Data access
- Permissions:
eventarc.channels.getIamPolicy - ADMIN_READ
eventarc.triggers.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:
eventarc.channels.setIamPolicy - ADMIN_WRITE
eventarc.triggers.setIamPolicy - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="SetIamPolicy"