Cloud Key Management Service (KMS) GCP-cloudkms.googleapis.com
13 operations, identified by methodName in the audit log.
| methodName | Description |
|---|---|
| any | 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. |
| CreateCryptoKey | Creates a new CryptoKey within a KeyRing. |
| CreateCryptoKeyVersion | Creates a new CryptoKeyVersion in a CryptoKey. |
| CreateKeyRing | Creates a new KeyRing in a given Project and Location. |
| Decrypt | Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT. |
| DeleteCryptoKeyVersion | Schedules a CryptoKeyVersion for destruction. A CryptoKey may not be deleted, but this method will schedule the given CryptoKeyVersion for destruction. |
| DestroyCryptoKeyVersion | 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. |
| Encrypt | Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT. |
| ImportCryptoKeyVersion | Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request. |
| RestoreCryptoKeyVersion | Restores a CryptoKeyVersion in the DESTROY_SCHEDULED state. |
| UpdateCryptoKey | Update a CryptoKey. |
| UpdateCryptoKeyPrimaryVersion | Update the version of a CryptoKey that will be used in Encrypt. |
| UpdateCryptoKeyVersion | Update a CryptoKeyVersion's metadata. Its state may be changed between ENABLED and DISABLED using this method. |
any: cloudkms.googleapis.com (any method)
#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 #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
CreateCryptoKey: Create crypto key
#Description
Creates a new CryptoKey within a KeyRing.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
CreateCryptoKeyVersion: Create crypto key version
#Description
Creates a new CryptoKeyVersion in a CryptoKey.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
CreateKeyRing: Create key ring
#Description
Creates a new KeyRing in a given Project and Location.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
Decrypt
#Description
Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
Detection Rules #
View all rules referencing this event →YARA-L #
DeleteCryptoKeyVersion: Delete crypto key version
#Description
Schedules a CryptoKeyVersion for destruction. A CryptoKey may not be deleted, but this method will schedule the given CryptoKeyVersion for destruction.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
DestroyCryptoKeyVersion: Destroy crypto key version
#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 #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log 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
#Description
Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
ImportCryptoKeyVersion: Import crypto key version
#Description
Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
RestoreCryptoKeyVersion: Restore crypto key version
#Description
Restores a CryptoKeyVersion in the DESTROY_SCHEDULED state.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
UpdateCryptoKey: Update crypto key
#Description
Update a CryptoKey.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
UpdateCryptoKeyPrimaryVersion: Update crypto key primary version
#Description
Update the version of a CryptoKey that will be used in Encrypt.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
UpdateCryptoKeyVersion: Update crypto key version
#Description
Update a CryptoKeyVersion's metadata. Its state may be changed between ENABLED and DISABLED using this method.
Fields #
| Name | Description |
|---|---|
protoPayload.serviceName | The GCP service endpoint that processed the request (e.g. compute.googleapis.com). |
protoPayload.methodName | The specific API operation that was audited (versioned form, e.g. v1.compute.instances.insert). |
protoPayload.resourceName | Scheme-less URI of the resource targeted by the operation. |
protoPayload.authenticationInfo.principalEmail | Email address of the principal that performed the operation. |
protoPayload.requestMetadata.callerIp | IP address of the caller. |
protoPayload.requestMetadata.callerSuppliedUserAgent | User agent reported by the caller. |
protoPayload.authorizationInfo | List of authorization checks performed (resource, permission, granted). |
protoPayload.request | API request object (service-specific structure). |
protoPayload.response | API response object (service-specific structure). |
logName | Log stream identifier; suffix encodes the audit log type (activity, data_access, system_event, policy). |
Detection Rules #
View all rules referencing this event →YARA-L #