From bed68e1bdb80ad83a9c936aeeb417d723f845f2d Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sun, 19 Feb 2023 17:18:07 +0100 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#2372) * [automation] Auto-update linters version, help and documentation * [MegaLinter] Apply linters fixes --------- Co-authored-by: nvuillam --- .automation/generated/flavors-stats.json | 64 +++++++++++----------- .automation/generated/linter-helps.json | 4 +- .automation/generated/linter-versions.json | 4 +- CHANGELOG.md | 2 + docs/all_linters.md | 4 +- docs/descriptors/php_psalm.md | 2 +- docs/descriptors/repository_checkov.md | 6 +- docs/descriptors/terraform_checkov.md | 6 +- docs/used-by-stats.md | 22 ++++---- 9 files changed, 61 insertions(+), 53 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 0431f9b6864..fee8d3725a4 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -1305,8 +1305,8 @@ 2781112 ], [ - "2023-02-19T01:09:09", - 2781868 + "2023-02-19T12:01:21", + 2782134 ] ], "ci_light": [ @@ -2615,8 +2615,8 @@ 48477 ], [ - "2023-02-19T01:09:09", - 48521 + "2023-02-19T12:01:21", + 48535 ] ], "cupcake": [ @@ -2905,8 +2905,8 @@ 2907 ], [ - "2023-02-19T01:09:09", - 2929 + "2023-02-19T12:01:21", + 2931 ] ], "dart": [ @@ -5125,8 +5125,8 @@ 115446 ], [ - "2023-02-19T01:09:09", - 115746 + "2023-02-19T12:01:21", + 115836 ] ], "dotnet": [ @@ -6435,8 +6435,8 @@ 349566 ], [ - "2023-02-19T01:09:09", - 349662 + "2023-02-19T12:01:21", + 349696 ] ], "go": [ @@ -7745,8 +7745,8 @@ 16842 ], [ - "2023-02-19T01:09:09", - 16850 + "2023-02-19T12:01:21", + 16852 ] ], "java": [ @@ -9055,8 +9055,8 @@ 108963 ], [ - "2023-02-19T01:09:09", - 109023 + "2023-02-19T12:01:21", + 109059 ] ], "javascript": [ @@ -10365,8 +10365,8 @@ 202023 ], [ - "2023-02-19T01:09:09", - 202339 + "2023-02-19T12:01:21", + 202560 ] ], "php": [ @@ -11675,8 +11675,8 @@ 45376 ], [ - "2023-02-19T01:09:09", - 45491 + "2023-02-19T12:01:21", + 45569 ] ], "python": [ @@ -12985,8 +12985,8 @@ 159652 ], [ - "2023-02-19T01:09:09", - 159911 + "2023-02-19T12:01:21", + 159991 ] ], "ruby": [ @@ -14291,8 +14291,8 @@ 2970 ], [ - "2023-02-19T01:09:09", - 2972 + "2023-02-19T12:01:21", + 2974 ] ], "rust": [ @@ -15597,8 +15597,8 @@ 4578 ], [ - "2023-02-19T01:09:09", - 4580 + "2023-02-19T12:01:21", + 4582 ] ], "salesforce": [ @@ -16907,8 +16907,8 @@ 16672 ], [ - "2023-02-19T01:09:09", - 16681 + "2023-02-19T12:01:21", + 16686 ] ], "scala": [ @@ -18215,8 +18215,8 @@ 3000 ], [ - "2023-02-19T01:09:09", - 3005 + "2023-02-19T12:01:21", + 3014 ] ], "swift": [ @@ -19521,8 +19521,8 @@ 3166 ], [ - "2023-02-19T01:09:09", - 3168 + "2023-02-19T12:01:21", + 3170 ] ], "terraform": [ @@ -20831,8 +20831,8 @@ 178218 ], [ - "2023-02-19T01:09:09", - 178531 + "2023-02-19T12:01:21", + 178636 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 1f3f9027752..f9bb2942df5 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -685,7 +685,7 @@ " [--block-list-secret-scan BLOCK_LIST_SECRET_SCAN]", " [--summary-position {bottom,top}]", " [--skip-resources-without-violations] [--deep-analysis]", - " [--no-fail-on-crash] [--mask MASK]", + " [--no-fail-on-crash] [--mask MASK] [--scan-secrets-history]", "", "Infrastructure as code static analysis", "", @@ -957,6 +957,8 @@ " several variables, seperated with a comma. For", " example::, OR", " ,", + " --scan-secrets-history", + " will scan the history of commits for secrets", "", "Args that start with '--' (eg. -v) can also be set in a config file", "(/.checkov.yaml or /.checkov.yml or /root/.checkov.yaml or /root/.checkov.yml", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 16148003f2f..61a6e5e5f9d 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -8,7 +8,7 @@ "black": "23.1.0", "cfn-lint": "0.73.2", "checkmake": "0.2.1", - "checkov": "2.3.23", + "checkov": "2.3.24", "checkstyle": "10.7.0", "chktex": "1.7.6", "clippy": "0.1.67", @@ -63,7 +63,7 @@ "prettier": "2.8.4", "proselint": "0.13.0", "protolint": "0.42.2", - "psalm": "Psalm.5.6.0@", + "psalm": "Psalm.5.7.0@", "puppet-lint": "3.0.1", "pylint": "2.16.2", "pyright": "1.1.294", diff --git a/CHANGELOG.md b/CHANGELOG.md index ba89d0f53bc..36f1b2dc4af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -108,6 +108,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - [terraform-fmt](https://www.terraform.io/docs/cli/commands/fmt.html) from 1.3.8 to **1.3.9** on 2023-02-17 - [checkov](https://www.checkov.io/) from 2.3.22 to **2.3.23** on 2023-02-19 - [snakemake](https://snakemake.readthedocs.io/en/stable/) from 7.22.0 to **7.23.0** on 2023-02-19 + - [psalm](https://psalm.dev) from Psalm.5.6.0@ to **Psalm.5.7.0@** on 2023-02-19 + - [checkov](https://www.checkov.io/) from 2.3.23 to **2.3.24** on 2023-02-19 ## [v6.19.0] - 2023-02-05 diff --git a/docs/all_linters.md b/docs/all_linters.md index b4728643b47..1a1e4750efc 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -14,7 +14,7 @@ | [**black**](https://github.com/psf/black){target=_blank} | 23.1.0 | [MIT](licenses/black.md) | [![GitHub stars](https://img.shields.io/github/stars/psf/black?cacheSeconds=3600)](https://github.com/psf/black){target=_blank} | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | | [**cfn-lint**](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | 0.73.2 | [MIT-0](licenses/cfn-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/aws-cloudformation/cfn-lint?cacheSeconds=3600)](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Repository](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | | [**checkmake**](https://github.com/mrtazz/checkmake){target=_blank} | 0.2.1 | [MIT](licenses/checkmake.md) | [![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake){target=_blank} | [MAKEFILE](descriptors/makefile_checkmake.md) | :white_circle: | [Repository](https://github.com/mrtazz/checkmake){target=_blank} | -| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.3.23 | [Apache-2.0](licenses/checkov.md) | [![GitHub stars](https://img.shields.io/github/stars/bridgecrewio/checkov?cacheSeconds=3600)](https://github.com/bridgecrewio/checkov){target=_blank} | [REPOSITORY](descriptors/repository_checkov.md)
[TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | +| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.3.24 | [Apache-2.0](licenses/checkov.md) | [![GitHub stars](https://img.shields.io/github/stars/bridgecrewio/checkov?cacheSeconds=3600)](https://github.com/bridgecrewio/checkov){target=_blank} | [REPOSITORY](descriptors/repository_checkov.md)
[TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | | [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.7.0 | [LGPL-2.1](licenses/checkstyle.md) | [![GitHub stars](https://img.shields.io/github/stars/checkstyle/checkstyle?cacheSeconds=3600)](https://github.com/checkstyle/checkstyle){target=_blank} | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} | | [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.6 | | | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} | | [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.67 | [Other](licenses/clippy.md) | [![GitHub stars](https://img.shields.io/github/stars/rust-lang/rust-clippy?cacheSeconds=3600)](https://github.com/rust-lang/rust-clippy){target=_blank} | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Repository](https://github.com/rust-lang/rust-clippy){target=_blank} | @@ -67,7 +67,7 @@ | [**prettier**](https://github.com/prettier/prettier){target=_blank} | 2.8.4 | [MIT](licenses/prettier.md) | [![GitHub stars](https://img.shields.io/github/stars/prettier/prettier?cacheSeconds=3600)](https://github.com/prettier/prettier){target=_blank} | [JAVASCRIPT](descriptors/javascript_prettier.md)
[JSON](descriptors/json_prettier.md)
[TYPESCRIPT](descriptors/typescript_prettier.md)
[YAML](descriptors/yaml_prettier.md) | :white_circle: | [Repository](https://github.com/prettier/prettier){target=_blank} | | [**proselint**](https://github.com/amperser/proselint){target=_blank} | 0.13.0 | [BSD-3-Clause](licenses/proselint.md) | [![GitHub stars](https://img.shields.io/github/stars/amperser/proselint?cacheSeconds=3600)](https://github.com/amperser/proselint){target=_blank} | [SPELL](descriptors/spell_proselint.md) | :white_circle: | [Repository](https://github.com/amperser/proselint){target=_blank} | | [**protolint**](https://github.com/yoheimuta/protolint){target=_blank} | 0.42.2 | | [![GitHub stars](https://img.shields.io/github/stars/yoheimuta/protolint?cacheSeconds=3600)](https://github.com/yoheimuta/protolint){target=_blank} | [PROTOBUF](descriptors/protobuf_protolint.md) | :white_circle: | [Repository](https://github.com/yoheimuta/protolint){target=_blank} | -| [**psalm**](https://github.com/vimeo/psalm){target=_blank} | Psalm.5.6.0@ | [MIT](licenses/psalm.md) | [![GitHub stars](https://img.shields.io/github/stars/vimeo/psalm?cacheSeconds=3600)](https://github.com/vimeo/psalm){target=_blank} | [PHP](descriptors/php_psalm.md) | :white_circle: | [Repository](https://github.com/vimeo/psalm){target=_blank} | +| [**psalm**](https://github.com/vimeo/psalm){target=_blank} | Psalm.5.7.0@ | [MIT](licenses/psalm.md) | [![GitHub stars](https://img.shields.io/github/stars/vimeo/psalm?cacheSeconds=3600)](https://github.com/vimeo/psalm){target=_blank} | [PHP](descriptors/php_psalm.md) | :white_circle: | [Repository](https://github.com/vimeo/psalm){target=_blank} | | [**puppet-lint**](https://github.com/rodjek/puppet-lint){target=_blank} | 3.0.1 | [MIT](licenses/puppet-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/rodjek/puppet-lint?cacheSeconds=3600)](https://github.com/rodjek/puppet-lint){target=_blank} | [PUPPET](descriptors/puppet_puppet_lint.md) | :white_circle: | [Repository](https://github.com/rodjek/puppet-lint){target=_blank} | | [**pylint**](https://github.com/PyCQA/pylint){target=_blank} | 2.16.2 | [GPL-2.0](licenses/pylint.md) | [![GitHub stars](https://img.shields.io/github/stars/PyCQA/pylint?cacheSeconds=3600)](https://github.com/PyCQA/pylint){target=_blank} | [PYTHON](descriptors/python_pylint.md) | :white_circle: | [Repository](https://github.com/PyCQA/pylint){target=_blank} | | [**pyright**](https://github.com/microsoft/pyright){target=_blank} | 1.1.294 | | [![GitHub stars](https://img.shields.io/github/stars/microsoft/pyright?cacheSeconds=3600)](https://github.com/microsoft/pyright){target=_blank} | [PYTHON](descriptors/python_pyright.md) | :white_circle: | [Repository](https://github.com/microsoft/pyright){target=_blank} | diff --git a/docs/descriptors/php_psalm.md b/docs/descriptors/php_psalm.md index 9e47a6faea5..ce419a38fc0 100644 --- a/docs/descriptors/php_psalm.md +++ b/docs/descriptors/php_psalm.md @@ -15,7 +15,7 @@ description: How to use psalm (configure, ignore files, ignore errors, help & ve ## psalm documentation -- Version in MegaLinter: **Psalm.5.6.0@** +- Version in MegaLinter: **Psalm.5.7.0@** - Visit [Official Web Site](https://psalm.dev){target=_blank} - See [How to configure psalm rules](https://psalm.dev/docs/running_psalm/configuration/){target=_blank} - If custom `psalm.xml` config file is not found, [psalm.xml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/psalm.xml){target=_blank} will be used diff --git a/docs/descriptors/repository_checkov.md b/docs/descriptors/repository_checkov.md index c10e28849d3..c3cbb4a68c6 100644 --- a/docs/descriptors/repository_checkov.md +++ b/docs/descriptors/repository_checkov.md @@ -15,7 +15,7 @@ description: How to use checkov (configure, ignore files, ignore errors, help & ## checkov documentation -- Version in MegaLinter: **2.3.23** +- Version in MegaLinter: **2.3.24** - Visit [Official Web Site](https://www.checkov.io/){target=_blank} - See [How to configure checkov rules](https://github.com/bridgecrewio/checkov#configuration-using-a-config-file){target=_blank} - If custom `.checkov.yml` config file is not found, [.checkov.yml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.checkov.yml){target=_blank} will be used @@ -130,7 +130,7 @@ usage: checkov [-h] [-v] [--support] [-d DIRECTORY] [--add-check] [-f FILE] [--block-list-secret-scan BLOCK_LIST_SECRET_SCAN] [--summary-position {bottom,top}] [--skip-resources-without-violations] [--deep-analysis] - [--no-fail-on-crash] [--mask MASK] + [--no-fail-on-crash] [--mask MASK] [--scan-secrets-history] Infrastructure as code static analysis @@ -402,6 +402,8 @@ options: several variables, seperated with a comma. For example::, OR , + --scan-secrets-history + will scan the history of commits for secrets Args that start with '--' (eg. -v) can also be set in a config file (/.checkov.yaml or /.checkov.yml or /root/.checkov.yaml or /root/.checkov.yml diff --git a/docs/descriptors/terraform_checkov.md b/docs/descriptors/terraform_checkov.md index 2cdbee37666..982a497b8a2 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -23,7 +23,7 @@ description: How to use checkov (configure, ignore files, ignore errors, help & ## checkov documentation -- Version in MegaLinter: **2.3.23** +- Version in MegaLinter: **2.3.24** - Visit [Official Web Site](https://www.checkov.io/){target=_blank} - See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank} - See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank} @@ -120,7 +120,7 @@ usage: checkov [-h] [-v] [--support] [-d DIRECTORY] [--add-check] [-f FILE] [--block-list-secret-scan BLOCK_LIST_SECRET_SCAN] [--summary-position {bottom,top}] [--skip-resources-without-violations] [--deep-analysis] - [--no-fail-on-crash] [--mask MASK] + [--no-fail-on-crash] [--mask MASK] [--scan-secrets-history] Infrastructure as code static analysis @@ -392,6 +392,8 @@ options: several variables, seperated with a comma. For example::, OR , + --scan-secrets-history + will scan the history of commits for secrets Args that start with '--' (eg. -v) can also be set in a config file (/.checkov.yaml or /.checkov.yml or /root/.checkov.yaml or /root/.checkov.yml diff --git a/docs/used-by-stats.md b/docs/used-by-stats.md index 1856f895bc3..987dbfe970b 100644 --- a/docs/used-by-stats.md +++ b/docs/used-by-stats.md @@ -3,16 +3,16 @@ [![](https://img.shields.io/static/v1?label=Used%20by&message=2046&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=1383&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=663&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=51608&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=51627&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) | Repository | Stars | |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------:| -| [nektos/act](https://github.com/nektos/act) | 35096 | -| [stepancheg/rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2338 | -| [IlanCosman/tide](https://github.com/IlanCosman/tide) | 1807 | -| [dorssel/usbipd-win](https://github.com/dorssel/usbipd-win) | 1669 | +| [nektos/act](https://github.com/nektos/act) | 35098 | +| [stepancheg/rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2339 | +| [IlanCosman/tide](https://github.com/IlanCosman/tide) | 1809 | +| [dorssel/usbipd-win](https://github.com/dorssel/usbipd-win) | 1672 | | [microsoft/code-with-engineering-playbook](https://github.com/microsoft/code-with-engineering-playbook) | 1548 | -| [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) | 1084 | +| [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) | 1085 | | [ever-co/ever-gauzy](https://github.com/ever-co/ever-gauzy) | 1024 | | [flosse/sloc](https://github.com/flosse/sloc) | 924 | | [unixorn/git-extra-commands](https://github.com/unixorn/git-extra-commands) | 851 | @@ -26,9 +26,9 @@ | [ministryofjustice/modernisation-platform](https://github.com/ministryofjustice/modernisation-platform) | 310 | | [ahmadnassri/action-dependabot-auto-merge](https://github.com/ahmadnassri/action-dependabot-auto-merge) | 293 | | [OCSInventory-NG/OCSInventory-Server](https://github.com/OCSInventory-NG/OCSInventory-Server) | 292 | -| [xUnholy/k8s-gitops](https://github.com/xUnholy/k8s-gitops) | 279 | +| [xUnholy/k8s-gitops](https://github.com/xUnholy/k8s-gitops) | 281 | | [meichthys/foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 270 | -| [bjw-s/home-ops](https://github.com/bjw-s/home-ops) | 257 | +| [bjw-s/home-ops](https://github.com/bjw-s/home-ops) | 258 | | [leosuncin/nest-auth-example](https://github.com/leosuncin/nest-auth-example) | 234 | | [OCSInventory-NG/OCSInventory-ocsreports](https://github.com/OCSInventory-NG/OCSInventory-ocsreports) | 191 | | [pantheon-systems/documentation](https://github.com/pantheon-systems/documentation) | 180 | @@ -36,7 +36,7 @@ | [unixorn/tumult.plugin.zsh](https://github.com/unixorn/tumult.plugin.zsh) | 147 | | [unixorn/fzf-zsh-plugin](https://github.com/unixorn/fzf-zsh-plugin) | 137 | | [nvuillam/npm-groovy-lint](https://github.com/nvuillam/npm-groovy-lint) | 137 | -| [carpenike/k8s-gitops](https://github.com/carpenike/k8s-gitops) | 131 | +| [carpenike/k8s-gitops](https://github.com/carpenike/k8s-gitops) | 132 | | [apigee/devrel](https://github.com/apigee/devrel) | 129 | | [newrelic/newrelic-python-agent](https://github.com/newrelic/newrelic-python-agent) | 127 | | [T145/black-mirror](https://github.com/T145/black-mirror) | 121 | @@ -44,7 +44,7 @@ | [Luzkan/smells](https://github.com/Luzkan/smells) | 97 | | [practicalli/spacemacs](https://github.com/practicalli/spacemacs) | 93 | | [oasisprotocol/oasis-wallet-web](https://github.com/oasisprotocol/oasis-wallet-web) | 88 | -| [philips-software/amp-embedded-infra-lib](https://github.com/philips-software/amp-embedded-infra-lib) | 78 | +| [philips-software/amp-embedded-infra-lib](https://github.com/philips-software/amp-embedded-infra-lib) | 80 | | [Azure/ARO-RP](https://github.com/Azure/ARO-RP) | 74 | | [unixorn/lima-xbar-plugin](https://github.com/unixorn/lima-xbar-plugin) | 74 | | [rasa/scoops](https://github.com/rasa/scoops) | 72 | @@ -54,8 +54,8 @@ | [ahmadnassri/node-glob-promise](https://github.com/ahmadnassri/node-glob-promise) | 53 | | [llaville/umlwriter](https://github.com/llaville/umlwriter) | 50 | | [practicalli/clojure](https://github.com/practicalli/clojure) | 47 | +| [szinn/k8s-homelab](https://github.com/szinn/k8s-homelab) | 47 | | [stepancheg/rust-tls-api](https://github.com/stepancheg/rust-tls-api) | 46 | -| [szinn/k8s-homelab](https://github.com/szinn/k8s-homelab) | 46 | | [davidB/axum-tracing-opentelemetry](https://github.com/davidB/axum-tracing-opentelemetry) | 42 | | [nvuillam/sfdx-essentials](https://github.com/nvuillam/sfdx-essentials) | 42 | | [hardisgroupcom/sfdx-hardis](https://github.com/hardisgroupcom/sfdx-hardis) | 41 |