Oaaclient

Latest version: v1.1.10

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

Scan your dependencies

Page 2 of 4

1.1.4

* Added support for setting LocalUser "User Type" property. Property can be set by `LocalUser.user_type` property. The enum `LocalUserType` has been added for supported types of `Human` and `ServiceAccount`

1.1.3

* Minor fix for API retry to support latest Python requests version
* Removes validation that permissions and assignments are present before push to support identity only submissions

1.1.2

* Update to allowed characters for Tag keys. Tag keys can only contain numbers, letters and the _ character. `OAATemplateException` is raised for invalid characters in Tag key or value.
* `client.OAAClient` connection class now can automatically load OS environment values for `VEZA_URL` and `VEZA_API_KEY`
* Added debug logging to `client.OAAClient` API function to log detailed error response information if logging level is set to `DEBUG`.
* OAAClient version and calling platform details are included in API call headers as the User-Agent.

1.1.1

* `CustomApplication` and `CustomIdPProvider` have been updated to use a case insensitive dictionary from `dict` structure to store entity lists to be
consistent with template behavior with unique identifiers. The following attributes have been updated:
- `CustomApplication.local_users`
- `CustomApplication.local_groups`
- `CustomApplication.local_roles`
- `CustomApplication.resources`
- `CustomApplication.custom_permissions`
- `CustomResource.sub_resources`
- `CustomIdPProvider.users`
- `CustomIdPProvider.groups`
* Property names are now validated when defined against allowed character pattern `^[a-z][a-z_]*$`
* Fix for `OAAClient.get_reports` to support filtering for inactive reports
* Add support for nested roles. Child roles can be added to the parent by their identifier using the `LocalRole.add_role` function.
* `OAAResponseError` exception now contains additional properties `request_id` and `timestamp` to aid in troubleshooting
* `OAAClient.api_post` and `OAAClient.api_put` functions will automatically paginate response if necessary to return all results.
* Fix for API HTTP methods for parameter encoding for safe characters

1.1.0

* New functions in `OAAClient` for managing Veza Queries and Reports. See function doc strings for usage.
* `get_queries`
* `get_query_by_id`
* `create_query`
* `delete_query`
* `get_reports`
* `get_report_by_id`
* `create_report`
* `update_report`
* `add_query_report`
* `delete_report`
* New `utils` method `build_report` to populate a Veza Report and Quires from a dictionary containing the report and query definitions. See function docstring for more details.
* Package provides new CLI command `oaaclient-report-builder` to load a report file directory from JSON file from the command line.

1.0.4

* Added `__str__` and `__repr__` functions to the template classes to help with debugging and simplify printing log/status messages as needed.
* IdP now supports nested groups. A group can be added to a parent group by using the `CustomIdPGroup.add_groups()` function.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.