turbot/terraform_oci_compliance
GitHub

Query: cloudguard_enabled

Usage

steampipe query terraform_oci_compliance.query.cloudguard_enabled

Plugins & Tables

SQL

select
address as resource,
case
when (attributes_std ->> 'status') = 'ENABLED' then 'ok'
else 'alarm'
end as status,
split_part(address, '.', 2) || case
when coalesce((attributes_std ->> 'status'), '') = '' then ' ''status'' is not defined'
when (attributes_std ->> 'status') = 'ENABLED' then ' CloudGuard enabled'
else ' CloudGuard disabled'
end || '.' reason,
path || ':' || start_line
from
terraform_resource
where
type = 'oci_cloud_guard_cloud_guard_configuration';

Controls

The query is being used by the following controls: