Threats

# Upload File

Uploads a file that can later be referenced when creating custom actions or processes. The file must be sent as multipart/form-data under the "file" field.

post/v1/threat-library/files

Request

Request body multipart/form-data

filestring binary

The file to upload, sent as multipart/form-data under the "file" field

file_typestring

File type (e.g. exe, dll, log). If empty it is derived from the file name.

typestring

Whether the file is stored locally or referenced remotely: local or remote

download_pathstring

Download path, used when the file is referenced remotely

is_executableboolean

Whether the uploaded file is executable

skip_zip_extractboolean

Whether to skip extracting the uploaded zip archive

Response

FileUploadReturnResponse

remote_file_idinteger

Changes

No recorded changes to this operation across all 6 revisions of this API.