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] をクリックします。 [設定] タブが表示されない場合は、 [] ドロップダウン メニューを選び、 [設定] をクリックします。
![タブを示すリポジトリ ヘッダーのスクリーンショット。 [設定] タブが濃いオレンジ色の枠線で強調表示されています。](/assets/cb-28260/images/help/repository/repo-actions-settings.png)
-
サイドバーの [Security] セクションで、[ 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 カスタム セキュリティ構成を作成する.