`terraform plan` scanning with Checkov fails: `Unable to parse plan: unsupported format version`
IntermediateTroubleshootingContainer image and IaC scanning
Answer
Likely causes → An old Checkov version that does not understand the plan JSON from a newer Terraform/OpenTofu release, or the file is binary tf.plan instead of JSON.
Diagnose →
checkov --version; terraform version
head -c 200 tf.json
Fix → Convert with terraform show -json tf.plan > tf.json, and upgrade Checkov (pip install -U checkov) or use the current container image.
Prevent → Pin scanner versions in CI and bump them alongside Terraform upgrades via Renovate.
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