Shift Left , IaC, Terraform - Check Point CheckMates
Shift Left , IaC, Terraform
Hi,
I'm looking into ShiftLeft and the IaC bit - wanna try out scanning my terraform files. But I keep getting parser errors when trying to upload my zip files.
Are there any tips n tricks to get this to work ? Anything that is not supported or ..anything else ?
Response:
You need to pass the entry file.
shiftleft iac-assessment -i terraform -r -64 -a TerraformTemplateExamples -p Users/johndoe/examples -E vpc -e abcd1234-a1b2-c3d4-ef56-36787784e871
In this example, you have a Terraform configuration in the
Users/johndoe/examplesfolder with an entry file namedvpc.tf. You want to run on this project a ruleset number -64 that corresponds to Terraform projects to check if it is compliant and sends the results to the environment with IDabcd1234-a1b2-c3d4-ef56-36787784e871.