turbot/oci_insights

Query: database_autonomous_db_with_data_guard_count

Usage

powerpipe query oci_insights.query.database_autonomous_db_with_data_guard_count

SQL

select
count(*) as value,
'Data Guard Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
oci_database_autonomous_database
where
not is_data_guard_enabled;

Dashboards

The query is used in the dashboards: