Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#2721)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam committed Jun 5, 2023
1 parent c530d0d commit 152ac28
Show file tree
Hide file tree
Showing 12 changed files with 175 additions and 108 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,10 @@
[
"2023-06-04T01:13:43",
2985820
],
[
"2023-06-05T01:08:28",
2986683
]
],
"ci_light": [
Expand Down Expand Up @@ -3105,6 +3109,10 @@
[
"2023-06-04T01:13:43",
67991
],
[
"2023-06-05T01:08:28",
68043
]
],
"cupcake": [
Expand Down Expand Up @@ -3639,6 +3647,10 @@
[
"2023-06-04T01:13:43",
13322
],
[
"2023-06-05T01:08:28",
13334
]
],
"dart": [
Expand Down Expand Up @@ -6103,6 +6115,10 @@
[
"2023-06-04T01:13:43",
154230
],
[
"2023-06-05T01:08:28",
154337
]
],
"dotnet": [
Expand Down Expand Up @@ -7657,6 +7673,10 @@
[
"2023-06-04T01:13:43",
391379
],
[
"2023-06-05T01:08:28",
391465
]
],
"go": [
Expand Down Expand Up @@ -9211,6 +9231,10 @@
[
"2023-06-04T01:13:43",
21717
],
[
"2023-06-05T01:08:28",
21731
]
],
"java": [
Expand Down Expand Up @@ -10765,6 +10789,10 @@
[
"2023-06-04T01:13:43",
121249
],
[
"2023-06-05T01:08:28",
121309
]
],
"javascript": [
Expand Down Expand Up @@ -12319,6 +12347,10 @@
[
"2023-06-04T01:13:43",
272391
],
[
"2023-06-05T01:08:28",
272653
]
],
"php": [
Expand Down Expand Up @@ -13873,6 +13905,10 @@
[
"2023-06-04T01:13:43",
50274
],
[
"2023-06-05T01:08:28",
50290
]
],
"python": [
Expand Down Expand Up @@ -15427,6 +15463,10 @@
[
"2023-06-04T01:13:43",
214027
],
[
"2023-06-05T01:08:28",
214127
]
],
"ruby": [
Expand Down Expand Up @@ -16977,6 +17017,10 @@
[
"2023-06-04T01:13:43",
3674
],
[
"2023-06-05T01:08:28",
3676
]
],
"rust": [
Expand Down Expand Up @@ -18527,6 +18571,10 @@
[
"2023-06-04T01:13:43",
5792
],
[
"2023-06-05T01:08:28",
5795
]
],
"salesforce": [
Expand Down Expand Up @@ -20081,6 +20129,10 @@
[
"2023-06-04T01:13:43",
20352
],
[
"2023-06-05T01:08:28",
20361
]
],
"scala": [
Expand Down Expand Up @@ -21633,6 +21685,10 @@
[
"2023-06-04T01:13:43",
12589
],
[
"2023-06-05T01:08:28",
12635
]
],
"swift": [
Expand Down Expand Up @@ -23183,6 +23239,10 @@
[
"2023-06-04T01:13:43",
3853
],
[
"2023-06-05T01:08:28",
3855
]
],
"terraform": [
Expand Down Expand Up @@ -24737,6 +24797,10 @@
[
"2023-06-04T01:13:43",
250124
],
[
"2023-06-05T01:08:28",
250347
]
]
}
82 changes: 41 additions & 41 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"black": "23.3.0",
"cfn-lint": "0.77.6",
"checkmake": "0.2.0",
"checkov": "2.3.273",
"checkov": "2.3.276",
"checkstyle": "10.12.0",
"chktex": "1.7.6",
"clippy": "0.1.70",
Expand Down Expand Up @@ -44,7 +44,7 @@
"kics": "1.7.1",
"ktlint": "0.49.1",
"kubeconform": "0.6.1",
"kubescape": "2.3.4",
"kubescape": "2.3.5",
"kubeval": "0.16.1",
"lintr": "0.0.0",
"luacheck": "1.1.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [stylelint](https://stylelint.io) from 15.6.2 to **15.6.3** on 2023-06-03
- [golangci-lint](https://golangci-lint.run/) from 1.53.1 to **1.53.2** on 2023-06-04
- [scalafix](https://scalacenter.github.io/scalafix/) from 0.10.4 to **0.11.0** on 2023-06-04
- [kubescape](https://github.com/kubescape/kubescape) from 2.3.4 to **2.3.5** on 2023-06-05
- [checkov](https://www.checkov.io/) from 2.3.273 to **2.3.276** on 2023-06-05
<!-- linter-versions-end -->

## [v7.0.4] - 2023-05-31
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
[![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/oxsecurity/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain)
[![codecov](https://codecov.io/gh/oxsecurity/megalinter/branch/main/graph/badge.svg)](https://codecov.io/gh/oxsecurity/megalinter)
<!-- gh-dependents-info-used-by-start -->
[![](https://img.shields.io/static/v1?label=Used%20by&message=2397&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents)<!-- gh-dependents-info-used-by-end -->
[![](https://img.shields.io/static/v1?label=Used%20by&message=2399&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents)<!-- gh-dependents-info-used-by-end -->
[![Secured with Trivy](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy)
[![GitHub contributors](https://img.shields.io/github/contributors/oxsecurity/megalinter.svg)](https://github.com/oxsecurity/megalinter/graphs/contributors/)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam)
Expand Down
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
| [**black**](https://github.com/psf/black){target=_blank} | 23.3.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.77.6 | [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.0 | [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.273 | [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) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.3.276 | [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) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.12.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.70 | [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} |
Expand Down Expand Up @@ -48,7 +48,7 @@
| [**kics**](https://github.com/checkmarx/kics){target=_blank} | 1.7.1 | [Apache-2.0](licenses/kics.md) | [![GitHub stars](https://img.shields.io/github/stars/checkmarx/kics?cacheSeconds=3600)](https://github.com/checkmarx/kics){target=_blank} | [REPOSITORY](descriptors/repository_kics.md) | :heart: | [MegaLinter reference](https://docs.kics.io/latest/integrations/){target=_blank} |
| [**ktlint**](https://github.com/pinterest/ktlint){target=_blank} | 0.49.1 | [MIT](licenses/ktlint.md) | [![GitHub stars](https://img.shields.io/github/stars/pinterest/ktlint?cacheSeconds=3600)](https://github.com/pinterest/ktlint){target=_blank} | [KOTLIN](descriptors/kotlin_ktlint.md) | :heart: | [MegaLinter reference](https://github.com/pinterest/ktlint#-with-continuous-integration){target=_blank} |
| [**kubeconform**](https://github.com/yannh/kubeconform){target=_blank} | 0.6.1 | [Apache-2.0](licenses/kubeconform.md) | [![GitHub stars](https://img.shields.io/github/stars/yannh/kubeconform?cacheSeconds=3600)](https://github.com/yannh/kubeconform){target=_blank} | [KUBERNETES](descriptors/kubernetes_kubeconform.md) | :white_circle: | [Repository](https://github.com/yannh/kubeconform){target=_blank} |
| [**kubescape**](https://github.com/kubescape/kubescape){target=_blank} | 2.3.4 | [Apache-2.0](licenses/kubescape.md) | [![GitHub stars](https://img.shields.io/github/stars/kubescape/kubescape?cacheSeconds=3600)](https://github.com/kubescape/kubescape){target=_blank} | [KUBERNETES](descriptors/kubernetes_kubescape.md) | :white_circle: | [Repository](https://github.com/kubescape/kubescape){target=_blank} |
| [**kubescape**](https://github.com/kubescape/kubescape){target=_blank} | 2.3.5 | [Apache-2.0](licenses/kubescape.md) | [![GitHub stars](https://img.shields.io/github/stars/kubescape/kubescape?cacheSeconds=3600)](https://github.com/kubescape/kubescape){target=_blank} | [KUBERNETES](descriptors/kubernetes_kubescape.md) | :white_circle: | [Repository](https://github.com/kubescape/kubescape){target=_blank} |
| [**lintr**](https://github.com/r-lib/lintr){target=_blank} | N/A | [Other](licenses/lintr.md) | [![GitHub stars](https://img.shields.io/github/stars/r-lib/lintr?cacheSeconds=3600)](https://github.com/r-lib/lintr){target=_blank} | [R](descriptors/r_lintr.md) | :heart: | [MegaLinter reference](https://cran.r-project.org/web/packages/lintr/vignettes/continuous-integration.html){target=_blank} |
| [**luacheck**](https://github.com/luarocks/luacheck){target=_blank} | 1.1.0 | [MIT](licenses/luacheck.md) | [![GitHub stars](https://img.shields.io/github/stars/luarocks/luacheck?cacheSeconds=3600)](https://github.com/luarocks/luacheck){target=_blank} | [LUA](descriptors/lua_luacheck.md) | :no_entry_sign: | [Repository](https://github.com/luarocks/luacheck){target=_blank} |
| [**markdown-link-check**](https://github.com/tcort/markdown-link-check){target=_blank} | 3.11.2 | [ISC](licenses/markdown-link-check.md) | [![GitHub stars](https://img.shields.io/github/stars/tcort/markdown-link-check?cacheSeconds=3600)](https://github.com/tcort/markdown-link-check){target=_blank} | [MARKDOWN](descriptors/markdown_markdown_link_check.md) | :heart: | [MegaLinter reference](https://github.com/tcort/markdown-link-check#run-in-other-tools){target=_blank} |
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description: How to use kubescape (configure, ignore files, ignore errors, help

## kubescape documentation

- Version in MegaLinter: **2.3.4**
- Version in MegaLinter: **2.3.5**
- Visit [Official Web Site](https://github.com/kubescape/kubescape#readme){target=_blank}

[![kubescape - GitHub](https://gh-card.dev/repos/kubescape/kubescape.svg?fullname=)](https://github.com/kubescape/kubescape){target=_blank}
Expand Down Expand Up @@ -122,7 +122,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download exceptions,control,framework,artifacts,attack-tracks,controls-inputs
download Download artifacts,attack-tracks,controls-inputs,exceptions,control,framework
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/repository_checkov.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_apex.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ COMMANDS
scanner run dfa scan codebase with all DFA rules
WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA
(node:1445) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.
(node:1441) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.
(Use `node --trace-warnings ...` to show where the warning was created)
NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT
────────────────────────────────────────────────────── ─────────── ───────────────────── ──────────────────────────────────────────────── ───────────────── ────── ────────
Expand Down
Loading

0 comments on commit 152ac28

Please sign in to comment.