Open Tohar-orca opened 3 weeks ago
When scanning as .tf file and it's resulting .tfplan, KICS should return the same findings
Scanning the attached tf files directory produces 13 results Scanning the tfplan json, generated from the same tf files, produces only 1 result
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"
N/A
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