For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/cloudformation-aws-ebs-volume-encryption-disabled.md.
A documentation index is available at /llms.txt.
Amazon EBS volumes must be encrypted to protect data at rest from unauthorized access and to prevent sensitive information from being exposed via unencrypted snapshots or compromised storage. In CloudFormation, the Encrypted property on AWS::EC2::Volume resources must be defined and set to true. Resources that omit the Encrypted property or have Encrypted set to false will be flagged. Optionally specify KmsKeyId to use a customer-managed AWS KMS key for encryption and key rotation policies.