Add missing fields to GraphQL API from main API for Vulnerabilities
Summary
Currently there is not a 1:1 mapping of fields that get returned for Vulnerabilities from the main API:
https://docs.gitlab.com/ee/api/project_vulnerabilities.html
To the GraphQL API:
https://docs.gitlab.com/ee/api/graphql/reference/#vulnerability
Certain fields are missing or provide inaccurate results
This is preventing us from migrating to the GraphQL API for our vulnerability management integration.
What is the current bug behavior?
Fields returned by GraphQL don't match fields returned by REST API
What is the expected correct behavior?
Both endpoints return the same dataset
Implementation plan
- Add following fields to GraphQL API:
-
updatedAt
-
The following fields were considered but will NOT be added as part of this issue:
-
projectDefaultBranch -
finding -
dueDate -
lastEditedBy -
lastEdit4edAt -
updatedBy -
createdAt -
dueDate
Edited by -