Description
EMR configures encryption at rest and in transit separately. Identify the storage your jobs use and the application endpoints that support encrypted connections in your EMR release.
Potential impact
Stored data or traffic can be exposed when the corresponding EMR setting is off and no other protection is in place.
Remediation
Set EnableAtRestEncryption and EnableInTransitEncryption to true. Configure the key provider for your storage in AtRestEncryptionConfiguration and the certificate provider in InTransitEncryptionConfiguration.
Examples
The excerpts compare only the flags. Attach the completed security configuration when creating the cluster and verify encryption on the storage and application connections your jobs use.
Before
Resources:
EMRSecurityConfiguration:
Type: AWS::EMR::SecurityConfiguration
Properties:
SecurityConfiguration:
EncryptionConfiguration:
EnableInTransitEncryption: false
EnableAtRestEncryption: false
After
Resources:
EMRSecurityConfiguration:
Type: AWS::EMR::SecurityConfiguration
Properties:
SecurityConfiguration:
EncryptionConfiguration:
EnableInTransitEncryption: true
EnableAtRestEncryption: true