turbot/aws_compliance

Query: efs_access_point_enforce_root_directory

Usage

powerpipe query aws_compliance.query.efs_access_point_enforce_root_directory

Steampipe Tables

SQL

select
access_point_arn as resource,
case
when root_directory ->> 'Path'= '/' then 'alarm'
else 'ok'
end as status,
case
when root_directory ->> 'Path'= '/' then title || ' not configured to enforce a root directory.'
else title || ' configured to enforce a root directory.'
end as reason
, region, account_id
from
aws_efs_access_point;

Controls

The query is being used by the following controls: