Major release
The 4.0 release of this API Client will only work with Axonius v3.9 and later. In order to use this API Client with a version earlier than Axonius v3.9, you will need to use a 3.x version of the API client.
Major enhancements
- There is now a Query Wizard built into the API:
- axonius_api_client.wizard.Wizard
- axonius_api_client.wizard.WizardText
- axonius_api_client.wizard.WizardCsv
- axonshell: New command added to axonshell devices/users saved-query:
- add-from-wiz-csv: This will allow you to create multiple saved queries using the new query wizard logic
- axonshell: New argements added to axonshell devices/users get:
- --wiz: Will allow you to specify multiple query wizard expressions to build a query from the CLI instead of having to use the GUI
- --fields-fuzzy: select fields using fuzzy matching logic
- axonshell: New argements added to axonshell devices/users saved-query add:
- --wiz: Will allow you to specify multiple query wizard expressions to build a query from the CLI instead of having to use the GUI
- --fields-fuzzy: select fields using fuzzy matching logic
- All get methods for devices & users: when supplying fields if a field is not found the error shows fields that "fuzzy match" the supplied field. If none are found, the error will show ALL fields.
- All get methods for devices & users: You can now select fields via fuzzy match using fields_fuzzy
- devices/users.fields.get(): results are cached in memory for 5 minutes
- Added support for the new REST API in Axonius v3.9 and above
Minor enhancements
- All get methods for devices & users: add custom callbacks support
- Logging to console no longer shows the full module path
- Logging to file now includes the full pathname
- Connect client: now lets you supply custom console and file log formats
- Linter line length limitations changed from 89 to 100
New python package dependencies
- fuzzywuzzy[speedup]: Adds support fuzzy matching
- cachetools: Adds support for caching
Fixes
- Massive test updates for client changes to 4.0
- Extra columns in CSV output no longer throw errors
Todo
- The documentation needs to an overhaul to bring it up to date with the changes in 4.0