Add `ClusterImageScanningLocation` to `VulnerabilitiesResolver`
Why are we doing this work
Add a new location type to the VulnerabilitiesResolver
so that we can return Cluster Image Scanning location data from GraphQL.
See: &6345 (comment 750077071)
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
- Create new
VulnerableKubernetesResourceType
to hold the Kubernetes Resource data - Create new
VulnerabilityLocation::ClusterImageScanningType
which usesVulnerableKubernetesResourceType
- Add
VulnerabilityLocation::ClusterImageScanningType
toVulnerabilityLocationType