Live
Architecting Conversational Supply‑Chain Workflows with Amazon Bedrock AgentCore and Amazon QuickFine‑tuning multilingual reasoning on SageMaker HyperPod: when SFT is enough and when GRPO helpsNVIDIA’s Open Foundation Models Enable Local Customization and On‑Prem Deployments for European TeamsGeneral Availability of Confidential G4 GPUs: What Engineers Need to KnowAgents SDK introduces createAI, consolidating workers‑ai‑provider and ai‑gateway‑providerDependabot alerts API adds version_requirement to dependency objectsDefault Source‑Map Upload in Wrangler 4.150 and cf CLI: What Engineers Need to KnowStep‑up authorization added to Cloudflare API MCP server – implications for engineersArchitecting Conversational Supply‑Chain Workflows with Amazon Bedrock AgentCore and Amazon QuickFine‑tuning multilingual reasoning on SageMaker HyperPod: when SFT is enough and when GRPO helpsNVIDIA’s Open Foundation Models Enable Local Customization and On‑Prem Deployments for European TeamsGeneral Availability of Confidential G4 GPUs: What Engineers Need to KnowAgents SDK introduces createAI, consolidating workers‑ai‑provider and ai‑gateway‑providerDependabot alerts API adds version_requirement to dependency objectsDefault Source‑Map Upload in Wrangler 4.150 and cf CLI: What Engineers Need to KnowStep‑up authorization added to Cloudflare API MCP server – implications for engineers
GitHub

Dependabot alerts API adds version_requirement to dependency objects

AI SummaryPowered by AI

The Dependabot alerts REST API now includes a versionrequirement field in each dependency object, exposing the recorded version or constraint of the vulnerable package. This eliminates the need to parse lockfiles or issue extra GraphQL queries, simplifying security automation for engineers.

The Dependabot alerts API now returns a version_requirement attribute for each dependency, showing the exact version or constraint that triggered the alert. This change reduces the friction of integrating Dependabot data into security pipelines, which is directly relevant to AI, cloud, DevOps, and security teams that automate vulnerability management.

New version_requirement field

Every alert’s dependency object now carries a version_requirement entry. The value reflects the version Dependabot recorded when it identified the issue. How the value is derived depends on the source of the dependency:

  • Lockfiles: the resolved version from the lockfile.
  • Manifests without a lockfile: the version or version constraint declared in the manifest.
  • Dependency submission API: the resolved version supplied by the build tooling.

If no version can be determined, the field is null. When an alert spans multiple vulnerable versions, only a single recorded value is returned, which may not cover the full range. Very long constraints may be truncated.

Impact on tooling and automation

Previously, alert payloads only included the advisory’s vulnerable version range, requiring downstream tools to read lockfiles or issue a separate GraphQL request for vulnerableRequirements. With version_requirement present, a single API call now provides both the advisory range and the concrete version used in the repository. This streamlines data ingestion for security dashboards, CI/CD gate checks, and automated remediation bots, reducing latency and code complexity.

Operational considerations

The field appears in individual alert responses, as well as in repository, organization, and enterprise alert list endpoints, and in the dependabot_alert webhook payload. It is already live on GitHub.com and GitHub Enterprise Cloud (including data‑residency deployments) and will be added to GitHub Enterprise Server starting with version 3.24. Consumers should be prepared for null values and possible truncation, and should not assume the field represents every vulnerable version when multiple versions are affected.

Related CloudNinjas coverage: hands-on guides.

What This Means For Practitioners

Update any scripts or integrations that currently parse lockfiles or issue GraphQL queries to retrieve dependency versions; switch to the REST endpoint and read version_requirement instead. Add handling for null and truncated values, and verify that your alert‑correlation logic can tolerate a single recorded version when multiple vulnerable versions exist. Finally, test the change in your staging environment before rolling it out to production pipelines.

Originally published atGitHub Changelog