anchore / yardstick

Compare vulnerability scanners results (to make them better!)
Apache License 2.0
14 stars 4 forks source link

feat: require complete and valid image ref on config parse #388

Closed willmurphyscode closed 1 day ago

willmurphyscode commented 5 days ago

Because image references are used to compute paths to state relating to the scan of the image, it's critical that the image is always completely specified.

Note: I looked into using https://github.com/anchore/yardstick/blob/main/src/yardstick/artifact.py#L390 for this parsing, but that doesn't seem to be what the object is for.

TODO