Open aaronlippold opened 2 years ago
https://github.com/mitre/serverless-heimdall-pusher-lambda/blob/master/src/lambda_function.rb#L195-L205
# https://github.com/mitre/heimdall2#api-usage # https://www.rubydoc.info/stdlib/net/Net%2FHTTPHeader:set_form # https://github.com/socketry/multipart-post # curl -v -F "data=@aws_config_hdf.json" \ -F "filename=AWS-Config-Results-2021-03-12T15:24:47Z" \ -F "public=true" \ -F "evaluationTags=my-tag,my-other-tag" \ -H "Authorization: Bearer <token>" \ "http://my-heimdall/evaluations"
https://github.com/mitre/heimdall2/pull/3097 https://github.com/mitre/heimdall2/pull/3107
We really need to find the place in the code where all this is defeind in NestJS and document it well.
https://github.com/mitre/serverless-heimdall-pusher-lambda/blob/master/src/lambda_function.rb#L195-L205
https://github.com/mitre/heimdall2/pull/3097 https://github.com/mitre/heimdall2/pull/3107