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

AWS EBS Snapshot Copy not encrypted using Customer Managed Key misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_183

Category - Subcategory

Storage - Encryption

Provider

AWS

Severity

LOW

Framework

Terraform, Terraform Plan

Impact

This is a simple check to ensure that the EBS Snapshot copy is using AWS key management - KMS to encrypt its contents. To resolve add the ARN of your KMS or link on creation of the snapshot.

How to Fix

Resource: aws_ebs_snapshot_copy

  • Attribute: kms_key_id - The ARN for the KMS encryption key. [source,go]


resource "aws_ebs_snapshot_copy" "example_copy" { source_snapshot_id = aws_ebs_snapshot.example_snapshot.id source_region = "us-west-2"

  • kms_key_id = "ckv_kms" tags = { Name = "HelloWorld_copy_snap" } }


Last updated

Was this helpful?