Hello,
requesting vulnerabilities with graphql does not return vulnerabilities!
Problem to solve
I have activated SAST in my project.
It does find one vulnerabilitiy and it shows up in the Vulnerability Report.
However when querying with GraphQL the returned json is:
{
“data”: {
“project”: {
“vulnerabilities”: {
“nodes”: ,
“pageInfo”: {
“endCursor”: null,
“hasNextPage”: false
}
}
}
}
}
Steps to reproduce
Access token is set.
This is the request json, the query:
query VulnerabilityFindings {
project(fullPath: “beat9202016/bluerave-gateway”) {
vulnerabilities(state:[DETECTED,DISMISSED,CONFIRMED,RESOLVED],reportType:SAST) {
nodes {
detectedAt
title
severity
primaryIdentifier {
name
}
scanner {
reportTypeHumanized
}
}
pageInfo {
endCursor
hasNextPage
}
}
}
}
Does anyone have an idea what i am doing wrong?
Thx in advance! Cheers!