turbot/aws_insights

Query: lambda_function_encryption

Usage

powerpipe query aws_insights.query.lambda_function_encryption

Steampipe Tables

SQL

select
'Encryption' as label,
case when kms_key_arn is not null then 'Enabled' else 'Disabled' end as value,
case when kms_key_arn is not null then 'ok' else 'alert' end as type
from
aws_lambda_function
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: