About licenses for GitHub Advanced Security
Note that GitHub may apply a temporary authorization hold for the value of the usage-based costs in advance, which will appear as a pending charge in your account's payment method.
If you want to use GitHub Advanced Security features on any repository apart from a public repository on GitHub, you will need a license for GitHub Advanced Security features, available with GitHub Enterprise Cloud or GitHub Enterprise Server. For information about how you can try GitHub Enterprise with GitHub Advanced Security for free, see Setting up a trial of GitHub Enterprise Cloud and Setting up a trial of GitHub Advanced Security in the GitHub Enterprise Cloud documentation.
Note
If you change the visibility of a public repository to private then GitHub Advanced Security will be disabled for that repository.
For pricing details for GitHub Advanced Security, see our pricing information.
Tip
From April 1, 2025, you will be able to enable usage-based billing or buy licenses for selected features of GitHub Advanced Security. The new products, GitHub Secret Protection and GitHub Code Security, will be available to users with GitHub Team and GitHub Enterprise. For full details, see Evolving GitHub Advanced Security in Executive Insights.