This commit adds the imageDetails field to the App and NaisJob GraphQL types. The imageDetails field provides additional information about the image associated with the workload. This information includes the image ID, project ID, name, version, digest, and a summary of vulnerabilities. The imageDetails field is populated by fetching metadata for the image using the dependencyTrackClient. Additionally, this commit updates the App resolver to fetch workload references and deploy information for each referenced app.
This commit adds the
imageDetails
field to theApp
andNaisJob
GraphQL types. TheimageDetails
field provides additional information about the image associated with the workload. This information includes the image ID, project ID, name, version, digest, and a summary of vulnerabilities. TheimageDetails
field is populated by fetching metadata for the image using thedependencyTrackClient
. Additionally, this commit updates theApp
resolver to fetch workload references and deploy information for each referenced app.