turbot/github_sherlock

GitHub
Loading controls...

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:

steampipe check github_sherlock.control.org_all_seats_used

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share github_sherlock.control.org_all_seats_used

Plugins & 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