> ## Content Index
> Fetch the complete content index at: https://orbiorbi.com/news/llms.txt
> Use this file to discover other available public pages before exploring further.

# Dependabot 告警 API 新增依赖版本字段
- URL: https://orbiorbi.com/news/hot/dependabot-alert-api-dependency-versions/
- Published: 2026-10-20T17:13:40.000Z
- Updated: 2026-10-20T23:08:54.000Z
- Description: 据 GitHub 公告，Dependabot 告警 REST API 在 dependency 对象中新增 version_requirement，返回最近记录的依赖版本或版本约束。该字段也进入告警列表和 dependabot_alert Webhook。
- Author: Orbis News
- Tags: #orbis-hot

据 GitHub 公告，Dependabot 告警 REST API 在 dependency 对象中新增 version\_requirement，返回最近记录的依赖版本或版本约束。该字段也进入告警列表和 dependabot\_alert Webhook。

- 缺少数据时字段为 null；若告警涉及多个受影响版本，仅返回一个记录值，较长的版本约束还可能被截断。 [\[1\]](#hot-source-1)
- 功能现已覆盖 github.com 和数据驻留版 Enterprise Cloud，并将纳入 Enterprise Server 3.24。 [\[1\]](#hot-source-1)

## 来源与原文

- \[1\] GitHub · 2026-10-21 · [查看原文](https://github.blog/changelog/2026-10-20-dependabot-alerts-rest-api-now-includes-dependency-versions?ref=orbiorbi.com)  
GitHub 在告警响应中加入依赖版本字段，并说明其取值限制。

{"version":2,"hot":{"event\_id":"dependabot-alert-api-dependency-versions","group":"platform","count":1,"heat":20,"verified":"confirmed","firstSeen":"2026-10-20T17:13:40.000Z","lastSeen":"2026-10-20T23:08:42.251Z","sources":\[{"n":"GitHub","publisher":"GitHub","u":"https://github.blog/changelog/2026-10-20-dependabot-alerts-rest-api-now-includes-dependency-versions","say":"GitHub 在告警响应中加入依赖版本字段，并说明其取值限制。","tier":"T0","at":"2026-10-20T17:13:40.000Z"}\],"signals":\[\],"facts":\["缺少数据时字段为 null；若告警涉及多个受影响版本，仅返回一个记录值，较长的版本约束还可能被截断。","功能现已覆盖 github.com 和数据驻留版 Enterprise Cloud，并将纳入 Enterprise Server 3.24。"\]}}