(Notice the transposition of the group ID and the to query string arg.)
GET instead of POST requests
All the API calls are using GET requests instead of the required POST requests. The POST requests also require a JSON body for easy requests, to allow passing filters. Even if you want no filters, the API expects you to pass an empty JSON body, or it will fail.
Overview
I encountered two main issues with testing the Snyk log pullers:
Details
Bad string formatting
The Snyk audit log puller is calling badly formatted URLs and swallowing errors.
Example URL that was being used:
(Notice the transposition of the group ID and the
to
query string arg.)GET instead of POST requests
All the API calls are using GET requests instead of the required POST requests. The POST requests also require a JSON body for easy requests, to allow passing filters. Even if you want no filters, the API expects you to pass an empty JSON body, or it will fail.