Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

Expose `RepositoryVulnerabilityAlert` Severity Rating in GraphQL API

Hey there,

 

I'm using the Preview functionality for Vulnerability Alerts and I have a query that returns me repositories with their names and vulnerability alerts.

 

When looking at the documentation for this: https://developer.github.com/v4/object/repositoryvulnerabilityalert/

I can't see anything related to the severity here on the API, as shown below:image.png

 

I can see there is a `SecurityAdvisory` type which contains the severity, but there seems to be no link from the Alerts on a repo to that type: https://developer.github.com/v4/object/securityadvisory/

 

I can't see if this is possible currenty, but it looks like it's not. If it's not, it's something I'd like to request, but I'm not sure if this is the correct place to do that.

1 Reply
Moderator
Message 2 of 2

Re: Expose `RepositoryVulnerabilityAlert` Severity Rating in GraphQL API

Thanks for this feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list. Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.

 

Please let me know if you have any other questions.