snyk-filter
Clone and install snyk-filter
# install jq ahead of time (ubuntu example)
sudo apt-get install -y jq
# tell node-jq to skip trying to install it on its own
export NODE_JQ_SKIP_INSTALL_BINARY=true
# tell node-jq where the existing jq binary is
export JQ_PATH=$(which jq)
# finally, install snyk-filter (does not work with node version > 12)
sudo npm install -gUsage
Example with Snyk CLI (using .snyk-filter/snyk.yml by default)
Example with Snyk CLI and custom yml file location
Example to input a JSON file
Example with custom yml file location
Options
License
Last updated
Was this helpful?

