Releases: illumio/illumio-py
Releases · illumio/illumio-py
illumio v1.1.3
Version 1.1.3 (2023-02-10)
NEW FEATURES:
- add
PolicyComputeEngine.set_tls_settingsfunction to update verify and cert values for PCE requests session - add
PolicyComputeEngine.must_connectfunction to complementcheck_connection, raising the exception on failure rather than suppressing it
BUG FIXES:
- fix issue where PCE request could throw NoneType exception if incorrectly configured
illumio v1.1.2
Version 1.1.2 (2022-10-17)
BUG FIXES
- fix check_connection call to avoid 404s on some PCEs
NEW FEATURES
- add default timeout to
PolicyComputeEnginerequests session- add
PolicyComputeEngine.set_timeoutfunction to update timeout
- add
- add
_PCEAPIObject.get_by_namefunction as a convenience method for finding an exact name match
illumio v1.1.1
Version 1.1.1 (2022-09-02)
BUG FIXES:
- fix check_connection call to work with SaaS PCEs
illumio v1.1.0
Version 1.1.0 (2022-08-18)
NEW FEATURES:
-
readthedocs documentation generated with Sphinx
- API documentation
- install guide
- user guide
- common use-cases
- advanced usage
-
add
illumio.eventsmodule- adds
/eventsPCE API endpoint
- adds
-
add
PolicyComputeEngine.get_default_servicefunction -
added constant values to
illumio.util.constantsALL_SERVICES_NAME- defaultAll ServicesService object nameRESOLVE_AS_WORKLOADS- rule label resolution as workloadsRESOLVE_AS_VIRTUAL_SERVICES- rule label resolution as virtual servicesICMP_CODE_MAX- ICMP Code max valueICMP_TYPE_MAX- ICMP Type max value
-
add enumerations to
illumio.util.constantsApplyTo- enum in place of Virtual Service module constantsVENType- enum forVEN.ven_typefieldChangeType- enum forResourceEvent.change_typefieldEventSeverity- enum forBaseEvent.severityfieldEventStatus- enum forBaseEvent.statusfield
-
add
illumio.util.jsonutils.Errordataclass to capture API error responses
IMPROVEMENTS:
- update
illumio.rules.Rule.buildfunction to use['workloads']as consumer/provider label resolution default - broad improvements to pydoc
- add
__all__to all modules - bug fixes and type hint improvements
illumio v1.0.4
Version 1.0.4 (2022-08-16)
BUG FIXES:
- add
FirewallCoexistenceobject to fix decodedWorkload.firewall_coexistencedata type
illumio v1.0.3
Version 1.0.3 (2022-08-13)
NEW FEATURES:
- add
PORT_MAXconstant to util.constants - add
IllumioIntegerValidationExceptionclass - add int validation helper function
IMPROVEMENTS:
- validate
PolicyComputeEngineorg_id and port values on init - build URL for each request
PolicyComputeEngine - add private member vars for scheme/hostname/port/version
- update
PolicyComputeEngine.check_connectionto make a second call to validate org_id
illumio v1.0.2
Version 1.0.2 (2022-07-06)
IMPROVEMENTS:
illumio.workloads.pairingprofile.PairingProfile- add custom encoder to enforce strict type checking forkey_lifespanandallowed_uses_per_keyfields- improve unit and integration tests
illumio.policyobjects.service.Service- add unit test suite for/servicesAPI
illumio.policyobjects.label.LabelSet- add custom equality function that ignores labels list ordering
illumio v1.0.1
Version 1.0.1 (2022-06-25)
NEW FEATURES:
illumio.infrastructure.containercluster.ContainerWorkloadProfiles- add container clusters workload profiles API- add stub for
/usersapi - make the
include_orgdefault configurable as aPolicyComputeEngineclass attribute
IMPROVEMENTS:
- flesh out and document
/container_clustersAPI - move flatten_ref and resolve_enum functions to JSON encoding to avoid side-effects when creating JsonObject instances
- add sweeper module for integration test teardown
- add unit and integration tests for container clusters and workload profiles
- add unit tests to validate different request paths and include_org values
illumio v1.0.0
Version 1.0.0 (2022-06-16)
MAJOR CHANGES:
- change PolicyComputeEngine CRUD interfaces from static functions to a generic internal class (
illumio.pce._PCEObjectAPI) that checks against dynamically registered endpoints
NEW FEATURES:
- CRUD operations for new model
illumio.pce._PCEObjectAPI::createillumio.pce._PCEObjectAPI::getillumio.pce._PCEObjectAPI::updateillumio.pce._PCEObjectAPI::delete
illumio.pce._PCEObjectAPI::get_by_reference- given a type that can be decomposed in an HREF, get the single object it representsillumio.pce._PCEObjectAPI::get_async- async collection getillumio.pce._PCEObjectAPI::get_all- fetch all objects of the specified type by checking X-Total-Count- add bulk operation functions
illumio.pce._PCEObjectAPI::bulk_create- can be used with workloads, virtual services, and security principalsillumio.pce._PCEObjectAPI::bulk_update- can be used with workloads and virtual servicesillumio.pce._PCEObjectAPI::bulk_delete- can be used with workloads
REMOVED:
illumio.util.constants.Mode- deprecated in PCE . replaced byillumio.util.constants.EnforcementModein later versions of the PCEillumio.rules.Ruleset- renamedillumio.rules.RuleSetfor internal consistencyillumio.pce.PolicyComputeEnginefunctions_get_policy_objects- change /sec_policy request behaviour for new functions to only return draft or active objects based on policy_version parameterget_virtual_service- replaced byPolicyComputeEngine.virtual_services::get_by_referenceget_virtual_services- replaced byPolicyComputeEngine.virtual_services::getget_virtual_services_by_name- deprecated in v0.8.0create_virtual_service- replaced byPolicyComputeEngine.virtual_services::createcreate_service_binding- deprecated in v0.8.2create_service_bindings- replaced byPolicyComputeEngine.service_bindings::createget_ip_list- replaced byPolicyComputeEngine.ip_lists::get_by_referenceget_ip_lists- replaced byPolicyComputeEngine.ip_lists::getget_ip_lists_by_name- deprecated in v0.8.0create_ip_list- replaced byPolicyComputeEngine.ip_lists::createget_ruleset- replaced byPolicyComputeEngine.rule_sets::get_by_referenceget_rulesets- replaced byPolicyComputeEngine.rule_sets::getget_rulesets_by_name- deprecated in v0.8.0create_ruleset- replaced byPolicyComputeEngine.rule_sets::createcreate_rule- replaced byPolicyComputeEngine.rules::createget_enforcement_boundary- replaced byPolicyComputeEngine.enforcement_boundaries::get_by_referenceget_enforcement_boundaries- replaced byPolicyComputeEngine.enforcement_boundaries::getget_enforcement_boundaries_by_name- deprecated in v0.8.0create_enforcement_boundary- replaced byPolicyComputeEngine.enforcement_boundaries::createget_pairing_profile- replaced byPolicyComputeEngine.pairing_profiles::get_by_referenceget_pairing_profiles- replaced byPolicyComputeEngine.pairing_profiles::getget_pairing_profiles_by_name- deprecated in v0.8.0create_pairing_profile- replaced byPolicyComputeEngine.pairing_profiles::createupdate_pairing_profile- replaced byPolicyComputeEngine.pairing_profiles::updatedelete_pairing_profile- replaced byPolicyComputeEngine.pairing_profiles::deleteget_workload- replaced byPolicyComputeEngine.workloads::get_by_referenceget_workloads- replaced byPolicyComputeEngine.workloads::getupdate_workload_enforcement_modes- replaced with a more genericbulk_update
illumio.util.jsonutils.ModifiableObject- changed name toMutableObjectillumio.util.jsonutils.UnmodifiableObject- changed name toImmutableObject
IMPROVEMENTS:
- update core JsonObject logic to perform type-based validation
- improve handling of reference types for JSON encoding
- improve URL building to be less strict
- improve tests and add integration test suite
NOTES:
- remove deprecation warning from
illumio.util.functions::convert_protocol
illumio v0.8.4
Version 0.8.4 (2022-05-27)
- add CRUD operation functions for pairing profile objects to the PCE interface
- add pairing profile tests
- improve mock test scaffolding
- change IllumioEnum to metaclass and replace has_value with contains builtin