turbot/oci_insights

Query: database_autonomous_db_by_operations_insights_count

Usage

powerpipe query oci_insights.query.database_autonomous_db_by_operations_insights_count

SQL

select
count(*) as value,
'Operations Insight Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
oci_database_autonomous_database
where
operations_insights_status = 'NOT_ENABLED';

Dashboards

The query is used in the dashboards: