Skip to content
secret-scan
Menu

CLI command (TS and Go)

config gitleaks

Writes the generated gitleaks config.

Writes the same config as generate-gitleaks-config.mjs and prints Wrote <abs path>.

One of the three enumerated deviations: the default --out is ./generated.gitleaks.toml in the current directory, where the .mjs writes beside the script.