turbot/terraform_oci_compliance

Query: compute_instance_boot_volume_encryption_in_transit_enabled

Usage

powerpipe query terraform_oci_compliance.query.compute_instance_boot_volume_encryption_in_transit_enabled

Steampipe Tables

SQL

select
address as resource,
case
when ((attributes_std -> 'launch_options' -> 'is_pv_encryption_in_transit_enabled') is not null and
(attributes_std -> 'launch_options' ->> 'is_pv_encryption_in_transit_enabled')::boolean)
then 'ok'
else 'alarm'
end as status,
name || case
when ((attributes_std -> 'launch_options' -> 'is_pv_encryption_in_transit_enabled') is not null and
(attributes_std -> 'launch_options' ->> 'is_pv_encryption_in_transit_enabled')::boolean)
then ' encryption in transit enabled'
else ' encryption in transit disabled'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'oci_core_instance';

Controls

The query is being used by the following controls: