turbot/oci_compliance

Query: identity_tenancy_audit_log_retention_period_365_days

Usage

powerpipe query oci_compliance.query.identity_tenancy_audit_log_retention_period_365_days

Steampipe Tables

SQL

select
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,
tenant_name as tenant
from
oci_identity_tenancy;

Controls

The query is being used by the following controls: