GCP-Pub-Sub-Topic-Customer-Managed-Encryption-Key-UnSet
Severity: High
Description: This control ensures that Pub/Sub topics are encrypted using customer-managed keys. By default, Google-managed keys are used for encryption of Pub/Sub messages. Customer-managed encryption keys (CMEK) gives us additional control on the messages. Before Pub/Sub publishes messages to a subscription, it encrypts them using the key given. Pub/Sub decrypts the messages shortly before they are delivered to subscribers.
Remediation Steps:
Perform following to set CMK for PUB/SUB topic :
Sign in to GCP Console https://console.cloud.google.com.
Go to the Cloud Pub/Sub.
Select CREATE TOPIC in Pub/Sub header section.
Enter topic name in Topic ID text area.
Check Use a customer-managed encryption key (CMEK) check box.
Select a key from Select a customer-managed key drop-down.
Click CREATE TOPIC.
Important:
PubSub topics encryption cannot be changed once created. You'll need to create a new one
Reference:
Blue Hexagon Proprietary