Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terrascan: cli_lint_mode = project #1274

Merged
merged 3 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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