turbot/aws_insights

Query: ecr_repository_encryption_status

Usage

powerpipe query aws_insights.query.ecr_repository_encryption_status

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: