aquasecurity / trivy-vscode-extension

A VS Code Extension for Trivy
https://marketplace.visualstudio.com/items?itemName=AquaSecurityOfficial.trivy-vulnerability-scanner
Apache License 2.0
109 stars 18 forks source link

Need ability to specify trivy executable path in vscode #7

Closed unacceptable closed 2 years ago

unacceptable commented 3 years ago

I store a script under ~/.bin/ to execute trivy via docker:

Screen Shot 2020-11-27 at 6 27 25 AM

I need to be able to point the VSCode plugin at this path.

It would also be interesting if the Trivy VSCode plugin did something similar to this script: If Trivy is not found just run it via Docker.

simar7 commented 3 years ago

That's a good suggestion @unacceptable – we'd be happy to accept a PR if you decide to work on it!

owenrumney commented 2 years ago

This has been added in #20 as a configuration item - releasing shortly

owenrumney commented 2 years ago

@unacceptable - you can set the path to Trivy in the settings now

image