Container Scanning gives `no implicit conversion of nil into String` when trying to offer remediation for an unexpected distro
Summary
When using container scanning and trying to get remediation advice for an unexpected linux distribution (like Amazon Linux), Container Scanning outputs the error no implicit conversion of nil into String
and crashes.
Minimal reproduction:
- https://gitlab.com/bwill/container-scanning-test/-/tree/bwill-test-amazonlinux
- https://gitlab.com/bwill/container-scanning-test/-/jobs/1442326297
What is the current bug behavior?
The container scanning analyzer crashes
What is the expected correct behavior?
The analyzer should gracefully handle the error case and emit a message saying that there is no remediation available for the given linux distribution.