Checkov fails 22 checks inside `.terraform/modules/` from a public registry module you call
IntermediateTroubleshootingContainer image and IaC scanning
Answer
Likely causes → Checkov scans downloaded module source when --download-external-modules true or when .terraform/ is present in the scanned directory.
Diagnose →
checkov -d . --compact --quiet -o json | jq -r '.results.failed_checks[] | "\(.check_id) \(.file_path)"' | sort | uniq -c
Fix → Decide deliberately: scan your code and the module inputs you pass, skip vendored paths (--skip-path .terraform), and fix issues you control by setting module variables (e.g. enable_encryption = true).
Prevent → Maintain an internal approved module that already passes policy, and pin module versions.
More on Container image and IaC scanning
Trivy fails the build on 14 HIGH/CRITICAL CVEs in the base image, all with "Fixed Version" emptyBeginner`FATAL ... failed to download vulnerability DB: ... TOOMANYREQUESTS: retry-after` from Trivy in CIIntermediateTrivy in an air-gapped runner fails with `failed to download vulnerability DB` even though you copied `db.tar.gz`AdvancedTrivy and Grype report different CVE counts for the same imageIntermediate`.trivyignore` entries are ignored and the build still fails on the same CVEBeginnerTrivy reports a critical CVE in a Go binary built from your own code, in package `stdlib`Intermediate