3.2.5. adapters cnx discover

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

3.2.5.1. 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.

3.2.5.2. Common Options

3.2.5.4. Help Page

3.2.5.4.1. axonshell adapters cnx discover

Start a discovery (fetch) for an adapter connection.

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

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