Need help with parsing a file containing the output of Terraform plan command #6441
Replies: 3 comments 6 replies
-
Hi @Subhajit97, KICS supports the scan of Terraform Plan files and like other IaC files to scan it, you just need to provide the path to the file. Then based on the types identified KICS parses the sources with the correct parser, for the tfplan case is used the JSON parser. The JSON TfPlan parser created output to the payload similar to the terraform parser in order to be able to use the same queries. Let me know if this helps 😃 |
Beta Was this translation helpful? Give feedback.
-
Hey @cxMiguelSilva, can we use this parser, which supports multiple file formats to parse plan files? If no, then what purpose does it have if it doesn't handle different file types? Issue Reference. |
Beta Was this translation helpful? Give feedback.
-
hi @Subhajit97 , |
Beta Was this translation helpful? Give feedback.
-
Hi! I am trying to parse a file that contains the output of the terraform plan command. I was referring to https://docs.kics.io/latest/platforms/#terraform_plan.
Are there other documentation or sample code snippets explaining the above parsing methods?
Beta Was this translation helpful? Give feedback.
All reactions