Releases: code42/py42
v1.19.3
1.19.3 - 2021-11-09
Removed
- Removed method Get_alert_log(), method was no longer functional
Changed
- updated URI paths to use new standardized versioning scheme
v1.19.2
1.19.2 - 2021-10-19
Fixed
- Decreased
get_all_alert_detailsbatch size to 25 when retrieving alert queries due to performance concerns.
v1.19.1
1.19.1 - 2021-10-12
Added
- The following enums classes are now available to reference in
py42.constantsin addition to their original modules:CaseStatusRiskTagsTrustedActivityTypeDepartingEmployeeFiltersHighRiskEmployeeFilters
Fixed
- Bug where
sdk.alerts.get_all_alert_details()was raising error when no alerts were found in query.
v1.19.0
1.19.0 - 2021-09-21
Added
-
New
trustedactivitiesclient with the following new methods:sdk.trustedactivities.get_all()to get all trusted activities.sdk.trustedactivities.create()to create a new trusted activity.sdk.trustedactivities.get()to get details about a single trusted activity.sdk.trustedactivities.update()to update a trusted activity.sdk.trustedactivities.delete()to delete a trusted activity
-
New custom exceptions
Py42TrustedActivityInvalidChangeErrorPy42TrustedActivityConflictErrorPy42TrustedActivityInvalidCharacterErrorPy42TrustedActivityIdNotFound
-
New custom
HTTP 409 errorwrapper classPy42ConflictError
v1.18.1
1.18.1 - 2021-09-15
Fixed
- Bug where
sdk.securitydata.search_all_file_events()errored whenpage_tokenparam wasNone. - Issue where
sdk.devices.get_page()raises a vague error message when provided with invalid org UID.
v1.18.0
1.18.0 - 2021-08-19
Added
-
New alias method
sdk.securitydata.savedsearches.search_file_events()for existing methodsdk.securitydata.savedsearches.execute(). -
Two new
riskIndicator.UserBehaviorfilter valuesFirst use of destinationRare use of destination
Changed
- Updated minimum version of
requestslibrary to 2.4.2
v1.17.0
1.17.0 - 2021-08-10
Added
-
RiskIndicatorandRiskSeverityfilter classes to newpy42.sdk.queries.fileevents.filters.risk_filtermodule. -
Support for Incydr SKUs that do not include backup and restore functionality to
sdk.securitydata.stream_file_by_sha256()andsdk.securitydata.stream_file_by_md5(). -
New method
sdk.alerts.get_all_alert_details()as a helper to make getting alerts with details easier (combinessdk.alerts.search_all_pages()andsdk.alerts.get_details()). -
New method
sdk.loginconfig.get_for_user()to identify if a user's login type isLOCAL,LOCAL_2FA, orCLOUD_SSO.
Removed
-
py42 no longer supports python 2.7 or python 3.5.
-
Usage of
Py42MFARequiredError. Usesdk.loginconfig.get_for_user()instead to check if a user is configured for two-factor authentication. -
FED (File Extraction Detection) - related functionality from the
SecurityDataClientclassget_security_plan_storage_info_list()get_all_plan_security_events()get_all_user_security_events()PlanStorageInfoclass
v1.16.1
v1.16.0
1.16.0 - 2021-07-08
Fixed
-
sdk.securitydata.search_all_file_events()now automatically escapes double-quote characters in thepage_tokenparam
when passed. -
An issue where
FileEventQuery.sort_directionandFileEventQuery.sort_keyproperties were not applied to searches
when apage_tokenwas passed in calls tosdk.securitydata.search_all_file_events(). -
Methods
sdk.auditlogs.get_all()andsdk.auditlogs.get_page()now honor microseconds when parameters
begin_timeorend_timeare epoch times.
Added
-
Custom exception
Py42InvalidEmailErrorwhen providing an invalid email tosdk.users.update_user(). -
Custom exception
Py42InvalidPasswordErrorwhen providing an invalid password tosdk.users.update_user(). -
Custom exception
Py42InvalidUsernameErrorwhen providing an invalid username tosdk.users.update_user().
v1.15.1
1.15.1 - 2021-06-22
Changed
- The
DateObservedalert query filter now parses timestamps using microsecond precision. - Change JWT auth token label from
v3_user_tokentoBearerwhen authenticating against the/c42api/v3/auth/jwtendpoint.
Fixed
- Python2.7 bug where non-unicode
strtimestamps would fail when used in a query filter.