Skip to main content

Enabling extended metadata checks for your repository

Learn how to enable extended metadata checks for detected secrets so alerts detected by secret scanning include additional information that help you assess and remediate leaks faster.

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

リポジトリの所有者、組織の所有者、セキュリティ マネージャー、および 管理者 ロールを持つユーザー

拡張メタデータ チェックは、次のリポジトリの種類で使用できます。

  • GitHub Team が有効になっている GitHub Enterprise Cloud または GitHub Secret Protection 上の organization 所有リポジトリ

この記事で

メモ

トークンの拡張メタデータ チェックはパブリック プレビュー段階であり、変更される可能性があります。

This article shows how you can enable extended metadata checks for individual repositories through repository settings. Alternatively, you can enable them at scale using security configurations at the organization or enterprise level. See カスタム セキュリティ構成を作成する or Enterprise 用のカスタム セキュリティ構成の作成.

Prerequisites

Before enabling metadata checks, you need to ensure that validity checks are enabled for the repository. See リポジトリの有効性チェックの有効化.

Enabling extended metadata checks

  1. GitHub で、リポジトリのメイン ページに移動します。

  2. リポジトリ名の下にある [Settings] をクリックします。 [設定] タブが表示されない場合は、 [] ドロップダウン メニューを選び、 [設定] をクリックします。

    タブを示すリポジトリ ヘッダーのスクリーンショット。 [設定] タブが濃いオレンジ色の枠線で強調表示されています。

  3. サイドバーの [Security] セクションで、[ Advanced Security] をクリックします。

  4. Under "Secret Protection" and "Validity checks", to the right of "Extended metadata", click Enable.

Further reading