turbot/github_sherlock

Control: All organization seats should be allocated

Description

Unused organization seats cost money and should be allocated or removed.

Usage

Run the control in your terminal:

powerpipe control run github_sherlock.control.org_all_seats_used

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run github_sherlock.control.org_all_seats_used --share

Steampipe Tables

SQL

select
url as resource,
case
when plan_filled_seats >= plan_seats then 'ok'
else 'alarm'
end as status,
login || ' uses ' || plan_filled_seats || ' out of ' || plan_seats || '.' as reason,
login
from
github_my_organization

Tags