megachangelog
Feature

New fields for SecurityAdvisory GraphQL API

The SecurityAdvisory object in the GraphQL API now includes five new fields, allowing you to read more of the GitHub Advisory Database directly from GraphQL without needing the REST API.

You can now read more of the GitHub Advisory Database directly from the GraphQL API without falling back to the REST API.

The SecurityAdvisory object gained five new fields:

  • cveId: The advisory’s CVE identifier.
  • sourceCodeLocation: A link to the affected source code relevant to the advisory.
  • githubReviewedAt: When GitHub reviewed the advisory.
  • nvdPublishedAt: When the National Vulnerability Database (NVD) published its record.
  • repositoryAdvisoryUrl: A link to the linked repository security advisory when there is one.

The securityAdvisories query also gained two new filters, severities and isWithdrawn, so you can narrow results on the server instead of downloading everything and filtering it yourself. They work alongside the filters you already use, such as classification, identifier, EPSS, and published or updated since.

This means fewer round trips, one authentication path, and one rate limit budget for integrations that read advisory data. It also makes it easier to build things like severity-based triage feeds, withdrawn advisory audits, and tracking of how quickly advisories move from NVD publication to GitHub review.

These changes are additive and read-only, so your existing queries keep working.

Learn more in the GraphQL API documentation and share your feedback.

The post New fields for SecurityAdvisory GraphQL API appeared first on The GitHub Blog.

graphqlapisecurityadvisories

Source: original entry ↗

More from GitHub

Follow GitHub to get its new changes in your feed and email digest.

Improvement

Improved detection for withdrawn Dependabot alerts

Dependabot now provides improved detection for withdrawn alerts that are no longer valid due to advisory or vulnerability changes. This makes it easier to identify and manage alerts that have been removed.

dependabotsecurityalertsdetection
Feature

Search and filter for budgets now available

The Budgets and alerts page in GitHub billing settings now displays all budgets in a single searchable and filterable list, making it easier to manage multiple budgets.

billingbudgetssearchui
Feature

Code scanning AI Scan metrics in security overview

Organization and enterprise administrators can now view metrics showing AI Scan findings generated and resolved in the security overview dashboard, providing visibility into the impact of AI-powered code scanning on pull requests.

code-scanningaisecuritymetricsadmin
See all GitHub changes →