turbot/aws_insights

Query: lambda_function_by_encryption_status

Usage

powerpipe query aws_insights.query.lambda_function_by_encryption_status

Steampipe Tables

SQL

select
encryption_status,
count(*)
from
(
select
case
when kms_key_arn is not null then 'enabled'
else 'disabled'
end encryption_status
from
aws_lambda_function
) as t
group by
encryption_status
order by
encryption_status desc;

Dashboards

The query is used in the dashboards: