@@ -104,19 +104,27 @@ usage: TruffleHog git [<flags>] <uri>
104
104
Find credentials in git repositories.
105
105
106
106
Flags:
107
- --help Show context-sensitive help (also try --help-long and --help-man).
108
- --debug Run in debug mode
109
- --json Output in JSON format.
110
- --concurrency=8 Number of concurrent workers.
111
- --verification Verify the results.
112
- -i, --include_paths=INCLUDE_PATHS
113
- Path to file with newline separated regexes for files to include in scan.
114
- -x, --exclude_paths=EXCLUDE_PATHS
115
- Path to file with newline separated regexes for files to exclude in scan.
116
- --branch=BRANCH Branch to scan.
117
- --allow No-op flag for backwards compat.
118
- --entropy No-op flag for backwards compat.
119
- --regex No-op flag for backwards compat.
107
+ --help Show context-sensitive help (also try --help-long and --help-man).
108
+ --debug Run in debug mode
109
+ --version Prints trufflehog version.
110
+ -j, --json Output in JSON format.
111
+ --json-legacy Use the pre-v3.0 JSON format. Only works with git, gitlab, and github sources.
112
+ --concurrency=1 Number of concurrent workers.
113
+ --no-verification Don't verify the results.
114
+ --only-verified Only output verified results.
115
+ --print-avg-detector-time Print the average time spent on each detector.
116
+ --no-update Don't check for updates.
117
+ -i, --include-paths=INCLUDE-PATHS
118
+ Path to file with newline separated regexes for files to include in scan.
119
+ -x, --exclude-paths=EXCLUDE-PATHS
120
+ Path to file with newline separated regexes for files to exclude in scan.
121
+ --since-commit=SINCE-COMMIT
122
+ Commit to start scan from.
123
+ --branch=BRANCH Branch to scan.
124
+ --max-depth=MAX-DEPTH Maximum depth of commits to scan.
125
+ --allow No-op flag for backwards compat.
126
+ --entropy No-op flag for backwards compat.
127
+ --regex No-op flag for backwards compat.
120
128
121
129
Args:
122
130
<uri> Git repository URL. https:// or file:// schema expected.
0 commit comments