[Gemnasium] Does the scanner provide a failure reason for non-zero exit code and how do I programmatically consume this info?

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

My use case is as follows:

  • I run the gemnasium scanner on a multimodule maven/gradle project
  • There could be a possibility that the scan runs fine for some modules but fails for others. Does gemnasium return partial results?
  • I want it to provide results only if it is able to resolve dependencies completely for a module - else return as failed for that module. But return as scanned partially if it is able to scan at least one module completely.
  • Does it provide info on the failed scans in the partial results? Like maybe a failure_reason_enum for each failed module?
  • I want to be able to programmatically consume this status reason/code to display to the dev, notify as email/slack message and maintain an audit of scans with appropriate failure reasons.
Edited by 🤖 GitLab Bot 🤖