tfsec: Latest version does not appear to crawl directory hierarchy recursively like previous version

Describe the bug I am using latest stable v0.37.1 and comparing against a previous version (v0.27.0) I was using and had various integration tests configured for. Previously I was getting findings for .tf files in sub-directories from the directory specified at the command line, now it appears that it does not crawl all files

To Reproduce Steps to reproduce the behavior:

  1. tfsec ./some-dir-with-sub-dirs/

Expected behavior Get findings for .tf files located all the way down the hierarchy

Desktop (please complete the following information):

  • OS: macOS Big Sur

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 17 (10 by maintainers)

Most upvoted comments

I think dont scanning recursivly (or without this as option) will cause a lot of problems with custom modules nested inside root module