Py42

Latest version: v1.27.1

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

Scan your dependencies

Page 1 of 14

1.27.1

Changed

- Increased HTTP client timeout from 1 minute to 3 minutes.

1.27.0

Removed

- Removed the `detectionlists` client, which included `high_risk_employee` and `departing_employee` clients.
- APIs had been deprecated and were replaced by the `Watchlists` client. APIs are no longer available regardless of Py42 version.

1.26.2

Changed

- Updated required versions of `requests>=2.25.0` and `urllib3>=1.26.6,<2`

1.26.1

Added

- `sdk.watchlists.create()` now supports the `CUSTOM` watchlist type, and accepts `title` and `description` keyword arguments (only applicable to `CUSTOM` watchlist types).

Fixed

- Reverted `sdk.orgs.get_page()` method to use `/v1/orgs` endpoint due to paging bug in `/v3/orgs` endpoint. `sdk.orgs.get_all()` has also been reverted accordingly.
- `sdk.userriskprofile.get_by_username()` now uses a more efficient method to look up the userUid from the username for retrieving the User Risk Profile.

1.26.0

Added

- Support for Code42 API Clients. You can instantiate py42 using a client ID and secret via `py42.sdk.from_api_client()`.

- New Legal Hold Client which supports API Client authentication. This updated client will only be attached to the SDK if initialized with `py42.sdk.from_api_client()`, otherwise the original client will be used. This new client includes the following changes from the existing client:
- `create_policy()` - Does **not** allow optional arg `policy`.
- `get_custodians_page()` - Does **not** allow optional arg `legal_hold_membership_uid`.
- `get_events_page()`/`get_all_events()` - **Not available**.

1.25.1

Updated

- Internal authentication flow changes for `sdk.archive.stream_from_backup()` and `sdk.archive.stream_to_device()` methods.

Page 1 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.