turbot/aws_insights

Query: codebuild_project_badge_status

Usage

powerpipe query aws_insights.query.codebuild_project_badge_status

Steampipe Tables

SQL

select
badge_status,
count(*)
from (
select badge ->> 'BadgeEnabled',
case when badge ->> 'BadgeEnabled' = 'true' then
'enabled'
else
'disabled'
end badge_status
from
aws_codebuild_project) as t
group by
badge_status
order by
badge_status desc;

Dashboards

The query is used in the dashboards: