Skip to content

Commit

Permalink
Terrascan: cli_lint_mode = project (#1274)
Browse files Browse the repository at this point in the history
* Terrascan: cli_lint_mode = project

* terrascan: config arg name & config file name

* trivy
  • Loading branch information
nvuillam committed Feb 15, 2022
1 parent be884bf commit 3b6c1bb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 33 deletions.
55 changes: 28 additions & 27 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
CVE-2020-29652
CVE-2020-9283
CVE-2020-36242
CVE-2020-29651
CVE-2020-14343
CVE-2021-33503
CVE-2017-18640
CVE-2021-29482
CVE-2020-29529
CVE-2020-7219
CVE-2019-11253
CVE-2020-13949
CVE-2020-7219
CVE-2020-14040
CVE-2020-14343
CVE-2020-16250
CVE-2020-28469
CVE-2020-29529
CVE-2021-36222
CVE-2020-29529
CVE-2020-29651
CVE-2020-29652
CVE-2020-36242
CVE-2020-7219
CVE-2020-7219
CVE-2020-8558
CVE-2020-9283
CVE-2021-22569
CVE-2021-25741
CVE-2021-29482
CVE-2021-3121
CVE-2021-32803
CVE-2021-32804
CVE-2021-32923
CVE-2021-33503
CVE-2021-35515
CVE-2021-35516
CVE-2021-35517
CVE-2021-36090
CVE-2021-32803
CVE-2021-32804
CVE-2021-36159
CVE-2021-37714
CVE-2021-36222
CVE-2021-3711
CVE-2021-3712
CVE-2021-37219
CVE-2021-37701
CVE-2021-37712
CVE-2021-37713
CVE-2021-3712
CVE-2021-3121
CVE-2020-8558
CVE-2021-37714
CVE-2021-3807
CVE-2021-37219
CVE-2021-41103
CVE-2021-3918
CVE-2021-41092
CVE-2021-41103
CVE-2021-42374
CVE-2021-42375
CVE-2021-42378
Expand All @@ -43,17 +50,11 @@ CVE-2021-42383
CVE-2021-42384
CVE-2021-42385
CVE-2021-42386
CVE-2021-3918
CVE-2020-14040
CVE-2021-22569
CVE-2019-11253
CVE-2021-45960
CVE-2021-46143
CVE-2022-22822
CVE-2022-22823
CVE-2022-22824
CVE-2021-45960
CVE-2021-46143
CVE-2022-22825
CVE-2022-22826
CVE-2022-22827
CVE-2020-16250
CVE-2021-32923
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased] (beta, main branch content)

Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image

- Linters
- Improve ansible-lint performances by linting all project in one call, and count number of errors
- Use project cli_lint_mode to improve performances
- terrascan

- Fixes
- Manage to use local certificate with Gitlab comments reporter using GITLAB_SSL_CERTIFICATE_PATH ([#1239](https://github.com/megalinter/megalinter/issues/1239))
- Fix GITLAB_ACCESS_TOKEN_MEGALINTER suggestion when trying to push comments to gitlab merge request

Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image
- Gitlab Comments Reporter: allow to use certificates with variable GITLAB_CUSTOM_CERTIFICATE (or GITLAB_CERTIFICATE_PATH only if [PRE_COMMANDS](https://megalinter.github.io/configuration/#pre-commands) are used) ([#1239](https://github.com/megalinter/megalinter/issues/1239))

- Core
- Allow to check prop existence in active_only_if_file_found and apply to eslint descriptors ([#1205](https://github.com/megalinter/megalinter/issues/1205))

- Fixes
- Gitlab Comments Reporter: allow to use certificates with variable GITLAB_CUSTOM_CERTIFICATE (or GITLAB_CERTIFICATE_PATH only if [PRE_COMMANDS](https://megalinter.github.io/configuration/#pre-commands) are used) ([#1239](https://github.com/megalinter/megalinter/issues/1239))

- Doc
- Update images with screen records gifs
- Add publish artifact task in azure pipelines doc
Expand Down
4 changes: 3 additions & 1 deletion megalinter/descriptors/terraform.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ linters:
linter_rules_url: https://docs.accurics.com/projects/accurics-terrascan/en/latest/policies/
linter_rules_configuration_url: https://docs.accurics.com/projects/accurics-terrascan/en/latest/policies/
linter_banner_image_url: https://www.accurics.com/wp-content/uploads/elementor/thumbs/Terrascan_By_Accurics_Logo_38B34A-F2F2F2_600px-ousqq3op24fn35s67j5dzk3akvuupafmt2sq5dygka.png
config_file_name: terrascan-config.toml
cli_config_arg_name: --config-path
cli_lint_mode: project
cli_lint_extra_args:
- "scan"
- "-i"
- "terraform"
- "-t"
- "all"
- "-f"
cli_version_arg_name: "version"
test_folder: terraform_terrascan
examples:
Expand Down

0 comments on commit 3b6c1bb

Please sign in to comment.