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

bug(terraform): scans hanging when .terraform dir is present #7300

Open
LironJit opened this issue Dec 4, 2024 · 0 comments
Open

bug(terraform): scans hanging when .terraform dir is present #7300

LironJit opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working community Community contribution query New query feature terraform Terraform query

Comments

@LironJit
Copy link

LironJit commented Dec 4, 2024

Hey :)
When a .terraform directory is present, for example in the root level of a directory, and KICS is ran against this repository, the scan freezes / hangs.

Reproduced with KICS 2.0.1 and KICS 2.1.3, using a Mac M1 Pro, happens on an GitHub runners with Ubuntu 22.04 as well
To reproduce, create a .terraform directory (it can be empty), and a .tf file (any content, even "hi")
Run KICS via kics scan --path . or alternatively kics scan --type terraform --path .
Before executing the queries the scan hangs.
Behavior persists even with --exclude-paths=.terraform.

image

With --verbose and --excldue-paths=.terraform/
image

@LironJit LironJit added bug Something isn't working community Community contribution labels Dec 4, 2024
@github-actions github-actions bot added query New query feature terraform Terraform query labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community Community contribution query New query feature terraform Terraform query
Projects
None yet
Development

No branches or pull requests

1 participant