# Deploy TruffleHog with Easypanel

URL: /templates/trufflehog

TruffleHog is a security tool that finds secrets in your code, repositories, and files. It uses pattern matching, entropy analysis, and other methods to detect potential secrets and credentials.

## Installation notes

After installation, TruffleHog will scan the specified directory for secrets. Configure the scan path and command options in the settings.

## Benefits

### Security Scanning

Find secrets and credentials in your code and repositories

### Multiple Detection Methods

Uses pattern matching, entropy analysis, and other methods

### Customizable

Configurable scanning options and paths

### Open Source

Free and open-source security tool

## Features

### Secret Detection

Find API keys, passwords, tokens, and other secrets

### Pattern Matching

Detect secrets using regex patterns and entropy analysis

### Custom Commands

Configure custom scanning commands and options

### Volume Mounting

Scan any directory by mounting it to the container

### Continuous Scanning

Run scans on a schedule or as part of CI/CD

## Configuration

- `appServiceName` (App Service Name, required): trufflehog

- `appServiceImage` (App Service Image, required): trufflesecurity/trufflehog:3.93.4

- `scanPath` (Scan Path, required): /path/to/scan — Host path to scan for secrets

- `scanCommand` (Scan Command, required): trufflehog filesystem /workdir — Command to run for scanning (e.g., 'trufflehog filesystem /workdir')

## Services

- trufflehog: app (trufflesecurity/trufflehog:3.93.4)

## Resources

- [Website](https://trufflesecurity.com)

- [GitHub](https://github.com/trufflesecurity/trufflehog)

- [Documentation](https://trufflesecurity.com/docs/trufflehog)

- [Docker Hub](https://hub.docker.com/r/trufflesecurity/trufflehog)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/trufflehog)