Service Usage GCP-serviceusage.googleapis.com

4 operations, identified by methodName in the audit log.

methodNameDescription
anyCatch-all entry for serviceusage.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.
google-api-serviceusage-ServiceUsage-BatchEnableServicesEnables multiple services on a project. The operation is atomic; if enabling any service fails, then the entire batch fails, and no state changes occur. To enable a single service, use the EnableService method instead.
google-api-serviceusage-ServiceUsage-DisableServiceDisables a service so that it can no longer be used with a project. It is not valid to call the disable method on a service that is not currently enabled.
google-api-serviceusage-ServiceUsage-EnableServiceEnables a service so that it can be used with a project.

any: serviceusage.googleapis.com (any method)

#
Service
GCP-serviceusage.googleapis.com

Description

Catch-all entry for serviceusage.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.

Fields #

NameDescription
protoPayload.serviceNameThe GCP service endpoint that processed the request (e.g. compute.googleapis.com).
protoPayload.methodNameThe specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert).
protoPayload.resourceNameScheme-less URI of the resource targeted by the operation.
protoPayload.authenticationInfo.principalEmailEmail address of the principal that performed the operation.
protoPayload.requestMetadata.callerIpIP address of the caller.
protoPayload.requestMetadata.callerSuppliedUserAgentUser agent reported by the caller.
protoPayload.authorizationInfoList of authorization checks performed (resource, permission, granted).
protoPayload.requestAPI request object (service-specific structure).
protoPayload.responseAPI response object (service-specific structure).
logNameLog stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy).

google-api-serviceusage-ServiceUsage-BatchEnableServices: Batch enable services

#
Service
GCP-serviceusage.googleapis.com

Description

Enables multiple services on a project. The operation is atomic; if enabling any service fails, then the entire batch fails, and no state changes occur. To enable a single service, use the EnableService method instead.

Fields #

NameDescription
protoPayload.serviceNameThe GCP service endpoint that processed the request (e.g. compute.googleapis.com).
protoPayload.methodNameThe specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert).
protoPayload.resourceNameScheme-less URI of the resource targeted by the operation.
protoPayload.authenticationInfo.principalEmailEmail address of the principal that performed the operation.
protoPayload.requestMetadata.callerIpIP address of the caller.
protoPayload.requestMetadata.callerSuppliedUserAgentUser agent reported by the caller.
protoPayload.authorizationInfoList of authorization checks performed (resource, permission, granted).
protoPayload.requestAPI request object (service-specific structure).
protoPayload.responseAPI response object (service-specific structure).
logNameLog stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy).

google-api-serviceusage-ServiceUsage-DisableService: Disable service

#
Service
GCP-serviceusage.googleapis.com

Description

Disables a service so that it can no longer be used with a project. It is not valid to call the disable method on a service that is not currently enabled.

Fields #

NameDescription
protoPayload.serviceNameThe GCP service endpoint that processed the request (e.g. compute.googleapis.com).
protoPayload.methodNameThe specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert).
protoPayload.resourceNameScheme-less URI of the resource targeted by the operation.
protoPayload.authenticationInfo.principalEmailEmail address of the principal that performed the operation.
protoPayload.requestMetadata.callerIpIP address of the caller.
protoPayload.requestMetadata.callerSuppliedUserAgentUser agent reported by the caller.
protoPayload.authorizationInfoList of authorization checks performed (resource, permission, granted).
protoPayload.requestAPI request object (service-specific structure).
protoPayload.responseAPI response object (service-specific structure).
logNameLog stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy).

Detection Rules #

View all rules referencing this event →

YARA-L #

google-api-serviceusage-ServiceUsage-EnableService: Enable service

#
Service
GCP-serviceusage.googleapis.com

Description

Enables a service so that it can be used with a project.

Fields #

NameDescription
protoPayload.serviceNameThe GCP service endpoint that processed the request (e.g. compute.googleapis.com).
protoPayload.methodNameThe specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert).
protoPayload.resourceNameScheme-less URI of the resource targeted by the operation.
protoPayload.authenticationInfo.principalEmailEmail address of the principal that performed the operation.
protoPayload.requestMetadata.callerIpIP address of the caller.
protoPayload.requestMetadata.callerSuppliedUserAgentUser agent reported by the caller.
protoPayload.authorizationInfoList of authorization checks performed (resource, permission, granted).
protoPayload.requestAPI request object (service-specific structure).
protoPayload.responseAPI response object (service-specific structure).
logNameLog stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy).