turbot/steampipe-mod-aws-compliance

Control: FSx for Windows File Server file systems should be configured for Multi-AZ deployment

Description

This control checks whether an Amazon FSx for Windows File Server file system is configured to use the multiple Availability Zones (Multi-AZ) deployment type. The control fails if the file system isn't configured to use the Multi-AZ deployment type.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.fsx_windows_file_system_multi_az_deployment_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.fsx_windows_file_system_multi_az_deployment_enabled --share

SQL

This control uses a named query:

select
arn as resource,
case
when file_system_type <> 'WINDOWS' then 'skip'
when (windows_configuration ->> 'DeploymentType') = 'MULTI_AZ_1' then 'ok'
else 'alarm'
end as status,
case
when file_system_type <> 'WINDOWS' then title || ' is of ' || file_system_type || ' type file system.'
when (windows_configuration ->> 'DeploymentType') = 'MULTI_AZ_1' then title || ' Multi-AZ deployment enabled.'
else title || ' Multi-AZ deployment disabled.'
end as reason
, region, account_id
from
aws_fsx_file_system;

Tags