turbot/oci_insights

Query: blockstorage_block_volume_with_no_backups_count

Usage

powerpipe query oci_insights.query.blockstorage_block_volume_with_no_backups_count

Steampipe Tables

SQL

select
count(*) as value,
'Without Backup Policy' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as type
from
oci_core_volume
where
volume_backup_policy_assignment_id is null
and lifecycle_state <> 'TERMINATED';

Dashboards

The query is used in the dashboards: