3.2.16. adapters cnx add-from-json

This command will add a perform a connectivity test for a connection for an adapter on a node.

3.2.16.1. Common Options

3.2.16.2. Examples

3.2.16.3. Help Page

3.2.16.3.1. axonshell adapters cnx add-from-json

Add a connection from a JSON file.

axonshell adapters cnx add-from-json [OPTIONS]

Options

-u, --url <URL>

Required URL of an Axonius instance

-k, --key <KEY>

Required API Key of user in an Axonius instance

-s, --secret <SECRET>

Required API Secret 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

--show-schemas, --no-show-schemas

Print the schemas and exit.

Default

False

--show-defaults, --no-show-defaults

Print the schema defaults and sane defaults and exit.

Default

False

--active, --inactive

Set connection as active / inactive.

Default

True

-saf, --save-and-fetch, -nsaf, --no-save-and-fetch

Fetch assets after saving.

Default

True

-usd, --use-sane-defaults, -nusd, --no-use-sane-defaults

Use sane defaults from API Client (will use False as default for boolean types).

Default

True

-iu, --ignore-unknowns, -niu, --no-ignore-unknowns

Do not error if unknown config keys supplied.

Default

False

-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

-if, --input-file <input_file>

File to read (from path or piped via STDIN)

Default