API Keys GCP-apikeys.googleapis.com

5 operations, identified by methodName in the audit log.

methodNameDescription
anyCatch-all entry for apikeys.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.
google-api-apikeys-ApiKeys-CreateKeyCreates a new API key.
google-api-apikeys-ApiKeys-DeleteKeyDeletes an API key.
google-api-apikeys-ApiKeys-GetKeyStringGet the key string for an API key. The API redacts the value by default; request unredacted_key on GetKeyRequest to see the plaintext value.
google-api-apikeys-ApiKeys-UpdateKeyPatches the modifiable fields of an API key.

any: apikeys.googleapis.com (any method)

#
Service
GCP-apikeys.googleapis.com

Description

Catch-all entry for apikeys.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-apikeys-ApiKeys-CreateKey: Create API key

#
Service
GCP-apikeys.googleapis.com

Description

Creates a new API key.

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-apikeys-ApiKeys-DeleteKey: Delete API key

#
Service
GCP-apikeys.googleapis.com

Description

Deletes an API key.

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-apikeys-ApiKeys-GetKeyString: Get key string

#
Service
GCP-apikeys.googleapis.com

Description

Get the key string for an API key. The API redacts the value by default; request unredacted_key on GetKeyRequest to see the plaintext value.

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-apikeys-ApiKeys-UpdateKey: Update API key

#
Service
GCP-apikeys.googleapis.com

Description

Patches the modifiable fields of an API key.

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).