Home›Industry & Policy›SecurityAdvisory GraphQL APIに新しいフィールドを追加
New fields for SecurityAdvisory GraphQL API

SecurityAdvisory GraphQL APIに新しいフィールドを追加New fields for SecurityAdvisory GraphQL API

元記事を読むRead original articlegithub.blog(新しいタブで開きます)(opens in a new tab)
AI2 点サマリ2 key points
  • SecurityAdvisory GraphQL APIに、CVE IDやGitHubレビュー日時など5項目と、severities・isWithdrawnフィルターが追加された。
  • 脆弱性情報をサーバー側で絞り込み、API利用者の取得・分析を効率化する。
  • SecurityAdvisory GraphQL API now exposes five additional advisory fields, including CVE IDs and review timestamps, plus severity and withdrawal filters.
  • This lets API users narrow vulnerability data before retrieval.

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (github.blog) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (github.blog).

要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.

GraphQL API

SecurityAdvisory GraphQL APIに新しいフィールドとフィルターが追加され、GitHub Advisory Databaseの情報をGraphQL APIから直接読み取れる範囲が広がった。REST APIへフォールバックせずに取得できる情報が増え、脆弱性情報を取得前にサーバー側で絞り込める。

追加された5項目

新たに公開されたフィールドは5つある。cveIdはアドバイザリのCVE識別子、sourceCodeLocationはアドバイザリに関連する影響対象のソースコードへのリンクを示す。githubReviewedAtではGitHubがアドバイザリをレビューした日時を確認できる。

nvdPublishedAtは、National Vulnerability Database(NVD)が該当レコードを公開した日時を表す。repositoryAdvisoryUrlは、関連付けられたリポジトリのセキュリティアドバイザリが存在する場合に、そのリンクを返す。

新しいフィルター

securityAdvisoriesクエリには、severitiesとisWithdrawnの2つのフィルターも加わった。severitiesでは深刻度を条件にでき、isWithdrawnでは取り下げの状態に応じて結果を絞り込める。

これにより、すべてのデータをいったんダウンロードし、利用側でフィルタリングする必要を減らせる。必要な条件をクエリに指定し、対象となる結果をサーバー側で限定してから取得できる。

既存条件との併用

新しい2つのフィルターは、classification、identifier、EPSS、公開または更新が指定時点以降といった既存の条件と併用できる。CVE識別子やレビュー日時などの追加フィールドと組み合わせることで、脆弱性情報の取得と分析を効率化できる。

SecurityAdvisory GraphQL API

The SecurityAdvisory GraphQL API now exposes five additional advisory fields and provides two more filters for the securityAdvisories query. The changes matter because API users can read more of the GitHub Advisory Database directly through GraphQL and narrow vulnerability data before retrieving it, rather than falling back to the REST API or downloading all results for local filtering.

Additional advisory fields

The cveId field returns the advisory’s CVE identifier. The sourceCodeLocation field provides a link to affected source code that is relevant to the advisory.

Two new timestamp fields indicate when advisory records were reviewed or published. The githubReviewedAt field shows when GitHub reviewed the advisory, while nvdPublishedAt shows when the National Vulnerability Database, or NVD, published its record.

The repositoryAdvisoryUrl field links to the associated repository security advisory when one exists. Together, these five fields make more of the information held in the GitHub Advisory Database directly available from the GraphQL API.

severities and isWithdrawn

The securityAdvisories query has gained the severities and isWithdrawn filters. These options allow users to narrow query results on the server by severity or withdrawal status.

Server-side filtering means users do not need to download every matching advisory and then apply those criteria themselves. Instead, the query can request a more focused set of vulnerability records before retrieval.

Filters you already use

The two new filters work alongside existing securityAdvisories filters. Those existing options include classification, identifier, EPSS, and criteria for advisories published or updated since a specified point.

The expanded combination of fields and filters supports more targeted access to advisory data through GraphQL. Users can retrieve CVE identifiers, relevant source-code links, GitHub review times, NVD publication times, and linked repository advisory URLs while limiting the returned records by severity or whether an advisory has been withdrawn.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPokoCVE IDやレビュー日時を、REST APIに切り替えずGraphQL APIから読めるようになったの?Can you now get CVE IDs and review timestamps through GraphQL without switching to the REST API?
  2. TECHガイドTECH Guideうん。CVE ID、影響箇所へのリンク、GitHubのレビュー日時、NVDの公開日時、関連アドバイザリURLの5項目が加わったよ。Yes. Five fields were added: CVE ID, affected source link, GitHub review time, NVD publication time, and a linked repository advisory URL.
  3. ポコPokoじゃあ、脆弱性情報をAPIで集めたり分析したりする人が、必要なデータを取りやすくなるんだね?So people collecting or analyzing vulnerability data through the API can get what they need more easily?
  4. TECHガイドTECH Guideそうだね。severitiesとisWithdrawnでサーバー側から絞れるので、全部取得して自分で選別する手間を減らせるよ。Right. The severities and isWithdrawn filters narrow results on the server, reducing the need to download everything and filter it yourself.
  5. ポコPokoGraphQL APIだけで読める情報が増えて、取得前の絞り込みもできるようになった、と覚えればいいかな。Got it: GraphQL exposes more advisory details now, and results can be narrowed before retrieval.
  6. TECHガイドTECH Guideうん。ただし、repositoryAdvisoryUrlは関連するリポジトリのセキュリティアドバイザリがある場合だけだよ。Yes. One caveat: repositoryAdvisoryUrl is available only when there’s a linked repository security advisory.
記事情報・収集記録Article details & collection record
出典Source
GitHub Changelog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
変更履歴Changelog
原文言語Source language
EN
重要度の位置づけImportance in this lane
MediumMedium priority(Industry & Policy 456件中、同等以上 398件)(398 of 456 Industry & Policy entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.0 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
短命 (ニュース)Short-lived (news)

📰Industry & Policy の他の記事More from Industry & Policyもっと見る →View more →

ページ上部へScroll to top