carbonblack / carbon-black-cloud-sdk-python

VMware Carbon Black Cloud Python SDK
MIT License
40 stars 23 forks source link

CBAPI-5259: Reimplement AuditLog.get_auditlogs in terms of new API #501

Closed abowersox-cb closed 5 months ago

abowersox-cb commented 5 months ago

Pull request checklist

Please check if your PR fulfills the following requirements:

What is the ticket or issue number?

https://jira.carbonblack.local/browse/CBAPI-5259

Pull Request Description

Added function get_queued_auditlogs() that does what get_auditlogs() did, only in terms of actual new AuditLog objects. Older get_auditlogs() function has been marked as deprecated.

Does this introduce a breaking change?

How Has This Been Tested?

Unit test covers the new function; test coverage for audit.py now stands at 97%.