collect
Type: Plugin
Collect artifacts into a local file.
This plugin is essentially the same as the velociraptor artifacts
collect --output file.zip command. It will collect the artifacts
into a zip file.
| Argument | Type | Description |
|---|---|---|
artifacts |
list of string | A list of artifacts to collect. |
output |
string | A path to write the output file on. |
report |
string | A path to write the report on (deprecated and ignored). |
args |
Any | Optional parameters. |
password |
string | An optional password to encrypt the collection zip. |
format |
string | Output format (csv, jsonl, csv_only). |
artifact_definitions |
Any | Optional additional custom artifacts. |
template |
string | (Deprecated Ignored). |
level |
int64 | Compression level between 0 (no compression) and 9. |
ops_per_sec |
int64 | Rate limiting for collections (deprecated). |
cpu_limit |
float64 | Set query cpu_limit value |
iops_limit |
float64 | Set query iops_limit value |
progress_timeout |
float64 | If no progress is detected in this many seconds, we terminate the query and output debugging information |
timeout |
float64 | Total amount of time in seconds, this collection will take. Collection is cancelled when timeout is exceeded. |
metadata |
StoredQuery | Metadata to store in the zip archive. Outputs to metadata.json in top level of zip file. |
concurrency |
int64 | Number of concurrent collections. |
remapping |
string | A Valid remapping configuration in YAML or JSON format. |
Required permissions: FILESYSTEM_WRITE
Platforms: macOS, Linux, Windows
Source: vql/tools/collector/collector.go