shurcooL / githubv4

Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql).
MIT License
1.1k stars 89 forks source link

Add support for the GitHub security advisory endpoint in orgs and repos #116

Closed cartersocha closed 11 months ago

cartersocha commented 11 months ago

The OTel community would like to build a governance dashboard that monitors open incidents and various attributes around that data like when an incident was opened, the relevant repo etc.

https://docs.github.com/en/rest/security-advisories/repository-advisories?apiVersion=2022-11-28

dmitshur commented 11 months ago

The page you linked to is a part of the GitHub REST API. If that's what you're looking for, see https://pkg.go.dev/github.com/google/go-github/v55/github#SecurityAdvisoriesService. This repository has a client for the GitHub GraphQL API only.