Skip to content

Vertex AI featurestore is not configured to use a Customer Managed Key (CMK)

Description

This policy is examining whether a Vertex AI feature store is using a Customer Managed Key (CMK) for encryption. It is highly important to follow this policy because using a CMK provides greater control over the keys used for encryption. If a default key is used, it could potentially be more vulnerable to certain types of risks such as unauthorized access. With a Customer Managed Key, the user has complete control over the key's rotation, disablement, and deletion, which significantly improves data security.

Code Example

go
data "google_vertex_ai_featurestore" "example" {
  ...
  encryption_spec {
    kms_key_name = "some_name"
  }
  ...
}

Remediation

Terraform

  • Resource: google_vertex_ai_featurestore
  • Arguments: encryption_spec

To fix this issue, you need to designate a Customer-Managed Encryption Key (CMEK) for your GCP Vertex AI feature store. You can do this by specifying the "encryption_spec" block and pointing to your Customer-Managed Key in your terraform resource for the feature store.

Rule Details

FieldValue
IDIAC-1010
SeverityMEDIUM
IaC TypeTerraform
FrameworksTerraform, TerraformPlan
Checkov IDCKV2_GCP_25

References