Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4796)
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 <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Feb 16, 2025
1 parent 448e9eb commit a50b9ca
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 32 deletions.
7 changes: 4 additions & 3 deletions .automation/generated/linter-helps.json

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

2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"kics": "2.1.3",
"ktlint": "1.5.0",
"kubeconform": "0.6.7",
"kubescape": "3.0.27",
"kubescape": "3.0.28",
"kubeval": "0.16.1",
"lightning-flow-scanner": "2.46.0",
"lintr": "0.0.0",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [golangci-lint](https://golangci-lint.run/) from 1.64.2 to **1.64.5** on 2025-02-14
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.24.0 to **1.25.1** on 2025-02-15
- [php-cs-fixer](https://cs.symfony.com/) from 3.68.5 to **3.68.6** on 2025-02-15
- [kubescape](https://github.com/kubescape/kubescape) from 3.0.27 to **3.0.28** on 2025-02-16
<!-- linter-versions-end -->

## [v8.4.2] - 2024-02-02
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 -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2840&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- gh-dependents-info-used-by-end -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2842&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- 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
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
| [**kics**](https://github.com/checkmarx/kics){target=_blank} | 2.1.3 | [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} | 1.5.0 | [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.7 | [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} | 3.0.27 | [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} | 3.0.28 | [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} |
| [**lightning-flow-scanner**](https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-sfdx){target=_blank} | 2.46.0 | [AGPL-3.0](licenses/lightning-flow-scanner.md) | [![GitHub stars](https://img.shields.io/github/stars/Lightning-Flow-Scanner/lightning-flow-scanner-sfdx?cacheSeconds=3600)](https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-sfdx){target=_blank} | [SALESFORCE](descriptors/salesforce_lightning_flow_scanner.md) | :white_circle: | [Repository](https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-sfdx){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://lintr.r-lib.org/articles/continuous-integration.html){target=_blank} |
| [**ls-lint**](https://github.com/loeffel-io/ls-lint){target=_blank} | 2.2.3 | [MIT](licenses/ls-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/loeffel-io/ls-lint?cacheSeconds=3600)](https://github.com/loeffel-io/ls-lint){target=_blank} | [REPOSITORY](descriptors/repository_ls_lint.md) | :white_circle: | [Repository](https://github.com/loeffel-io/ls-lint){target=_blank} |
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/javascript_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0
# renovate: datasource=npm depName=eslint-plugin-vue
ARG NPM_ESLINT_PLUGIN_VUE_VERSION=9.32.0
# renovate: datasource=npm depName=@babel/core
ARG NPM_BABEL_CORE_VERSION=7.26.8
ARG NPM_BABEL_CORE_VERSION=7.26.9
# renovate: datasource=npm depName=@babel/eslint-parser
ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.26.8
# renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif
Expand All @@ -217,6 +217,6 @@ ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-prettier/v/5.2.3)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-promise/v/6.6.0)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-vue/v/9.32.0)
- [@babel/[email protected].8](https://www.npmjs.com/package/@babel/core/v/7.26.8)
- [@babel/[email protected].9](https://www.npmjs.com/package/@babel/core/v/7.26.9)
- [@babel/[email protected]](https://www.npmjs.com/package/@babel/eslint-parser/v/7.26.8)
- [@microsoft/[email protected]](https://www.npmjs.com/package/@microsoft/eslint-formatter-sarif/v/3.1.0)
5 changes: 3 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: **3.0.27**
- Version in MegaLinter: **3.0.28**
- 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 @@ -147,14 +147,15 @@ Flags:
--server string Backend discovery server URL

Use "kubescape [command] --help" for more information about a command.
{"level":"info","ts":"2025-02-16T16:09:39Z","msg":"Received interrupt signal, exiting..."}
```
### Installation on mega-linter Docker image
- Dockerfile commands :
```dockerfile
# renovate: datasource=github-tags depName=kubescape/kubescape
ARG KUBERNETES_KUBESCAPE_VERSION=3.0.27
ARG KUBERNETES_KUBESCAPE_VERSION=3.0.28
RUN ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 && \
curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash -s -- -v "v${KUBERNETES_KUBESCAPE_VERSION}"
```
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/repository_checkov.md

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

Loading

0 comments on commit a50b9ca

Please sign in to comment.