> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TruffleHog

> CodeRabbit's guide to TruffleHog.

[TruffleHog](https://github.com/trufflesecurity/trufflehog) is a secret scanner with verification capabilities that can detect and verify secrets in code. CodeRabbit runs TruffleHog in **filesystem** mode with a repository-supplied config file.

## Configuration

TruffleHog **requires** a config file in the repository. CodeRabbit allows the following to be used:

* `trufflehog-config.yml`
* `trufflehog-config.yaml`
* `trufflehog.yml`
* `trufflehog.yaml`
* `.trufflehog.yml`
* `.trufflehog.yaml`

If none of these are found, TruffleHog is skipped for the run.

## Links

* [TruffleHog GitHub](https://github.com/trufflesecurity/trufflehog)
* [TruffleHog Documentation](https://docs.trufflesecurity.com/)
