diff options
author | thyme-87 <thyme-87@users.noreply.github.com> | 2021-12-11 12:51:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 20:51:26 +0900 |
commit | 091592bfb09e7e994bd860fa3776e8cf4346bf5a (patch) | |
tree | f5ad6b947024d89140b7452ea58fe3d2e99b5243 /doc | |
parent | b9744076a1603b37bc861e1aa885bbc052e0ed63 (diff) | |
download | ale-091592bfb09e7e994bd860fa3776e8cf4346bf5a.zip |
add support for checkov for linting terraform files (#4006)
* add support for checkov for terraform
* add tests for checkov handler
* add basic linter config tests for checkov
* update supported tools and languages lists
* simplify ale_linters#terraform#checkov#Handle
* ensure "-o json --quiet" is always set for checkov
* add documentation for checkov including config options
* fix tests after changing handling of default options for checkov
* add checkov to list of tools in doc/ale.txt
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale-terraform.txt | 19 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index df9b5dd6..f12e0c87 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -560,6 +560,7 @@ Notes: * Tcl * `nagelfar`!! * Terraform + * `checkov` * `terraform` * `terraform-fmt-fixer` * `terraform-ls` diff --git a/doc/ale-terraform.txt b/doc/ale-terraform.txt index 175bdf5c..6acf63ac 100644 --- a/doc/ale-terraform.txt +++ b/doc/ale-terraform.txt @@ -3,6 +3,25 @@ ALE Terraform Integration *ale-terraform-options* =============================================================================== +checkov *ale-terraform-checkov* + +g:ale_terraform_checkov_executable *g:ale_terraform_checkov_executable* + *b:ale_terraform_checkov_executable* + + Type: |String| + Default: `'checkov'` + + This variable can be changed to use a different executable for checkov. + + +g:ale_terraform_checkov_options *g:ale_terraform_checkov_options* + *b:ale_terraform_checkov_options* + Type: |String| + Default: `''` + + This variable can be changed to set additional options for checkov. + +=============================================================================== terraform-fmt-fixer *ale-terraform-fmt-fixer* g:ale_terraform_fmt_executable *g:ale_terraform_fmt_executable* diff --git a/doc/ale.txt b/doc/ale.txt index 0ac01305..dda7a712 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -3112,6 +3112,7 @@ documented in additional help files. tcl.....................................|ale-tcl-options| nagelfar..............................|ale-tcl-nagelfar| terraform...............................|ale-terraform-options| + checkov...............................|ale-terraform-checkov| terraform-fmt-fixer...................|ale-terraform-fmt-fixer| terraform.............................|ale-terraform-terraform| terraform-ls..........................|ale-terraform-terraform-ls| |