About GitHub Advanced Security

GitHub makes extra security features available to customers under an Advanced Security license. These features are also enabled for public repositories on GitHub.com.

GitHub Advanced Security is available for enterprise accounts on GitHub Enterprise Cloud and GitHub Enterprise Server 3.0 or higher. GitHub Advanced Security is also included in all public repositories on GitHub.com. For more information, see "About GitHub's products."

About GitHub Advanced Security

GitHub has many features that help you improve and maintain the quality of your code. Some of these are included in all plans, such as dependency graph and Dependabot 警报. Other security features require GitHub Advanced Security to run on repositories apart from public repositories on GitHub.com.

For information about buying a license for GitHub Advanced Security, see "About billing for GitHub Advanced Security."

About Advanced Security features

A GitHub Advanced Security license provides the following additional features:

  • 代码扫描 - Search for potential security vulnerabilities and coding errors in your code. For more information, see "About 代码扫描."

  • 秘密扫描 - Detect secrets, for example keys and tokens, that have been checked into the repository. For more information, see "About 秘密扫描."

  • Dependency review - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "About dependency review."

  • Security overview - Review the security configuration and alerts for an organization and identify the repositories at greatest risk. For more information, see "About the security overview."

For information about Advanced Security features that are in development, see "GitHub public roadmap." For an overview of all security features, see "GitHub security features."

GitHub Advanced Security features are enabled for all public repositories on GitHub.com. Organizations that use GitHub Enterprise Cloud with Advanced Security can additionally enable these features for private and internal repositories. They also have access an organization-level security overview.

Deploying GitHub Advanced Security in your enterprise

To learn about what you need to know to plan your GitHub Advanced Security deployment at a high level, see "Overview of GitHub Advanced Security deployment."

To review the rollout phases we recommended in more detail, see "Deploying GitHub Advanced Security in your enterprise."

Enabling Advanced Security features

For public repositories these features are permanently on and can only be disabled if you change the visibility of the project so that the code is no longer public.

For other repositories, once you have a license for your enterprise account, you can enable and disable these features at the organization or repository level. For more information, see "Managing security and analysis settings for your organization" and "Managing security and analysis settings for your repository."

If you have an enterprise account, license use for the entire enterprise is shown on your enterprise license page. For more information, see "Viewing your GitHub Advanced Security usage."

Further reading

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。