turbot/steampipe-mod-guardrails-insights

Query: guardrails_mod_auto_update

Usage

powerpipe query guardrails_insights.query.guardrails_mod_auto_update

SQL

select
resource_trunk_title,
workspace,
workspace as resource,
case
when value = 'Enforce within Mod Change Window' then 'ok'
else 'alarm'
end as status,
case
when value = 'Enforce within Mod Change Window' then 'Policy recommendation met'
else 'Policy recommendation not met'
end as reason
from
guardrails_policy_setting
where
policy_type_uri = 'tmod:@turbot/turbot#/policy/types/modAutoUpdate'
order by
workspace;

Controls

The query is being used by the following controls: