3.2.19. adapters cnx get-by-id¶
Warning
This API is deprecated.
Axonius API v2 is now available, we recommend you move to API v2.
New features will no longer be added to this API. Axonius will only provide bug fixes.
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.19.1. Common Options¶
Connection Options for examples of supplying the Axonius credentials and URL.
Export Options for examples of exporting data in different formats and outputs.
3.2.19.2. Examples¶
3.2.19.3. Help Page¶
3.2.19.3.1. axonshell adapters cnx get-by-id¶
Get a connection by ID.
axonshell adapters cnx get-by-id [OPTIONS]
Options
- -u, --url <URL>¶
Required URL of an Axonius instance
- -k, --key <KEY>¶
Required API Key (or username if credentials=True) of user in an Axonius instance
- -s, --secret <SECRET>¶
Required API Secret (or password if credentials=True) of user in an Axonius instance
- -tn, --tunnel <tunnel>¶
Tunnel ID or Name
- -nn, --node-name <adapter_node>¶
Node name (will default to core instance if not supplied)
- -n, --name <adapter_name>¶
Required Adapter name
- -i, --id <cnx_id>¶
Required ID of connection
- -xf, --export-format <export_format>¶
Format of to export data in
- Default:
table
- Options:
json-full | json-config | json | table | table-schemas | str | str-args