Snyk SAST Integration

List code projects for all organizations

Changed on

Only Snyk Code projects imported through an SCM integration (GitHub, GitLab, Bitbucket, Azure Repos) are returned; projects with any other origin (e.g. CLI-imported) cannot be used for SAST/DAST correlation and are omitted.

get/integrations/snyk-sast/code-projects/

Request

  • Base URL
    https://api.probely.com
  • URL
    https://api.probely.com/integrations/snyk-sast/code-projects/
  • Auth
    API key in header Authorization

Query parameters

group_idstring uuid

Filter by Snyk Group

lengthinteger

Number of results to return per page.

orderingstring

Which field to use when ordering the results.

org_idstring uuid

Filter by Organization within the group

pageinteger

A page number within the paginated result set.

refreshboolean

Results are cached for a short period. Set to true to bypass the cache and fetch fresh data from Snyk.

searchstring

Filter by repository name

Response

countinteger

Total number of results.

page_totalinteger

Total number of pages.

pageinteger

Number of the current page.
The first page is 1.
Defaults to 1 if no specific page is requested.

lengthinteger

Number of results returned per page.

Example response

{
  "count": 6,
  "page_total": 1,
  "page": 1,
  "length": 10
}

Changes

    • info

      added the new optional query request parameter group_id

    • info

      added the new optional query request parameter org_id

    • info

      added the new optional query request parameter refresh

    • info

      added the non-success response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      endpoint added