turbot/terraform_oci_compliance

Query: file_storage_file_system_encryption_enabled

Usage

powerpipe query terraform_oci_compliance.query.file_storage_file_system_encryption_enabled

Steampipe Tables

SQL

select
address as resource,
case
when coalesce((attributes_std ->> 'kms_key_id'), '') = '' then 'alarm'
else 'ok'
end as status,
split_part(address, '.', 2) || case
when coalesce((attributes_std ->> 'kms_key_id'), '') = '' then ' encryption disabled'
else ' encryption enabled'
end || '.' reason,
path || ':' || start_line
from
terraform_resource
where
type = 'oci_file_storage_file_system';

Controls

The query is being used by the following controls: