You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -672,7 +679,7 @@ TruffleHog will send a JSON POST request containing the regex matches to a
672
679
configured webhook endpoint. If the endpoint responds with a `200 OK` response
673
680
status code, the secret is considered verified.
674
681
675
-
Custom Detectors support a few different filtering mechanisms: entropy, regex targeting the entire match, regex targeting the captured secret,
682
+
Custom Detectors support a few different filtering mechanisms: entropy, regex targeting the entire match, regex targeting the captured secret,
676
683
and excluded word lists checked against the secret (captured group if present, entire match if capture group is not present). Note that if
677
684
your custom detector has multiple `regex` set (in this example `hogID`, and `hogToken`), then the filters get applied to each regex. [Here](examples/generic_with_filters.yml) is an example of a custom detector using these filters.
Copy file name to clipboardExpand all lines: main.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ var (
184
184
circleCiScanToken=circleCiScan.Flag("token", "CircleCI token. Can also be provided with environment variable").Envar("CIRCLECI_TOKEN").Required().String()
dockerScanImages=dockerScan.Flag("image", "Docker image to scan. Use the file:// prefix to point to a local tarball, otherwise a image registry is assumed.").Required().Strings()
187
+
dockerScanImages=dockerScan.Flag("image", "Docker image to scan. Use the file:// prefix to point to a local tarball, the docker:// prefix to point to the docker daemon, otherwise an image registry is assumed.").Required().Strings()
188
188
dockerScanToken=dockerScan.Flag("token", "Docker bearer token. Can also be provided with environment variable").Envar("DOCKER_TOKEN").String()
189
189
dockerExcludePaths=dockerScan.Flag("exclude-paths", "Comma separated list of paths to exclude from scan").String()
0 commit comments