turbot/oci_thrifty

GitHub
Loading controls...

Control: Block volumes should have auto-tune volume performance enabled

Description

Block volume auto-tune performance ensures the optimal performance setting is used based on whether the volume is attached or detached from an instance.

Usage

Run the control in your terminal:

steampipe check oci_thrifty.control.block_volume_auto_tune_performance_enabled

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share oci_thrifty.control.block_volume_auto_tune_performance_enabled

Plugins & Tables

SQL

select
a.id as resource,
case
when is_auto_tune_enabled then 'ok'
else 'alarm'
end as status,
case
when is_auto_tune_enabled then a.title || ' auto-tune volume performance enabled.'
else a.title || ' auto-tune volume performance disabled.'
end as reason,
coalesce(c.name, 'root') as compartment,
a.region
from
oci_core_volume as a
left join oci_identity_compartment as c on c.id = a.compartment_id
where
a.lifecycle_state <> 'TERMINATED';

Tags