Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64782

Check return code from detect.sh

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Security
    • ALL
    • Security 2023-05-15

    Description

      In _run_scan blackduck_hub.py spawns detect.sh in a subprocess using subprocess.call. This method doesn't check the return code from subprocess.call. We should check it, and throw an exception or otherwise fail if a not-ok return code is emitted.

      Attachments

        Activity

          People

            brad.moore@mongodb.com Brad Moore
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: