Dataproc Resource Manager audit logging

This document describes audit logging for Dataproc Resource 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

Dataproc Resource Manager audit logs use the service name dataprocrm.googleapis.com. Filter for this service:

    protoPayload.serviceName="dataprocrm.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, Dataproc Resource 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.dataproc.rm.v1.DataprocResourceManager.GetNode
google.cloud.dataproc.rm.v1.DataprocResourceManager.GetNodePool
google.cloud.dataproc.rm.v1.DataprocResourceManager.GetWorkload
google.cloud.dataproc.rm.v1.DataprocResourceManager.ListNodePools
google.cloud.dataproc.rm.v1.DataprocResourceManager.ListNodes
google.cloud.dataproc.rm.v1.DataprocResourceManager.ListWorkloads
ADMIN_WRITE google.cloud.dataproc.rm.v1.DataprocResourceManager.CancelWorkload
google.cloud.dataproc.rm.v1.DataprocResourceManager.CreateNodePool
google.cloud.dataproc.rm.v1.DataprocResourceManager.CreateWorkload
google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteNodePool
google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteNodes
google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteWorkload
google.cloud.dataproc.rm.v1.DataprocResourceManager.HeartbeatNode
google.cloud.dataproc.rm.v1.DataprocResourceManager.ResizeNodePool
DATA_READ google.cloud.dataproc.rm.v1.DataprocResourceManager.MintOAuthToken

API interface audit logs

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

google.cloud.dataproc.rm.v1.DataprocResourceManager

The following audit logs are associated with methods belonging to google.cloud.dataproc.rm.v1.DataprocResourceManager.

CancelWorkload

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.CancelWorkload
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.workloads.cancel - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.CancelWorkload"

CreateNodePool

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.CreateNodePool
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.nodePools.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.CreateNodePool"

CreateWorkload

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

DeleteNodePool

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteNodePool
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.nodePools.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteNodePool"

DeleteNodes

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteNodes
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.nodePools.deleteNodes - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteNodes"

DeleteWorkload

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteWorkload
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.workloads.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.DeleteWorkload"

GetNode

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.GetNode
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.nodes.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.GetNode"

GetNodePool

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.GetNodePool
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.nodePools.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.GetNodePool"

GetWorkload

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.GetWorkload
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.workloads.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.GetWorkload"

HeartbeatNode

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.HeartbeatNode
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.nodes.heartbeat - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.HeartbeatNode"

ListNodePools

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.ListNodePools
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.nodePools.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.ListNodePools"

ListNodes

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.ListNodes
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.nodes.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.ListNodes"

ListWorkloads

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.ListWorkloads
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.workloads.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.ListWorkloads"

MintOAuthToken

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.MintOAuthToken
  • Audit log type: Data access
  • Permissions:
    • dataprocrm.nodes.mintOAuthToken - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.MintOAuthToken"

ResizeNodePool

  • Method: google.cloud.dataproc.rm.v1.DataprocResourceManager.ResizeNodePool
  • Audit log type: Admin activity
  • Permissions:
    • dataprocrm.nodePools.resize - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.dataproc.rm.v1.DataprocResourceManager.ResizeNodePool"