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 "Поддерживаемые шаблоны сканирования секретов."
Enabling detection of generic patterns for a repository
-
На GitHubперейдите на главную страницу репозитория.
-
Под именем репозитория щелкните Settings. Если вкладка "Параметры" не отображается, выберите раскрывающееся меню и нажмите кнопку "Параметры".

-
В разделе "Безопасность" боковой панели щелкните 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 Создание настраиваемой конфигурации безопасности.