Skip to content

v0.1.8

Latest
Compare
Choose a tag to compare
@safepost safepost released this 13 Nov 09:01
d384532
  • Added a function to get user's safes
  • Added list members linked function
  • Added the connection_component_by_platform function in utilities
  • Changed the return of connection_component_usage from string to list of dict
  • Adding PrivilegedAccount object directly in epv class to allow user to import it

Configuration file changes:

  • Existing section

    • "AIM" section
      • Added "passphrase" field in "AIM" section to handle AIM PEM encrypted certificate.
  • New section:

    • "accounts" section defined the EPV.account option fields:
      handle "LOGON_ACCOUNT_INDEX" and "RECONCILE_ACCOUNT_INDEX" definition.
      Those definition has been moved from the 'custom' section.

    • "safe" section defined the EPV.safe option fields:
      handle "cpm" and "retention" definition.
      Those definition has been moved from the global section.

    • "api_options" section defined the new global API options.
      - "deprecated_warning" field to enable/disable deprecated warning (default is true = enable)

Serialization changes:

  • Existing keys:

    • "AIM" (dictionary)
      • Added "passphrase" field in "AIM" section to handle AIM encrypted certificate.
      • Default value for "verify" field is now "True" (ROOT certificate authority (CA) will be validated by default).
  • New keys dictionary in serialization:

    • "account" key (dictionary):
      - "LOGON_ACCOUNT_INDEX" and "RECONCILE_ACCOUNT_INDEX" fields.
    • "safe" key (dictionary):
      - "cpm" and "retention" fields.
    • "api_options" key (dictionary):
      - "deprecated_warning" field.
  • keys moved:

    • from the global section to "account"
      • "LOGON_ACCOUNT_INDEX" and "RECONCILE_ACCOUNT_INDEX" fields.
    • from the "custom" section to "safe"
      • "cpm" and "retention" fields.

Functions changes:

  • Safe class:

    • Added an "update" function
  • EPV class:

    • "login_with_aim" function has been modified to force some parameters to be specified in the form key=value.
      For example: epv_env.login_with_aim(passphrase="Hello123Word!")

      • "root_ca" parameter is now deprecated, you should use the "verify" parameter.
    • "to_json" now return a dictionary for keys: "safe", "account" and "api_options".

raise exception changes:

  • new exception "CyberarkNotFoundException" will be raise for a http error 404 (page not found) instead of "CyberarkException".

Internal modification for a better management for file configuration and serialization mainly in config.py and cyberark.py.