turbot/aws_insights

Query: lambda_function_encryption_table

Usage

powerpipe query aws_insights.query.lambda_function_encryption_table

SQL

select
f.name as "Name",
case
when f.kms_key_arn is not null then 'Enabled'
else null
end as "Encryption",
f.kms_key_arn as "KMS Key ARN",
a.title as "Account",
f.account_id as "Account ID",
f.region as "Region",
f.arn as "ARN"
from
aws_lambda_function as f,
aws_account as a
where
f.account_id = a.account_id
order by
f.name;

Dashboards

The query is used in the dashboards: