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

Add file checking to filter unwanted files to be parsed #2506

Closed
ruigomescx opened this issue Mar 26, 2021 · 0 comments · Fixed by #3045
Closed

Add file checking to filter unwanted files to be parsed #2506

ruigomescx opened this issue Mar 26, 2021 · 0 comments · Fixed by #3045
Assignees
Labels
feature New feature

Comments

@ruigomescx
Copy link
Collaborator

Description

Currently all files regarding the supported extensions are being parsed and taken in account when executing queries. Regarding .json and .yaml files, since the extension is a "generic" one (unlike .tf that is set for Terraform), these files may not have a structure of a IaC file that we support. To improve performance, we should add intelligence to the parsing stage to check each file before being parsed, to infer if it's a IaC file that we support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants