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

How to exclude folders from scan regarding the location? #5369

Closed
rafaela-soares opened this issue May 18, 2022 Discussed in #5365 · 0 comments · Fixed by #5408
Closed

How to exclude folders from scan regarding the location? #5369

rafaela-soares opened this issue May 18, 2022 Discussed in #5365 · 0 comments · Fixed by #5408
Assignees
Labels
community Community contribution

Comments

@rafaela-soares
Copy link
Contributor

rafaela-soares commented May 18, 2022

Discussed in #5365 by @andyshinn

Originally posted by andyshinn May 17, 2022
How can I exclude the .terraform folder from my scans? I see there is a -e switch to the scan command. But I have tried several permutations that don't seem to do anything:

  • -e ".terraform"
  • -e ".terraform/*"
  • -e "*/.terraform"
  • -e "*/.terraform/*"
  • -e "**/.terraform"

But the .terraform folder in each module still gets scanned. How do I exclude it?

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

Successfully merging a pull request may close this issue.

2 participants