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

Blackduck_hub.py should reports failures as separate tasks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.1 Required
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Security 2021-08-23

      Description

      Currently, blackduck_hub.py reports failures by emulating unit test failures by writing the pass/fail list to reports.json.

      As a result, a single BFG is generated which must be manually split apart. To reduce this operation burden, each failure should be reported as a separate task that fails.

       

      The current task will be split into two tasks: a scanner task and one or more report tasks.

      1. The scanner task will be responsible for analyzing blackduck and generate a series of report files. These report files will be uploaded to S3. It will also generate a set of N report tasks with "generate.tasks" where N = the number of failures.
      2. The report task will generate a single failure by downloading all reports and generating a single failure for its assigned report.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-security Backlog - Security Team
            Reporter:
            mark.benvenuto Mark Benvenuto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: