{
  "Provider": "aws",
  "CheckID": "efs_encryption_at_rest_enabled",
  "CheckTitle": "Check if EFS protects sensitive data with encryption at rest",
  "CheckType": [
    "Protect",
    "Data protection",
    "Encryption of data at rest"
  ],
  "ServiceName": "efs",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id",
  "Severity": "medium",
  "ResourceType": "AwsEFSFileSystem",
  "Description": "Check if EFS protects sensitive data with encryption at rest",
  "Risk": "EFS should be encrypted at rest to prevent exposure of sensitive data to bad actors",
  "RelatedUrl": "",
  "Remediation": {
    "Code": {
      "CLI": "aws efs create-file-system --creation-token $(uuidgen) --performance-mode generalPurpose --encrypted --kms-key-id user/customer-managedCMKalias",
      "NativeIaC": "https://docs.bridgecrew.io/docs/general_17#cloudformation",
      "Other": "",
      "Terraform": "https://docs.bridgecrew.io/docs/general_17#terraform"
    },
    "Recommendation": {
      "Text": "Ensure that encryption at rest is enabled for EFS file systems. Encryption at rest can only be enabled during the file system creation.",
      "Url": "https://docs.aws.amazon.com/efs/latest/ug/encryption-at-rest.html"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": ""
}
