turbot/terraform_oci_compliance

Query: blockstorage_boot_volume_backup_encryption_enabled

Usage

powerpipe query terraform_oci_compliance.query.blockstorage_boot_volume_backup_encryption_enabled

Steampipe Tables

SQL

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

Controls

The query is being used by the following controls: