Kandji Configuration#
Authentication#
Follow the
Kandji API documentation
to generate an API token. Store the token in KANDJI_TOKEN, or store it in
another environment variable and identify that variable with
--kandji-token-env-var.
export KANDJI_TOKEN="your-api-token"
Configure Cartography#
Provide the Kandji API URL with --kandji-base-uri and the tenant identifier
with --kandji-tenant-id. The tenant identifier is required to establish
tenant relationships.
Run Cartography#
cartography \
--selected-modules kandji \
--kandji-base-uri https://company.api.kandji.io \
--kandji-tenant-id "<your-tenant-id>" \
--kandji-token-env-var KANDJI_TOKEN
Advanced Configuration#
Flag |
Description |
|---|---|
|
Kandji API base URI |
|
Kandji tenant identifier |
|
Name of the environment variable containing the API token |