Skip to main content

此版本的 GitHub Enterprise Server 已于以下日期停止服务 2026-06-02. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

没有足够的 GitHub 高级安全许可证

如果使用的是基于订阅的 GHAS 计费模型,则需要可用的 GHAS 许可证才能在专用 或内部 存储库上启用 GHAS 功能。

谁可以使用此功能?

具有管理员角色的组织所有者、安全管理员和组织成员

If you are on a volume / subscription-based billing model for GitHub Advanced Security (GHAS), you must have an available GHAS license for any additional unique active committers to enable GHAS features on a private or internal repository. To learn about GHAS licensing, as well as unique and active committers, see GitHub Advanced Security license billing.

If you try to apply a security configuration with GHAS features to your repositories and don't have enough GHAS licenses, the configuration will only be successfully applied to public repositories. For private and internal repositories, only free security features will be enabled due to the license limitation, resulting in the following outcomes:

  • Free security features enabled in the configuration will be enabled for all private and internal repositories.
  • GHAS features will not be enabled for any private or internal repositories.
  • The security configuration will not be applied to any private or internal repositories, since only some features from the configuration are enabled.

For more information on managing GHAS licenses for your organization, see Managing your paid use of Advanced Security.