More Info:

Ensure that SQL Instances are encrypted using Customer Managed Keys (CMKs).

Risk Level

Medium

Address

Security

Compliance Standards

HITRUST, GDPR, SOC2, NISTCSF, PCIDSS

Triage and Remediation

Remediation

Sure! Here are the step by step instructions to remediate the misconfiguration “SQL Instances Should Be Encrypted Using Customer Managed Keys (CMKs)” for GCP using GCP console:

  1. Open the GCP console and navigate to the Cloud SQL instances page.
  2. Select the SQL instance that you want to encrypt.
  3. Click on the “Edit” button at the top of the page.
  4. Scroll down to the “Encryption” section and select the option “Customer-managed key”.
  5. Choose the key ring and key that you want to use for encryption. If you don’t have a key, create one by clicking on the “Create” button.
  6. Click on the “Save” button to save the changes.

Once you have completed these steps, your SQL instance will be encrypted using the customer-managed key that you selected. It is important to note that this process requires the appropriate permissions to create and manage keys in your GCP project.