About enabling analyse des secrets
Analyse de secrets can be enabled for any repository that is owned by an organization, and for repositories owned by user accounts when using GitHub Enterprise Cloud with Enterprise Managed Users.
If you're an organization owner, you can enable secret scanning for multiple repositories at a time using security configurations. For more information, see Activation des fonctionnalités de sécurité à grande échelle.
If your organization is owned by an enterprise account, an enterprise owner can also enable secret scanning at the enterprise level. For more information, see Création d’une configuration de sécurité personnalisée pour votre entreprise.
Enabling analyse des secrets
-
Sur GitHub, accédez à la page principale du référentiel.
-
Sous le nom de votre référentiel, cliquez sur Paramètres. Si vous ne voyez pas l’onglet « Paramètres », sélectionnez le menu déroulant , puis cliquez sur Paramètres.

-
Dans la section « Sécurité » de la barre latérale, cliquez sur Code security and analysis.
-
When you enable Advanced Security, secret scanning may automatically be enabled for the repository due to the organization's settings. If "Secret scanning" is shown with an Enable button, you still need to enable secret scanning by clicking Enable. If you see a Disable button, secret scanning is already enabled.

A repository administrator can choose to disable secret scanning for a repository at any time. For more information, see Gestion des paramètres de sécurité et d’analyse pour votre dépôt.