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

Issue #30, including a server url #31

Closed wethegreenpeople closed 1 year ago

wethegreenpeople commented 2 years ago

What

Added a config value that allows the user to enable a trivy client/server connection

Why

Sometimes users want to be able to connect to a remote instance of trivy instead of running a local instance.

How

Added two new config values server.enabled and server.url. When building the command, we're now checking if the server.enabled option is checked, and if it is, inserting --server with the URL provided, into the command.

Anything Else

This is to address the following issue: https://github.com/aquasecurity/trivy-vscode-extension/issues/30

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.