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

fix(misconf): Update required extensions for terraformplan #4523

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

simar7
Copy link
Member

@simar7 simar7 commented May 31, 2023

Description

Fixes the required extensions that we support for terraformplan files. In addition, I've added some tests for it.

Signed-off-by: Simar simar@linux.com

Signed-off-by: Simar <simar@linux.com>
@simar7 simar7 self-assigned this May 31, 2023
@simar7 simar7 marked this pull request as ready for review June 1, 2023 00:03
@simar7 simar7 requested a review from knqyf263 as a code owner June 1, 2023 00:03
@@ -17,8 +17,7 @@ const (
)

var requiredExts = []string{
".tfplan.json",
".tf.json",
".json",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will match all JSON files. Is it OK?

@knqyf263 knqyf263 merged commit 62a1aaf into main Jun 1, 2023
@knqyf263 knqyf263 deleted the fix-extensions-tfplan branch June 1, 2023 04:23
AnaisUrlichs pushed a commit to AnaisUrlichs/trivy that referenced this pull request Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants