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