aquasecurity/trivy-vscode-extension

BUG: Extension doesn't pick up `.trivyignore` file

Opened this issue · 3 comments

The extension doesn't seem to find a .trivyignore file in the root of the workspace. If I run the extension with DEBUG enabled I don't see a mention that it found the .trivyignore.

image

However if I run the command in the terminal for the same location, it behaves as expected.

image

Just confirming that i also am experiencing the same behavior.
trivy 0.49.1
vs code 1.86.2

No mention of my .trivyignore file in the debug logs

I am experiencing the same. I am using a workspace of several repos where each has a trivyignore file.

version 0.52.2

No mentions of trivyignore here either.

We use things like Terraform modules which have embedded examples which Trivy will flag as security issues even though they're not used or referenced by our code in any way. Our CLI usage uses a trivy.yaml file (along with a .trivyignore file) which I was hoping to be able to configure the extension to use as well.