Axonius-api-client

Latest version: v5.0.21

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 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**: https://github.com/Axonius/axonius_api_client/compare/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**: https://github.com/Axonius/axonius_api_client/compare/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**: https://github.com/Axonius/axonius_api_client/compare/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**: https://github.com/Axonius/axonius_api_client/compare/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"

5.0.11

Library Changes

- Added an automatic connection retry mechanism. This includes two parameters:
- max-retries: the total number of retry attempts you want to allow
- retry-backoff: the number of seconds (multiple against the retry attempt ) used as a delay

**Full Changelog**: https://github.com/Axonius/axonius_api_client/compare/5.0.10...5.0.11

5.0.10

Library Changes
- Fixed an issue where the model schema was incorrect for fetch_events_count.

**Full Changelog**: https://github.com/Axonius/axonius_api_client/compare/5.0.9...5.0.10

Page 2 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.