# Trufflehog

[**Trufflehog**](https://github.com/trufflesecurity/trufflehog) is a linter for Security.

trufflehog is composed of several linter commands.

`trufflehog` runs trufflehog normally.

You can enable the `trufflehog` linter with:

```shell
trunk check enable trufflehog
```

`trufflehog-git` also runs trufflehog on the git history.

You can enable the `trufflehog-git` linter with:

```shell
trunk check enable trufflehog-git
```

## Auto Enabling

Trufflehog will be auto-enabled if any *all* files are present.

## Links

* [Trufflehog site](https://github.com/trufflesecurity/trufflehog)
* Trufflehog Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/trufflehog)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
