fix: Grype error handling
Checklist
-
documentation is changed or added in ./docs -
unit tests updated to test changes
Description
This MR adds similar error handling to the Grype scanner that Trivy currently has. This will greatly improve the reporting of Grype error allowing users to more effectively debug issues.
Also adds new tests and addresses current dev branch quality gate issues.
Context
Issue #89 (closed) and helping a user to debug a failing Grype scan
Intent
Fix #89 (closed) and address pipeline errors on dev