Update GraphQL Vulnerability API to include entity-related columns
Why are we doing this work
After https://gitlab.com/gitlab-org/gitlab/-/issues/239172 is completed, we need the entity data in the Vulnerability GraphQL response. description
and location
already exist. cve
, message
, and solution
need to be added.
We also need to update REST API endpoints so that we provide identical datasets.
Relevant links
Non-functional requirements
-
Documentation: GraphQL Docs -
Testing: Specs updated
Implementation plan
-
backend Add fields to ee/app/graphql/types/vulnerability_type.rb
andee/lib/ee/api/entities/vulnerability.rb
-
cve
-
message
-
solution
-
Edited by Thiago Figueiró