Skip to main content

Buying Advanced Security for your organization or enterprise

How to buy licenses for GitHub Advanced Security whether you have usage-based or volume/subscription billing.

Who can use this feature?

Organization or enterprise owners can sign up for GitHub Secret Protection or GitHub Code Security

Requires GitHub Team or GitHub Enterprise

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.

  1. In the upper-right corner of any page on GitHub, click your profile picture.

  2. 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.

  3. 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.

  1. In the upper-right corner of any page on GitHub, click your profile picture.

  2. 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.

  3. From the list of "Billing & licensing" pages, click Licensing to display the licensing page.

  4. To the right of "GitHub Advanced Security", click Buy Advanced Security.

    Screenshot of the Advanced Security section of the licensing screen. The "Buy Advanced Security" button is outlined in orange.

  5. Confirm your billing information and payment method.

  6. Under "How many committers do you want to include?", enter the number of committers you want to purchase licenses for.

  7. Click Purchase Advanced Security.

Tip

To see how license use by committers is measured, see GitHub Advanced Security license billing.

Further reading