Top-level scan orchestration. Loads rules, walks the tree, runs regex + perms, returns a unified list of Findings.
Top-level scan orchestration. Loads rules, walks the tree, runs regex + perms, returns a unified list of Findings.
(run root)(run root
{:keys [rules concurrency timeout-ms walk-opts]
:or {concurrency 8 timeout-ms 10000 walk-opts {}}})Scan a directory tree. Returns Result<{:findings [Finding] :scanned n :root root}>.
opts: :rules — loaded rule set (defaults to loading vendored gitleaks.toml) :concurrency — bounded-pmap workers (default 8) :timeout-ms — per-file timeout (default 10000) :walk-opts — passed to fs/walk
Scan a directory tree. Returns Result<{:findings [Finding] :scanned n :root root}>.
opts:
:rules — loaded rule set (defaults to loading vendored gitleaks.toml)
:concurrency — bounded-pmap workers (default 8)
:timeout-ms — per-file timeout (default 10000)
:walk-opts — passed to fs/walkcljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |