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
-
For each code issue enrich the data with the issues API
- Loop for each issue with this API call
-
If issue is ignored call this endpoint to get the ignore reason
Python: