Skip to content

4.20.1 (pre-release)

Pre-release
Pre-release
Compare
Choose a tag to compare
@gluemaker gluemaker released this 08 Mar 21:25
· 322 commits to master since this release

4.20.1

⚠️ This is a pre-release

While this version is tested thoroughly, there are a number of core changes to support working with SSL certificates that could produce errors in certain edge cases.

The version that gets installed by pip will be the latest NON pre-release:
pip install axonius-api-client

In order to install a version marked as a pre-release, you need to specify the exact version with pip:
pip install axonius-api-client==4.20.1

AXONSHELL

AXONSHELL fixes

AXONSHELL enhancments

  • tweaks/minor fixes to numerous commands

  • NEW ENVIRONMENT VARIABLES:

    • AX_USER_AGENT: if set, will override the User Agent used internally
  • NEW COMMAND GROUP: axonshell certs - work with SSL certificates

    • axonshell certs ca-enable - enable/disable custom CAs setting in GUI
    • axonshell certs ca-add - add a custom CA to the GUI from a file
    • axonshell certs ca-remove - remove a custom CA from the GUI
    • axonshell certs ca-get - get the current custom CAs in GUI
    • axonshell certs gui-info - get basic info about the current SSL cert in GUI
    • axonshell certs gui-reset - revert the GUI SSL cert to the one generated at install time
    • axonshell certs gui-update - update the GUI SSL cert with a cert & key file
    • axonshell certs csr-get - get the pending CSR
    • axonshell certs csr-create - create a CSR
    • axonshell certs csr-cancel - cancel a pending CSR
    • axonshell certs from-file - display / convert certs from a PEM/PKCS7/DER file to PEM/str/json
    • axonshell certs from-url - display / convert cert chain from a URL to PEM/str/json
  • REMOVED COMMANDS:

    • axonshell tools convert-cert - use axonshell certs from-file as a replacement

API Library

API Library fixes

API Library Enhancements

  • package:

    • numerous improvements to axonius_api_client.http.Http

    • NEW MODULES:

      • cert_human - to add tooling for working with SSL certs
    • NEW DEPENDENCIES:

      • asn1crypto>=1.4.0 for working with SSL certs
    • NEW ENVIRONMENT VARIABLES:

      • AX_USER_AGENT: if set, will override the User Agent used internally
  • NEW METHODS:

    • settings_global.ca_enable - enable/disable custom CAs setting in GUI
    • settings_global.check_cert_is_ca - check if a cert is a CA cert
    • settings_global.ca_add_path - add a custom CA to the GUI from a file
    • settings_global.ca_add - add a custom CA to the GUI from bytes/str
    • settings_global.cas_to_str - pretty print the custom CAs currently in GUI
    • settings_global.ca_remove - remove a custom CA from the GUI
    • settings_global.ca_get - get the current custom CAs in GUI
    • settings_global.gui_cert_info - get basic info about the current SSL cert in GUI
    • settings_global.gui_cert_reset - revert the GUI SSL cert to the one generated at install time
    • settings_global.gui_cert_update_path - update the GUI SSL cert with a cert & key file
    • settings_global.gui_cert_update - update the GUI SSL cert with a cert & key bytes/str
    • settings_global.csr_get - get the pending CSR
    • settings_global.csr_create - create a CSR
    • settings_global.csr_cancel - cancel a pending CSR
    • settings_global._cert_uploaded - direct API method
    • settings_global._gui_cert_update - direct API method
    • settings_global._gui_cert_reset - direct API method
    • settings_global._cert_settings - direct API method
    • settings_global._gui_cert_info - direct API method
    • settings_global._csr_get - direct API method
    • settings_global._csr_cancel - direct API method
    • settings_global._csr_create - direct API method

What's Changed

Full Changelog: 4.20.0...4.20.1