github code42/py42 v0.7.0

latest releases: v1.27.1, v1.27.0, v1.26.2...
4 years ago

0.7.0 - 2020-04-10

Removed

  • Parameter classification removed from OrgClient.create_org()
  • Parameter legal_hold_membership_uid removed from LegalHoldClient.get_all_matter_custodians()
  • Removed ArchiveClient. Use ArchiveModule.
  • Removed function ArchiveModule.get_data_key_token().
  • Removed function ArchiveModule.get_web_restore_info().
  • Parameter classification removed from OrgClient.create_org().
  • Parameter legal_hold_membership_uid removed from LegalHoldClient.get_all_matter_custodians().
  • Removed SecurityClient. Use SecurityModule.

Changed

  • Parameter active_state was renamed to active and now accepts (True, False, or None)
    instead of ("ACTIVE", "INACTIVE", or "ALL") on the following LegalHoldClient methods:
    • get_all_matters()
    • get_all_matter_custodians()
  • Parameter storageaccess was removed from SDKClient. To restore files, just use
    SDKClient.archive.stream_from_backup().
  • Parameter active_state was renamed to active and now accepts (True, False, or None)
    instead of ("ACTIVE", "INACTIVE", or "ALL") on the following LegalHoldClient methods:
    • get_all_matters()
    • get_all_matter_custodians()
  • py42.sdk.archive.stream_from_backup() now raises Py42ArchiveFileNotFoundError when it does not find a file.
  • py42.sdk.alerts and py42.sdk.detectionlists raise Py42SessionInitializationError if they are unable to
    connect to the necessary microservice and Py42FeatureUnavailableError if their environment does not support
    the microservice.
  • py42.sdk.securitydata.get_security_plan_storage_info_list() raises Py42SecurityPlanConnectionError if it can't
    connect to get plan info.
  • Storage node connection issues may raise Py42StorageSessionInitializationError.
  • All requests may raise a subclass of Py42HTTPError denoting which type of HTTP error it is:
    • Py42BadRequestError
    • Py42UnauthorizedError
    • Py42ForbiddenError
    • Py42NotFoundError
    • Py42InternalServerError
  • py42.modules.ArchiveModule methods:
    • get_all_device_restore_history() (formerly get_restore_history_by_device_id())
    • get_all_user_restore_history() (formerly get_restore_history_by_user_id())
    • get_all_org_restore_history() (formerly get_restore_history_by_org_id())
      now all return generator objects that handle paging through restore history.
  • Renamed AlertClient.get_query_details() to AlertClient.get_details().
  • Renamed SecurityModule.get_plan_security_events() to get_all_plan_security_events().
  • Renamed SecurityModule.get_user_security_events() to get_all_user_security_events().

Added

  • py42 specific exceptions at new module py42.sdk.exceptions:
    • Py42Error
    • Py42ArchiveFileNotFoundError
    • Py42SessionInitializationError
    • Py42FeatureUnavailableError
    • Py42SecurityPlanConnectionError
    • Py42HTTPError
    • Py42BadRequestError
    • Py42UnauthorizedError
    • Py42ForbiddenError
    • Py42NotFoundError
    • Py42InternalServerError
  • Parameters archive_password and encryption_key added to ArchiveModule.stream_from_backup().

Don't miss a new py42 release

NewReleases is sending notifications on new releases.