From f7e28e1bae20254cb265e71a1cd31b52b4bd1214 Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Fri, 1 Oct 2021 21:52:35 +0300 Subject: [PATCH] docs: Document terraform_tfsec args usage (#238) --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99bde8d..5ee2d99 100644 --- a/README.md +++ b/README.md @@ -293,9 +293,21 @@ Example: } ``` +3. `terraform_tfsec` supports custom arguments so you can pass supported `--no-color` or `--format` (output), `-e` (exclude checks) flags: + + ```yaml + - id: terraform_tfsec + args: + - > + --args=--format json + --no-color + -e aws-s3-enable-bucket-logging,aws-s3-specify-public-access-block + ``` + + ### terraform_validate -1. `terraform_validate` supports custom arguments so you can pass supported no-color or json flags: +1. `terraform_validate` supports custom arguments so you can pass supported `-no-color` or `-json` flags: ```yaml - id: terraform_validate