-
In the upper-right corner of GitHub, click your profile picture, then click Organizations.
-
Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
In the "Security" section of the sidebar, select the Code security and analysis dropdown menu, then click Configurations.
-
In the "Code security configurations" section, click the name of the custom security configuration you want to edit.
Observação
The default security configuration for an organization is only automatically applied to new repositories created in your organization. If a repository is transferred into your organization, you will still need to apply an appropriate security configuration to the repository manually.
-
Edit the name and description of your custom security configuration as desired.
-
Edit the enablement settings of your custom security configuration as desired.
-
In the "Policy" section, you can modify the configuration's enforcement status. Enforcing a configuration will block repository owners from changing features that are enabled or disabled by the configuration, but features that are not set aren't enforced. Next to "Enforce configuration", select Enforce or Don't enforce from the dropdown menu.
Observação
Some situations can break the enforcement of security configurations. See Security configuration enforcement.
-
To apply your changes, click Update configuration.
Esta versão do GitHub Enterprise Server será descontinuada em 2026-03-17. Nenhum lançamento de patch será feito, mesmo para questões críticas de segurança. Para obter melhor desempenho, segurança aprimorada e novos recursos, atualize para a última versão do GitHub Enterprise Server. Para obter ajuda com a atualização, entre em contato com o suporte do GitHub Enterprise.
Edição de uma configuração de segurança personalizada
Altere as configurações de habilitação em sua custom security configuration para atender melhor às necessidades de segurança dos repositórios.