关于安全性和分析设置的管理
GitHub 可帮助保护组织中的仓库。 您可以管理成员在组织中创建的所有现有或新仓库的安全性和分析功能。
显示安全和分析设置
- 在 GitHub AE 的右上角,单击您的个人资料照片,然后单击 Your profile(您的个人资料)。
- 在您的个人资料页面左侧的“Organizations(组织)”下,单击组织的图标。
- 在组织名称下,单击 Settings(设置)。
- 在左侧边栏中,单击 Security & analysis(安全和分析)。
显示的页面允许您为组织中的仓库启用或禁用所有安全和分析功能。
为所有现有仓库启用或禁用功能
您可以启用或禁用所有仓库的功能。
-
转到组织的安全和分析设置。 更多信息请参阅“显示安全和分析设置”。
-
在“Configure security and analysis features(配置安全性和分析功能)”下,单击功能右侧的 Disable all(全部禁用)或 Enable all(全部启用)。
-
Click Enable for all eligible repositories to enable the feature for all the new repositories in your organization that will have Advanced Security enabled.
当您为现有仓库启用一个或多个安全和分析功能时,您将在几分钟内看到 GitHub 上显示的任何结果:
- 所有现有仓库将具有选定的配置。
- 如果您已为新仓库启用复选框,新仓库将使用选定的配置。。
添加新仓库时自动启用或禁用功能
-
转到组织的安全和分析设置。 更多信息请参阅“显示安全和分析设置”。
-
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.