Prerequisites
Before you configure GitHub Secret Protection, you should run the free secret risk assessment to inform your enablement strategy. See Executando a avaliação de risco secreto para sua organização.
Configuring GitHub Secret Protection
-
Em GitHub, acesse a página principal da organização.
-
No nome da sua organização, clique em Security.

-
Na barra lateral, em "Security", clique em Assessments.
-
In the banner display, select the Get started dropdown menu, then click one of following enablement options:
- For public repositories for free: Click to enable for only public repositories in your organization.
- For all repositories: Click to see an estimated cost for GitHub Secret Protection for all repositories in your organization.
- If you are satisfied with the pricing estimate, to enable secret scanning alerts and push protection across your organization, click Enable Secret Protection.
- Alternatively, click Configure in settings to customize which repositories you want to enable Secret Protection for. See Aplicação da configuração de segurança recomendada pelo GitHub em sua organização and Criando uma configuração de segurança personalizada.