
リポジトリセキュリティアドバイザリのコメントAPIがパブリックプレビューにRepository security advisory comments API in public preview
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- GitHub REST APIで、リポジトリセキュリティアドバイザリのコメントを取得・追加・編集できるようになった。
- 非公開の脆弱性報告も対象で、件数確認や更新日時による絞り込みにより、開発者は重要な調査経緯を自動処理へ組み込める。
GitHub's REST API can now retrieve, create, and revise repository advisory discussion comments in public preview, helping developers automate triage even for privately reported flaws.
本ページの本文と要約は 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.
コメントAPI
GitHub REST APIで、リポジトリセキュリティアドバイザリのコメントを取得、追加、編集する機能がパブリックプレビューとなった。非公開の脆弱性報告から作成されたアドバイザリも対象で、重要な調査経緯を自動処理へ組み込める。
調査経緯の取得
これまでアドバイザリ上の議論へアクセスできるのはWeb UIに限られていた。一方、その議論には、脆弱性報告をトリアージする際に有用な文脈が含まれることが多いと説明されている。新しいエンドポイントでは、リポジトリセキュリティアドバイザリに付いたコメントを一覧で取得できる。指定した時刻以降に更新されたコメントだけに絞り込むことも可能で、更新分を対象とした処理に利用できる。
コメント件数
リポジトリセキュリティアドバイザリのレスポンスには、コメント件数が含まれるようになった。グローバルアドバイザリのレスポンスにも、関連付けられたリポジトリアドバイザリのコメント件数が含まれる。これにより、実際にコメントを取得する前に、どのアドバイザリで議論が行われているかを確認できる。件数の対象となるのは非機密コメントであり、コメント活動のあるアドバイザリを事前に特定するための情報として使える。
REST API public preview
GitHub’s REST API can now read, add, and edit comments on repository security advisories in public preview. The change matters because advisory discussions often contain the most useful triage context for a vulnerability report, and that context can now be incorporated into automated processing.
The API support also covers advisories created from private vulnerability reports. Previously, the discussion associated with an advisory was reachable only through the web UI.
Repository security advisories
New endpoints allow developers to list comments on a repository security advisory. The results can optionally be limited to comments updated since a specified time, allowing processing to focus on recent discussion activity rather than retrieving comments without that time filter.
Comments can also be created and revised through the REST API. Together, the read, add, and edit operations make it possible to include advisory discussions and important investigation history in automated triage workflows, including workflows involving privately reported vulnerabilities.
Comments count
Repository security advisory responses now include a comments count. This makes it possible to determine whether an advisory has discussion activity before fetching its comments.
Global advisory responses also include the comments count for their linked repository advisory. As a result, comment activity can be identified from either the repository security advisory response or, when linked, the global advisory response.
These fields count non-confidential comments. They are intended to help identify advisories with comment activity before the comments themselves are requested.
ポコと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.
- ポコPokoアドバイザリのコメントをREST APIで扱えると、何が変わるの? 前はWeb画面でしか読めなかった?Why does it matter that advisory comments are available through the REST API now? Were those discussions only accessible in the web UI before?
- TECHガイドTECH Guideそう。今はREST APIで取得・追加・編集でき、非公開の脆弱性報告から作られたアドバイザリも対象だよ。Yes. The API can now retrieve, add, and edit comments, including on advisories created from private vulnerability reports.
- ポコPokoじゃあ開発者は、調査中のやり取りを自動処理に組み込んで、確認しやすくなるんだね?So developers can bring investigation discussions into automated workflows and make them easier to track?
- TECHガイドTECH Guideうん。更新日時でコメントを絞り込み、取得前に件数を見て、議論のあるアドバイザリを探せるよ。Yes. They can filter comments by update time and check counts first to identify advisories with discussion before fetching the comments.
- ポコPokoコメントに残る調査の流れを、非公開報告も含めてAPI経由のトリアージに生かせるんだね。Got it. The investigation trail in comments can support API-based triage, even for privately reported issues.
- TECHガイドTECH Guideただし、まだパブリックプレビューで、表示される件数に含まれるのは非機密コメントだけだよ。One caveat: it’s still in public preview, and the displayed counts include only non-confidential comments.





