Skip to main content

Cette version de GitHub Enterprise Server n'est plus disponible depuis le 2025-06-04. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités, effectuez une mise à niveau vers la dernière version de GitHub Enterprise. Pour obtenir de l’aide sur la mise à niveau, contactez le support GitHub Enterprise.

Téléchargement de l’utilisation sous licence de Advanced Security

Vous pouvez consulter la consommation des licences GitHub Advanced Security par votre entreprise : licences en volume/d’abonnement ou utilisation facturée à l’usage.

Qui peut utiliser cette fonctionnalité ?

Enterprise owners with Advanced Security

Downloading Advanced Security license usage information

You can download a CSV file with details of paid use of GitHub Advanced Security products 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 paid use of Advanced Security, 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.

Using the UI to download license and metered usage

You can download a CSV report for a repository, an organization, or an 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.

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

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

Using the REST API to download license and metered usage

You can retrieve information on paid use of Advanced Security with 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.