Releases: Axonius/axonius_api_client
Releases · Axonius/axonius_api_client
5.0.21
5.0.20
Library Changes
Full Changelog: 5.0.19...5.0.20
5.0.19
Library Changes
Full Changelog: 5.0.18...5.0.19
5.0.18
Sync changes from private repo main branch (#303) Co-authored-by: axoniusgithub <github@axonius.com>
5.0.17
Library Changes
- Fixed Enable Gateway FF Removal
- From version 6.1.x the Enable Gateway is True by default
Full Changelog: 5.0.16...5.0.17
Example Usage
Axonshell
axonshell adapters cnx add -tn T-2 -n cisco --config auth_protocol=hmac_md5 --config host=10.20.15.21 --config port=161 --config protocol=snmpv2 --config secure_level=authPriv --config community=XXXXXX --config username=null --config password=null --config priv_protocol=aescfb128 --config description=null --config auth_passphrase=null --config priv_passphrase=null
5.0.16
What's Changed
- feature/AX-46291 | added support to internal_axon_tenant_id when creating an adapter connection by @amithadary in #291
New Contributors
- @amithadary made their first contribution in #291
Full Changelog: 5.0.15...5.0.16
5.0.15
Library Changes
- Fixed the ability to use the PEM certificate file
- Fixed the ability to filter by Field Filters (-iff)
Full Changelog: 5.0.14...5.0.15
Example Usage
Axonshell
axonshell devices get-by-saved-query -n "ONLY_WINDOWS" -iff
- By default -iff set to True
5.0.14
Library Changes
- Added the ability to add tag expiration date using date format (YYYY-MM-DD) or days-from-now (int)
Full Changelog: 5.0.13...5.0.14
Example Usage
Axonshell
axonshell -nw devices get --wiz simple "name equals windows" --max-pages 1 --max-rows 1 --tag "A" --tag "B" --tag "C" -exp A=2024-05-05 -exp B=10
API
Python setup.py develop
Axonshell tools shell
- Must have .env file
rows = c.devices.get(wiz_entries=[{'type': 'simple', 'value': 'name equals oz'}], max_pages=1, max_rows=1)
c.devices.labels.add(rows=rows, labels=['A', 'B', 'C'], expirable_tags={'A': '2024-05-05', 'B': 10})
axonshell users saved-query export --uuid "658c57b5ec767a9169bb3351"
5.0.13
Library Changes
- Added a new
warning
field on client counts. - Modified client counts dataclass to be less restrictive.
- Fixed a comparison bug with enforcements.
Full Changelog: 5.0.12...5.0.13
5.0.12
Library Changes
- Added the ability to import and export saved queries as the GUI does.
Full Changelog: 5.0.11...5.0.12
New Commands
Two new commands were added for supported asset types.
Usage: axonshell devices saved-query [OPTIONS] COMMAND [ARGS]...
Group: Work with saved queries.
Options:
--help Show this message and exit.
Commands:
...
export Export saved queries to a file.
...
import Import saved queries from a previously exported...
...
Example Usage
Exporting via Saved Query Name
axonshell devices saved-query export --name "All Assets"
Exporting via Saved Query UUID
axonshell users saved-query export --uuid "658c57b5ec767a9169bb3351"
Importing
axonshell users saved-query import --input-file "./axonius_saved_queries_2023-12-27T04-05-52UTC.json"