Neptune cluster snapshot not encrypted
This product is not supported for your selected
Datadog site. (
).
Id: g3l20gd0k-e5f6-7890-ab12-cd34ef567890
Cloud Provider: aws
Framework: Terraform
Severity: High
Category: Encryption
Learn More
Description
AWS Neptune is a fully managed graph database service that stores and queries highly connected data. When Neptune cluster snapshots are not encrypted, sensitive data stored in these snapshots could be vulnerable to unauthorized access, potentially exposing proprietary information, personal data, or other confidential content. Enabling encryption for Neptune cluster snapshots adds an additional layer of security that helps protect your data at rest.
Secure configuration example:
resource "aws_neptune_cluster_snapshot" "good_example" {
db_cluster_identifier = "example-cluster"
db_cluster_snapshot_identifier = "example-snapshot"
storage_encrypted = true
}
Vulnerable configuration example:
resource "aws_neptune_cluster_snapshot" "bad_example" {
db_cluster_identifier = "example-cluster"
db_cluster_snapshot_identifier = "example-snapshot"
storage_encrypted = false
}
Compliant Code Examples
resource "aws_neptune_cluster_snapshot" "good_example" {
db_cluster_identifier = "example-cluster"
db_cluster_snapshot_identifier = "example-snapshot"
storage_encrypted = true # ✅ Neptune snapshot encryption is enabled
}
Non-Compliant Code Examples
resource "aws_neptune_cluster_snapshot" "bad_example" {
db_cluster_identifier = "example-cluster"
db_cluster_snapshot_identifier = "example-snapshot"
storage_encrypted = false # ❌ Neptune snapshot encryption is disabled
}