3.2.15. adapters cnx add¶
This command will add a new connection for an adapter on a node.
3.2.15.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.15.2. Examples¶
3.2.15.3. Help Page¶
3.2.15.3.1. axonshell adapters cnx add¶
Add a connection from prompts or arguments.
axonshell adapters cnx add [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
-
-xf
,
--export-format
<export_format>
¶ Format of to export data in
- Default
json-config
- Options
json-full | json-config | json | table | table-schemas | str | str-args
-
-saf
,
--save-and-fetch
,
-nsaf
,
--no-save-and-fetch
¶
Fetch assets after saving.
- Default
True
-
--active
,
--inactive
¶
Set connection as active / inactive.
- Default
True
-
-nn
,
--node-name
<adapter_node>
¶ Node name (will default to core instance if not supplied)
-
-n
,
--name
<adapter_name>
¶ Required Adapter name
-
-po
,
--prompt-optional
,
-npo
,
--no-prompt-optional
¶
Prompt for optional items that are not supplied.
- Default
True
-
-pd
,
--prompt-default
,
-npd
,
--no-prompt-default
¶
Prompt for items that have a default.
- Default
True
-
-c
,
--config
<config>
¶ Configuration keys in the form of key=value (multiples)