Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Document terraform_tfsec args usage #238

Merged
merged 2 commits into from
Oct 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
antonbabenko marked this conversation as resolved.
Show resolved Hide resolved

### 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
Expand Down