turbot/github_insights

Query: default_branch_protection_enabled_count

Usage

powerpipe query github_insights.query.default_branch_protection_enabled_count

Steampipe Tables

SQL

select
'Protected' as label,
count(*) as value
from
github_my_repository
where
(default_branch_ref -> 'branch_protection_rule') is not null;

Dashboards

The query is used in the dashboards: