turbot/steampipe-mod-aws-compliance

Control: EFS file systems should be in a backup plan

Description

To help with data back-up processes, ensure your AWS Elastic File System (AWS EFS) file systems are a part of an AWS Backup plan.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.efs_file_system_in_backup_plan

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when automatic_backups = 'enabled' then 'ok'
else 'alarm'
end as status,
case
when automatic_backups = 'enabled' then title || ' automatic backups enabled.'
else title || ' automatic backups not enabled.'
end as reason
, region, account_id
from
aws_efs_file_system;

Tags