turbot/terraform_oci_compliance
GitHub

Query: file_storage_file_system_encryption_enabled

Usage

steampipe query terraform_oci_compliance.query.file_storage_file_system_encryption_enabled

Plugins & 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: