turbot/aws_compliance

Query: ec2_transit_gateway_auto_cross_account_attachment_disabled

Usage

powerpipe query aws_compliance.query.ec2_transit_gateway_auto_cross_account_attachment_disabled

Steampipe Tables

SQL

select
transit_gateway_arn as resource,
case
when auto_accept_shared_attachments = 'enable' then 'alarm'
else 'ok'
end as status,
case
when auto_accept_shared_attachments = 'enable' then title || ' automatic shared account attachment enabled.'
else title || ' automatic shared account attachment disabled.'
end as reason
, region, account_id
from
aws_ec2_transit_gateway;

Controls

The query is being used by the following controls: