Prerequisites
Before you configure GitHub Secret Protection, you should run the free secret risk assessment to inform your enablement strategy. See Exécution de l’évaluation des risques secrets pour votre organisation.
Configuring GitHub Secret Protection
-
Sur GitHub, accédez à la page principale de l’organisation.
-
Sous le nom de votre organisation, cliquez sur Securité.

-
Dans la barre latérale, sous « Sécurité », cliquez sur Évaluations.
-
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 Application de la configuration de sécurité recommandée par GitHub dans votre organisation and Création d’une configuration de sécurité personnalisée.