Open Tohar-orca opened 5 months ago
Another example The tfplan triggers a detections for "CloudFront distributions don't have encryption in transit", but the tf file (added .txt extension for github's sake) does not tfplan.json sample.tf.txt
@anterosilva1985 can you take a look please?
Expected Behavior
When scanning as .tf file and it's resulting .tfplan, KICS should return the same findings
Actual Behavior
Scanning the attached tf files directory produces 13 results Scanning the tfplan json, generated from the same tf files, produces only 1 result
Steps to Reproduce the Problem
go run cmd/console/main.go scan -p "/path/to/directory" -d "generated_json"
)terraform plan -out=out.tfplan
terraform show -json out.tfplan > out.json
go run cmd/console/main.go scan -p "/path/to/out.json" -d "generated_json"
)Specifications
N/A