π AWS EFS File System encryption is not enabled π’
- Contextual name: π File System encryption is not enabled π’
- ID:
/ce/ca/aws/efs/file-system-encryption
- Located in: π AWS EFS
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-966d3183
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-966d3183 | 1 |
Logicβ
- π§ prod.logic.yaml π’
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 Systems
from 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
Encrypted
for all EFS file systems in all AWS regions.From Command Lineβ
- Run
describe-file-systems
command 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-systems
command 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 Systems
from the left navigation panel.Click
Create File System
button from the dashboard top menu to start the file system setup process.On the
Configure file system access
configuration page, perform the following actions.
Choose the right VPC from the VPC dropdown list.
Within
Create mount targets
section, select the checkboxes for all of the Availability Zones (AZs) within the selected VPC. These will be your mount targets.Click
Next step
to continue.
- Perform the following on the
Configure optional settings
page.... see more