AMI snapshot copy is not encrypted Affecting EC2 service in AWS


0.0
medium
0
10
    Severity Framework Snyk CCSS
    Rule category Data / Access

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls CSA-CCM GDPR HIPAA ISO-27001 NIST-800-53 SOC-2
  • Snyk ID SNYK-CC-00286
  • credit Snyk Research Team

Description

Data stored in the snapshot may be sensitive. Without encryption the data may be accessed without appropriate authorization.

How to fix?

Set the aws_ami_copy encrypted field to true.

Example Configuration

resource "aws_ami_copy" "example" {
  name      = "example"
  encrypted = true
  # other required fields here
}