This product is not supported for your selected
Datadog site. (
).
이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Id: 48207659-729f-4b5c-9402-f884257d794f
Cloud Provider: aws
Framework: Terraform
Severity: High
Category: Encryption
Learn More
Description
AWS Elastic File System (EFS) stores data in clear text by default, potentially exposing sensitive information if the storage system is compromised. When EFS is not encrypted, unauthorized users who gain access to the underlying storage could read file contents, leading to data breaches and compliance violations. To properly secure an EFS file system, set the encrypted
attribute to true
in your Terraform configuration, as shown below:
resource "aws_efs_file_system" "secure_example" {
creation_token = "my-product"
encrypted = true
tags = {
Name = "MyProduct"
}
}
Compliant Code Examples
resource "aws_efs_file_system" "negative1" {
creation_token = "my-product"
encrypted = true
tags = {
Name = "MyProduct"
}
}
Non-Compliant Code Examples
resource "aws_efs_file_system" "positive1" {
creation_token = "my-product"
tags = {
Name = "MyProduct"
}
}
resource "aws_efs_file_system" "positive2" {
creation_token = "my-product"
encrypted = false
tags = {
Name = "MyProduct"
}
}