aquasecurity / vscode-tfsec

vscode extension for tfsec
https://tfsec.dev
MIT License
30 stars 7 forks source link

Add support to ignore directory #29

Closed ad-m-ss closed 2 years ago

ad-m-ss commented 2 years ago

Describe the bug

I have terragrunt project, so I have multiple .terragrunt-cache directories. It's pointless to scan that directory, because code are duplicated from other part of project. As a result, I am overloaded in Findings Explorer with duplicate findings.

Desktop (please complete the following information):

Additional context

Example list of findings:

image
owenrumney commented 2 years ago

Hi @ad-m-ss - this has been added to v1.10.0

*.tf files and .directories can be excluded from the main file explorer window through the context window.

To unignore, edit the .vscode/settings.json and update the tfsec.exludedPaths slice.

ad-m-ss commented 2 years ago

@owenrumney where I can audit that release? Not available on GitHub: https://github.com/aquasecurity/vscode-tfsec/releases

owenrumney commented 2 years ago

https://github.com/aquasecurity/vscode-tfsec/releases/tag/v1.10.0

ad-m-ss commented 2 years ago

Thanks!