turbot/steampipe-mod-aws-compliance

Query: redshiftserverless_workgroup_restrict_public_access

Usage

powerpipe query aws_compliance.query.redshiftserverless_workgroup_restrict_public_access

SQL

select
workgroup_arn as resource,
case
when not publicly_accessible then 'ok'
else 'alarm'
end as status,
case
when not publicly_accessible then title || ' restrict public access.'
else title || ' allow public access.'
end as reason
, region, account_id
from
aws_redshiftserverless_workgroup;

Controls

The query is being used by the following controls: