diff --git a/docs/guides/trivy.md b/docs/guides/trivy.md new file mode 100644 index 0000000000..f91a82ebb2 --- /dev/null +++ b/docs/guides/trivy.md @@ -0,0 +1,47 @@ +# Moving towards configuration scanning with Trivy +Overtime we've taken [trivy][trivy] to be the go-to scanning tool for a vareity of things. This also includes terraform scanning. + +This section describes some differences between Trivy and tfsec. + +| Feature | Trivy | tfsec | +|----------------------|--------------------------------------------------------|----------------------| +| Policy Distribution | Embedded and Updated via Registry | Embedded | +| Custom Policies | Rego | Rego, JSON, and YAML | +| Supported Formats | Dockerfile, JSON, YAML, Terraform, CloudFormation etc. | Terraform Only | + + +# Comparison with examples +## Simple scan +### With Trivy +```shell +$ trivy config