# How to Remediate findings

{% embed url="<https://youtu.be/br28m-trmG4>" %}

Remediation is the resolution of a finding (that may be a missing configuration or misconfiguration at the account level) that we get after evaluating certain rules against the account assets.

### 2 Ways to Remediate Findings

1. Manually through terraform script
2. Automatically from the CloudDefense platform

### 1. Manually through terraform script

#### Step 1: Got to the findings

<figure><img src="https://lh4.googleusercontent.com/ZORlYD7VICJKvuuOWZeAxXF-TKT2YY_IeDHYoI-7NKKngjmjdOWZ4AhVhoKNo9WAW9tOGRL6a64dgRnUDB0SJb1Yo6tlGYQo7EmjdbfPAbh3rCB-PLuiqLwadN-yy2Rk6tHH62tcgXVFxmFIbt_AdzpbQUG912QUBqEFyS1gkigRAkITusSwDNL6bVU3DA" alt=""><figcaption></figcaption></figure>

Once you go to the findings, on the right side, you will see *Remediate* button.

#### Step 2: Copy the Terraform Script

If you click remediate button, a new window will appear from the right with the ready-made Terraform script for you. You can just copy the script and then paste it.

### 2. Automatically from the CloudDefense platform&#x20;

If you want us to execute on your behalf, you can click on the checkbox.

Then you need to give these credentials. Once given, we will execute from our end.
