Closed alfredodeza closed 4 years ago
I would prefer to have the keys and errors coming in from the validation endpoint rather than to have to extract the information like this. When/if that happens we can clean this up and remove the utility (or expand it to use the richer validation information)
I agree. The backend could be much richer with the detail information, but this is an improvement.
Tracking the service api issue in anchore/anchore-engine#330. Thanks for opening that, @alfredodeza !
Fixes: #31
Example output with no keys in JSON file:
And with
"id"
and nothing else:I would prefer to have the keys and errors coming in from the validation endpoint rather than to have to extract the information like this. When/if that happens we can clean this up and remove the utility (or expand it to use the richer validation information)