Skip to content

Commit

Permalink
docs: terraform tutorial links updated to point to correct loc (#5661)
Browse files Browse the repository at this point in the history
  • Loading branch information
kderck authored Nov 27, 2023
1 parent 8ff574e commit ed9d340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/misconfiguration/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ We have been consolidating all of our scanning-related efforts in one place, and

## Trivy Config Command

Terraform configuration scanning is available as part of the `trivy config` command. This command scans all configuration files for misconfiguration issues. You can find the details within [misconfiguration scans in the Trivy documentation.](https://aquasecurity.github.io/trivy/latest/docs/misconfiguration/scanning/)
Terraform configuration scanning is available as part of the `trivy config` command. This command scans all configuration files for misconfiguration issues. You can find the details within [misconfiguration scans in the Trivy documentation.](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/)

Command structure:
```
Expand Down Expand Up @@ -83,14 +83,14 @@ trivy config --severity CRITICAL, MEDIUM terraform-infra

### Passing tf.tfvars files into `trivy config` scans

You can pass terraform values to Trivy to override default values found in the Terraform HCL code. More information are provided [in the documentation.](https://aquasecurity.github.io/trivy/latest/docs/misconfiguration/options/values/)
You can pass terraform values to Trivy to override default values found in the Terraform HCL code. More information are provided [in the documentation.](https://aquasecurity.github.io/trivy/latest/docs/coverage/iac/terraform/#value-overrides)

```
trivy conf --tf-vars terraform.tfvars ./
```
### Custom Checks

We have lots of examples in the [documentation](https://aquasecurity.github.io/trivy/latest/docs/misconfiguration/custom/) on how you can write and pass custom Rego policies into terraform misconfiguration scans.
We have lots of examples in the [documentation](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/custom/) on how you can write and pass custom Rego policies into terraform misconfiguration scans.

## Secret and vulnerability scans

Expand Down

0 comments on commit ed9d340

Please sign in to comment.