Skip to content

AWS FSX Windows filesystem not encrypted using Customer Managed Key

Description

This is a simple check to ensure that FSX Windows file system is using AWS key management - KMS to encrypt its contents. To resolve add the ARN of your KMS or link on creation of the cluster

Code Example

go
resource "aws_fsx_windows_file_system" "example" {
  active_directory_id = aws_directory_service_directory.example.id
  kms_key_id          = aws_kms_key.example.arn
  storage_capacity    = 300
  subnet_ids          = [aws_subnet.example.id]
  throughput_capacity = 1024
}

Remediation

Terraform

  • Resource: aws_fsx_windows_file_system
  • Attribute: kms_key_id

Rule Details

FieldValue
IDIAC-0228
SeverityLOW
IaC TypeTerraform
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AWS_179

References