favorites_save
Type: Function · Category: server
Save a collection into the favorites.
Velociraptor allows the user to save a collection into their “Favorite” list. This allows them to quickly and easily pick a previously used collection.
This VQL function provides an interface for this functionality.
Notes
A favorite belongs to the calling user - this function will update the favorite for the calling user only.
| Argument | Type | Description |
|---|---|---|
name |
string (required) | A name for this collection template. |
description |
string | A description for the template. |
specs |
Any (required) | The collection request spec that will be saved. We use this to create the new collection. |
type |
string (required) | The type of favorite. |
Platforms: macOS, Linux, Windows