nameA name for this collection template.string (required)
descriptionA description for the template.string
specsThe collection request spec that will be saved. We use this to create the new collection.LazyExpr (required)
typeThe type of favorite.string (required)


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.

NOTE: A favorite belongs to the calling user - this function will update the favorite for the calling user only.