nais / api

MIT License
1 stars 0 forks source link

feat: Add imageDetails field to App and NaisJob GraphQL types #41

Closed rbjornstad closed 1 month ago

rbjornstad commented 1 month ago

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.