3.2.14. devices/users saved-query get-by-name¶
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.
This command will get a saved query by name for users or devices.
3.2.14.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.14.2. Examples¶
3.2.14.3. Help Page¶
3.2.14.3.1. axonshell devices/users saved-query get-by-name¶
Get saved queries by name.
axonshell devices/users saved-query get-by-name [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 <value>¶
Required Name or UUID of saved query