Upload File API
Token-based REST API for uploading large files in chunks for use cases such as lookup import or app upload. Issue a token with open-upload-stream, send the file with upload-file, monitor progress with get-upload-stream, and cancel an in-progress upload with cancel-upload-stream.
The web console uses this API to upload files in chunks for the following features:
- Apps > Upload App (
handler_name=sonar-app): Upload app install packages - Investigation > Lookup > Import Lookup (
handler_name=lookup): Import lookup data such as CSV - Policy > Asset IP > Bulk register vulnerabilities (
handler_name=ip-address-vulnerability): Import asset IP vulnerability data