代码扫描警报受指派人现已正式提供

发布: (2025年12月16日 GMT+8 17:40)
3 min read

Source: GitHub Changelog

什么是通用可用的新功能?

自从 公开预览 以来,我们已添加:

  • 分配给 Copilot: 您可以 将修复任务委派给 Copilot 编码代理,以减少开发者在修复潜在漏洞上花费的时间。
  • 通知: 当警报被分配时,受指派人会根据其仓库关注设置收到电子邮件通知。
  • Webhook: 用于指派人变更的 Webhook 事件让您能够将警报指派集成到现有工作流和自动化中。
  • REST API 支持: 通过 REST API 编程方式查看、指派和取消指派用户到代码扫描警报,支持批量操作和自定义集成。

A code scanning alert with a fix suggestion generated by Copilot Autofix. The text describes in detail the error that was found, as well as the steps required to remediate the issue. On the right-hand side, a box highlights the Assignees section, where Copilot has been assigned

开始使用代码扫描警报指派人

在警报详情页面,任何代码扫描警报现在都可以指派给对发现该警报的仓库拥有 write 权限的用户。将用户指派到代码扫描警报,使安全工作融入开发者已在使用的 issue 和 pull request 工作流。通过指派人,团队可以:

  • 明确拥有 特定漏洞的责任。
  • 在 GitHub 内直接跟踪 修复工作。
  • 加速修复,让责任可见且可操作。

代码扫描警报指派人对在 github.com 上使用 GitHub Code Security 或 GitHub Advanced Security 的客户可用,并将在 GitHub Enterprise Server 3.20 版及以上提供。

了解更多关于 管理代码扫描警报指派警报 的信息。

Back to Blog

相关文章

阅读更多 »