Py42

Latest version: v1.27.1

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

Scan your dependencies

Page 13 of 14

0.1.8

Fixed

- Regression that removed an optimization that allowed user to make requests to the same storage node without
getting a new storage auth token for each request

0.1.7

Fixed

- Bug in authentication handling logic that caused authentication tokens to not automatically renew properly when
they expired.
- Bug in creating security plan clients that caused some clients to not be created for users with multiple plans or archives

0.1.6

Fixed

- Issues with unicode support in `securitydata.search_file_events()` and `archive.download_from_backup()`

0.1.5

Fixed

- Bug in the path-matching logic of `archive.download_from_backup` that caused:
- downloads to fail if the drive/root path didn't match, case-sensitive
- the API to return `None` instead of raising an exception

0.1.4

Added

- requests made by py42 now use a user agent string that contains the py42 version and python version.
This user agent string can be retrieved using `py42.settings.get_user_agent_string()`
- A custom suffix can be added to the end of this user agent string by using `py42.settings.set_user_agent_suffix()`.
- `SDK.users.get_users()` and `SDK.devices.get_devices()` now both support a `q` parameter that can be used to check
common distinguishing fields on those items for an input string (e.g. `SDK.users.get_user(q="test")` will return all
users whose username or email address contain "test").

Changed

- `SDK.archive.download_from_backup()` will now download the most recent non-deleted version of a file. Previously,
file paths that were deleted would not be downloaded.

Fixed

- Asynchronously searching for file events and then later attempting to download a file with the same SDK object
no longer hangs indefinitely.

0.1.3

Added

- `SDK.securitydata.search_file_events()` to search for file events using the Forensic File Search (FFS) service
- `py42.sdk.file_event_query` module with classes to easily build file event queries
- Ability to print various levels of debug statements for troubleshooting purposes. See `settings.debug_level`
- [pytest](https://docs.pytest.org/) test framework

Changed

- Merged `SDK.restore` with `SDK.archive`
- `RestoreModule` was renamed to `ArchiveModule`
- `RestoreClient` merged into `ArchiveClient`
- `StorageRestoreClient` merged into `StorageArchiveClient`

Removed

- Tests from distribution package

Page 13 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.