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.
Python version 3.10.0
Run the following to see tool options:
python3 index.py --help
export SNYK_TOKEN=TYPE-SNYK-TOKEN-HERE
pip install -r requirements.txt
python3 index.py GROUP_ID