Static code analysis tool for terraform [closed]
Asked Answered
T

4

9

Is there any static code analysis tool for terraform? I tried tflint. But it doesn't support output of module or attributes of resources. any other suggestion please

Tarango answered 30/1, 2018 at 10:42 Comment(2)
What are you wanting out of the static analysis?Verret
blog.christophetd.fr/…Faradism
D
5

Terrascan is another static analysis tool in addition to TFLint. Terrascan is more focused on security checks for AWS resources.

Duke answered 24/5, 2018 at 3:41 Comment(0)
S
4

Checkov is another terraform static analysis tool. Scanning multi-cloud resources for security miss configurations and supports terraform>=0.12

Sandlin answered 18/12, 2019 at 8:0 Comment(0)
B
2

There is also TFsec, which is pretty good.

I'm working on a product that allows you to try a bunch of these scanners pretty easily and help integrate with your CI/CD called Soluble to determine which scanner works best for your environment. Always appreciate feedback.

Boldt answered 15/2, 2021 at 18:35 Comment(0)
D
-2

you may also checkout enterprise grade solutions (google you will find them) similar to aquasec solution. I would create a comparison table, pros and cons and then consider the best.

Dishpan answered 30/8, 2020 at 10:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.