From cbb739208d8fb567c7fc75cf629ecf7e085952b6 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sun, 22 Dec 2024 01:58:30 +0000 Subject: [PATCH 1/2] [automation] Auto-update linters version, help and documentation --- .automation/generated/linter-helps.json | 12 +++++++----- .automation/generated/linter-versions.json | 2 +- CHANGELOG.md | 1 + docs/all_linters.md | 2 +- docs/descriptors/kubernetes_kubescape.md | 2 +- docs/descriptors/repository_trufflehog.md | 6 ++++-- docs/descriptors/snakemake_snakemake.md | 8 ++++---- docs/descriptors/xml_xmllint.md | 2 +- docs/used-by-stats.md | 8 ++++---- 9 files changed, 24 insertions(+), 19 deletions(-) diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index b88137a6157..902dd9f3fef 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -3468,7 +3468,7 @@ " completion Generate autocompletion script", " config Handle cached configurations", " delete Delete configurations in Kubescape SaaS version", - " download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks", + " download Download control,framework,artifacts,attack-tracks,controls-inputs,exceptions", " fix Fix misconfiguration in files", " help Help about any command", " list List frameworks/controls will list the supported frameworks and controls", @@ -9086,7 +9086,7 @@ " [--d3dag] [--summary] [--detailed-summary] [--archive FILE]", " [--cleanup-metadata FILE [FILE ...]] [--cleanup-shadow]", " [--skip-script-cleanup] [--unlock]", - " [--list-changes {code,input,params}] [--list-input-changes]", + " [--list-changes {input,params,code}] [--list-input-changes]", " [--list-params-changes] [--list-untracked]", " [--delete-all-output | --delete-temp-output]", " [--keep-incomplete] [--drop-metadata] [--version]", @@ -9131,7 +9131,7 @@ " [--scheduler-solver-path SCHEDULER_SOLVER_PATH]", " [--deploy-sources QUERY CHECKSUM]", " [--target-jobs TARGET_JOBS [TARGET_JOBS ...]]", - " [--mode {subprocess,default,remote}]", + " [--mode {default,remote,subprocess}]", " [--report-html-path VALUE]", " [--report-html-stylesheet-path VALUE]", " [targets ...]", @@ -9599,7 +9599,7 @@ " (default: False)", " --unlock Remove a lock on the working directory. (default:", " False)", - " --list-changes {code,input,params}, --lc {code,input,params}", + " --list-changes {input,params,code}, --lc {input,params,code}", " List all output files for which the given items (code,", " input, params) have changed since creation.", " --list-input-changes, --li", @@ -9957,7 +9957,7 @@ " --target-jobs TARGET_JOBS [TARGET_JOBS ...]", " Internal use only: Target particular jobs by", " RULE:WILDCARD1=VALUE,WILDCARD2=VALUE,...", - " --mode {subprocess,default,remote}", + " --mode {default,remote,subprocess}", " Internal use only: Set execution mode of Snakemake.", " (default: default)", "", @@ -10878,6 +10878,8 @@ " exclude. Protobuf name or IDs may be used,", " as well as ranges. IDs defined here take", " precedence over the include list.", + " --[no-]no-verification-cache", + " Disable verification caching", " --[no-]force-skip-binaries", " Force skipping binaries.", " --[no-]force-skip-archives", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 4ba6e0647ec..f7e02b05e86 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -114,7 +114,7 @@ "tflint": "0.54.0", "trivy": "0.58.0", "trivy-sbom": "0.58.0", - "trufflehog": "3.87.1", + "trufflehog": "3.88.0", "ts-standard": "12.0.2", "tsqllint": "1.16.0.0", "v8r": "4.2.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b806a49d7d..3c6da1b906b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -121,6 +121,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - [lychee](https://lychee.cli.rs) from 0.17.0 to **0.18.0** on 2024-12-20 - [gitleaks](https://github.com/gitleaks/gitleaks) from 8.21.2 to **8.22.0** on 2024-12-21 - [checkov](https://www.checkov.io/) from 3.2.343 to **3.2.344** on 2024-12-21 + - [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.87.1 to **3.88.0** on 2024-12-22 ## [v8.3.0] - 2024-11-23 diff --git a/docs/all_linters.md b/docs/all_linters.md index f1c6fb74dc2..b0bf57f5f76 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -112,7 +112,7 @@ | [**tflint**](https://github.com/terraform-linters/tflint){target=_blank} | 0.54.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.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.58.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.87.1 | [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} | +| [**trufflehog**](https://github.com/trufflesecurity/trufflehog){target=_blank} | 3.88.0 | [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)
[YAML](descriptors/yaml_v8r.md) | :no_entry_sign: | [Repository](https://github.com/chris48s/v8r){target=_blank} | diff --git a/docs/descriptors/kubernetes_kubescape.md b/docs/descriptors/kubernetes_kubescape.md index 6f936a3ccee..65f3cb4bcd8 100644 --- a/docs/descriptors/kubernetes_kubescape.md +++ b/docs/descriptors/kubernetes_kubescape.md @@ -126,7 +126,7 @@ Available Commands: completion Generate autocompletion script config Handle cached configurations delete Delete configurations in Kubescape SaaS version - download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks + download Download control,framework,artifacts,attack-tracks,controls-inputs,exceptions fix Fix misconfiguration in files help Help about any command list List frameworks/controls will list the supported frameworks and controls diff --git a/docs/descriptors/repository_trufflehog.md b/docs/descriptors/repository_trufflehog.md index a49c928e809..433917e28de 100644 --- a/docs/descriptors/repository_trufflehog.md +++ b/docs/descriptors/repository_trufflehog.md @@ -15,7 +15,7 @@ description: How to use trufflehog (configure, ignore files, ignore errors, help ## trufflehog documentation -- Version in MegaLinter: **3.87.1** +- Version in MegaLinter: **3.88.0** - 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} @@ -146,6 +146,8 @@ Flags: exclude. Protobuf name or IDs may be used, as well as ranges. IDs defined here take precedence over the include list. + --[no-]no-verification-cache + Disable verification caching --[no-]force-skip-binaries Force skipping binaries. --[no-]force-skip-archives @@ -217,7 +219,7 @@ analyze [] - Dockerfile commands : ```dockerfile # renovate: datasource=docker depName=trufflesecurity/trufflehog -ARG REPOSITORY_TRUFFLEHOG_VERSION=3.87.1 +ARG REPOSITORY_TRUFFLEHOG_VERSION=3.88.0 FROM trufflesecurity/trufflehog:${REPOSITORY_TRUFFLEHOG_VERSION} AS trufflehog COPY --link --from=trufflehog /usr/bin/trufflehog /usr/bin/ ``` diff --git a/docs/descriptors/snakemake_snakemake.md b/docs/descriptors/snakemake_snakemake.md index c34c4d26de1..457dadabeb8 100644 --- a/docs/descriptors/snakemake_snakemake.md +++ b/docs/descriptors/snakemake_snakemake.md @@ -134,7 +134,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE] [--d3dag] [--summary] [--detailed-summary] [--archive FILE] [--cleanup-metadata FILE [FILE ...]] [--cleanup-shadow] [--skip-script-cleanup] [--unlock] - [--list-changes {code,input,params}] [--list-input-changes] + [--list-changes {input,params,code}] [--list-input-changes] [--list-params-changes] [--list-untracked] [--delete-all-output | --delete-temp-output] [--keep-incomplete] [--drop-metadata] [--version] @@ -179,7 +179,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE] [--scheduler-solver-path SCHEDULER_SOLVER_PATH] [--deploy-sources QUERY CHECKSUM] [--target-jobs TARGET_JOBS [TARGET_JOBS ...]] - [--mode {subprocess,default,remote}] + [--mode {default,remote,subprocess}] [--report-html-path VALUE] [--report-html-stylesheet-path VALUE] [targets ...] @@ -647,7 +647,7 @@ UTILITIES: (default: False) --unlock Remove a lock on the working directory. (default: False) - --list-changes {code,input,params}, --lc {code,input,params} + --list-changes {input,params,code}, --lc {input,params,code} List all output files for which the given items (code, input, params) have changed since creation. --list-input-changes, --li @@ -1005,7 +1005,7 @@ INTERNAL: --target-jobs TARGET_JOBS [TARGET_JOBS ...] Internal use only: Target particular jobs by RULE:WILDCARD1=VALUE,WILDCARD2=VALUE,... - --mode {subprocess,default,remote} + --mode {default,remote,subprocess} Internal use only: Set execution mode of Snakemake. (default: default) diff --git a/docs/descriptors/xml_xmllint.md b/docs/descriptors/xml_xmllint.md index 45f2e7ea8ac..6bbc3f7f5f8 100644 --- a/docs/descriptors/xml_xmllint.md +++ b/docs/descriptors/xml_xmllint.md @@ -25,7 +25,7 @@ To apply file formatting you must set `XML_XMLLINT_CLI_LINT_MODE: file` and `XML | Variable | Description | Default value | |-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------| | XML_XMLLINT_AUTOFORMAT | If set to `true`, it will reformat and reindent the output | `false` | -| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | `` | +| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | ` ` | | XML_XMLLINT_ARGUMENTS | User custom arguments to add in linter CLI call
Ex: `-s --foo "bar"` | | | XML_XMLLINT_COMMAND_REMOVE_ARGUMENTS | User custom arguments to remove from command line before calling the linter
Ex: `-s --foo "bar"` | | | XML_XMLLINT_FILTER_REGEX_INCLUDE | Custom regex including filter
Ex: `(src\|lib)` | Include every file | diff --git a/docs/used-by-stats.md b/docs/used-by-stats.md index b2e31fc032c..78cccf02a8a 100644 --- a/docs/used-by-stats.md +++ b/docs/used-by-stats.md @@ -3,14 +3,14 @@ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2813&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=2813&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=-2813&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=97993&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=97999&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) | Repository | Stars | |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------:| -|   [nektos](https://github.com/nektos) / [act](https://github.com/nektos/act) | 56297 | +|   [nektos](https://github.com/nektos) / [act](https://github.com/nektos/act) | 56298 | |   [PRQL](https://github.com/PRQL) / [prql](https://github.com/PRQL/prql) | 10016 | |   [dorssel](https://github.com/dorssel) / [usbipd-win](https://github.com/dorssel/usbipd-win) | 3887 | -|   [IlanCosman](https://github.com/IlanCosman) / [tide](https://github.com/IlanCosman/tide) | 3072 | +|   [IlanCosman](https://github.com/IlanCosman) / [tide](https://github.com/IlanCosman/tide) | 3073 | |   [privacyguides](https://github.com/privacyguides) / [privacyguides.org](https://github.com/privacyguides/privacyguides.org) | 2852 | |   [stepancheg](https://github.com/stepancheg) / [rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2823 | |   [PowerDNS-Admin](https://github.com/PowerDNS-Admin) / [PowerDNS-Admin](https://github.com/PowerDNS-Admin/PowerDNS-Admin) | 2499 | @@ -18,7 +18,7 @@ |   [microsoft](https://github.com/microsoft) / [code-with-engineering-playbook](https://github.com/microsoft/code-with-engineering-playbook) | 2290 | |   [meichthys](https://github.com/meichthys) / [foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 2054 | |   [oxsecurity](https://github.com/oxsecurity) / [megalinter](https://github.com/oxsecurity/megalinter) | 1983 | -|   [cisagov](https://github.com/cisagov) / [ScubaGear](https://github.com/cisagov/ScubaGear) | 1869 | +|   [cisagov](https://github.com/cisagov) / [ScubaGear](https://github.com/cisagov/ScubaGear) | 1870 | |   [Romanitho](https://github.com/Romanitho) / [Winget-AutoUpdate](https://github.com/Romanitho/Winget-AutoUpdate) | 1214 | |   [unixorn](https://github.com/unixorn) / [git-extra-commands](https://github.com/unixorn/git-extra-commands) | 1030 | |   [TrimarcJake](https://github.com/TrimarcJake) / [Locksmith](https://github.com/TrimarcJake/Locksmith) | 967 | From 35e9495fea2905f216cd08383dce826f155fdb84 Mon Sep 17 00:00:00 2001 From: nvuillam Date: Sun, 22 Dec 2024 02:04:37 +0000 Subject: [PATCH 2/2] [MegaLinter] Apply linters fixes --- docs/descriptors/xml_xmllint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/descriptors/xml_xmllint.md b/docs/descriptors/xml_xmllint.md index 6bbc3f7f5f8..45f2e7ea8ac 100644 --- a/docs/descriptors/xml_xmllint.md +++ b/docs/descriptors/xml_xmllint.md @@ -25,7 +25,7 @@ To apply file formatting you must set `XML_XMLLINT_CLI_LINT_MODE: file` and `XML | Variable | Description | Default value | |-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------| | XML_XMLLINT_AUTOFORMAT | If set to `true`, it will reformat and reindent the output | `false` | -| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | ` ` | +| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | `` | | XML_XMLLINT_ARGUMENTS | User custom arguments to add in linter CLI call
Ex: `-s --foo "bar"` | | | XML_XMLLINT_COMMAND_REMOVE_ARGUMENTS | User custom arguments to remove from command line before calling the linter
Ex: `-s --foo "bar"` | | | XML_XMLLINT_FILTER_REGEX_INCLUDE | Custom regex including filter
Ex: `(src\|lib)` | Include every file |