How can I give or supply an input to checkov's custom policy in python? For example, I want to check if terraform plan output json file has the values that I defined, in the resources, or the names of the resource are expected as I defined.
So far I created custom policy and runs on a terraform output json file, and it works. Now I want to enhance it to read of takes an input argument to the policy and checks accordingly.