π‘οΈ AWS EFS File System encryption is not enabledπ’
- Contextual name: π‘οΈ File System encryption is not enabledπ’
- ID:
/ce/ca/aws/efs/file-system-encryption - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: EFS Encryption Enabled
- Internal:
dec-x-966d3183
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-966d3183 | 1 |
Descriptionβ
Descriptionβ
EFS data should be encrypted at rest using AWS KMS (Key Management Service).
Rationaleβ
Data should be encrypted at rest to reduce the risk of a data breach via direct access to the storage device.
Auditβ
From Consoleβ
- Login to the AWS Management Console and Navigate to
Elastic File System(EFS) dashboard.- Select
File Systemsfrom the left navigation panel.- Each item on the list has a visible Encrypted field that displays data at rest encryption status.
- Validate that this field reads
Encryptedfor all EFS file systems in all AWS regions.From Command Lineβ
- Run
describe-file-systemscommand using custom query filters to list the identifiers of all AWS EFS file systems currently available within the selected region:aws efs describe-file-systems --region <region> --output table --query 'FileSystems[*].FileSystemId'
- The command output should return a table with the requested file system IDs.
- Run
describe-file-systemscommand using the ID of the file system that you want to examine as identifier and the necessary query filters:... see more
Remediationβ
Remediationβ
It is important to note that EFS file system data at rest encryption must be turned on when creating the file system. If an EFS file system has been created without data at rest encryption enabled then you must create another EFS file system with the correct configuration and transfer the data.
Steps to create an EFS file system with data encrypted at rest:
From Consoleβ
Login to the AWS Management Console and Navigate to
Elastic File System (EFS)dashboard.Select
File Systemsfrom the left navigation panel.Click
Create File Systembutton from the dashboard top menu to start the file system setup process.On the
Configure file system accessconfiguration page, perform the following actions.
Choose the right VPC from the VPC dropdown list.
Within
Create mount targetssection, select the checkboxes for all of the Availability Zones (AZs) within the selected VPC. These will be your mount targets.Click
Next stepto continue.
- Perform the following on the
Configure optional settingspage.... see more