turbot/oci_compliance

Query: audit_log_retention_period_365_days

Usage

steampipe query oci_compliance.query.audit_log_retention_period_365_days

Plugins & Tables

SQL

select
-- Required Columns
id as resource,
case
when retention_period_days < 365 then 'alarm'
else 'ok'
end as status,
'Audit log retention period set to ' || retention_period_days || '.'
as reason,
-- Additional Dimensions
name
from
oci_identity_tenancy;