Oaaclient

Latest version: v1.1.12

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.1.12

* Add support for setting IDP user `identity_type` for identifying non-human identity (NHI) accounts. IDP User's attribute `identity_type` can be set using the `IdPUserIdentityType` enum. Accounts default to `HUMAN`.

svc_account = idp.add_user("svc_01", "Service Account", "helpdeskexample.com", "svc_01")
svc_account.identity_type = IdPUserIdentityType.NonHuman

* Add `update_provisioning_status` method to `OAAClient` class. Allows enabling provisioning source on providers that support is such as HRIS template providers.

1.1.11

* Add support for Custom IDP Apps functionality. Ability to define new `CustomIdPApp` as part of a `CustomIdPProvider` and assign `CustomIdPUser` and `CustomIdPGroup` to the app.
* API timeout time in seconds can be set with environment variable `OAA_API_TIMEOUT`. If unset the default 300 seconds is used.

export OAA_API_TIMEOUT=500

1.1.10

* Added support for Access Credentials entity type. Access Credentials can be used to represent non-user based access such as API keys or Application Integrations that have their own roles and permissions in the application. Access Credentials can be stand-alone or assigned to a local user.
python
access_cred_1 = app.add_access_cred("cred001", "Access Cred 001")
access_cred_1.is_active = True
access_cred_1.last_used_at = "2024-03-12T00:00:00.000Z"
access_cred_1.add_role("some_role_id", apply_to_application=True)
app.local_users["user001"].add_access_cred("cred001")

* Adds support for built in `email` property for Application Local Users. The `email` property can be set on a Local User after creating it.

user = my_app.add_local_user(unique_id="123", name="My User")
user.email = "my_emailexample.com"

1.1.9

* Added ability to pass additional argument using `options` dictionary parameter to more methods in the `OAAClient`. Arguments will be passed to Veza during provider create API call and must be supported by Veza or an API error will be returned.
* `OAAClient.push_application`
* `OAAClient.push_medatadata`
* `OAAClient.create_data_source`
* Support for automatic paging of Veza API calls that return `path_values` lists such as the query spec API

1.1.8

* Support for setting linked IdP types for HRIS submissions. Veza will automatically link employees to IdP users of the given type(s) when set. Set using `HRISSystem.add_idp_type()` and `IdPProviderType` enums.

hris = HRISProvider("HRIS", hris_type="MyHRIS", url="example.com")
hris.system.add_idp_type(IdPProviderType.OKTA)

* Added ability to pass additional arguments during Provider Creation API Call. Additional arguments can be passed as a dictionary to `Client.create_provider` using optional `options` parameter. Arguments will be passed to Veza during provider create API call and must be supported by Veza or an API error will be returned.

1.1.7

* Added support for creating OAA Provider as part of `OAAClient.push_application` by passing `create_provider=True` parameter. Will automatically create a new Provider with the `provider_name` if it does not exist
* Role Assignments now support setting custom properties. These properties must be defined using the `ApplicationPropertyDefinitions.define_role_assignment_property()` method. Properties can be set when adding a role to an identity with the `add_role` method.
* Changes to `utils.build_report` function to resolve issues from duplicate queries when updating existing reports.
* Preview - Support for HRIS template with `templates.HRISProvider`. Preview release and interfaces may change before final version.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.