Skip to main content

Enterprise Server 3.20 目前作为发布候选版本提供。

查看拉取请求警报的指标

监视 CodeQL 在组织中拉取请求中的性能,以识别您可能需要采取行动的仓库。

谁可以使用此功能?

访问需要:

  • 组织视图:对组织中的存储库的写入访问权限
  • 企业视图:组织所有者和安全经理

具有 GitHub Code Security 的 GitHub Team 帐户拥有的组织,或具有 GitHub Code Security 的 GitHub Enterprise 帐户拥有的组织

Viewing CodeQL pull request alerts metrics for an organization

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

  2. 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.

  3. In the sidebar, under "Metrics", click CodeQL pull request alerts.

  4. Optionally, use the date picker to set the time range. The date picker will show data based on the pull request alerts' creation dates.

  5. Optionally, apply filters in the search box at the top of the page.

  6. Alternatively, you can open the advanced filter dialog:

    • At the top of the page, next to the search box, click Filter.
    • Click Add a filter, then select a filter from the dropdown menu.
    • To search for repositories matching the selected filter, fill out the available fields for that filter, then click Apply. You can repeat this process to add as many filters as you would like to your search.
    • Optionally, to remove a filter from your search, click Filter. In the row of the filter you want to remove, click , then click Apply.

Viewing CodeQL pull request alerts metrics for your enterprise

You can also view metrics for CodeQL alerts in pull requests across organizations in your enterprise.

  1. Navigate to GitHub Enterprise Cloud.
  2. In the top-right corner of GitHub, click your profile picture.
  3. Depending on your environment, click Enterprise, or click Enterprises then click the enterprise you want to view.
  4. At the top of the page, click Security.
  5. In the sidebar, under "Metrics", click CodeQL pull request alerts.

提示

You can use the owner filter in the search field to filter the data by organization. For more information, see Filtering alerts in security overview.