Control: MSK connectors should have logging enabled
Description
This control checks whether logging is enabled for an Amazon MSK connector. The control fails if logging is disabled for the MSK connector.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.mskconnect_connector_logging_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.mskconnect_connector_logging_enabled --share
SQL
This control uses a named query:
select arn as resource, case when log_delivery is not null then 'ok' else 'alarm' end as status, case when log_delivery is not null then title || ' logging enabled.' else title || ' logging disabled.' end as reason , region, account_idfrom aws_mskconnect_connector;