From 6894fc1ab15539a59baf2949e3102df7c4592627 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Thu, 10 Mar 2022 08:47:51 +0100 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#1323) --- .automation/generated/flavors-stats.json | 64 +++++++++++++++ .automation/generated/linter-helps.json | 80 ++++++++++--------- .automation/generated/linter-versions.json | 4 +- CHANGELOG.md | 2 + docs/all_linters.md | 4 +- docs/descriptors/python_black.md | 6 +- docs/descriptors/python_flake8.md | 4 +- docs/descriptors/ruby_rubocop.md | 12 ++- .../salesforce_sfdx_scanner_apex.md | 60 +++++++------- docs/descriptors/terraform_checkov.md | 2 +- 10 files changed, 158 insertions(+), 80 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 60a540f864e..6cb2b1eeacb 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -623,6 +623,10 @@ [ "2022-03-09T07:35:11", 2467440 + ], + [ + "2022-03-10T01:51:49", + 2467771 ] ], "ci_light": [ @@ -1249,6 +1253,10 @@ [ "2022-03-09T07:35:11", 8250 + ], + [ + "2022-03-10T01:51:49", + 8281 ] ], "dart": [ @@ -1875,6 +1883,10 @@ [ "2022-03-09T07:35:11", 2409 + ], + [ + "2022-03-10T01:51:49", + 2415 ] ], "documentation": [ @@ -2501,6 +2513,10 @@ [ "2022-03-09T07:35:11", 44801 + ], + [ + "2022-03-10T01:51:49", + 44888 ] ], "dotnet": [ @@ -3127,6 +3143,10 @@ [ "2022-03-09T07:35:11", 290009 + ], + [ + "2022-03-10T01:51:49", + 290174 ] ], "go": [ @@ -3753,6 +3773,10 @@ [ "2022-03-09T07:35:11", 8703 + ], + [ + "2022-03-10T01:51:49", + 8712 ] ], "java": [ @@ -4379,6 +4403,10 @@ [ "2022-03-09T07:35:11", 63229 + ], + [ + "2022-03-10T01:51:49", + 63477 ] ], "javascript": [ @@ -5005,6 +5033,10 @@ [ "2022-03-09T07:35:11", 96223 + ], + [ + "2022-03-10T01:51:49", + 96414 ] ], "php": [ @@ -5631,6 +5663,10 @@ [ "2022-03-09T07:35:11", 4502 + ], + [ + "2022-03-10T01:51:49", + 4515 ] ], "python": [ @@ -6257,6 +6293,10 @@ [ "2022-03-09T07:35:11", 64274 + ], + [ + "2022-03-10T01:51:49", + 64388 ] ], "ruby": [ @@ -6879,6 +6919,10 @@ [ "2022-03-09T07:35:11", 1918 + ], + [ + "2022-03-10T01:51:49", + 1929 ] ], "rust": [ @@ -7501,6 +7545,10 @@ [ "2022-03-09T07:35:11", 2458 + ], + [ + "2022-03-10T01:51:49", + 2478 ] ], "salesforce": [ @@ -8127,6 +8175,10 @@ [ "2022-03-09T07:35:11", 11285 + ], + [ + "2022-03-10T01:51:49", + 11293 ] ], "scala": [ @@ -8749,6 +8801,10 @@ [ "2022-03-09T07:35:11", 1459 + ], + [ + "2022-03-10T01:51:49", + 1459 ] ], "swift": [ @@ -9371,6 +9427,10 @@ [ "2022-03-09T07:35:11", 1500 + ], + [ + "2022-03-10T01:51:49", + 1500 ] ], "terraform": [ @@ -9997,6 +10057,10 @@ [ "2022-03-09T07:35:11", 43954 + ], + [ + "2022-03-10T01:51:49", + 44076 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 5bdc8c58ee8..0174ee24acd 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -339,9 +339,9 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (python3, python, capture, prun,", - " time, pypy, timeit). Useful for formatting", - " cells with custom python magics.", + " magics (time, timeit, python, capture, prun,", + " pypy, python3). Useful for formatting cells", + " with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", " -C, --skip-magic-trailing-comma", @@ -1510,8 +1510,8 @@ " of opening bracket's line.", " --ignore errors Comma-separated list of errors and warnings to ignore", " (or skip). For example, ``--ignore=E4,E51,W234``.", - " (Default: ['E24', 'W503', 'E123', 'W504', 'E226',", - " 'E704', 'E126', 'E121'])", + " (Default: ['E704', 'E121', 'E126', 'W503', 'W504',", + " 'E226', 'E24', 'E123'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", @@ -4229,8 +4229,14 @@ " reports. This is useful for editor integration.", " -P, --[no-]parallel Use available CPUs to execute inspection in", " parallel. Default is true.", - " --fail-level SEVERITY Minimum severity (A/I/R/C/W/E/F) for exit", - " with error code.", + " --fail-level SEVERITY Minimum severity for exit with error code.", + " [A] autocorrect", + " [I] info", + " [R] refactor", + " [C] convention", + " [W] warning", + " [E] error", + " [F] fatal", "", "Caching:", " -C, --cache FLAG Use result caching (FLAG=true) or don't", @@ -4971,11 +4977,11 @@ "VfHtmlStyleTagXss visualforce Security pmd", "VfUnescapeEl visualforce Security Basic VF pmd", "ApexAssertionsShouldIncludeMessage apex Best Practices pmd", - "ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,ApexUnit,quickstart pmd", + "ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,quickstart,ApexUnit pmd", "ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices pmd", - "ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,ApexUnit,quickstart pmd", - "AvoidGlobalModifier apex Best Practices Style,Default ruleset...,quickstart pmd", - "AvoidLogicInTrigger apex Best Practices Style,Default ruleset...,quickstart pmd", + "ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,quickstart,ApexUnit pmd", + "AvoidGlobalModifier apex Best Practices Default ruleset...,quickstart,Style pmd", + "AvoidLogicInTrigger apex Best Practices Default ruleset...,quickstart,Style pmd", "DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd", "UnusedLocalVariable apex Best Practices pmd", "AvoidDebugStatements apex Performance pmd", @@ -4984,18 +4990,18 @@ "AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd", "EagerlyLoadedDescribeSObjectResult apex Performance pmd", "OperationWithLimitsInLoop apex Performance quickstart pmd", - "ApexBadCrypto apex Security Security,Default ruleset...,quickstart pmd", - "ApexCRUDViolation apex Security Security,Default ruleset...,quickstart pmd", + "ApexBadCrypto apex Security Default ruleset...,quickstart,Security pmd", + "ApexCRUDViolation apex Security Default ruleset...,quickstart,Security pmd", "ApexCSRF apex Security Security pmd", - "ApexDangerousMethods apex Security Security,Default ruleset...,quickstart pmd", - "ApexInsecureEndpoint apex Security Security,Default ruleset...,quickstart pmd", - "ApexOpenRedirect apex Security Security,Default ruleset...,quickstart pmd", - "ApexSharingViolations apex Security Security,Default ruleset...,quickstart pmd", - "ApexSOQLInjection apex Security Security,Default ruleset...,quickstart pmd", - "ApexSuggestUsingNamedCred apex Security Security,Default ruleset...,quickstart pmd", - "ApexXSSFromEscapeFalse apex Security Security,Default ruleset...,quickstart pmd", - "ApexXSSFromURLParam apex Security Security,Default ruleset...,quickstart pmd", - "ClassNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd", + "ApexDangerousMethods apex Security Default ruleset...,quickstart,Security pmd", + "ApexInsecureEndpoint apex Security Default ruleset...,quickstart,Security pmd", + "ApexOpenRedirect apex Security Default ruleset...,quickstart,Security pmd", + "ApexSharingViolations apex Security Default ruleset...,quickstart,Security pmd", + "ApexSOQLInjection apex Security Default ruleset...,quickstart,Security pmd", + "ApexSuggestUsingNamedCred apex Security Default ruleset...,quickstart,Security pmd", + "ApexXSSFromEscapeFalse apex Security Default ruleset...,quickstart,Security pmd", + "ApexXSSFromURLParam apex Security Default ruleset...,quickstart,Security pmd", + "ClassNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd", "IfElseStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "IfStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "FieldDeclarationsShouldBeAtStart apex Code Style pmd", @@ -5003,26 +5009,26 @@ "ForLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "FormalParameterNamingConventions apex Code Style quickstart pmd", "LocalVariableNamingConventions apex Code Style quickstart pmd", - "MethodNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd", + "MethodNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd", "OneDeclarationPerLine apex Code Style Default ruleset...,quickstart pmd", "PropertyNamingConventions apex Code Style quickstart pmd", - "VariableNamingConventions apex Code Style Style,Default ruleset... pmd", + "VariableNamingConventions apex Code Style Default ruleset...,Style pmd", "WhileLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", - "AvoidDeeplyNestedIfStmts apex Design Default ruleset...,Complexity,quickstart pmd", - "CyclomaticComplexity apex Design Metrics tempora...,Default ruleset...,quickstart pmd", + "AvoidDeeplyNestedIfStmts apex Design Default ruleset...,quickstart,Complexity pmd", + "CyclomaticComplexity apex Design Default ruleset...,quickstart,Metrics tempora... pmd", "CognitiveComplexity apex Design pmd", - "ExcessiveClassLength apex Design Default ruleset...,Complexity,quickstart pmd", - "ExcessiveParameterList apex Design Default ruleset...,Complexity,quickstart pmd", - "ExcessivePublicCount apex Design Default ruleset...,Complexity,quickstart pmd", - "NcssConstructorCount apex Design Default ruleset...,Complexity,quickstart pmd", - "NcssMethodCount apex Design Default ruleset...,Complexity,quickstart pmd", - "NcssTypeCount apex Design Default ruleset...,Complexity,quickstart pmd", - "StdCyclomaticComplexity apex Design Default ruleset...,Complexity,quickstart pmd", - "TooManyFields apex Design Default ruleset...,Complexity,quickstart pmd", + "ExcessiveClassLength apex Design Default ruleset...,quickstart,Complexity pmd", + "ExcessiveParameterList apex Design Default ruleset...,quickstart,Complexity pmd", + "ExcessivePublicCount apex Design Default ruleset...,quickstart,Complexity pmd", + "NcssConstructorCount apex Design Default ruleset...,quickstart,Complexity pmd", + "NcssMethodCount apex Design Default ruleset...,quickstart,Complexity pmd", + "NcssTypeCount apex Design Default ruleset...,quickstart,Complexity pmd", + "StdCyclomaticComplexity apex Design Default ruleset...,quickstart,Complexity pmd", + "TooManyFields apex Design Default ruleset...,quickstart,Complexity pmd", "ApexDoc apex Documentation Default ruleset...,quickstart pmd", "ApexCSRF apex Error Prone Default ruleset...,quickstart pmd", - "AvoidDirectAccessTriggerMap apex Error Prone Style,Default ruleset...,quickstart pmd", - "AvoidHardcodingId apex Error Prone Style,Default ruleset...,quickstart pmd", + "AvoidDirectAccessTriggerMap apex Error Prone Default ruleset...,quickstart,Style pmd", + "AvoidHardcodingId apex Error Prone Default ruleset...,quickstart,Style pmd", "AvoidNonExistentAnnotations apex Error Prone Default ruleset...,quickstart pmd", "EmptyCatchBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd", "EmptyIfStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd", @@ -5030,7 +5036,7 @@ "EmptyTryOrFinallyBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd", "EmptyWhileStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd", "InaccessibleAuraEnabledGetter apex Error Prone pmd", - "MethodWithSameNameAsEnclosingClass apex Error Prone Style,Default ruleset...,quickstart pmd", + "MethodWithSameNameAsEnclosingClass apex Error Prone Default ruleset...,quickstart,Style pmd", "OverrideBothEqualsAndHashcode apex Error Prone pmd", "TestMethodsMustBeInTestClasses apex Error Prone pmd", "constructor-super javascript ECMAScript 6 ECMAScript 6 eslint", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 705df24c25b..305111c7ede 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -6,7 +6,7 @@ "bash-exec": "5.1.0", "black": "22.1.0", "cfn-lint": "0.58.3", - "checkov": "2.0.927", + "checkov": "2.0.931", "checkstyle": "10.0", "chktex": "1.7.6", "clippy": "0.1.59", @@ -60,7 +60,7 @@ "rst-lint": "1.4.0", "rstcheck": "3.3.1", "rstfmt": "0.0.10", - "rubocop": "1.25.1", + "rubocop": "1.26.0", "scalafix": "0.9.34", "scss-lint": "0.59.0", "secretlint": "4.1.0", diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b8b4469445..10e082a82fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - [cfn-lint](https://github.com/martysweet/cfn-lint) from 0.58.2 to **0.58.3** on 2022-03-09 - [swiftlint](https://github.com/realm/SwiftLint) from 0.46.4 to **0.46.5** on 2022-03-09 - [checkov](https://www.checkov.io/) from 2.0.924 to **2.0.927** on 2022-03-09 + - [rubocop](https://rubocop.org/) from 1.25.1 to **1.26.0** on 2022-03-10 + - [checkov](https://www.checkov.io/) from 2.0.927 to **2.0.931** on 2022-03-10 - New linter `kubeconform` to validate Kubernetes manifests with updated schemas diff --git a/docs/all_linters.md b/docs/all_linters.md index f2742b5a215..37a1c3f8d31 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -12,7 +12,7 @@ | [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.0 | | [BASH](descriptors/bash_bash_exec.md) | | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | | [**black**](https://github.com/psf/black){target=_blank} | 22.1.0 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | | [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.58.3 | | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} | -| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.927 | [Apache-2.0](licenses/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.0.931 | [Apache-2.0](licenses/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.0 | [Other](licenses/checkstyle.md) | [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.59 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} | @@ -66,7 +66,7 @@ | [**rst-lint**](https://github.com/twolfson/restructuredtext-lint){target=_blank} | 1.4.0 | | [RST](descriptors/rst_rst_lint.md) | :heart: | [MegaLinter reference](https://github.com/twolfson/restructuredtext-lint/wiki/Integration-in-other-tools#integration-in-other-tools){target=_blank} | | [**rstcheck**](https://github.com/myint/rstcheck){target=_blank} | 3.3.1 | | [RST](descriptors/rst_rstcheck.md) | :hammer_and_wrench: | [Pull Request](https://github.com/myint/rstcheck/pull/73){target=_blank} | | [**rstfmt**](https://github.com/dzhu/rstfmt){target=_blank} | 0.0.10 | | [RST](descriptors/rst_rstfmt.md) | :hammer_and_wrench: | [Pull Request](https://github.com/dzhu/rstfmt/pull/1){target=_blank} | -| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.25.1 | [MIT](licenses/rubocop.md) | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} | +| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.26.0 | [MIT](licenses/rubocop.md) | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} | | [**scalafix**](https://github.com/scalacenter/scalafix){target=_blank} | 0.9.34 | [Other](licenses/scalafix.md) | [SCALA](descriptors/scala_scalafix.md) | :heart: | [MegaLinter reference](https://scalacenter.github.io/scalafix/docs/users/installation.html#plugins-for-other-build-tools){target=_blank} | | [**scss-lint**](https://github.com/sds/scss-lint){target=_blank} | 0.59.0 | | [CSS](descriptors/css_scss_lint.md) | :white_circle: | [Web Site](https://github.com/sds/scss-lint){target=_blank} | | [**secretlint**](https://github.com/secretlint/secretlint){target=_blank} | 4.1.0 | [MIT](licenses/secretlint.md) | [CREDENTIALS](descriptors/credentials_secretlint.md) | :heart: | [MegaLinter reference](https://github.com/secretlint/secretlint#mega-linter){target=_blank} | diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 692872d7933..67314fb74ed 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -112,9 +112,9 @@ Options: input). --python-cell-magics TEXT When processing Jupyter Notebooks, add the given magic to the list of known python- - magics (python3, python, capture, prun, - time, pypy, timeit). Useful for formatting - cells with custom python magics. + magics (time, timeit, python, capture, prun, + pypy, python3). Useful for formatting cells + with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. -C, --skip-magic-trailing-comma diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index 5b4a51ab96c..4ca2b1cc32a 100644 --- a/docs/descriptors/python_flake8.md +++ b/docs/descriptors/python_flake8.md @@ -124,8 +124,8 @@ optional arguments: of opening bracket's line. --ignore errors Comma-separated list of errors and warnings to ignore (or skip). For example, ``--ignore=E4,E51,W234``. - (Default: ['E24', 'W503', 'E123', 'W504', 'E226', - 'E704', 'E126', 'E121']) + (Default: ['E704', 'E121', 'E126', 'W503', 'W504', + 'E226', 'E24', 'E123']) --extend-ignore errors Comma-separated list of errors and warnings to add to the list of ignored ones. For example, ``--extend- diff --git a/docs/descriptors/ruby_rubocop.md b/docs/descriptors/ruby_rubocop.md index fa2e5a64caf..d297b9edaf2 100644 --- a/docs/descriptors/ruby_rubocop.md +++ b/docs/descriptors/ruby_rubocop.md @@ -9,7 +9,7 @@ ## rubocop documentation -- Version in MegaLinter: **1.25.1** +- Version in MegaLinter: **1.26.0** - Visit [Official Web Site](https://rubocop.org/){target=_blank} - See [How to configure rubocop rules](https://docs.rubocop.org/rubocop/0.92/configuration.html){target=_blank} - If custom `.ruby-lint.yml` config file is not found, [.ruby-lint.yml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.ruby-lint.yml){target=_blank} will be used @@ -126,8 +126,14 @@ Basic Options: reports. This is useful for editor integration. -P, --[no-]parallel Use available CPUs to execute inspection in parallel. Default is true. - --fail-level SEVERITY Minimum severity (A/I/R/C/W/E/F) for exit - with error code. + --fail-level SEVERITY Minimum severity for exit with error code. + [A] autocorrect + [I] info + [R] refactor + [C] convention + [W] warning + [E] error + [F] fatal Caching: -C, --cache FLAG Use result caching (FLAG=true) or don't diff --git a/docs/descriptors/salesforce_sfdx_scanner_apex.md b/docs/descriptors/salesforce_sfdx_scanner_apex.md index 972a7189e52..6bbf6f4f858 100644 --- a/docs/descriptors/salesforce_sfdx_scanner_apex.md +++ b/docs/descriptors/salesforce_sfdx_scanner_apex.md @@ -229,11 +229,11 @@ VfCsrf visualforce Security VfHtmlStyleTagXss visualforce Security pmd VfUnescapeEl visualforce Security Basic VF pmd ApexAssertionsShouldIncludeMessage apex Best Practices pmd -ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,ApexUnit,quickstart pmd +ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,quickstart,ApexUnit pmd ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices pmd -ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,ApexUnit,quickstart pmd -AvoidGlobalModifier apex Best Practices Style,Default ruleset...,quickstart pmd -AvoidLogicInTrigger apex Best Practices Style,Default ruleset...,quickstart pmd +ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,quickstart,ApexUnit pmd +AvoidGlobalModifier apex Best Practices Default ruleset...,quickstart,Style pmd +AvoidLogicInTrigger apex Best Practices Default ruleset...,quickstart,Style pmd DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd UnusedLocalVariable apex Best Practices pmd AvoidDebugStatements apex Performance pmd @@ -242,18 +242,18 @@ AvoidSoqlInLoops apex Performance AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd EagerlyLoadedDescribeSObjectResult apex Performance pmd OperationWithLimitsInLoop apex Performance quickstart pmd -ApexBadCrypto apex Security Security,Default ruleset...,quickstart pmd -ApexCRUDViolation apex Security Security,Default ruleset...,quickstart pmd +ApexBadCrypto apex Security Default ruleset...,quickstart,Security pmd +ApexCRUDViolation apex Security Default ruleset...,quickstart,Security pmd ApexCSRF apex Security Security pmd -ApexDangerousMethods apex Security Security,Default ruleset...,quickstart pmd -ApexInsecureEndpoint apex Security Security,Default ruleset...,quickstart pmd -ApexOpenRedirect apex Security Security,Default ruleset...,quickstart pmd -ApexSharingViolations apex Security Security,Default ruleset...,quickstart pmd -ApexSOQLInjection apex Security Security,Default ruleset...,quickstart pmd -ApexSuggestUsingNamedCred apex Security Security,Default ruleset...,quickstart pmd -ApexXSSFromEscapeFalse apex Security Security,Default ruleset...,quickstart pmd -ApexXSSFromURLParam apex Security Security,Default ruleset...,quickstart pmd -ClassNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd +ApexDangerousMethods apex Security Default ruleset...,quickstart,Security pmd +ApexInsecureEndpoint apex Security Default ruleset...,quickstart,Security pmd +ApexOpenRedirect apex Security Default ruleset...,quickstart,Security pmd +ApexSharingViolations apex Security Default ruleset...,quickstart,Security pmd +ApexSOQLInjection apex Security Default ruleset...,quickstart,Security pmd +ApexSuggestUsingNamedCred apex Security Default ruleset...,quickstart,Security pmd +ApexXSSFromEscapeFalse apex Security Default ruleset...,quickstart,Security pmd +ApexXSSFromURLParam apex Security Default ruleset...,quickstart,Security pmd +ClassNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd IfElseStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd IfStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd FieldDeclarationsShouldBeAtStart apex Code Style pmd @@ -261,26 +261,26 @@ FieldNamingConventions apex Code Style ForLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd FormalParameterNamingConventions apex Code Style quickstart pmd LocalVariableNamingConventions apex Code Style quickstart pmd -MethodNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd +MethodNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd OneDeclarationPerLine apex Code Style Default ruleset...,quickstart pmd PropertyNamingConventions apex Code Style quickstart pmd -VariableNamingConventions apex Code Style Style,Default ruleset... pmd +VariableNamingConventions apex Code Style Default ruleset...,Style pmd WhileLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd -AvoidDeeplyNestedIfStmts apex Design Default ruleset...,Complexity,quickstart pmd -CyclomaticComplexity apex Design Metrics tempora...,Default ruleset...,quickstart pmd +AvoidDeeplyNestedIfStmts apex Design Default ruleset...,quickstart,Complexity pmd +CyclomaticComplexity apex Design Default ruleset...,quickstart,Metrics tempora... pmd CognitiveComplexity apex Design pmd -ExcessiveClassLength apex Design Default ruleset...,Complexity,quickstart pmd -ExcessiveParameterList apex Design Default ruleset...,Complexity,quickstart pmd -ExcessivePublicCount apex Design Default ruleset...,Complexity,quickstart pmd -NcssConstructorCount apex Design Default ruleset...,Complexity,quickstart pmd -NcssMethodCount apex Design Default ruleset...,Complexity,quickstart pmd -NcssTypeCount apex Design Default ruleset...,Complexity,quickstart pmd -StdCyclomaticComplexity apex Design Default ruleset...,Complexity,quickstart pmd -TooManyFields apex Design Default ruleset...,Complexity,quickstart pmd +ExcessiveClassLength apex Design Default ruleset...,quickstart,Complexity pmd +ExcessiveParameterList apex Design Default ruleset...,quickstart,Complexity pmd +ExcessivePublicCount apex Design Default ruleset...,quickstart,Complexity pmd +NcssConstructorCount apex Design Default ruleset...,quickstart,Complexity pmd +NcssMethodCount apex Design Default ruleset...,quickstart,Complexity pmd +NcssTypeCount apex Design Default ruleset...,quickstart,Complexity pmd +StdCyclomaticComplexity apex Design Default ruleset...,quickstart,Complexity pmd +TooManyFields apex Design Default ruleset...,quickstart,Complexity pmd ApexDoc apex Documentation Default ruleset...,quickstart pmd ApexCSRF apex Error Prone Default ruleset...,quickstart pmd -AvoidDirectAccessTriggerMap apex Error Prone Style,Default ruleset...,quickstart pmd -AvoidHardcodingId apex Error Prone Style,Default ruleset...,quickstart pmd +AvoidDirectAccessTriggerMap apex Error Prone Default ruleset...,quickstart,Style pmd +AvoidHardcodingId apex Error Prone Default ruleset...,quickstart,Style pmd AvoidNonExistentAnnotations apex Error Prone Default ruleset...,quickstart pmd EmptyCatchBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd EmptyIfStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd @@ -288,7 +288,7 @@ EmptyStatementBlock apex Error Prone EmptyTryOrFinallyBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd EmptyWhileStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd InaccessibleAuraEnabledGetter apex Error Prone pmd -MethodWithSameNameAsEnclosingClass apex Error Prone Style,Default ruleset...,quickstart pmd +MethodWithSameNameAsEnclosingClass apex Error Prone Default ruleset...,quickstart,Style pmd OverrideBothEqualsAndHashcode apex Error Prone pmd TestMethodsMustBeInTestClasses apex Error Prone pmd constructor-super javascript ECMAScript 6 ECMAScript 6 eslint diff --git a/docs/descriptors/terraform_checkov.md b/docs/descriptors/terraform_checkov.md index 38771365b9c..39f723684e6 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.927** +- Version in MegaLinter: **2.0.931** - 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}