turbot/steampipe-mod-aws-compliance

Control: Transfer Family connectors should have logging enabled

Description

This control checks whether Amazon CloudWatch logging is enabled for an AWS Transfer Family connector. The control fails if CloudWatch logging isn't enabled for the connector.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.transfer_connector_logging_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.transfer_connector_logging_enabled --share

SQL

This control uses a named query:

select
arn as resource,
case
when logging_role is not null then 'ok'
else 'alarm'
end as status,
case
when logging_role is not null then title || ' logging enabled'
else title || ' logging disabled.'
end as reason
, region, account_id
from
aws_transfer_connector;

Tags