Releases: code42/py42
Releases · code42/py42
1.27.3
1.27.3 - 2024-12-18
Removed
- Ended support for python 3.8, which is end-of-life.
Added
- A setting to add a prefix to the user-agent.
1.27.2
1.27.1
1.27.1 - 2024-04-25
Changed
- Increased HTTP client timeout from 1 minute to 3 minutes.
v1.27.0
1.27.0 - 2023-08-04
Removed
- Removed the
detectionlists
client, which includedhigh_risk_employee
anddeparting_employee
clients. - APIs had been deprecated and were replaced by the
Watchlists
client. APIs are no longer available regardless of Py42 version.
v1.26.2
v1.26.1
1.26.1 - 2023-01-20
Added
sdk.watchlists.create()
now supports theCUSTOM
watchlist type, and acceptstitle
anddescription
keyword arguments (only applicable toCUSTOM
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.
v1.26.0
1.26.0 - 2022-09-08
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 argpolicy
.get_custodians_page()
- Does not allow optional arglegal_hold_membership_uid
.get_events_page()
/get_all_events()
- Not available.
v1.25.1
v1.25.0
1.25.0 - 2022-07-27
Added
- Added new filter terms for the following file event fields to
py42.sdk.queries.fileevents.v2.filters
:destination.Category
source.Category
risk.Indicators
- Added remaining query filter terms and classes for all V2 file event fields.
v1.24.0
1.24.0 - 2022-06-03
Added
- Support for V2 file event data.
- Use queries built with V2 filters by importing the appropriate modules with
from py42.sdk.queries.fileevents.v2 import *
. Documentation is available for all V2 filter terms. - The following functions will now use V2 apis for searching file events if sent a V2 query object:
securitydata.search_file_events()
securitydata.search_all_file_events()
- All saved search methods now have an optional
use_v2=False
argument. Setuse_v2=True
to opt into using the V2 saved search APIs. The following methods now accept this arg:securitydata.savedsearches.get()
securitydata.savedsearches.get_by_id()
securitydata.savedsearches.get_query()
securitydata.savedsearches.execute()
securitydata.savedsearches.search_file_events()
- Use queries built with V2 filters by importing the appropriate modules with
Fixed
- A bug where
sdk.watchlists.add_included_users_by_watchlist_type()
andsdk.watchlists.delete_included_users_by_watchlist_type()
were not returning the response object.