Axonius-api-client

Latest version: v5.0.17

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

Scan your dependencies

Page 1 of 15

5.0.17

Library Changes
- Fixed Enable Gateway FF Removal
- From version 6.1.x the Enable Gateway is True by default

**Full Changelog**: https://github.com/Axonius/axonius_api_client/compare/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 https://github.com/Axonius/axonius_api_client/pull/291

New Contributors
* amithadary made their first contribution in https://github.com/Axonius/axonius_api_client/pull/291

**Full Changelog**: https://github.com/Axonius/axonius_api_client/compare/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**: 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"

Page 1 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.