gitleaks
Verified for current stable LTS
Gitleaks Command: Use Custom Rules File
Use for use custom rules file with Gitleaks. Exact CLI syntax to use custom rules file using Gitleaks.
When to use this: Use for use custom rules file with Gitleaks.
Command Syntax
gitleaks detect -s <path/to/repository> --config-path <path/to/config.toml> gitleaks detect -s <path/to/repository> --config-path <path/to/config.toml> Command Breakdown
-s- Command Option
- Tool-specific option used by this command invocation.
--config-path- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to use custom rules file using Gitleaks.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Gitleaks Command: Display Verbose Output
gitleaks protect --staged --verbose Gitleaks Command: Output Scan Results Json gitleaks detect -s <path/to/repository> --report <path/to/report.json> Gitleaks Command: Output Scan Results To Json gitleaks detect -s <path/to/repository> --report <path/to/report.json> Gitleaks Command: Scan From Specific Commit gitleaks detect -s <path/to/repository> --log-opts <--since=commit_id> Gitleaks Command: Scan Local Directory gitleaks detect -s <path/to/repository>