{"Name":"terraform","ID":"go.mondoo.com/mql/providers/terraform","Version":"14.0.0-rc.1","ConnectionTypes":["terraform-state","terraform-plan","terraform-hcl","terraform-hcl-git"],"Connectors":[{"Name":"terraform","Use":"terraform PATH","Short":"Terraform HCL configurations, plan files, and state files","Long":"Use the terraform connector to query Terraform HCL, plan, or state files as well as directories of files.\n\nA directory is read the way Terraform itself reads it: the .tf, .tf.json,\n.tfvars and .tfvars.json files. Any .tofu-flavored file sitting next to them is\nskipped, because Terraform never applies it. Use the opentofu connector for\nthose.\n\nAvailable commands:\n  plan                       Terraform plan file\n  state                      Terraform state file\n\nExamples:\n  cnspec shell terraform \u003cPATH-TO-HCL-DIRECTORY\u003e\n  cnspec scan terraform \u003cPATH-TO-HCL-FILE\u003e\n  cnspec scan terraform plan \u003cPATH-TO-PLAN-JSON\u003e\n  cnspec scan terraform state \u003cPATH-TO-STATE-JSON\u003e\n","MinArgs":1,"MaxArgs":2,"Flags":[{"Long":"ignore-dot-terraform","Default":"false","Desc":"Exclude the .terraform directory (contains cached provider plugins and modules)","Type":1,"ConfigEntry":"-"}]},{"Name":"opentofu","Use":"opentofu PATH","Short":"OpenTofu HCL configurations, plan files, and state files","Long":"Use the opentofu connector to query OpenTofu HCL, plan, or state files as well as directories of files.\n\nA directory is read the way OpenTofu itself reads it. Where a .tofu-flavored\nfile shares a name with its Terraform equivalent, the .tofu file wins and the\n.tf file is not read: main.tofu replaces main.tf, and .tofu.json, .tofuvars and\n.tofuvars.json replace their .tf equivalents in the same way. Files with no\n.tofu counterpart are read as they are, so a configuration that has not been\nrenamed is queried unchanged.\n\nPlan and state files carry no marker of their own -- their JSON is identical\nbetween the two tools -- so the connector is what says which tool produced them.\nIt selects the platform the asset is reported under; the file is read the same\nway either way.\n\nAvailable commands:\n  plan                       OpenTofu plan file\n  state                      OpenTofu state file\n\nExamples:\n  cnspec shell opentofu \u003cPATH-TO-HCL-DIRECTORY\u003e\n  cnspec scan opentofu \u003cPATH-TO-HCL-FILE\u003e\n  cnspec scan opentofu plan \u003cPATH-TO-PLAN-JSON\u003e\n  cnspec scan opentofu state \u003cPATH-TO-STATE-JSON\u003e\n","MinArgs":1,"MaxArgs":2,"Flags":[{"Long":"ignore-dot-terraform","Default":"false","Desc":"Exclude the .terraform directory (contains cached provider plugins and modules)","Type":1,"ConfigEntry":"-"}],"Aliases":["tofu"]}],"AssetUrlTrees":[{"path_segments":["technology=iac","category=terraform"],"key":"kind","values":{"hcl":null,"plan":null,"state":null},"title":"Kind"}],"Platforms":[{"name":"terraform-state","title":"Terraform State","family":["terraform"],"kind":["code"],"runtime":["terraform"]},{"name":"terraform-plan","title":"Terraform Plan","family":["terraform"],"kind":["code"],"runtime":["terraform"]},{"name":"terraform-hcl","title":"Terraform HCL","family":["terraform"],"kind":["code"],"runtime":["terraform"]},{"name":"opentofu-state","title":"OpenTofu State","family":["opentofu","terraform"],"kind":["code"],"runtime":["opentofu"]},{"name":"opentofu-plan","title":"OpenTofu Plan","family":["opentofu","terraform"],"kind":["code"],"runtime":["opentofu"]},{"name":"opentofu-hcl","title":"OpenTofu HCL","family":["opentofu","terraform"],"kind":["code"],"runtime":["opentofu"]}],"Requires":[{"ID":"go.mondoo.com/mql/providers/core","Name":"core","MinVersion":"13.0.0"}],"Root":"terraform"}