diff --git a/README.md b/README.md index 08513504..fdc7ff82 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ Options: Examples: # Scan an IaC file - trivy plugin run aqua iac --aqua-key --aqua-secret - + export TRIVY_RUN_AS_PLUGIN=aqua + trivy iac --aqua-key --aqua-secret ``` ## Usage @@ -23,6 +23,6 @@ Trivy's options need to be passed after `--`. ``` # Scan an IaC file -trivy plugin run aqua iac --aqua-key --aqua-secret + export TRIVY_RUN_AS_PLUGIN=aqua + trivy iac --aqua-key --aqua-secret ``` -