Enabling scanning for generic patterns
You can enable scanning for generic patterns. Generic patterns correspond to secrets such as private keys.
For more information about generic patterns, see "Modèles de détection de secrets pris en charge."
Enabling detection of generic patterns for a repository
-
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 Advanced Security.
-
Under "Secret Protection", to the right of "Generic patterns", click Enable.
Enabling detection of generic patterns for an organization
You can enable scanning for generic patterns at the organization level by applying a custom security configuration. For more information, see Création d’une configuration de sécurité personnalisée.