Control: Block Storage boot volume backup encryption should be enabled
Description
Ensure Block Storage boot volume backups are encrypted at rest to protect sensitive data.
Usage
Run the control in your terminal:
powerpipe control run terraform_oci_compliance.control.blockstorage_boot_volume_backup_encryption_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_oci_compliance.control.blockstorage_boot_volume_backup_encryption_enabled --shareSQL
This control uses a named query:
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_linefrom  terraform_resourcewhere  type = 'oci_core_boot_volume_backup';