About GitHub Advanced Security billing and licenses
To use GitHub Advanced Security (GHAS) features on private or internal repositories with unique active committers, you must have available GHAS licenses. With security configurations, you can easily understand the GHAS license usage of repositories in your organization, as well as the number of available GHAS licenses in your enterprise. Additionally, if you need to make more GHAS licenses available to secure a high-impact repository, you can quickly disable GHAS features on private and internal repositories at scale.
To learn about GHAS licenses, as well as unique and active committers, see About billing for GitHub Advanced Security.
Understanding your GitHub Advanced Security license usage
-
In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
-
Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.
-
In the "Security" section of the sidebar, select the Code security dropdown menu, then click Configurations.
-
In the "Apply configurations" section, your current license usage will be displayed as "NUMBER-USED out of NUMBER-PURCHASED available GitHub Advanced Security licenses in use by YOUR-ENTERPRISE."
-
Optionally, to find specific repositories in your organization, filter the repository table. To learn more, see Filtering repositories in your organization using the repository table.
-
To quickly identify the number of GHAS licenses needed to enable GHAS features on a specific repository, in that repository's row of the repository table, read "NUMBER licenses required".
-
To view license usage for multiple repositories in your organization, select the repositories from the repository table. In the "Apply configurations" section, you will see the number of licenses required to apply GHAS features to the repositories, as well as the number of licenses made available if you disable GHAS features on those repositories.
Turning off GitHub Advanced Security features on select repositories in your organization
-
In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
-
Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.
-
In the "Security" section of the sidebar, select the Code security dropdown menu, then click Configurations.
-
Optionally, in the "Apply configurations" section, filter for specific repositories on which you would like to disable GHAS. To learn more, see Filtering repositories in your organization using the repository table.
-
In the repository table, select repositories with one of three methods:
- Select each individual repository you would like to disable GHAS features on.
- To select all repositories displayed on the current page of the repository table, select NUMBER repositories.
- After selecting NUMBER repositories, to select all repositories in your organization that match any filters you have applied, click Select all.
Once you have selected the desired repositories, in the "Apply configurations" section, you can see how many GHAS licenses will become available when you disable GHAS features on those repositories. For more information, see Understanding your GitHub Advanced Security license usage.
-
Select the Apply configuration dropdown menu, then click Disable GitHub Advanced Security.
-
To finish disabling GHAS features on the selected private or internal repositories, in the "Disable GitHub Advanced Security?" window, click Disable GitHub Advanced Security.
Note
- Disabling GHAS features for a private or internal repository will also detach that repository from any linked security configuration.
- On GitHub.com, disabling GHAS features through the repository table will not disable those features on public repositories since they do not require GitHub Advanced Security licenses.