Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-03-17. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Managing security and analysis features

You can control features that secure and analyze the code in your projects on GitHub.

Note

This topic tells you how you can manage the security and analysis features for all your existing or new repositories. For information on managing these settings for individual repositories, see Managing security and analysis settings for your repository.

Enabling or disabling features for existing repositories

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.

  2. In the "Security" section of the sidebar, click Code security.

  3. Under "Code security and analysis", to the right of the feature, click Disable all or Enable all.

  4. Optionally, enable the feature by default for new repositories that you own.

  5. Click Disable FEATURE or Enable FEATURE to disable or enable the feature for all the repositories you own.

Enabling or disabling features for new repositories

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
  2. In the "Security" section of the sidebar, click Code security.
  3. Under "Code security and analysis", to the right of the feature, enable or disable the feature by default for new repositories that you own.

Next steps