About enabling シークレット スキャン
シークレット スキャン 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 大規模なセキュリティ機能の有効化.
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 Enterprise 用のカスタム セキュリティ構成の作成.
Enabling シークレット スキャン
シークレット スキャン are enabled when you enable Secret Protection for your repository.
-
GitHub で、リポジトリのメイン ページに移動します。
-
リポジトリ名の下にある [Settings] をクリックします。 [設定] タブが表示されない場合は、 [] ドロップダウン メニューを選び、 [設定] をクリックします。
![タブを示すリポジトリ ヘッダーのスクリーンショット。 [設定] タブが濃いオレンジ色の枠線で強調表示されています。](/assets/cb-28260/images/help/repository/repo-actions-settings.png)
-
サイドバーの [Security] セクションで、[ Advanced Security] をクリックします。
-
To the right of "Secret Protection", click Enable.
-
Review the impact of enabling Secret Protection, then click Enable Secret Protection.
A repository administrator can choose to disable secret scanning for a repository at any time. For more information, see リポジトリのセキュリティと分析設定を管理する.