3.3.8. users saved_query

Warning

This API is deprecated.

Axonius API v2 is now available, we recommend you move to API v2.

New features will no longer be added to this API. Axonius will only provide bug fixes.

Read about API v2

This is a sub-command group under users that has commands to add, delete, or get saved queries for user assets.

3.3.8.1. Commands

3.3.8.2. Help Page

3.3.8.2.1. axonshell users saved_query

Group: Work with saved queries.

axonshell users saved_query [OPTIONS] COMMAND [ARGS]...

Commands

add

Add a saved query.

add-from-json

Add saved queries from a JSON file.

add-from-wiz-csv

Add saved queries from a Wizard CSV file.

copy

Copy a Saved Query.

delete-by-name

Delete a saved query by name.

delete-by-tags

Delete saved queries by tags.

export

Export saved queries to a file.

get

Get saved queries.

get-by-name

Get saved queries by name.

get-by-tags

Get saved queries by tags.

get-query-history

Get query history events.

get-tags

Get all known tags for saved queries.

import

Import saved queries from a previously…

update-always-cached

Update the always_cached flag of a Saved…

update-description

Update the description of a Saved Query.

update-fields

Update the fields of a Saved Query.

update-folder

Update the folder of a Saved Query.

update-name

Update the name of a Saved Query.

update-page-size

Update the page size of a Saved Query.

update-private

Update the private flag of a Saved Query.

update-query

Update the query of a Saved Query.

update-tags

Update the tags of a Saved Query.