Checking your current plan
You must use a GitHub Team or GitHub Enterprise plan before you can enable GitHub Secret Protection or GitHub Code Security on private repositories.
-
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.
Your current plan is shown with any options to upgrade to a different plan.
Metered billing users
If your organization or enterprise uses metered billing, then you are ready to start enabling GitHub Secret Protection and GitHub Code Security. Whenever you enable a feature or apply a configuration, a modal dialog shows detailed information with estimated billing changes. You can confirm your change or return to the page without making changes.
The most effective way to control and enable these features is using security configurations, see Choosing a security configuration for your repositories.
Volume/subscription users
If you use volume/subscription billing, then you will need to purchase licenses before you can start using GitHub Secret Protection or GitHub Code Security on private or internal repositories.
-
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.
-
To the right of "GitHub Advanced Security", click Buy Advanced Security.
-
Confirm your billing information and payment method.
-
Under "How many committers do you want to include?", enter the number of committers you want to purchase licenses for.
-
Click Purchase Advanced Security.
Tip
To see how license use by committers is measured, see GitHub Advanced Security license billing.