From 421fe1b3f91b3ebf74de8f965ba45ba46ca187d4 Mon Sep 17 00:00:00 2001 From: MaxymVlasov Date: Fri, 1 Oct 2021 20:52:00 +0300 Subject: [PATCH 1/2] docs: Document terraform_tfsec args usage --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99bde8d06..e90ae2271 100644 --- a/README.md +++ b/README.md @@ -293,9 +293,22 @@ 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 + ``` + + If you have many exclude rules and know how to split `-e ...` oneliner to multiply rows, please, send PR. + ### 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 From 580e01dee211d52f05f2e8648b0dce55efac6b23 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Fri, 1 Oct 2021 20:52:25 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index e90ae2271..5ee2d99e1 100644 --- a/README.md +++ b/README.md @@ -304,7 +304,6 @@ Example: -e aws-s3-enable-bucket-logging,aws-s3-specify-public-access-block ``` - If you have many exclude rules and know how to split `-e ...` oneliner to multiply rows, please, send PR. ### terraform_validate