Use this script to get all the issues (including code issues) for a specific Snyk organization and then process the data
- Call API to retrieve all projects ID
- For each project call get issues API from aggregated issues API and V3 (if "type": "sast")
For no code projects - Get aggregated issues
For code projects - Get aggregated code issues