# Repository security advisory comments API in public preview

DevFeed: [Repository security advisory comments API in public preview](<https://devfeed.tech/articles/repository-security-advisory-comments-api-in-public-preview-71383.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-10-02-repository-security-advisory-comments-api-in-public-preview>)

Author: Allison

Published: 2026-10-02T13:15:25Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [REST API](<https://devfeed.tech/topics/rest-api.md>), [API](<https://devfeed.tech/topics/api.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [discussions](<https://devfeed.tech/tags/discussions.md>), [preview](<https://devfeed.tech/tags/preview.md>), [public](<https://devfeed.tech/tags/public.md>), [repository](<https://devfeed.tech/tags/repository.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisory](<https://devfeed.tech/tags/security-advisory.md>), [vulnerability-reports](<https://devfeed.tech/tags/vulnerability-reports.md>)

## AI overview

The REST API now supports listing repository security advisory comments (optionally filtered by update time), retrieving one comment, and adding or editing comments. Advisory responses include a comments count, including for linked repository advisories in global responses, so clients can identify discussion before fetching it. The endpoints can support exporting discussions for audits or migrations and automating triage notes. Access follows advisory visibility and requires the repository security advisories permission or token scope; non-collaborators cannot view internal comments, confidential comments are omitted, and deleting comments is not supported. Public preview is available for public repositories on GitHub Free, Pro, Team, and Enterprise Cloud.

## Source excerpt

You can now read, add, and edit comments on repository security advisories using the REST API, including advisories created from private vulnerability reports. Until now, the discussion on an advisory...