Skip to content

mgibeau/gitlab-sast-nodejs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

GitLab SAST for NodeJS

This project uses eslint-plugin-security to scan and report security issues.

Usage: scan [options] <path ...>

Options:

  -v, --version         output the version number
  -o, --out <filename>  output filename, defaults to gl-sast-report.json
  -h, --help            output usage information

How to use

NPX

npx gitlab-sast-nodejs path1 path2

NPM

npm i -g gitlab-sast-nodejs

Docker

Using Docker you can simply mount two volumes in the container, e.g.:

docker run --rm -it -v $(PWD)/src:/src/code -v $(PWD):/output sast

This will scan a subfolder src/ and write the result to the root of your project

About

GitLab SAST reporter for NodeJS

Resources

Stars

Watchers

Forks

Packages

No packages published