Atlantiraptor Docs

create_hunt_download

Type: Function · Category: server

Creates a download pack for a hunt.

This function initiates the download creation process for a hunt. It is equivalent to the GUI functionality allowing to “Download Results” from the Hunts Overview page.

Using the wait parameter you can wait for the download to complete or just kick it off asynchronously.

Argument Type Description
hunt_id string (required) Hunt ID to export.
only_combined bool If set we only export combined results.
wait bool If set we wait for the download to complete before returning.
format string Format to export (csv,json) defaults to both.
base string Base filename to write to.
password string An optional password to encrypt the collection zip.
expand_sparse bool If set we expand sparse files in the archive.

Required permissions: PREPARE_RESULTS

Platforms: macOS, Linux, Windows

Source: vql/server/downloads/downloads.go