Skip to main content

リポジトリの拡張メタデータ チェックを有効にする

検出されたシークレットの拡張メタデータ チェックを有効にして、secret scanning によって検出されたアラートに、リークをより迅速に評価して修復するのに役立つ追加情報が含まれるようにする方法について説明します。

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

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

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

  •         [GitHub Secret Protection](/get-started/learning-about-github/about-github-advanced-security) が有効になっている GitHub Team 上の organization 所有リポジトリ
    

メモ

Extended metadata checks for tokens is in public preview and subject to change.

About extended metadata checks

Extended metadata checks, often referred to as analyzers in other tools, are a secret scanning feature that you can enable for supported tokens.

When you enable extended metadata checks for tokens, secret scanning provides you with additional information about detected secrets, such as ownership and contact details. This information helps you:

  • Gain deeper insight into detected secrets: Know who owns a secret.
  • Improve incident response: Quickly identify responsible teams or individuals when a secret is leaked.
  • Enhance compliance: Ensure secrets align with your organization’s governance and security policies.

This information appears on GitHub, in the page for the related secret scanning alert, helping you prioritize and remediate exposures more efficiently.

Metadata availability varies depending on the secret type. For more information, see Evaluating alerts from secret scanning.

Enabling extended metadata checks

Before enabling metadata checks, you need to ensure that validity checks are enabled for the repository. See Enabling validity checks for your repository.

  1. On GitHub, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Security" section of the sidebar, click Advanced Security.

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

  5. Under "Secret Protection", to the right of "Extended metadata", click Enable.

Further reading