3.2.19. devices/users reports missing-adapters

This command will produce a report of all adapters missing from assets. In essence, all this command does is add two new fields to the asset data:

  • missing_nocnx: all of the adapters that are missing from this asset but have no connections.
  • missing: all of the adapters that are missing from this asset but have connections.

3.2.19.1. Input feeds

The input to this command as –rows must be from one of these commands:

  • devices/users get: To remove labels from all device or user assets returned from the query provided to the get command.
  • devices/users get-by-saved-query: To remove labels from all device or user assets returned from the query defined in the saved query.
  • devices get-by-hostname: To remove labels from all device assets returned from the query built by the get_by command.
  • devices get-by-ip: To remove labels from all device assets returned from the query built by the get_by command.
  • devices get-by-mac: To remove labels from all device assets returned from the query built by the get_by command.
  • devices get-by-subnet: To remove labels from all device assets returned from the query built by the get_by command.
  • users get-by-mail: To remove labels from all user assets returned from the query built by the get_by command.
  • users get-by-username: To remove labels from all user assets returned from the query built by the get_by command.

3.2.19.2. Common Options

3.2.19.4. Help Page

3.2.19.4.1. axonshell devices/users reports missing-adapters

Get a report of missing adapters for assets.

axonshell devices/users reports missing-adapters [OPTIONS]

Options

-u, --url <url>

URL of Axonius instance. [required]

-k, --key <key>

API Key of user in Axonius instance. [required]

-s, --secret <secret>

API Secret of user in Axonius instance. [required]

-xf, --export-file <export_file>

Export to a file in export-path instead of printing to STDOUT. [default: ]

-xp, --export-path <export_path>

Path to create -xf/–export-file in (default is current working directory).

-xt, --export-format <export_format>

Format to use for STDOUT (or -xf/–export-file if supplied). [default: json]

Options:csv|json|table
-xo, --export-overwrite

Overwrite -xf/–export-file if exists.

-xd, --export-delim <export_delim>

Change the cell delimiter for CSV format from the default of carriage return.

-ss, --show-sources

Print the source commands that can be supplied as valid input to -r/–rows.

-r, --rows <rows>

The rows in JSON format to process as a file or via stdin. [default: -]