GraphQL Repo Vulnerabilities #24411
Unanswered
hinorahere
asked this question in
API and Webhooks
Replies: 1 comment
-
Please look at https://developer.github.com/v4/object/repositoryvulnerabilityalert/. It is still in preview though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to retrieve the severity of my repo’s security vulnerabilities for each individual project using Graphql.
I have seen similar questions asked here with several answers saying it is only available to check through Github’s UI. I was wondering if anyone had a good workaround or if I am doing something incorrectly?
Basically something like this:
query {
repositoryOwner(login: “repoOwner”) {
login
repositories(last:10) {
edges{
node {
name
securityVulnerabilities(first:3) {
nodes {
severity
}
}
}
}
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions