Skip to main content

Эта версия GitHub Enterprise Server была прекращена 2025-04-03. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Просмотр и скачивание лицензированного использования Advanced Security

Вы можете просматривать и скачивать использование лицензий GitHub Advanced Security с помощью ваших : лицензий томов или подписок или использования с учетом использования.

Кто может использовать эту функцию?

Enterprise owners with Advanced Security

Viewing Advanced Security usage for your enterprise

You can view the current license limits and usage for your enterprise.

  1. In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.

    Screenshot of the dropdown menu shown when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is outlined.

  2. Under Settings, 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.

  3. Optionally, to see a detailed breakdown of usage by repositories within an organization, click an organization name to display the "Security & analysis" for the organization.

Downloading Advanced Security license usage information

You can download a CSV file with GitHub Advanced Security license usage information at both the level. The CSV file contains information about each Advanced Security license that is in use, including:

  • The username of the person using the GitHub Advanced Security license
  • The GitHub Advanced Security-enabled repositories where commits were made
  • The organizations that people using licenses belong to
  • The most recent commit dates and associated email addresses

You can use this information for insights into your Advanced Security usage, such as which members of your enterprise are using a license or how licenses are being consumed across your organizations.

You can download a CSV report of license usage through the GitHub user interface or the REST API.

Downloading license usage information from the UI

  1. In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.

    Screenshot of the dropdown menu shown when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is outlined.

  2. Under Settings, click License.

  3. Under "GitHub Advanced Security," click CSV report.

    Screenshot of the licensing screen. The "CSV Report" button is highlighted with an orange outline.

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/usage endpoint. For more information, see REST API endpoints for enterprise billing in the GitHub Enterprise Cloud documentation.