turbot/oci_insights

Query: database_autonomous_db_1_year

Usage

powerpipe query oci_insights.query.database_autonomous_db_1_year

SQL

select
count(*) as value,
'> 1 Year' as label
from
oci_database_autonomous_database
where
lifecycle_state <> 'TERMINATED' and time_created <= now() - '1 year' :: interval;

Dashboards

The query is used in the dashboards: