Skip to main content

Включение расширенных проверок метаданных для репозитория

Узнайте, как включить расширенные проверки метаданных для обнаруженных секретов, чтобы предупреждения, обнаруженные с помощью secret scanning, включали дополнительную информацию, которая поможет вам быстрее оценить и устранить утечки.

Кто может использовать эту функцию?

Владельцы репозитория, владелец организации, руководители безопасности и пользователи с ролью администратора

Расширенные проверки метаданных доступны для следующих типов репозиториев:

  • Репозитории, принадлежащие организации для GitHub Team с GitHub Secret Protection включено

В этой статье

Примечание.

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

Примечание.

Starting on February 18, 2026, GitHub will automatically enable extended metadata checks for repositories that have validity checks enabled. For repositories managed by security configurations, GitHub will update those configurations and apply the feature to attached repositories. This is a one-time transition to help organizations benefit from enhanced metadata without manual configuration.

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 Creating a custom security configuration or Creating a custom security configuration for your enterprise.

Prerequisites

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

Enabling extended metadata checks

  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" and "Validity checks", to the right of "Extended metadata", click Enable.

Further reading