Interview Prep/DevSecOps/Rapid-Fire Tool Questions

Run Checkov against a Terraform plan instead of raw HCL?

BeginnerProductionRapid-Fire Tool Questions
Answer
terraform plan -out tfplan
terraform show -json tfplan > tfplan.json
checkov -f tfplan.json --framework terraform_plan

Scanning the plan resolves variables and module values that static HCL scanning cannot see.

All DevSecOps questions

More on Rapid-Fire Tool Questions