EBS encryption monitoring needs review

Use the AWS Config ENCRYPTED_VOLUMES managed rule to check encryption of attached EBS volumes and respond to noncompliant results.

Description

AWS Config’s ENCRYPTED_VOLUMES rule evaluates attached EBS volumes when their configuration changes. Set kmsId if the rule must also check for a particular KMS key.

Potential impact

Volumes may remain unencrypted or use the wrong key when recording or follow-up is missing.

Remediation

Check that the AWS Config recorder and service permissions cover AWS::EC2::Volume in the required accounts and Regions. Add the rule and verify that noncompliant results reach the responsible team. Review detached volumes and migrate existing unencrypted data separately.

Examples

The second template preserves the ConfigRule for access-key age and adds EncryptedVolumesRule. The new check evaluates volumes. Configure encryption at creation separately.

Access-key age check only

yaml
Resources:
  ConfigRule:
    Type: AWS::Config::ConfigRule
    Properties:
      ConfigRuleName: access-keys-rotated
      InputParameters:
        maxAccessKeyAge: 100
      Source:
        Owner: AWS
        SourceIdentifier: ACCESS_KEYS_ROTATED
      MaximumExecutionFrequency: TwentyFour_Hours

Add EBS encryption monitoring

yaml
Resources:
  ConfigRule:
    Type: AWS::Config::ConfigRule
    Properties:
      ConfigRuleName: access-keys-rotated
      InputParameters:
        maxAccessKeyAge: 100
      Source:
        Owner: AWS
        SourceIdentifier: ACCESS_KEYS_ROTATED
      MaximumExecutionFrequency: TwentyFour_Hours
  EncryptedVolumesRule:
    Type: AWS::Config::ConfigRule
    Properties:
      ConfigRuleName: encrypted-volumes
      Scope:
        ComplianceResourceTypes:
          - AWS::EC2::Volume
      Source:
        Owner: AWS
        SourceIdentifier: ENCRYPTED_VOLUMES

References