collects all dependencies from all orgs in a group and outputs to a CSV file snyk-deps_<timestamp>.csv
, see an example here.
To process all Snyk orgs in a group, ensure your token has group level permission. If the token in use only has access to specific orgs in the group, only the data from those orgs will be retrieved.
Please try to avoid running for all dependencies against your snyk group(s) more than 1x or 2x per day.
install with npm install
build with npm run build
node dist/index.js --token=$SNYK_TOKEN --group-id=$SNYK_GROUP
node dist/index.js --token=$SNYK_TOKEN --group-id=$SNYK_GROUP \
--dependency-list="[email protected],[email protected]"
Log4Shell:
node dist/index.js --token=$SNYK_TOKEN --group-id=$SNYK_GROUP \
--dependency-list="$(cat example-deps-files/log4j-core_deps.txt | xargs | sed -e 's/ /,/g')"
Spring4Shell:
node dist/index.js --token=$SNYK_TOKEN --group-id=$SNYK_GROUP \
--dependency-list="$(cat example-deps-files/spring4shell_deps.txt | xargs | sed -e 's/ /,/g')"
contributions are welcomed for this project, following the contribution guidelines
for any issues or questions, please submit a github issue