Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.08 KB

list-all-issues-for-a-snyk-org.md

File metadata and controls

22 lines (13 loc) · 1.08 KB

List all issues (including Snyk Code) for a Snyk Organization

Description

Use this script to get all the issues (including code issues) for a specific Snyk organization and then process the data

Flow and Endpoints

  • 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