This page documents what the OSS CLI options do in practice, based on the current code in this workspace.
For exact availability in your binary, still check:
adalanche --help
adalanche <command> --helpAdalanche has three layers of configuration, in this order:
- command-line flags
- environment variables prefixed with
ADALANCHE_ configuration.yamlin your datapath (defaultdata/configuration.yaml)
The datapath is created automatically if it does not exist.
adalanche [command]
-
--datapath- Base folder for reads/writes, including imported data, generated profiling files, and persistence database.
-
--loglevel- Console log verbosity.
-
--logfile,--logfilelevel- Enables file logging.
--logfilesupports{timestamp}replacement with current date.
- Enables file logging.
-
--logzerotime- Logs elapsed time since start instead of wall-clock time.
-
--embeddedprofiler- Starts Go's pprof HTTP listener on localhost, starting at port
6060and incrementing if occupied.
- Starts Go's pprof HTTP listener on localhost, starting at port
-
--cpuprofile,--cpuprofiletimeout- Writes
adalanche-cpuprofile-*.pprofto datapath. - Timeout > 0 auto-stops capture.
- Writes
-
--memprofile,--memprofiletimeout- Writes
adalanche-memprofile-*.pprofheap profile to datapath. - Timeout > 0 auto-stops capture.
- Writes
-
--fgtrace- Writes
adalanche-fgtrace-*.jsonto datapath.
- Writes
-
--fgprof- Writes
adalanche-fgprof-*.jsonto datapath.
- Writes
adalanche analyze [flags]
Launches the web UI, starts background analysis loading, and waits until the web service exits.
- Sets Go memory limit to 80% of available memory.
- Sets GC target (
GOGC) to 35. - Applies
automaxprocsto match container/CPU constraints. - Starts web service before analysis is fully finished so UI can show progress/status.
-
--bind- Bind address for the web service. Default:
127.0.0.1:8080.
- Bind address for the web service. Default:
-
--nobrowser- Prevents automatic browser launch.
-
--certificate,--privatekey- Intended to enable HTTPS for the web service.
- Can be file paths or inline PEM values.
-
--importcnf- Include AD conflict objects (
\0ACNF:DN pattern) during analysis.
- Include AD conflict objects (
-
--importdel- Include deleted AD objects (
\0ADEL:DN pattern) during analysis.
- Include deleted AD objects (
-
--importhardened- Include objects missing
objectClass.
- Include objects missing
-
--warnhardened- Emit warnings for objects missing
objectClass.
- Emit warnings for objects missing
-
--limitattributes- Uses reduced AD attribute import to lower memory usage.
adalanche collect [subcommand]
collect is a container command. Subcommands depend on what was compiled into your binary.
adalanche collect activedirectory [flags]
Collects AD data by one of three paths:
- live LDAP collection
- AD Explorer snapshot import (
--adexplorerfile) - NTDS.DIT import (
--ntdsfile)
-
--autodetect- Attempts to auto-fill domain/server/auth context from environment and DNS.
-
--server- Explicit domain controller list. If omitted, autodetection tries to find DCs.
-
--domain- Domain suffix to analyze.
-
--port- LDAP port override.
0means auto based on TLS mode.
- LDAP port override.
-
--tlsmode- Transport mode:
NoTLS,StartTLS, orTLS.
- Transport mode:
-
--channelbinding- Enables LDAP channel binding on supported flows.
-
--ignorecert- Skips certificate validation for TLS LDAP.
-
--authmode- Bind mode selection (
anonymous,simple,digest,kerberoscache,ntlm,ntlmpth, etc.).
- Bind mode selection (
-
--authdomain,--username,--password- Explicit credentials.
- If username is set and password omitted, interactive password prompt is used.
- Password value
!means intentionally blank password.
-
--attributes*imports all attributes.- Comma-separated list limits attributes from LDAP fetch.
-
--pagesize- LDAP paged-search page size.
-
--obfuscatedquery- LDAP object filter used for broad AD pulls. Default is
(objectclass=*).
- LDAP object filter used for broad AD pulls. Default is
-
--nosacl- Requests security descriptors with NO SACL flag for broader compatibility.
-
--configuration,--schema,--other,--objects,--gpos- Per-context collection toggles (
auto, true/false-like values).
- Per-context collection toggles (
-
--gpopath- Overrides where GPO files are read from (useful on non-Windows/mounted SYSVOL).
-
--ldapdebug- Enables LDAP debug output.
-
--purgeolddata- Removes prior matching collection data in datapath after successful connection.
-
--adexplorerfile- Imports AD data from Sysinternals AD Explorer snapshot.
-
--adexplorerboost- Loads snapshot into RAM first to speed decode.
-
--ntdsfile- Imports AD objects from NTDS.DIT source.
adalanche collect localmachine
If present in your build, gathers local machine telemetry and writes JSON into datapath.
Output naming behavior:
- domain joined:
<COMPUTER>$<DOMAIN>.localmachine.json - non-domain:
<COMPUTER>.localmachine.json
adalanche quick
Convenience workflow that runs:
adalanche collect activedirectoryadalanche analyze
On Windows, if started without arguments, quick mode is auto-selected.
adalanche persistence [dump|restore]
Operates on persistence.bbolt inside datapath.
-
dump --output <file>- Dumps bucket/key/value data as JSON-like output.
-
restore --input <file>- Command exists, but current OSS implementation is a stub and does not restore data.
adalanche version
Prints short version information.