turbot/github_insights

Query: default_branch_protection_disabled_unverifiable_count

Usage

powerpipe query github_insights.query.default_branch_protection_disabled_unverifiable_count

Steampipe Tables

SQL

select
'Unknown' as label,
count(*) as value,
case
when count(*) > 0 then 'alert'
else 'ok'
end as type
from
github_my_repository
where
(default_branch_ref -> 'branch_protection_rule') is null;

Dashboards

The query is used in the dashboards: