TLDR InfoSec · STRATEGIES & TACTICS

SEMGREP FOR TERRAFORM SECURITY

ramimac.me5 min read

Summary from the TLDR InfoSec newsletter

This article provides some use cases and examples of using Semgrep to secure Terraform deployments. Some examples presented are to use Semgrep to evangelize secure-by-default, internal modules, enforce opinionated rules, and prevent unverified providers. The article also works through an example of writing a custom rule for a more niche scenario.