Git Product home page Git Product logo

vscode-extension's People

Contributors

gabbyhagag avatar guylev008 avatar njenia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

njenia gabbyhagag

vscode-extension's Issues

Request for option for the Visual Studio IDE plugin to run engines by license

Spectral is limited to run based on assets and executions, so there are parameters for its execution that allows a developer to run unlimited IAC scans. Also, some users may only be interested in seeing returns for secrets, IAC and now OpenSource seperately.

But the IDE appears to always execute IAC and secrets.

Request is to allow for the following as selectable scan types:
--engines iac
--engines secrets
--engines oss

And the whole shebang:
--engines secrets,iac,oss

At present, the invocation is hardcoded in:
spectral-agent-service.ts

public scan(scanPath: string): Promise {
return new Promise(async (resolve, reject) => {
const dsn = await SecretStorageService.getInstance().get(SPECTRAL_DSN)
const outputFileName = 'output.txt'
const spectralArgs = [
'--nobanners',
'scan',
'--include-tags',
'base,iac',
'--nosend',
'--ok',
'--internal-output',
outputFileName,
]

VS Code extension doesn't find spectral on my machine

Hello,
I installed spectral via curl -L https://app.spectralops.io/latest/sh?dsn=https://[email protected] | sh.
Then I installed the extension in the VS Code and got the message "...We noticed that Spectral is not installed on your machine..."

I am using Mac OS 10.15.7,
The spectral binary is located in /usr/local/bin/spectral.
My shell is zsh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.