cli
tfsec
Our great sponsors
cli | tfsec | |
---|---|---|
7 | 7 | |
1,321 | 2,991 | |
0.6% | - | |
5.3 | 9.4 | |
20 days ago | almost 3 years ago | |
Python | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cli
- terraform-compliance
-
Looking for a tool to enforce policies on terraform files names/content
You could also look at terraform compliance
- Alternative to Terraform Sentinel
-
tf-free: A project to create free resources on all cloud-providers
+1 for tfsec. Another cool tool is terraform-compliance, although I can't say I've used it recently so I'm not sure how it compares to tfsec.
-
Azure terraform-compliance examples?
If you mean this https://terraform-compliance.com/#supporting--requirements then yes, it doesn't support modules if you use Terraform 0.11.x (or lower).
-
Terraforming in 2021 – new features, testing and compliance
A direct open source comparable alternative would be using terraform-compliance. It follows BDD directives so that you can specify in an easy human readable way your expectations, using:
tfsec
-
Terraform in AWS
Using pre-commit framework with terraform repository, will help your code to be kept clean, formated, updated document and checked for tf security issues (optional with tfsec) before committing and pushing the code to git source.
-
Terraforming in 2021 – new features, testing and compliance
Here again more than one tool exists to assist. We will highlight two of the most popular ones here: tfsec and checkov. Both provide a predefined set of checks that they use to inspect your code, allowing to explicitly open exceptions (if you really want to) by annotating your code with comments, and adjust the configuration to ignore some modules, for example.
-
How FirstPort manage GitHub, using code stored in GitHub
An additional benefit of using a CI workflow is adding automated tests. In this scenario, I’ve added a step leveraging tfsec to scan for static code vulnerabilities. In the example below, tfsec warns against creating an Azure network security rule which is fully open. This will halt and fail the workflow unless I provide an ignore comment to accept the warning.
-
Terraform v15.0 with AWS (EKS deployment)
· Provision an EKS Cluster (AWS) · Terraform v15.0 · Terraform Registry · Pre-Commit · Terraform Pre-commit · Terraform-docs · Tflint · Tfsec
-
A way to restrict options for devs in AWS
Using terraform, create a skeleton directory that they can review for how EC2 instances should be created. Use tools like https://github.com/tfsec/tfsec or other scanners/linters to validate that your developers followed this process and didn't uncheck something.
-
Terraform VMware vSphere Provider - is it worth it?
I know tfsec (https://github.com/tfsec/tfsec) which is pretty good for AWS resources but I think vSphere resources are not implemented.
-
Gopher Gold #15 - Wed Oct 14 2020
tfsec/tfsec (Go): 🔒🌍 Static analysis powered security scanner for your terraform code
What are some alternatives?
tfsec - Security scanner for your Terraform code
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
tflint - A Pluggable Terraform Linter
terrascan - Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
atlantis - Terraform Pull Request Automation
conftest - Write tests against structured configuration data using the Open Policy Agent Rego query language
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
awspec - RSpec tests for your AWS resources.
terraform-aws-gitlab-runner - Terraform module for AWS GitLab runners on ec2 (spot) instances