aquasecurity / intellij-tfsec

JetBrains Plugin for tfsec
https://plugins.jetbrains.com/plugin/18687-tfsec-findings-explorer
Apache License 2.0
2 stars 3 forks source link

Allow parameters to be passed #7

Open alicekaerast opened 1 year ago

alicekaerast commented 1 year ago

The project I tried this against has one single stacks/global_vars.tf file, with all the other terraform code within subdirectories of that stacks directory. This means that tfsec doesn't find any of the actual code, I have to provide the parameter --force-all-dirs

There appears to be no way of configuring the intellij plugin to pass this parameter in, so any run will simply tell me "Nothing to show"

I guess I could write a bash script which just calls tfsec with this parameter, but I don't believe I should have to do this