3.2.18. adapters cnx discover

This command will trigger a discover (aka fetch) for a connection of an adapter on a node. Input feeds

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

  • adapters get: Supplying input from this command will discover ALL of the connections for ALL of the adapters returned from this command.
  • adapters cnx get: Supplying input from this command will discover all of the connections that have been returned by the supplied filters.

See also

adapters cnx get for examples of filtering connections using axonshell adapters get | axonshell adapters cnx get. Common Options Help Page axonshell adapters cnx discover

Start a discovery (fetch) for an adapter connection.

axonshell adapters cnx discover [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]

-xo, --export-overwrite

Overwrite -xf/–export-file if exists.

-is, --include-settings

Include settings in CSV export.

-xd, --export-delim <export_delim>

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

-ne, --no-error

Continue processing rows even if an error happens.

-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: -]