Tdxlib

Latest version: v0.5.2

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

Scan your dependencies

Page 1 of 3

11.6

v.0.4.0
Bugfixes
- Authentication failures no long throw TypeError if ignored
- Now checks authentication before any call

New features
- Support for changing SupplierID and Replacement Date in generate_ticket
- Aliased a few methods so they're consistent between tickets and assets
- Made lots of additional typing hints in both ticket and asset integrations

What's Changed
* Fix bug in building full host URL by gshere in https://github.com/cedarville-university/tdxlib/pull/52
* Ticket typing fixes by nattyboyme3 in https://github.com/cedarville-university/tdxlib/pull/57
* Add option to pass dictionary instead of config file by tzturner in https://github.com/cedarville-university/tdxlib/pull/53
* Assets: supplier ID and replacement date by nattyboyme3 in https://github.com/cedarville-university/tdxlib/pull/58
* 55 bad auth credentials results in typeerror by nattyboyme3 in https://github.com/cedarville-university/tdxlib/pull/59
* allows check auth exp to return false if not authenticated at all. by nattyboyme3 in https://github.com/cedarville-university/tdxlib/pull/60

New Contributors
* gshere made their first contribution in https://github.com/cedarville-university/tdxlib/pull/52
* tzturner made their first contribution in https://github.com/cedarville-university/tdxlib/pull/53

**Full Changelog**: https://github.com/cedarville-university/tdxlib/compare/v.0.3.5...v.0.4.0

v.0.3.5
This update brings TDXLib logging out of the stone age.

Set log level in the config file:
`log_level=INFO`


What's Changed
* De-StoneAge-ifying Logging by nattyboyme3 in https://github.com/cedarville-university/tdxlib/pull/51


**Full Changelog**: https://github.com/cedarville-university/tdxlib/compare/v.0.3.4...v.0.3.5

v.0.3.4
What's Changed
* Added ability to specify statuses to include in find_asset_by_sn() and others
* Added all_statutes option to search_asset() and related methods

Fixed
* Problem with search_asset() not handling null values when full_record=True was specified

**Full Changelog**: https://github.com/cedarville-university/tdxlib/compare/v0.3.3...v.0.3.4

0.3.3

Squashes a few small bugs in new asset features.

0.3.0

Added Features
- new Asset methods, including:
- copy_asset_attributes(): copies attributes (including CAs!) from one asset to another
- clear_asset_custom_attributes(): clears specified CAs from an asset
- get_asset_users(): gets a list of an assets users
- delete_asset_users(): deletes asset users, based on a provided list
- add_asset_user(): adds a person to an asset as a user
- get_asset_custom_attribute_value_by_name(): gets the value of a CA for a specific access
- change_asset_location(): moves an asset from one Location/Room to another
- Better unit testing

Squashed Bugs
- fixed lots of issues with update_assets() and CAs in specific situations
- build_asset_custom_attribute() now correctly handles datetime objects (puts them in the TDX datetime format)
- get_ticket_by_id() now correctly returns None if no ticket is found
- get_asset_custom_attribute_by_name_id() no longer compares ints to strings
- build_asset() can now handle CAs in the following forms
- {'Attributes': [list of attribute dicts]} (new)
- {'Key': 'Value', 'Key2': 'Value2'}  (new)
- [list of attribute dicts] (previously supported)

0.2.14

_This release has been tested with TeamDynamix 11.4_

Install from pip:
`pip install --upgrade tdxlib`

Bugfixes/Minor Changes
- Adds handling for new Ticket Attributes in TDX 11.4
- Changed default behavior to not error out when seeing a new Ticket Attribute

0.2.13

_This release has been tested with TeamDynamix 11.2_

Install from pip:
`pip install --upgrade tdxlib`

Bugfixes/Minor Changes
- Adds handling for new Ticket Attributes added in TDX 11.2
- Improved documentation on how to use Custom Attributes
- Adds a timezone configuration option (for setting accurate local date attribs in tickets/assets)
- Changed contributing instructions slightly

0.2.12

Adds a feature so you can specify the FQDN of your TDX instance instead of being forced to use *.teamdynamix.com

Thanks to mlhess for contributing.

Update:
pip install --update tdxlib

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.