Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4638)
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 <17500430+nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Feb 2, 2025
1 parent da2de0a commit eb2e54c
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 35 deletions.
6 changes: 3 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.

8 changes: 4 additions & 4 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
"terraform-fmt": "1.10.3",
"terragrunt": "0.71.1",
"terrascan": "1.19.9",
"tflint": "0.55.0",
"trivy": "0.58.2",
"trivy-sbom": "0.58.2",
"trufflehog": "3.88.2",
"tflint": "0.55.1",
"trivy": "0.59.0",
"trivy-sbom": "0.59.0",
"trufflehog": "3.88.4",
"ts-standard": "12.0.2",
"tsqllint": "1.16.0.0",
"v8r": "4.2.1",
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [devskim](https://github.com/microsoft/DevSkim) from 1.0.51 to **1.0.52** on 2025-01-31
- [rubocop](https://rubocop.org/) from 1.71.0 to **1.71.1** on 2025-01-31
- [gitleaks](https://github.com/gitleaks/gitleaks) from 8.23.2 to **8.23.3** on 2025-02-01
- [trivy-sbom](https://aquasecurity.github.io/trivy/) from 0.58.2 to **0.59.0** on 2025-02-02
- [trivy](https://aquasecurity.github.io/trivy/) from 0.58.2 to **0.59.0** on 2025-02-02
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.88.2 to **3.88.4** on 2025-02-02
- [tflint](https://github.com/terraform-linters/tflint) from 0.55.0 to **0.55.1** on 2025-02-02
<!-- linter-versions-end -->

## [v8.4.1] - 2024-01-??
Expand Down
8 changes: 4 additions & 4 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
| [**terraform-fmt**](https://github.com/hashicorp/terraform){target=_blank} | 1.10.3 | [MPL-2.0](licenses/terraform-fmt.md) | [![GitHub stars](https://img.shields.io/github/stars/hashicorp/terraform?cacheSeconds=3600)](https://github.com/hashicorp/terraform){target=_blank} | [TERRAFORM](descriptors/terraform_terraform_fmt.md) | :white_circle: | [Repository](https://github.com/hashicorp/terraform){target=_blank} |
| [**terragrunt**](https://github.com/gruntwork-io/terragrunt){target=_blank} | 0.71.1 | [MIT](licenses/terragrunt.md) | [![GitHub stars](https://img.shields.io/github/stars/gruntwork-io/terragrunt?cacheSeconds=3600)](https://github.com/gruntwork-io/terragrunt){target=_blank} | [TERRAFORM](descriptors/terraform_terragrunt.md) | :white_circle: | [Repository](https://github.com/gruntwork-io/terragrunt){target=_blank} |
| [**terrascan**](https://github.com/tenable/terrascan){target=_blank} | 1.19.9 | [Apache-2.0](licenses/terrascan.md) | [![GitHub stars](https://img.shields.io/github/stars/tenable/terrascan?cacheSeconds=3600)](https://github.com/tenable/terrascan){target=_blank} | [TERRAFORM](descriptors/terraform_terrascan.md) | :white_circle: | [Repository](https://github.com/tenable/terrascan){target=_blank} |
| [**tflint**](https://github.com/terraform-linters/tflint){target=_blank} | 0.55.0 | [MPL-2.0](licenses/tflint.md) | [![GitHub stars](https://img.shields.io/github/stars/terraform-linters/tflint?cacheSeconds=3600)](https://github.com/terraform-linters/tflint){target=_blank} | [TERRAFORM](descriptors/terraform_tflint.md) | :white_circle: | [Repository](https://github.com/terraform-linters/tflint){target=_blank} |
| [**trivy**](https://github.com/aquasecurity/trivy){target=_blank} | 0.58.2 | [Apache-2.0](licenses/trivy.md) | [![GitHub stars](https://img.shields.io/github/stars/aquasecurity/trivy?cacheSeconds=3600)](https://github.com/aquasecurity/trivy){target=_blank} | [REPOSITORY](descriptors/repository_trivy.md) | :white_circle: | [Repository](https://github.com/aquasecurity/trivy){target=_blank} |
| [**trivy-sbom**](https://github.com/aquasecurity/trivy){target=_blank} | 0.58.2 | [Apache-2.0](licenses/trivy-sbom.md) | [![GitHub stars](https://img.shields.io/github/stars/aquasecurity/trivy?cacheSeconds=3600)](https://github.com/aquasecurity/trivy){target=_blank} | [REPOSITORY](descriptors/repository_trivy_sbom.md) | :white_circle: | [Repository](https://github.com/aquasecurity/trivy){target=_blank} |
| [**trufflehog**](https://github.com/trufflesecurity/trufflehog){target=_blank} | 3.88.2 | [AGPL-3.0](licenses/trufflehog.md) | [![GitHub stars](https://img.shields.io/github/stars/trufflesecurity/trufflehog?cacheSeconds=3600)](https://github.com/trufflesecurity/trufflehog){target=_blank} | [REPOSITORY](descriptors/repository_trufflehog.md) | :white_circle: | [Repository](https://github.com/trufflesecurity/trufflehog){target=_blank} |
| [**tflint**](https://github.com/terraform-linters/tflint){target=_blank} | 0.55.1 | [MPL-2.0](licenses/tflint.md) | [![GitHub stars](https://img.shields.io/github/stars/terraform-linters/tflint?cacheSeconds=3600)](https://github.com/terraform-linters/tflint){target=_blank} | [TERRAFORM](descriptors/terraform_tflint.md) | :white_circle: | [Repository](https://github.com/terraform-linters/tflint){target=_blank} |
| [**trivy**](https://github.com/aquasecurity/trivy){target=_blank} | 0.59.0 | [Apache-2.0](licenses/trivy.md) | [![GitHub stars](https://img.shields.io/github/stars/aquasecurity/trivy?cacheSeconds=3600)](https://github.com/aquasecurity/trivy){target=_blank} | [REPOSITORY](descriptors/repository_trivy.md) | :white_circle: | [Repository](https://github.com/aquasecurity/trivy){target=_blank} |
| [**trivy-sbom**](https://github.com/aquasecurity/trivy){target=_blank} | 0.59.0 | [Apache-2.0](licenses/trivy-sbom.md) | [![GitHub stars](https://img.shields.io/github/stars/aquasecurity/trivy?cacheSeconds=3600)](https://github.com/aquasecurity/trivy){target=_blank} | [REPOSITORY](descriptors/repository_trivy_sbom.md) | :white_circle: | [Repository](https://github.com/aquasecurity/trivy){target=_blank} |
| [**trufflehog**](https://github.com/trufflesecurity/trufflehog){target=_blank} | 3.88.4 | [AGPL-3.0](licenses/trufflehog.md) | [![GitHub stars](https://img.shields.io/github/stars/trufflesecurity/trufflehog?cacheSeconds=3600)](https://github.com/trufflesecurity/trufflehog){target=_blank} | [REPOSITORY](descriptors/repository_trufflehog.md) | :white_circle: | [Repository](https://github.com/trufflesecurity/trufflehog){target=_blank} |
| [**ts-standard**](https://github.com/standard/ts-standard){target=_blank} | 12.0.2 | [MIT](licenses/ts-standard.md) | [![GitHub stars](https://img.shields.io/github/stars/standard/ts-standard?cacheSeconds=3600)](https://github.com/standard/ts-standard){target=_blank} | [TYPESCRIPT](descriptors/typescript_ts_standard.md) | :white_circle: | [Repository](https://github.com/standard/ts-standard){target=_blank} |
| [**tsqllint**](https://github.com/tsqllint/tsqllint){target=_blank} | 1.16.0.0 | [MIT](licenses/tsqllint.md) | [![GitHub stars](https://img.shields.io/github/stars/tsqllint/tsqllint?cacheSeconds=3600)](https://github.com/tsqllint/tsqllint){target=_blank} | [SQL](descriptors/sql_tsqllint.md) | :white_circle: | [Repository](https://github.com/tsqllint/tsqllint){target=_blank} |
| [**v8r**](https://github.com/chris48s/v8r){target=_blank} | 4.2.1 | [MIT](licenses/v8r.md) | [![GitHub stars](https://img.shields.io/github/stars/chris48s/v8r?cacheSeconds=3600)](https://github.com/chris48s/v8r){target=_blank} | [JSON](descriptors/json_v8r.md)<br/> [YAML](descriptors/yaml_v8r.md) | :no_entry_sign: | [Repository](https://github.com/chris48s/v8r){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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
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.

4 changes: 2 additions & 2 deletions docs/descriptors/repository_trivy.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You can ignore a list of errors by defining a [.trivyignore file](https://aquase

## trivy documentation

- Version in MegaLinter: **0.58.2**
- Version in MegaLinter: **0.59.0**
- Visit [Official Web Site](https://aquasecurity.github.io/trivy/){target=_blank}
- See [How to configure trivy rules](https://aquasecurity.github.io/trivy/latest/docs/configuration/){target=_blank}
- See [How to ignore files and directories with trivy](https://aquasecurity.github.io/trivy/latest/docs/configuration/filtering/#by-inline-comments){target=_blank}
Expand Down Expand Up @@ -164,7 +164,7 @@ Use "trivy [command] --help" for more information about a command.
- Dockerfile commands :
```dockerfile
# renovate: datasource=github-tags depName=aquasecurity/trivy
ARG REPOSITORY_TRIVY_VERSION=0.58.2
ARG REPOSITORY_TRIVY_VERSION=0.59.0
RUN wget --tries=5 -q -O - https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin "v${REPOSITORY_TRIVY_VERSION}" \
&& (trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress)

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/repository_trivy_sbom.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Generates SBOM (Software Bill Of Material) using Trivy

## trivy-sbom documentation

- Version in MegaLinter: **0.58.2**
- Version in MegaLinter: **0.59.0**
- Visit [Official Web Site](https://aquasecurity.github.io/trivy/){target=_blank}
- See [How to configure trivy-sbom rules](https://aquasecurity.github.io/trivy/latest/docs/configuration/){target=_blank}
- See [How to ignore files and directories with trivy-sbom](https://aquasecurity.github.io/trivy/latest/docs/configuration/filtering/#by-inline-comments){target=_blank}
Expand Down Expand Up @@ -168,7 +168,7 @@ Use "trivy [command] --help" for more information about a command.
- Dockerfile commands :
```dockerfile
# renovate: datasource=github-tags depName=aquasecurity/trivy
ARG REPOSITORY_TRIVY_SBOM_VERSION=0.58.2
ARG REPOSITORY_TRIVY_SBOM_VERSION=0.59.0
RUN wget --tries=5 -q -O - https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin "v${REPOSITORY_TRIVY_SBOM_VERSION}" \
&& (trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress || trivy image --download-db-only --no-progress)

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/repository_trufflehog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use trufflehog (configure, ignore files, ignore errors, help

## trufflehog documentation

- Version in MegaLinter: **3.88.2**
- Version in MegaLinter: **3.88.4**
- Visit [Official Web Site](https://github.com/trufflesecurity/trufflehog#readme){target=_blank}
- See [How to configure trufflehog rules](https://github.com/trufflesecurity/trufflehog#regex-detector-alpha){target=_blank}

Expand Down Expand Up @@ -219,7 +219,7 @@ analyze [<key-type>]
- Dockerfile commands :
```dockerfile
# renovate: datasource=docker depName=trufflesecurity/trufflehog
ARG REPOSITORY_TRUFFLEHOG_VERSION=3.88.2
ARG REPOSITORY_TRUFFLEHOG_VERSION=3.88.4
FROM trufflesecurity/trufflehog:${REPOSITORY_TRUFFLEHOG_VERSION} AS trufflehog
COPY --link --from=trufflehog /usr/bin/trufflehog /usr/bin/
```
Expand Down
Loading

0 comments on commit eb2e54c

Please sign in to comment.