You can download CSV files with details of paid license use through the GitHub user interface or the REST API.
For more detailed reports on usage of all paid products, see Como exibir o uso de licenças e produtos mensuráveis.
On GitHub Enterprise Cloud
-
In the upper-right corner of any page on GitHub, click your profile picture.
-
Select the account you want to view and then access the "Billing & Licensing" pages:
-
Organizations: Click Your organizations, then next to the organization, click Settings. In the organization sidebar, click Billing & Licensing.
-
Enterprises: Click Your enterprises, then click the enterprise name. Click the Billing & Licensing tab at the top of the page.
-
-
From the list of "Billing & licensing" pages, click Licensing to display the licensing page.
-
In the license area of interest, click Download CSV report. If offered a choice, choose your preferred report.
The report will be emailed to the default email address associated with your GitHub account. For information about the fields, see Referência de relatórios de licença.
On GitHub Enterprise Server
- No canto superior direito do GitHub, selecione sua imagem de perfil.
- Dependendo do ambiente, selecione Sua empresa ou Suas empresas e escolha a empresa que deseja ver.
- Em Settings, clique em Licensing.
The page shows a summary of the licenses your enterprise is using for GitHub Enterprise and GitHub Advanced Security. Use links on the page to view more detailed information.
To download a license usage report for GitHub Advanced Security:
- Enterprise: In "GitHub Advanced Security", click CSV report.
- Organization: In the "ORGANIZATION" table, click associated with the organization that you want to download a CSV report for.
- User namespace: In the "USER NAMESPACED" table, click associated with the user that you want to download a CSV report for.
- Repository: In the "ORGANIZATION" table, click the name of an organization to show a settings page for the organization. In the GitHub Advanced Security repositories table, click and select Download CSV report.
For details of the fields included in the report, see Referência de relatórios de licença.
Using the REST API
You can retrieve information on paid use of Advanced Security with the billing API.
-
Organization-level data (cloud only), use the
/organizations/{org}/settings/billing/usage
endpoint. For more information, see Plataforma de faturamento aprimorada. -
Enterprise-level data, use the
/enterprises/{enterprise}/settings/billing/usage
endpoint. For more information, see Pontos de extremidade da API REST para faturamento corporativo in the GitHub Enterprise Cloud documentation.