On-premise verification
You can use Custom verifiers to set the endpoints for enterprise or non-publicly accessible instances. This will allow TruffleHog to verify secrets against those domains.
Custom verifiers should be set at the root level of the config.yaml file such that they apply globally. Custom verifiers can be configured in your config.yaml file under the customVerifiers field.
We currently support the following verifiers: github and gitlab
You can set the on-premise servers in the local config or on command line.
Each verifier can include one or more endpoints.
You can also set custom verifiers via our open source TruffleHog tool.
In the following example, we scan the currrent directory in our filesystem and pass-in two custom verifier endpoints for Github and one custom verifier endpoint for Gitlab.