turbot/alicloud_compliance

GitHub

Query: security_center_advanced_or_enterprise_edition

Usage

steampipe query alicloud_compliance.query.security_center_advanced_or_enterprise_edition

SQL

select
-- Required Columns
account_id as resource,
case
when version in ('2', '3', '5') then 'ok'
else 'alarm'
end as status,
case
when version in ('2','3') then 'Security Center Enterprise edition enabled.'
when version in ('5') then 'Security Center Advanced edition enabled.'
else 'Security Center Enterprise or Advanced edition disabled.'
end as reason,
-- Additional Dimensions
region,
account_id
from
alicloud_security_center_version;

Controls

The query is being used by the following controls: