- NightVision CLI
- Visual Studio Code (VSCode) version 1.75.0 or greater
- Node.js
- Clone the repo
git clone https://github.com/nvsecurity/nightvision-vscode.git- Change directory
cd nightvision-vscode- Install NPM packages
npm install-
Make a copy of
.env.exampleand name it.env -
Edit
.envand choose a port
PORT=8080The one-command way:
make devThis starts the watchers, waits for the bundles to be ready, and opens an Extension Development Host window. Closing that window shuts the watchers down again.
Alternatively, to run with the debugger attached:
- Start the server
npm run watch-
Open the repo in VSCode
-
Run and Debug (Press
F5) to open a new window with the extension loaded
To use this plugin, you will need a NightVision account. The plugin uses NightVision's API and command line to scan the code, scan the running application, and enrich the results provided into the IDE.