About licenses for GitHub Advanced Security
Each license for GitHub Advanced Security specifies a maximum number of accounts, or seats, that can use these features. Periodically you should check that your use is within your license capacity. For more information, see "About billing for GitHub Advanced Security."
You can calculate how many additional seats will be used if you enable GitHub Advanced Security for more organizations and repositories with the site admin dashboard. For more information, see "Site admin dashboard."
Viewing GitHub Advanced Security license usage for your enterprise account
You can view the enterprise account's current seat limits and usage.
-
In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.
-
In the enterprise account sidebar, click Settings.
-
In the left sidebar, click License.
The "GitHub Advanced Security" section shows details of the current usage. You can see the total number of licenses used, as well as a table with the number of committers and unique committers for each organization.
-
Optionally, display the security and analysis settings for an organization.
-
Click the name of the organization.
-
On the "Security & analysis" settings page, scroll to the "GitHub Advanced Security repositories" section to see a detailed breakdown of usage by repository for this organization.
For more information, see "Managing security and analysis settings for your organization."
-
Downloading GitHub Advanced Security license usage information
You can download a CSV file with GitHub Advanced Security license usage information at both the enterprise and organization levels. The CSV file contains information about each Advanced Security license that is in use, including:
- The username of the person using the seat
- The Advanced Security-enabled repositories where commits were made
- The organizations that people using seats belong to
- The most recent commit dates
You can use this information for insights into your Advanced Security usage, such as which members of your enterprise are using an Advanced Security seat or how Advanced Security licenses are being consumed across your organizations.
You can download the Advanced Security license usage CSV through the GitHub Enterprise Server user interface or the REST API.
Downloading Advanced Security license usage information through the UI
At the organization-level
-
In the top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Access" section of the sidebar, click Billing and plans.
-
Underneath "GitHub Advanced Security," next to "Committers", click CSV report.
At the enterprise-level
-
In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.
-
In the enterprise account sidebar, click Settings.
-
In the left sidebar, click License.
-
Under "GitHub Advanced Security," click the Manage dropdown and then click Download report.
Downloading Advanced Security license usage information through the REST API
You can retrieve Advanced Security usage information via the billing API.
For enterprise-level data, use the /enterprises/{enterprise}/settings/billing/advanced-security
endpoint. For more information, see "GitHub Enterprise administration" in the GitHub REST API documentation.