Skip to content

Releases: code42/py42

1.27.3

18 Dec 17:54
753570f
Compare
Choose a tag to compare

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

27 Nov 18:15
f7af179
Compare
Choose a tag to compare

1.27.2 - 2024-11-27

Fixed

  • An issue where the page size of file event queries was higher than intended.
  • An issue where streaming file by hash did not use the hash.

1.27.1

25 Apr 19:24
00b73b9
Compare
Choose a tag to compare

1.27.1 - 2024-04-25

Changed

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

v1.27.0

09 Aug 14:47
027aa20
Compare
Choose a tag to compare

1.27.0 - 2023-08-04

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.

v1.26.2

16 May 18:57
a2ddc6a
Compare
Choose a tag to compare

1.26.2 - 2023-05-16

Changed

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

v1.26.1

20 Jan 16:22
8bbdc01
Compare
Choose a tag to compare

1.26.1 - 2023-01-20

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.

v1.26.0

08 Sep 16:05
9e8ef31
Compare
Choose a tag to compare

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 arg policy.
    • get_custodians_page() - Does not allow optional arg legal_hold_membership_uid.
    • get_events_page()/get_all_events() - Not available.

v1.25.1

07 Sep 21:00
45a96cb
Compare
Choose a tag to compare

1.25.1 - 2022-09-07

Updated

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

v1.25.0

27 Jul 16:27
b29ba5b
Compare
Choose a tag to compare

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

03 Jun 13:33
53a9178
Compare
Choose a tag to compare

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. Set use_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()

Fixed

  • A bug where sdk.watchlists.add_included_users_by_watchlist_type() and sdk.watchlists.delete_included_users_by_watchlist_type() were not returning the response object.