solo-io / go-utils

golang utilities
Apache License 2.0
110 stars 18 forks source link

Update security scan utils version constraint logic #472

Closed saiskee closed 2 years ago

saiskee commented 2 years ago

When matching version constraints, versions can match multiple constraints and images from each of the constraints will be added to the list of images that will be scanned.

In addition, images specified in the version constraints file can now also be from the non ImageRepo repo, so you can specify an image as gcr.io/solo-io/gloo and it'll scan that rather than using the ImageRepo