Files used for the file search feature in Defend must be uploaded to DeepRails here before being added to workflows. The request body must include the file to upload as binary content formatted as a form-data.
When you upload a file, you’ll receive a file ID. Use this ID to add the file to a workflow for evaluation. Additionally, you’ll receive a file path corresponding to the s3 bucket where the file is stored.