Skip to main content

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

删除自定义安全配置

可以删除组织中的不必要的 custom security configurations。

谁可以使用此功能?

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

About deleting a custom security configuration

If you no longer need a custom security configuration, you can delete that configuration to ensure it will not be applied to any repositories in the future. If you are deleting a custom security configuration because you want to change the security enablement settings in that configuration, you can instead edit the configuration. For more information, see Editing a custom security configuration.

警告

Deleting a custom security configuration will detach all repositories that are linked to that configuration. The existing security settings for those repositories will be unchanged, but you must apply a different security configuration or manage their security settings at the repository level to keep their settings up to date.

Deleting a custom security configuration from your organization

  1. In the upper-right corner of GitHub, click your profile picture, then click Organizations.

  2. Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of the tabs in an organization's profile. The "Settings" tab is outlined in dark orange.

  3. In the "Security" section of the sidebar, select the Code security and analysis dropdown menu, then click Configurations.

  4. In the configurations table, click the name of the custom security configuration you want to delete.

  5. Scroll to the bottom of the page, then click Delete configuration.

  6. In the "Delete this configuration?" window, read the warning to confirm you are comfortable deleting the custom security configuration, then click Delete configuration.