turbot/steampipe-mod-github-insights

Dashboard: GitHub Organization 2FA Report

This report answers the following questions:

  • Which of my organizations do/don't require 2fa?
This dashboard contains 4 cards and 1 table.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-github-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select GitHub Organization 2FA Report dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run github_insights.dashboard.organization_2fa_report --share

Queries

This dashboard uses the the following queries:
select
'Disabled' as label,
count(*) as value,
case
when count(*) > 0 then 'alert'
else 'ok'
end as type
from
github_my_organization
where
two_factor_requirement_enabled = false;

Tags