Closed zacharyestep closed 2 years ago
Please check if your PR fulfills the following requirements:
Bugfix/issue
Please check the type of change your PR introduces:
cb-38082
Ticket Number: N/A
Issue Number:
https://github.com/carbonblack/cbapi-python/issues/301
One line change to change the sort order for EDR sensor searches from 'last_checkin_time' (default when none provided explicitly) to 'hostname' to make the sort stable as sensors checkin during paging
Manual testing
`from cbapi.response import CbResponseAPI, Sensor import logging logging.basicConfig(level=logging.DEBUG)
cb=CbResponseAPI() cb_sensors = cb.select(Sensor).all() sensors = list(cb_sensors) `
Pull request checklist
Please check if your PR fulfills the following requirements:
Pull request type
Bugfix/issue
Please check the type of change your PR introduces:
What is the ticket or issue number?
cb-38082
Ticket Number: N/A
Issue Number:
https://github.com/carbonblack/cbapi-python/issues/301
Pull Request Description
One line change to change the sort order for EDR sensor searches from 'last_checkin_time' (default when none provided explicitly) to 'hostname' to make the sort stable as sensors checkin during paging
Does this introduce a breaking change?
How Has This Been Tested?
Manual testing
`from cbapi.response import CbResponseAPI, Sensor import logging logging.basicConfig(level=logging.DEBUG)
cb=CbResponseAPI() cb_sensors = cb.select(Sensor).all() sensors = list(cb_sensors) `
Other information: