3.3.4. devices

This is a command group under the main root that has commands for getting device assets using queries built by the Query Wizard in the GUI, saved queries, and queries built for you by various get-by.. commands.

3.3.4.1. Sub Command Groups

3.3.4.2. Commands

3.3.4.3. Help Page

3.3.4.3.1. axonshell devices

Group: Work with device assets.

axonshell devices [OPTIONS] COMMAND [ARGS]...

Commands

count

Get the count of assets from a query.

count-by-saved-query

Get the count of assets from a saved query.

destroy

Delete ALL asset records of this type from…

get

Get assets using a query and fields.

get-by-hostname

Get assets where hostname equals value

get-by-hostname-regex

Get assets where hostname matches regex value

get-by-hostnames

Get assets where hostname equals multiple…

get-by-id

Get ALL data for a single asset.

get-by-ip

Get assets where ip equals value

get-by-ip-regex

Get assets where ip matches regex value

get-by-ips

Get assets where ip equals multiple values

get-by-mac

Get assets where mac equals value

get-by-mac-regex

Get assets where mac matches regex value

get-by-macs

Get assets where mac equals multiple values

get-by-saved-query

Get assets using a saved query.

get-by-subnet

Get assets in subnet

get-by-value

Get assets where a field equals value

get-by-value-regex

Get assets where a field matches regex value

get-by-values

Get assets where a field equals multiple…

get-fields

Get the available fields (columns) for…

get-fields-default

Get the default fields (columns) for assets.

get-tags

Get all known tags.

saved-query

Group: Work with saved queries.