Skip to main content

Deleting a custom security configuration

You can delete unnecessary custom security configurations in your enterprise.

Who can use this feature?

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. In the top-right corner of GitHub, click your profile photo.
  2. Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.
  3. On the left side of the page, in the enterprise account sidebar, click Settings.
  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.