Files
Checkov will run on files with the following names and extensions:.tf.yml.yaml.json.template.bicep.hclbower.jsonbuild.gradlebuild.gradle.ktsgo.sumgradle.propertiesMETADATAnpm-shrinkwrap.jsonpackage.jsonpackage-lock.jsonpom.xmlrequirements.txtDockerfile.dockerfileDockerfile.*.csprojyarn.lockGemfileGemfile.lockgo.modpaket.dependenciespaket.lockpackages.configcomposer.jsoncomposer.lock
Configuration
Checkov is enabled by default. Enable or disable it with.coderabbit.yaml or the CodeRabbit web UI:
- .coderabbit.yaml
- Web UI
.coderabbit.yaml
.checkov.yaml or .checkov.yml from the repository root.
CodeRabbit will include the following severity levels based on the profile selected:
Chill
MEDIUMHIGHCRITICAL
Assertive
LOWMEDIUMHIGHCRITICAL
When we skip Checkov
CodeRabbit will skip Checkov entirely or skip individual files when:- Checkov is already configured in GitHub Actions, GitLab CI, CircleCI, or Azure Pipelines.
- The repository’s
.checkov.ymlor.checkov.yamlconfig setsexternal-checks-dir,external-checks-git,external_checks_dir, orexternal_checks_gitto a non-empty value. - An individual file is unavailable in the sandbox worktree.
- An individual file is 8 MiB or larger.