AMI snapshot copy is not encrypted Affecting EC2 service in AWS


Severity

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

Is your environment 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-ControlsCSA-CCMGDPRHIPAAISO-27001NIST-800-53SOC-2
  • Snyk IDSNYK-CC-00286
  • creditSnyk 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
}