Skip to content

GraphQL API v4 - Checking whether VulnerabilityAlerts are enabled #24412

Discussion options

You must be logged in to vote

I found this response:

https://github.community/t5/GitHub-API-Development-and/Security-vulnerability-alerts/m-p/23416/highlight/true#M1660

which led me to the endpoint in the V3 api

/repos/:owner/:repo/vulnerability-alerts

which can be used to enable and disable vulnerability-alerts. It appears a GET request will return a 204 if enabled and a 404 if not.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant