About licenses for GitHub Advanced Security
GitHub Advanced Security 的每个许可证都规定了可以使用这些功能的最大帐户或席位数量。 您应该定期检查您的使用是否在许可范围之内。 For more information, see "About billing for GitHub Advanced Security."
Viewing GitHub Advanced Security license usage for your enterprise account
You can check how many seats your license includes and how many of them are currently used.
-
在 GitHub.com 的右上角,单击您的个人资料照片,然后单击 Your enterprises(您的企业)。
-
在企业列表中,单击您想要查看的企业。
-
在企业帐户侧边栏中,单击 Settings(设置)。
-
在左侧边栏中,单击 Enterprise licensing(企业许可)。
The "GitHub Advanced Security" section shows details of the current usage.
If you run out of seats, the section will be red and show "Limit exceeded." You should either reduce your use of GitHub Advanced Security or purchase more seats. For more information, see "About billing for GitHub Advanced Security."
-
Optionally, to see a detailed breakdown of usage per organization, in the left sidebar, click Billing.
In the "GitHub Advanced Security" section you can see the number of committers and unique committers for each organization.
-
Optionally, click the name of an organization where you are an owner to display the security and analysis settings for 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 seat 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 how your Advanced Security licenses are being used, 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 Cloud user interface or the REST API.
Downloading Advanced Security license usage information through the UI
At the organization-level
-
在 GitHub.com 的右上角,单击您的头像,然后单击 Your organizations(您的组织)。
-
在组织旁边,单击 Settings(设置)。
-
在边栏的“Access(访问)”部分中,单击 计费和计划。
-
Underneath "GitHub Advanced Security," click next to "Committers."
At the enterprise-level
-
在 GitHub.com 的右上角,单击您的个人资料照片,然后单击 Your enterprises(您的企业)。
-
在企业列表中,单击您想要查看的企业。
-
在企业帐户侧边栏中,单击 Settings(设置)。
-
在左侧边栏中,单击 Enterprise licensing(企业许可)。
-
Under "GitHub Advanced Security," click next to "Commiters."
Downloading Advanced Security license usage information through the REST API
You can retrieve Advanced Security usage information via the billing API.
For organization-level data, use the /orgs/{org}/settings/billing/advanced-security
endpoint. For more information, see "Billing" in the GitHub REST API documentation.
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.