Checkov

Checkov is a linter for Cloudformation, Security, Terraform and Docker.

You can enable the Checkov linter with:

trunk check enable checkov
checkov example output

Auto Enabling

Checkov will be auto-enabled if any Terraform, Cloudformation, Docker, Yaml or Json files are present.

Settings

Checkov supports the following config files:

  • .checkov.yml

  • .checkov.yaml

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.

Last updated