turbot/aws_compliance

Query: eventbridge_custom_bus_resource_based_policy_attached

Usage

powerpipe query aws_compliance.query.eventbridge_custom_bus_resource_based_policy_attached

Steampipe Tables

SQL

select
arn as resource,
case
when name = 'default' then 'skip'
when policy_std is not null then 'ok'
else 'alarm'
end as status,
case
when name = 'default' then title || ' is default event bus.'
when policy_std is not null then title || ' has resource based policy attached.'
else title || ' does not have resource based policy attached.'
end as reason
, region, account_id
from
aws_eventbridge_bus;

Controls

The query is being used by the following controls: