Skip to main content

Deleting a custom security configuration

You can delete unnecessary custom security configurations in your enterprise.

谁可以使用此功能?

Enterprise owners and members with the admin role

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 want to delete a custom security configuration because you want to change the security enablement settings in that configuration, consider editing the configuration instead. For more information, see Editing a custom security configuration.

Warning

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 enterprise

  1. 在 GitHub 的右上角,单击你的个人资料照片。
  2. 根据环境,单击“你的企业”,或单击“你的企业”,然后单击要查看的企业********。
  3. 在页面左侧的企业帐户边栏中,单击 设置”。
  4. In the left sidebar, click Code security.
  5. In the configurations table, click the name of the custom security configuration you want to delete.
  6. In the "Edit configuration" page, scroll to the bottom of the "Security settings" section, then click Delete configuration.
  7. Ensure you read the warning in the "Delete this configuration?" dialog, to confirm you are comfortable deleting the custom security configuration, then click Delete configuration.