GitHub Advanced Security customers can now use cursors to paginate over alert results they retrieve via the repository and organization level REST APIs.
Paginating with cursors, using the new before
and after
query parameters, can help assure data consistency and improve response times. To receive an initial cursor on your first request, include an empty "before" or "after" query string in your API call.
Learn more about the secret scanning REST API
Learn more about private repository scanning with Advanced Security