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.
Displaying the security and analysis settings
-
在 GitHub AE 的右上角,单击您的头像,然后单击 Your organizations(您的组织)。
-
在组织旁边,单击 Settings(设置)。
-
在左侧边栏中,单击 Security & analysis(安全和分析)。
The page that's displayed allows you to enable or disable all security and analysis features for the repositories in your organization.
The page will also contain options to enable and disable Advanced Security features. Any repositories that use GitHub Advanced Security are listed at the bottom of the page.
Enabling or disabling a feature for all existing repositories
You can enable or disable features for all repositories.
-
Go to the security and analysis settings for your organization. For more information, see "Displaying the security and analysis settings."
-
Under "Code security and analysis", to the right of the feature, click Disable all or Enable all.
-
Click Enable/Disable all or Enable/Disable for eligible repositories to confirm the change.
当您为现有仓库启用一个或多个安全和分析功能时,您将在几分钟内看到 GitHub 上显示的任何结果:
- 所有现有仓库将具有选定的配置。
- 如果启用了新仓库的复选框,则新仓库将遵循所选配置。
Enabling or disabling a feature automatically when new repositories are added
-
Go to the security and analysis settings for your organization. For more information, see "Displaying the security and analysis settings."
-
Under "Code security and analysis", to the right of the feature, enable or disable the feature by default for new repositories in your organization.