turbot/aws_insights

Query: ecr_repository_tagging_status

Usage

powerpipe query aws_insights.query.ecr_repository_tagging_status

Steampipe Tables

SQL

select
tag_status,
count(*)
from (
select tags = '{}' or tags is null,
case when tags = '{}' or tags is null then
'disabled'
else
'enabled'
end tag_status
from
aws_ecr_repository) as t
group by
tag_status
order by
tag_status desc;

Dashboards

The query is used in the dashboards: