Managing security and analysis settings for your user account

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

In this article

About management of security and analysis settings

GitHub can help secure your repositories. This topic tells you how you can manage the security and analysis features for all your existing or new repositories.

You can still manage the security and analysis features for individual repositories. For more information, see "Managing security and analysis settings for your repository."

Note: You can't disable some security and analysis features that are enabled by default for public repositories.

If you enable security and analysis features, GitHub performs read-only analysis on your repository. For more information, see "About GitHub's use of your data."

For an overview of repository-level security, see "About securing your repository."

Enabling or disabling features for existing repositories

  1. In the upper-right corner of any page, click your profile photo, then click Settings.
    Settings icon in the user bar
  2. In the left sidebar, click Security & analysis.
    Security and analysis settings
  3. Under "Configure security and analysis features", to the right of the feature, click Disable all or Enable all.
    "Enable all" or "Disable all" button for "Configure security and analysis" features
  4. Optionally, enable the feature by default for new repositories in your organization.
    "Enable by default" option for new repositories
  5. Click Disable FEATURE or Enable FEATURE to disable or enable the feature for all the repositories you own.
    Button to disable or enable feature

Enabling or disabling features for new repositories

  1. In the upper-right corner of any page, click your profile photo, then click Settings.
    Settings icon in the user bar
  2. In the left sidebar, click Security & analysis.
    Security and analysis settings
  3. Under "Configure security and analysis features", to the right of the feature, enable or disable the feature by default for new repositories in your organization.
    Checkbox for enabling or disabling a feature for new repositories

Further reading

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.