Cloud Key Management Service (KMS) GCP-cloudkms.googleapis.com

13 operations, identified by methodName in the audit log.

methodNameDescription
anyCatch-all entry for cloudkms.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.
CreateCryptoKeyCreates a new CryptoKey within a KeyRing.
CreateCryptoKeyVersionCreates a new CryptoKeyVersion in a CryptoKey.
CreateKeyRingCreates a new KeyRing in a given Project and Location.
DecryptDecrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
DeleteCryptoKeyVersionSchedules a CryptoKeyVersion for destruction. A CryptoKey may not be deleted, but this method will schedule the given CryptoKeyVersion for destruction.
DestroyCryptoKeyVersionSchedule a CryptoKeyVersion for destruction. After calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and the key material will be irreversibly destroyed after 24 hours.
EncryptEncrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
ImportCryptoKeyVersionImports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request.
RestoreCryptoKeyVersionRestores a CryptoKeyVersion in the DESTROY_SCHEDULED state.
UpdateCryptoKeyUpdate a CryptoKey.
UpdateCryptoKeyPrimaryVersionUpdate the version of a CryptoKey that will be used in Encrypt.
UpdateCryptoKeyVersionUpdate a CryptoKeyVersion's metadata. Its state may be changed between ENABLED and DISABLED using this method.

any: cloudkms.googleapis.com (any method)

#
Service
GCP-cloudkms.googleapis.com

Description

Catch-all entry for cloudkms.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).

CreateCryptoKey: Create crypto key

#
Service
GCP-cloudkms.googleapis.com

Description

Creates a new CryptoKey within a KeyRing.

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

CreateCryptoKeyVersion: Create crypto key version

#
Service
GCP-cloudkms.googleapis.com

Description

Creates a new CryptoKeyVersion in a CryptoKey.

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

CreateKeyRing: Create key ring

#
Service
GCP-cloudkms.googleapis.com

Description

Creates a new KeyRing in a given Project and Location.

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

Decrypt

#
Service
GCP-cloudkms.googleapis.com

Description

Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.

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 #

  • Unauthorized KMS Decryption source: Detects when a Key Management Service (KMS) decryption operation is carried out by a service account that's not in the allowlist. This behavior may indicate unauthorized access to information.

DeleteCryptoKeyVersion: Delete crypto key version

#
Service
GCP-cloudkms.googleapis.com

Description

Schedules a CryptoKeyVersion for destruction. A CryptoKey may not be deleted, but this method will schedule the given CryptoKeyVersion for destruction.

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

DestroyCryptoKeyVersion: Destroy crypto key version

#
Service
GCP-cloudkms.googleapis.com

Description

Schedule a CryptoKeyVersion for destruction. After calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and the key material will be irreversibly destroyed after 24 hours.

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 #

Encrypt

#
Service
GCP-cloudkms.googleapis.com

Description

Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.

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

ImportCryptoKeyVersion: Import crypto key version

#
Service
GCP-cloudkms.googleapis.com

Description

Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request.

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

RestoreCryptoKeyVersion: Restore crypto key version

#
Service
GCP-cloudkms.googleapis.com

Description

Restores a CryptoKeyVersion in the DESTROY_SCHEDULED state.

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

UpdateCryptoKey: Update crypto key

#
Service
GCP-cloudkms.googleapis.com

Description

Update a CryptoKey.

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

UpdateCryptoKeyPrimaryVersion: Update crypto key primary version

#
Service
GCP-cloudkms.googleapis.com

Description

Update the version of a CryptoKey that will be used in Encrypt.

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

UpdateCryptoKeyVersion: Update crypto key version

#
Service
GCP-cloudkms.googleapis.com

Description

Update a CryptoKeyVersion's metadata. Its state may be changed between ENABLED and DISABLED using this method.

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 #