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:
- Create artifacts to upload in pipeline
- Find files and associate them to their respective locations
- Retrieve key for group
- run curl command with multiple -F data=@$file_name*
- 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
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:
Expected behavior
Should post each file with a successfull message for ID's, files, evaluationTags, groupID, etc
Desktop (please complete the following information):
Additional context
N/A