> For the complete documentation index, see [llms.txt](https://www.techwithtyler.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.techwithtyler.dev/devsecops/iac-scanning.md).

# IAC Scanning

A collection of tools for performing security scans on infrastructure-as-code.

Infrastructure as code (IaC) streamlines deployment processes by enabling developers to script and manage infrastructure configurations. Tools like [tfsec](/devsecops/iac-scanning/tfsec.md) get used to scan code in real-time, enabling developers to preemptively identify security and compliance issues before being deployed.

Many of these tools integrate with IDEs (e.g., VS Code) but can also be set as a job in CI pipelines (e.g., .gitlab-ci.yml for GitLab). This ensures continuous checks throughout the development lifecycle, minimizing the risk of vulnerabilities and reinforcing the reliability and security of the deployed infrastructure.

Let's take a look at a typical deployment process and where these tools can fit into that.&#x20;

<figure><img src="https://2721275171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8yu8YbDfwd1VqEdUxGyA%2Fuploads%2FNOtv8QqBMYAWCnbvMp4T%2Fimage.png?alt=media&amp;token=58480416-8053-48e5-836b-e462e7cf7bbf" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/BhAP2TznE5yjQJWzpoDY" %}
[tfsec](/devsecops/iac-scanning/tfsec.md)
{% endcontent-ref %}
