查看您的 GitHub 高级安全使用情况

You can view usage of GitHub Advanced Security for your enterprise.

Enterprise owners can view usage for GitHub Advanced Security.

GitHub Advanced Security is available for enterprise accounts on GitHub Enterprise Cloud and GitHub Enterprise Server 3.0 or higher. GitHub Advanced Security is also included in all public repositories on GitHub.com. For more information, see "About GitHub's products."

关于 GitHub Advanced Security 的许可

GitHub Advanced Security 的每个许可证都规定了可以使用这些功能的最大帐户或席位数量。 您应该定期检查您的使用是否在许可范围之内。 更多信息请参阅“关于 GitHub Advanced Security 的计费”。

查看企业帐户的 GitHub Advanced Security 许可使用情况

您可以检查您的许可证包含多少个席位,以及其中多少席位目前在使用。

  1. 在 GitHub.com 的右上角,单击您的个人资料照片,然后单击 Your enterprises(您的企业)GitHub Enterprise Cloud 上个人资料照片下拉菜单中的"Your enterprises(您的企业)"

  2. 在企业列表中,单击您想要查看的企业。 企业列表中的企业名称

  3. 在企业帐户侧边栏中,单击 Settings(设置)企业帐户侧边栏中的“设置”选项卡

  4. 在左侧边栏中,单击 Enterprise licensing(企业许可)企业帐户设置侧边栏中的"Enterprise licensing(企业许可)"选项卡

    “GitHub Advanced Security”部分显示了当前使用详情。 GitHub Advanced Security in enterprise licensing settings If you run out of seats, the section will be red and show "Limit exceeded." 您应该减少您对 GitHub Advanced Security 的使用,或者购买更多席位。 更多信息请参阅“关于 GitHub Advanced Security 的计费”。 GitHub Advanced Security in enterprise licensing settings showing "Limit exceeded"

  5. (可选)要查看每个组织的使用详情,请在左侧边栏中单击 Billing(计费)Billing tab in the enterprise account settings sidebar 在“GitHub Advanced Security”部分,您可以查看每个组织的提交者和唯一提交者数量。 企业计费设置中的 GitHub Advanced Security

  6. (可选)单击您是所有者的组织的名称,以显示组织的安全和分析设置。 在企业帐单设置的 GitHub Advanced Security 部分中拥有的组织

  7. 在“Security & analysis(安全性和分析)”设置页面上,滚动到“GitHub Advanced Security 仓库”部分以查看此组织的仓库使用明细。 GitHub Advanced Security repositories section 更多信息请参阅“管理组织的安全性和分析设置”。

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

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations. 个人资料菜单中的组织
  2. 在组织旁边,单击 Settings(设置)设置按钮
  3. 在组织的 Settings(设置)侧边栏中,单击 Billing & plans(帐单和计划)帐单设置
  4. Underneath "GitHub Advanced Security," click next to "Committers." Download button for organization-level data

At the enterprise-level

  1. 在 GitHub.com 的右上角,单击您的个人资料照片,然后单击 Your enterprises(您的企业)GitHub Enterprise Cloud 上个人资料照片下拉菜单中的"Your enterprises(您的企业)"

  2. 在企业列表中,单击您想要查看的企业。 企业列表中的企业名称

  3. 在企业帐户侧边栏中,单击 Settings(设置)企业帐户侧边栏中的“设置”选项卡

  4. 在左侧边栏中,单击 Enterprise licensing(企业许可)企业帐户设置侧边栏中的"Enterprise licensing(企业许可)"选项卡

  5. Under "GitHub Advanced Security," click next to "Commiters." Download button for enterprise-level data

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.

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。