Atlantiraptor Docs

inventory_add

Type: Function · Category: server

Add or reconfigure a tool into the inventory.

Note that if you provide a file to override the tool it must be readable by the server (so the file must reside on the server or be accessible over a network share).

Argument Type Description
tool string (required)
serve_locally bool
url string
hash string
filename string The name of the file on the endpoint
version string
file accessors.OSPath An optional file to upload
accessor string The accessor to use to read the file.

Required permissions: SERVER_ADMIN

Platforms: macOS, Linux, Windows

Source: vql/server/inventory.go