URL File Uploads
In the context of Protect application, URL File Uploads are used when setting a Test Suite Crawl Type to List.
Using this type, we can upload CSV / TXT files that are going to be processed and served as entry points for the Test Suite.
Uploading a file is a two-step process:
- Call the
createSignedUrlFileUploadmutation to create an upload record and receive a pre-signed S3 URL. - Upload the file directly to S3 using the pre-signed URL via an HTTP
PUTrequest.
After the file is uploaded to S3, it will be automatically picked up for processing. You can poll the status field to track progress.
The following URL file upload statuses are available:
Draft- file upload has been created, but the file has not been uploaded to S3 yet.Processing- the file has been uploaded and is being processed.Processed- file processing is completed successfully.Errored- file processing failed. CheckerrorMessagefor details.