Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation + fi…
Browse files Browse the repository at this point in the history
…x tflint secured env (#2696)

* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

* TERRAFORM_TFLINT_SECURED_ENV management

* [MegaLinter] Apply linters fixes

* tflint test class

* Build doc

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored May 28, 2023
1 parent afae649 commit 8f6a79d
Show file tree
Hide file tree
Showing 15 changed files with 126 additions and 34 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,10 @@
[
"2023-05-27T17:04:12",
2971966
],
[
"2023-05-28T17:03:24",
2972895
]
],
"ci_light": [
Expand Down Expand Up @@ -3049,6 +3053,10 @@
[
"2023-05-27T17:04:12",
66727
],
[
"2023-05-28T17:03:24",
66788
]
],
"cupcake": [
Expand Down Expand Up @@ -3555,6 +3563,10 @@
[
"2023-05-27T17:04:12",
12625
],
[
"2023-05-28T17:03:24",
12641
]
],
"dart": [
Expand Down Expand Up @@ -5991,6 +6003,10 @@
[
"2023-05-27T17:04:12",
152034
],
[
"2023-05-28T17:03:24",
152191
]
],
"dotnet": [
Expand Down Expand Up @@ -7517,6 +7533,10 @@
[
"2023-05-27T17:04:12",
388936
],
[
"2023-05-28T17:03:24",
389016
]
],
"go": [
Expand Down Expand Up @@ -9043,6 +9063,10 @@
[
"2023-05-27T17:04:12",
21294
],
[
"2023-05-28T17:03:24",
21334
]
],
"java": [
Expand Down Expand Up @@ -10569,6 +10593,10 @@
[
"2023-05-27T17:04:12",
120494
],
[
"2023-05-28T17:03:24",
120553
]
],
"javascript": [
Expand Down Expand Up @@ -12095,6 +12123,10 @@
[
"2023-05-27T17:04:12",
268377
],
[
"2023-05-28T17:03:24",
268641
]
],
"php": [
Expand Down Expand Up @@ -13621,6 +13653,10 @@
[
"2023-05-27T17:04:12",
49926
],
[
"2023-05-28T17:03:24",
49930
]
],
"python": [
Expand Down Expand Up @@ -15147,6 +15183,10 @@
[
"2023-05-27T17:04:12",
210946
],
[
"2023-05-28T17:03:24",
211066
]
],
"ruby": [
Expand Down Expand Up @@ -16669,6 +16709,10 @@
[
"2023-05-27T17:04:12",
3640
],
[
"2023-05-28T17:03:24",
3644
]
],
"rust": [
Expand Down Expand Up @@ -18191,6 +18235,10 @@
[
"2023-05-27T17:04:12",
5699
],
[
"2023-05-28T17:03:24",
5703
]
],
"salesforce": [
Expand Down Expand Up @@ -19717,6 +19765,10 @@
[
"2023-05-27T17:04:12",
20060
],
[
"2023-05-28T17:03:24",
20076
]
],
"scala": [
Expand Down Expand Up @@ -21241,6 +21293,10 @@
[
"2023-05-27T17:04:12",
10996
],
[
"2023-05-28T17:03:24",
11028
]
],
"swift": [
Expand Down Expand Up @@ -22763,6 +22819,10 @@
[
"2023-05-27T17:04:12",
3797
],
[
"2023-05-28T17:03:24",
3801
]
],
"terraform": [
Expand Down Expand Up @@ -24289,6 +24349,10 @@
[
"2023-05-27T17:04:12",
245380
],
[
"2023-05-28T17:03:24",
245717
]
]
}
8 changes: 4 additions & 4 deletions .automation/generated/linter-helps.json

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

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.5",
"checkmake": "0.2.0",
"checkov": "2.3.259",
"checkov": "2.3.261",
"checkstyle": "10.12.0",
"chktex": "1.7.6",
"clippy": "0.1.69",
Expand Down Expand Up @@ -44,7 +44,7 @@
"kics": "1.7.1",
"ktlint": "0.49.1",
"kubeconform": "0.6.1",
"kubescape": "2.3.3",
"kubescape": "2.3.4",
"kubeval": "0.16.1",
"lintr": "0.0.0",
"luacheck": "1.1.0",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l

- Secure PRE_COMMANDS and POST_COMMANDS by default
- Can be disabled with **secured_env: false** in the command definition
- New variable **TERRAFORM_TFLINT_SECURED_ENV** with default value `true`. Set to `false` to allow `tflint --init` to access your env vars.

- Linter versions upgrades
- [checkstyle](https://checkstyle.sourceforge.io) from 10.11.0 to **10.12.0** on 2023-05-27
- [kubescape](https://github.com/kubescape/kubescape) from 2.3.3 to **2.3.4** on 2023-05-28
- [checkov](https://www.checkov.io/) from 2.3.259 to **2.3.261** on 2023-05-28
<!-- linter-versions-end -->

## [v7.0.2] - 2023-05-27
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=2381&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=2385&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
Loading

0 comments on commit 8f6a79d

Please sign in to comment.