This document describes audit logging for Batch. Google Cloud services write audit logs that record administrative activities and accesses within your Google Cloud resources. For more information, see Cloud Audit Logs overview.
This page was last generated on 2024-05-20 18:46:27 UTC.
Service name
Batch audit logs use the service name batch.googleapis.com
.
Methods by permission type
Methods that check DATA_READ
, DATA_WRITE
, and ADMIN_READ
permission types are Data Access audit logs.
Methods that check ADMIN_WRITE
permission types are Admin Activity audit logs.
Permission type | Methods |
---|---|
ADMIN_READ | google.cloud.batch.v1.BatchService.GetTask google.cloud.batch.v1.BatchService.ListTasks google.cloud.batch.v1alpha.BatchService.GetTask google.cloud.batch.v1alpha.BatchService.ListTasks |
DATA_READ | google.cloud.batch.v1.BatchService.GetJob google.cloud.batch.v1.BatchService.ListJobs google.cloud.batch.v1alpha.BatchService.GetJob google.cloud.batch.v1alpha.BatchService.GetResourceAllowance google.cloud.batch.v1alpha.BatchService.ListJobs google.cloud.batch.v1alpha.BatchService.ListResourceAllowances |
DATA_WRITE | google.cloud.batch.v1.BatchService.CreateJob google.cloud.batch.v1.BatchService.DeleteJob google.cloud.batch.v1alpha.BatchService.CreateJob google.cloud.batch.v1alpha.BatchService.CreateResourceAllowance google.cloud.batch.v1alpha.BatchService.DeleteJob google.cloud.batch.v1alpha.BatchService.DeleteResourceAllowance |
Audit logs per API interface
For information about which permissions are evaluated and how for each method, see the Identity and Access Management documentation for Batch.
google.cloud.batch.v1.BatchService
Details about audit logs associated with methods belonging to google.cloud.batch.v1.BatchService
.
google.cloud.batch.v1.BatchService.CreateJob
- Method: google.cloud.batch.v1.BatchService.CreateJob
- Audit log Type: Data Access
- Permissions:
batch.jobs.create - DATA_WRITE
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1.BatchService.CreateJob"
google.cloud.batch.v1.BatchService.DeleteJob
- Method: google.cloud.batch.v1.BatchService.DeleteJob
- Audit log Type: Data Access
- Permissions:
batch.jobs.delete - DATA_WRITE
- Method is a Long Running Operation or Streaming:
Long Running Operation
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1.BatchService.DeleteJob"
google.cloud.batch.v1.BatchService.GetJob
- Method: google.cloud.batch.v1.BatchService.GetJob
- Audit log Type: Data Access
- Permissions:
batch.jobs.get - DATA_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1.BatchService.GetJob"
google.cloud.batch.v1.BatchService.GetTask
- Method: google.cloud.batch.v1.BatchService.GetTask
- Audit log Type: Data Access
- Permissions:
batch.tasks.get - ADMIN_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1.BatchService.GetTask"
google.cloud.batch.v1.BatchService.ListJobs
- Method: google.cloud.batch.v1.BatchService.ListJobs
- Audit log Type: Data Access
- Permissions:
batch.jobs.list - DATA_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1.BatchService.ListJobs"
google.cloud.batch.v1.BatchService.ListTasks
- Method: google.cloud.batch.v1.BatchService.ListTasks
- Audit log Type: Data Access
- Permissions:
batch.tasks.list - ADMIN_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1.BatchService.ListTasks"
google.cloud.batch.v1alpha.BatchService
Details about audit logs associated with methods belonging to google.cloud.batch.v1alpha.BatchService
.
google.cloud.batch.v1alpha.BatchService.CreateJob
- Method: google.cloud.batch.v1alpha.BatchService.CreateJob
- Audit log Type: Data Access
- Permissions:
batch.jobs.create - DATA_WRITE
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.CreateJob"
google.cloud.batch.v1alpha.BatchService.CreateResourceAllowance
- Method: google.cloud.batch.v1alpha.BatchService.CreateResourceAllowance
- Audit log Type: Data Access
- Permissions:
batch.resourceAllowances.create - DATA_WRITE
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.CreateResourceAllowance"
google.cloud.batch.v1alpha.BatchService.DeleteJob
- Method: google.cloud.batch.v1alpha.BatchService.DeleteJob
- Audit log Type: Data Access
- Permissions:
batch.jobs.delete - DATA_WRITE
- Method is a Long Running Operation or Streaming:
Long Running Operation
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.DeleteJob"
google.cloud.batch.v1alpha.BatchService.DeleteResourceAllowance
- Method: google.cloud.batch.v1alpha.BatchService.DeleteResourceAllowance
- Audit log Type: Data Access
- Permissions:
batch.resourceAllowances.delete - DATA_WRITE
- Method is a Long Running Operation or Streaming:
Long Running Operation
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.DeleteResourceAllowance"
google.cloud.batch.v1alpha.BatchService.GetJob
- Method: google.cloud.batch.v1alpha.BatchService.GetJob
- Audit log Type: Data Access
- Permissions:
batch.jobs.get - DATA_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.GetJob"
google.cloud.batch.v1alpha.BatchService.GetResourceAllowance
- Method: google.cloud.batch.v1alpha.BatchService.GetResourceAllowance
- Audit log Type: Data Access
- Permissions:
batch.resourceAllowances.get - DATA_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.GetResourceAllowance"
google.cloud.batch.v1alpha.BatchService.GetTask
- Method: google.cloud.batch.v1alpha.BatchService.GetTask
- Audit log Type: Data Access
- Permissions:
batch.tasks.get - ADMIN_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.GetTask"
google.cloud.batch.v1alpha.BatchService.ListJobs
- Method: google.cloud.batch.v1alpha.BatchService.ListJobs
- Audit log Type: Data Access
- Permissions:
batch.jobs.list - DATA_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.ListJobs"
google.cloud.batch.v1alpha.BatchService.ListResourceAllowances
- Method: google.cloud.batch.v1alpha.BatchService.ListResourceAllowances
- Audit log Type: Data Access
- Permissions:
batch.resourceAllowances.list - DATA_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.ListResourceAllowances"
google.cloud.batch.v1alpha.BatchService.ListTasks
- Method: google.cloud.batch.v1alpha.BatchService.ListTasks
- Audit log Type: Data Access
- Permissions:
batch.tasks.list - ADMIN_READ
- Method is a Long Running Operation or Streaming: No.
- Filter for this method:
protoPayload.methodName="google.cloud.batch.v1alpha.BatchService.ListTasks"
Methods that don't produce audit logs
Generally methods don't produce audit logs because they are high volume and doing so would be very expensive, or because the method has low auditing value, or because another audit or platform log already provides coverage for what the method does.
The following methods don't produce audit logs:
google.cloud.batch.v1.BatchService.ReportAgentState
google.cloud.batch.v1alpha.BatchService.ReportAgentState
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