Skip to main content

Экспорт данных из страниц риска и покрытия

Вы можете экспортировать CSV-файлы данных о рисках и покрытиях из обзора безопасности.

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

Общие сведения о безопасности для организации доступны всем членам организации. Отображаемые представления и данные определяются вашей ролью в организации и вашими разрешениями для отдельных репозиториев в организации. Дополнительные сведения см. в разделе "Общие сведения о безопасности".

Все предприятия и их организации имеют обзор безопасности. Если вы используете функции GitHub Advanced Security вы увидите дополнительные сведения. Дополнительные сведения см. в разделе Сведения о GitHub Advanced Security.

About exporting your risk and coverage data

You can download comma-separated values (CSV) files containing data from the risk and coverage pages of security overview. These files can be used for efforts like security research and in-depth data analysis, and can integrate easily with external datasets.

The CSV file you download will contain data corresponding to the filters you have applied to security overview. For example, if you add the filter dependabot-alerts:enabled, your file will only contain data for repositories that have enabled Dependabot alerts.

Note: In the "Teams" column of the CSV file, each repository will list a maximum of 20 teams with write access to that repository. If more than 20 teams have write access to a repository, the data will be truncated.

Exporting risk or coverage data from your organization's security overview

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. In the "Organizations" section, select the organization for which you would like to download risk and/or coverage data.

  3. Under your organization name, click Security.

    Screenshot of the horizontal navigation bar for an organization. A tab, labeled with a shield icon and "Security," is outlined in dark orange.
    By default, you will see the risk page of your organization's security overview.

  4. If you would instead like to download coverage data for your organization, in the "Security" sidebar, click Coverage.

  5. Next to the search bar, click Export CSV.

    It may take a moment for GitHub Enterprise Server to generate the CSV file of your data. Once the CSV file generates, the file will automatically start downloading, and a banner will appear confirming your report is ready.

Note: The summary views ("Overview", "Coverage" and "Risk") show data only for high-confidence alerts. Code scanning alerts from third-party tools, and secret scanning alerts for non-provider patterns or for ignored directories are all omitted from these views. Consequently, files exported from the summary views do not contain data for these types of alert.