turbot/steampipe-mod-aws-compliance

Control: Ensure encryption in transit is enabled for Lambda environment variables

Description

As you can set your own environmental variables for Lambda it is important to also encrypt them for in transit protection.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.lambda_function_encryption_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when kms_key_arn is null then 'alarm'
else 'ok'
end as status,
case
when kms_key_arn is null then title || ' encryption is disabled.'
else title || ' encryption is enabled.'
end as reason
, region, account_id
from
aws_lambda_function;

Tags