Skip to main content

シークレット スキャンとプッシュ保護の操作

Secret scanning は、リポジトリにチェックインされたシークレットをスキャンして検出します。 プッシュ保護は、シークレットなどプッシュをブロックすることで、シークレットの漏洩を防ぐよう予防的に保護します。

この機能を使用できるユーザーについて

Secret scanning alerts for partners runs automatically on public repositories and public npm packages to notify service providers about leaked secrets on GitHub.

Secret scanning alerts for users are available for user-owned public repositories for free. Organizations using GitHub Enterprise Cloud with a license for GitHub Advanced Security can also enable secret scanning alerts for users on their private and internal repositories. Additionally, secret scanning alerts for users are available and in beta on user-owned repositories for GitHub Enterprise Cloud with Enterprise Managed Users. For more information, see "About secret scanning alerts" and "About GitHub Advanced Security."

For information about how you can try GitHub Advanced Security for free, see "Setting up a trial of GitHub Advanced Security."

ユーザーのプッシュ保護

ユーザーのプッシュ保護を使用すると、GitHub Enterprise Cloud 全体のパブリック リポジトリへのすべてのプッシュで自動的に保護されます。

コマンド ラインからのプッシュ保護を操作する

secret scanning が変更内のシークレットを検出した場合に、コマンド ラインから GitHub へのプッシュのブロックを解除するオプションについて説明します。

GitHub UI でのプッシュ保護の操作

secret scanning が変更のシークレットを検出したときにコミットのブロックを解除するためのオプションについて説明します。