code42 / incydr_python

Incydr Python SDK
MIT License
7 stars 5 forks source link

fix `page` query param in user-risk-profile query #101

Closed timabrmsn closed 1 year ago

timabrmsn commented 1 year ago

The correct query param for GET /v1/user-risk-profiles is page: https://developer.code42.com/api/#tag/User-Risk-Profiles/operation/ListUserRiskProfiles

Sending page_num instead causes client.user_risk_profiles.v1.iter_all() to loop infinitely over the first page.