3.2.6. adapters cnx get

This command is used to extract the metadata for connections from the output of the adapters get command and optionally filter the connections based on status or id.

3.2.6.1. Input feeds

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

  • adapters get: You need to feed the input of adapters get to this command.

3.2.6.2. Common Options

3.2.6.4. Help Page

3.2.6.4.1. axonshell adapters cnx get

Get connections from adapters based on id or status.

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

-is, --include-settings

Include settings in CSV export.

-i, --id <ids>

Only include connections with matching IDs.

-ix, --id-regex

Consider –id values as regular expressions.

-ui, --uuid <uuids>

Only include connections with matching UUIDs.

-ux, --uuid-regex

Consider –uuid values as regular expressions.

-nw, --no-working

Exclude connections that are working.

-nb, --no-broken

Include connections that are broken.

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