turbot/steampipe-mod-aws-compliance

Control: 7 EFS file systems should have automatic backups enabled

Description

This control checks whether an Amazon EFS file system has automatic backups enabled. This control fails if the EFS file system doesn't have automatic backups enabled.

A data backup is a copy of your system, configuration, or application data that's stored separately from the original. Enabling regular backups helps you safeguard valuable data against unforeseen events like system failures, cyberattacks, or accidental deletions. Having a robust backup strategy also facilitates quicker recovery, business continuity, and peace of mind in the face of potential data loss.

Remediation

For information about using AWS Backup for EFS file systems, see Backing up EFS file systems in the Amazon Elastic File System User Guide.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.foundational_security_efs_7

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.foundational_security_efs_7 --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