Control: Lambda functions CloudTrail logging should be enabled
Description
Lambda functions logging is essential because once lambdas are triggered, all of the underlying compute resources are automatically managed for you. This control is compliant if CloudTrail logging is enabled.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.lambda_function_cloudtrail_logging_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.lambda_function_cloudtrail_logging_enabled --share
SQL
This control uses a named query:
lambda_function_cloudtrail_logging_enabled