3.2.13. devices/users saved-query get¶
This command will get all saved queries for users or devices.
3.2.13.1. Common Options¶
Connection Options for examples of supplying the Axonius credentials and URL.
Export Options for examples of exporting data in different formats and outputs.
3.2.13.2. Examples¶
3.2.13.3. Help Page¶
3.2.13.3.1. axonshell devices/users saved-query get¶
Get saved queries.
axonshell devices/users saved-query get [OPTIONS]
Options
- -u, --url <URL>¶
Required URL of an Axonius instance
- -k, --key <KEY>¶
Required API Key (or username if credentials=True) of user in an Axonius instance
- -s, --secret <SECRET>¶
Required API Secret (or password if credentials=True) of user in an Axonius instance
- -xf, --export-format <export_format>¶
Format to export data in
- Default:
table
- Options:
json | str-names | str | table
- -tf, --table-format <table_format>¶
Base format to use for –export-format=table
- Default:
fancy_grid
- Options:
asciidoc | double_grid | double_outline | fancy_grid | fancy_outline | github | grid | heavy_grid | heavy_outline | html | jira | latex | latex_booktabs | latex_longtable | latex_raw | mediawiki | mixed_grid | mixed_outline | moinmoin | orgtbl | outline | pipe | plain | presto | pretty | psql | rounded_grid | rounded_outline | rst | simple | simple_grid | simple_outline | textile | tsv | unsafehtml | youtrack
- -n, --name <names>¶
Names or UUID’s of saved queries (multiple)
- -nr, --name-regex <names_regex>¶
Regular expressions of names of saved queries (multiple)
- -t, --tag <tags>¶
Tags of saved queries (multiple)