harbor-scanner-adapter
harbor-scanner-adapter copied to clipboard
Better error reporting on scan failures
In failure cases, often the adapter just reports an error marshalling the response json to the object since the error is a different structure. The adapter should use an error marshaller and return more useful messages back to Harbor so the returned scan log can be helpful to operators.