Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 853 Bytes

File metadata and controls

26 lines (17 loc) · 853 Bytes

Find duplicate .NET projects in Snyk

This script will search all organization with the group id you supply for .NET projects. It will search each target for projects with a matching repo name, branch, and targetfile. Then it will compare framework version and return a csv with this data. This tool assumes that the snyk token has access to all organization in the group. Future work will take the csv in and allow you to deactivate or delete the older projects.

Requirements

Python version 3.10.0

Tool arguments

Run the following to see tool options:

python3 index.py --help

Script Arguments

SNYK_GROUP_ID

Running

export SNYK_TOKEN=TYPE-SNYK-TOKEN-HERE
pip install -r requirements.txt
python3 index.py GROUP_ID