# TFsec

TFsec is a security scanner for your Terraform code. It performs static analysis of your code and detects potential misconfigurations that could lead to security risks. It supports multiple cloud providers, such as AWS, Azure, and GCP, and has a number of built-in rules.

### Usage of TFsec in Delivery Shield <a href="#usage-of-custom-policy-source-in-delivery-shield" id="usage-of-custom-policy-source-in-delivery-shield"></a>

* SSD now supports TFsec to scan and manage infrastructure and deployments using Terraform scripts, enhancing security compliance in Infrastructure as Code (IaC).

### To Manage TFsec: <a href="#to-manage-custom-policy-source" id="to-manage-custom-policy-source"></a>

1. Navigate to **Setup** > **Integrations**.
2. In the **Others** panel, click **TFsec.**

<figure><img src="/files/S0brbykyvn7t52VFDwXH" alt=""><figcaption></figcaption></figure>

3. The TFsec integration page is displayed. Click **+New Account**.
4. In the popup that appears, enter the following details:

<figure><img src="/files/CwIPXKKXFGr6UJQv05zd" alt=""><figcaption></figcaption></figure>

5. Enter the **Account Name, Repo URL, Repo Token, Script Absolute Path**.&#x20;
6. Click **Save**. The tool is connected.
7. You can edit the entered values by clicking the **Edit** option in the **Actions** column.
8. Re-enter the values and click **Update**.

The new values gets updated.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opsmx.com/ssd/security-risk-and-prioritization/getting-started/integrating-other-tools-in-delivery-shield/tfsec.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
