For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Not all data stored in the EBS snapshot is securely encrypted misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_CUSTOM_3

Category - Subcategory

Storage - Encryption

Provider

AWS

Severity

MEDIUM

Framework

Terraform

Impact

EBS snapshots must be encrypted, as they often include sensitive information, customer PII or CPNI. Amazon EBS encryption uses AWS Key Management Service (AWS KMS) customer master keys (CMK) when creating encrypted volumes and snapshots. With EBS encryption enabled, you no longer have to build, maintain, and secure your own key management infrastructure.

How to Fix

Resource: aws_ebs_snapshot

  • Arguments: encrypted - Whether the snapshot is encrypted.

Example fix: [source,go]

{ "resource "aws_ebs_snapshot" "example" { volume_id = "${aws_ebs_volume.example.id}"

  • encrypted = true ... } }


Last updated

Was this helpful?