About management of security and analysis settings
GitHub can help secure the repositories in your organization. You can manage the security and analysis features for all existing or new repositories that members create in your organization.
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."
Displaying the security and analysis settings
- In the top right corner of GitHub, click your profile photo, then click Your profile.

- On the left side of your profile page, under "Organizations", click the icon for your organization.

- Under your organization name, click Settings.

- In the left sidebar, click Security & analysis.

The page that's displayed allows you to enable or disable security and analysis features for the repositories in your organization.
Enabling or disabling a feature for all existing repositories
- Go to the security and analysis settings for your organization. For more information, see "Displaying the security and analysis settings."
- Under "Configure security and analysis features", to the right of the feature, click Disable all or Enable all.

- Optionally, enable the feature by default for new repositories in your organization.

- Click Disable FEATURE or Enable FEATURE to disable or enable the feature for all the repositories in your organization.

Enabling or disabling a feature for all new repositories when they are added
- Go to the security and analysis settings for your organization. For more information, see "Displaying the security and analysis settings."
- 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.

Allowing Dependabot to access private repositories
Dependabot can check for outdated dependency references in a project and automatically generate a pull request to update them. To do this, Dependabot must have access to the targeted dependency files. By default, Dependabot can't update dependencies that are located in private repositories. However, if a dependency is in a private GitHub repository within the same organization as the project that uses that dependency, you can allow Dependabot to update the version successfully by giving it access to the host repository. For more information, including details of limitations to private dependency support, see "About Dependabot version updates."
- Go to the security and analysis settings for your organization. For more information, see "Displaying the security and analysis settings."
- In the "Dependabot repository access" section, click the settings button .
A list is displayed showing all of the private repositories in your organization.


- Select the repositories that Dependabot can access.
- Click Select repositories.