Skip to content

New User: Need help with repository vulnerability alerts #24870

Discussion options

You must be logged in to vote

This was ultimetly a typo on my part with the repository name. 

Sending the following query will work: 

query{
  repository(owner:"Naughtron", name:"test_sec_alerts") {
    vulnerabilityAlerts(first:10) {
      nodes {
        id
      }
    }
  }
}

The Response will then be: 

028:RepositoryVulnerabilityAlert136876008

{
"data": {
"repository": {
"vulnerabilityAlerts": {
"nodes": [
{
"id": "MDI4OlJlcG9zaXRvcnlWdWxuZXJhYmlsaXR5QWxlcnQxMzY4NzYwMDg="
}
]
}
}
}
}

The id is base64 encoded, and turns into 

028:RepositoryVulnerabilityAlert136876008

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