When I try to retrieve a really large list (e.g. getting a list of all IPS rules), it seems pretty clear that the API is paginating since I always only get 5000 results (and I'm sure we have more than 5000 IPS rules. However there doesn't appear to be any obvious params to set for pagination.
curl -X GET https://<server>/api/intrusionpreventionrules -H "api-version: v1" -H "api-secret-key: <key>" | jq ".intrusionPreventionRules | length"
returns an even 5000
How do I get the rest of these?
Okay, I think the answer is that this is only possible via the /intrusionpreventionrules/search API (though to be fair, I haven't tried adding search criteria to the list API.
Here's some example code in python: