Skip to content

[BUG] Heimdall API - Multifile File Upload Failure #7391

@bfield308

Description

@bfield308

Describe the bug
The multifile upload in a single curl is failing when following the Heimdall API Documentation located at:

https://github.com/mitre/heimdall2/wiki/Heimdall-API-Documentation/#upload-evaluations-scans-via-curl

resulting in the message:

{"message":["filename must be a string","filename should not be empty"],"error":"Bad Request","statusCode":400}

To Reproduce
Steps to reproduce the behavior:

  1. Create artifacts to upload in pipeline
  2. Find files and associate them to their respective locations
  3. Retrieve key for group
  4. run curl command with multiple -F data=@$file_name*
  5. error message received

Expected behavior
Should post each file with a successfull message for ID's, files, evaluationTags, groupID, etc

Desktop (please complete the following information):

  • Pipeline activities with proven implementation patterns

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions