Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
Removed¶
Removed
access_tokenproperty ofIdentityServicesEngineAPIandRestSession.Removed ISE version 3.0.0.
1.5.1 - 2022-02-25¶
Changed¶
Update docstring documentation of modules and functions.
1.5.0 - 2022-02-23¶
Changed¶
Marked
access_tokenproperty to be removed inIdentityServicesEngineAPIandRestSession.Changed the way of notifying Deprecation of version 3.0.0 of ISE from print to warning.
Incremented
IdentityServicesEngineAPIandRestSessionconstructor parameter count.Changed access method an imports used for environment variables and default values in api/init.py.
Changed
IdentityServicesEngineAPI’s inner properties, getters, and setters to handle only the class itself.RestSessionto request for a refreshed CSRF token ifuses_csrf_tokenis enabled.Replaced the name of headers checked for ERS methods from “X-CSRF-TOKEN” to “X-CSRF-Token”.
Changed
ApiErrormessage when status_code is 401 or 403 to include reference toadditional_dataproperty.
Added¶
Support for “CSRF Check for Enhanced Security” for the ISE ERS API (#20).
Added
status_codetoRestResponse(#22).Support to have additional_data for
ApiErrorwhen HTTP status code are 401 or 403 (#21). The additional_data returns a string with:Authorization header used.
X-CSRF-Token header used if it was found.
Username used.
Password used.
Support for managing changes of the
IdentityServicesEngineAPI’s properties (#21):initialize_authenticationfunction.initialize_sessionsfunction.initialize_api_wrappersfunction.reinitializefunction.authenticationgetter function.perform_initializegetter function.usernamegetter and setter functions.is_passwordutility function.is_encoded_authutility function.uses_api_gatewaygetter and setter functions.base_urlgetter and setter functions.ui_base_urlgetter and setter functions.ers_base_urlgetter and setter functions.mnt_base_urlgetter and setter functions.px_grid_base_urlgetter and setter functions.single_request_timeoutgetter and setter functions.wait_on_rate_limitgetter and setter functions.verifygetter and setter functions.versiongetter and setter functions.debuggetter and setter functions.uses_csrf_tokengetter and setter functions.object_factorygetter and setter functions.validatorgetter and setter functions.sessiongetter function.session_uigetter function.session_ersgetter function.session_mntgetter function.session_px_gridgetter function.usernamegetter function.change_passwordutility setter function.change_encoded_authutility setter function.
Added warnings for changes of the
IdentityServicesEngineAPI’s properties.Added a test importsdk to verify the behavior between environment variables and module import order.
New
perform_initializeparameter forIdentityServicesEngineAPIconstructor.New
uses_csrf_tokenparameter forIdentityServicesEngineAPIconstructor.New
get_csrf_tokenfunction forIdentityServicesEngineAPI.New
uses_csrf_tokenandget_csrf_tokenparameters forRestSessionconstructor.New
DEFAULT_USES_CSRF_TOKENvalue in config.py.New
IDENTITY_SERVICES_ENGINE_USES_CSRF_TOKENenvironment variable in environment.py.New
initialize_authenticationfunction forIdentityServicesEngineAPI.New
initialize_sessionsfunction forIdentityServicesEngineAPI.New
initialize_api_wrappersfunction forIdentityServicesEngineAPI.New
reinitializefunction forIdentityServicesEngineAPI.New
is_passwordfunction forIdentityServicesEngineAPI.New
is_encoded_authfunction forIdentityServicesEngineAPI.New
change_passwordfunction forIdentityServicesEngineAPI.New
change_encoded_authfunction forIdentityServicesEngineAPI.New
debugsetter funtion forRestSession.New
uses_csrf_tokengetter and setter funtions forRestSession.New
additional_dataproperty inApiError.
Fixed¶
The process that gets the environment variables now can access the variables set after the module is imported, and not only before it.
Fixed the docstring tables of the API modules.
1.4.2 - 2022-02-18¶
Fixed¶
Update pagination to capture and ignore 400 Bad Request in generators when they attempt to get_next_page. Previous version only captured and ignored 404 Not Found.
1.4.1 - 2022-01-20¶
Changed¶
Update module inner documentation.
Downgrade requirements file to use poetry versions.
1.4.0 - 2022-01-19¶
Changed¶
Update requirements
Fixed¶
Update pagination, get_next_page inner logic and location from utils to pagination.
1.3.1 - 2021-12-13¶
Changed¶
Fixes utils.get_next_page generator starting default page
1.3.0 - 2021-12-13¶
Added¶
Adds licensing module
Adds node_services module
Adds patching module
Adds proxy module
Adds telemetry module
Adds certificates.generate_self_signed_certificate function
Adds node_deployment.make_primary function
Adds node_deployment.make_standalone function
Adds node_deployment.sync_node function
Adds node_group.add_node function
Adds node_group.get_nodes function
Adds node_group.remove_node function
Adds pan_ha.update_pan_ha function
Removed¶
Removes pan_ha.disable_pan_ha function
Removes pan_ha.enable_pan_ha function
Removes replication_status module
Removes sync_ise_node module
1.2.0 - 2021-11-24¶
Added¶
Adds notice for 3.0.0 (soon to be deprecated)
Adds Trust Sec endpoints to ISE version 3.1.0
Changed¶
Fixes paths for Policy endpoints (get_device_admin_profiles, get_network_access_profiles)
Updates ISE version 3.1.0 as separate version
Removed¶
Removes link of 3.1.0 modules to 3.0.0 version
1.1.0 - 2021-10-22¶
Added¶
Link of 3.1.0 modules to 3.0.0 version
Changed¶
Default ISE DEFAULT_VERSION to 3.1.0
Update documentation to use ISE v3.1.0
1.0.1 - 2021-09-14¶
Changed¶
Disabled warnings of urllib3 if verify is False
1.0.0 - 2021-07-21¶
Added¶
Missing parameters for functions
get_versionfunctions for ERS wrapper classes.Missing functions:
AncPolicy.get_anc_policy_generator
BackupAndRestore.update_scheduled_config_backup
CertificateTemplate.get_certificate_template_generator
DeviceAdministrationAuthenticationRules.reset_hit_counts_device_admin_authentication_rules
DeviceAdministrationAuthorizationExceptionRules.reset_hit_counts_device_admin_local_exceptions
DeviceAdministrationAuthorizationGlobalExceptionRules.reset_hit_counts_device_admin_global_exceptions
DeviceAdministrationAuthorizationRules.reset_hit_counts_device_admin_authorization_rules
DeviceAdministrationPolicySet.reset_hit_counts_device_admin_policy_sets
MyDevicePortal.delete_my_device_portal_by_id
NetworkAccessAuthenticationRules.reset_hit_counts_network_access_authentication_rules
NetworkAccessAuthorizationExceptionRules.reset_hit_counts_network_access_local_exceptions
NetworkAccessAuthorizationRules.reset_hit_counts_network_access_authorization_rules
NetworkAccessPolicySet.reset_hit_counts_network_access_policy_sets
SessionServiceNode.get_session_service_node_generator
SupportBundleStatus.get_support_bundle_status_generator
TacacsCommandSets.get_tacacs_command_sets_generator
Aliases for functions (eg.
get_all,get_by_id,get_by_name,update_by_id,delete_by_id,create, and others)
Changed¶
Rename module names
deploymenttopull_deployment_infothreattoclear_threats_and_vulnerabilitiesendpoint_grouptoendpoint_identity_groupidentity_grouptoidentity_groupsidentity_store_sequencetoidentity_sequencenodetonode_detailsendpoint_certtoendpoint_certificateguest_smtp_notificationstoguest_smtp_notification_configurationsession_service_nodetopsn_node_details_with_radius_servicesg_acltosecurity_groups_aclssg_mapping_grouptoip_to_sgt_mapping_groupsg_mappingtoip_to_sgt_mappingsgt_vn_vlantosecurity_group_to_virtual_networksgttosecurity_groupssupport_bundletosupport_bundle_download,support_bundle_status&support_bundle_trigger_configurationversion_toversion_and_patch
Rename function names
(BackupAndRestore)
schedule_config_backuptocreate_scheduled_config_backup(Certificates)
get_csrtoget_csrs(Certificates)
get_csr_generatortoget_csrs_generator(Certificates)
renew_certificatetorenew_certificates(Certificates)
export_system_certtoexport_system_certificate(Certificates)
export_trusted_certtoexport_trusted_certificate(DeviceAdministrationAuthenticationRules)
create_device_admin_authentication_rulestocreate_device_admin_authentication_rule(DeviceAdministrationAuthorizationExceptionRules)
delete_device_admin_policyset_global_exception_by_idtodelete_device_admin_policy_set_global_exception_by_rule_id(DeviceAdministrationAuthorizationExceptionRules)
get_device_admin_policy_set_global_exceptiontoget_device_admin_policy_set_global_exception_rules(DeviceAdministrationAuthorizationExceptionRules)
get_device_admin_policy_set_global_exception_by_idtoget_device_admin_policy_set_global_exception_by_rule_id(DeviceAdministrationAuthorizationExceptionRules)
update_device_admin_policyset_global_exception_by_idtoupdate_device_admin_policy_set_global_exception_by_rule_id(DeviceAdministrationDictionaryAttributesList)
get_device_admin_dictionaries_policysettoget_device_admin_dictionaries_policy_set(GuestType)
update_guesttype_by_idtoupdate_guest_type_by_id(IdentityStoreSequence)
create_identity_store_sequencetocreate_identity_sequence(IdentityStoreSequence)
delete_identity_store_sequence_by_idtodelete_identity_sequence_by_id(IdentityStoreSequence)
get_identity_store_sequencetoget_identity_sequence(IdentityStoreSequence)
get_identity_store_sequence_by_idtoget_identity_sequence_by_id(IdentityStoreSequence)
get_identity_store_sequence_by_nametoget_identity_sequence_by_name(IdentityStoreSequence)
get_identity_store_sequence_generatortoget_identity_sequence_generator(IdentityStoreSequence)
update_identity_store_sequence_by_idtoupdate_identity_sequence_by_id(InternalUser)
internaluser_by_idtoget_internal_user_by_id(NetworkAccessAuthorizationGlobalExceptionRules)
create_network_access_global_exception_ruletocreate_network_access_policy_set_global_exception_rule(NetworkAccessAuthorizationGlobalExceptionRules)
delete_network_access_global_exception_rule_by_idtodelete_network_access_policy_set_global_exception_rule_by_id(NetworkAccessAuthorizationGlobalExceptionRules)
get_network_access_global_exception_rule_by_idtoget_network_access_policy_set_global_exception_rule_by_id(NetworkAccessAuthorizationGlobalExceptionRules)
get_network_access_global_exception_rulestoget_network_access_policy_set_global_exception_rules(NetworkAccessAuthorizationGlobalExceptionRules)
update_network_access_global_exception_rule_by_idtoupdate_network_access_policy_set_global_exception_rule_by_id(DeviceAdministrationConditions)
get_device_admin_conditions_for_authentication_ruletoget_device_admin_conditions_for_authentication_rules(DeviceAdministrationConditions)
get_device_admin_conditions_for_authorization_ruletoget_device_admin_conditions_for_authorization_rules(DeviceAdministrationConditions)
get_device_admin_conditions_for_policy_settoget_device_admin_conditions_for_policy_sets(NetworkAccessConditions)
get_network_access_conditions_for_authorization_ruletoget_network_access_conditions_for_authorization_rules(NetworkAccessConditions)
get_network_access_conditions_for_policy_settoget_network_access_conditions_for_policy_sets(NetworkAccessDictionary)
delete_network_access_dictionaries_by_nametodelete_network_access_dictionary_by_name(NetworkAccessDictionary)
update_network_access_dictionaries_by_nametoupdate_network_access_dictionary_by_name(NetworkAccessDictionary)
create_network_access_dictionary_attribute_for_dictionarytocreate_network_access_dictionary_attribute(NetworkAccessDictionaryAttributesList)
get_network_access_dictionaries_policysettoget_network_access_dictionaries_policy_set(Node)
get_node_by_idtoget_node_detail_by_id(Node)
get_node_by_nametoget_node_detail_by_name(Node)
get_nodestoget_node_details(PxGridSettings)
autoapprove_px_grid_nodetoautoapprove_px_grid_settings(Repository)
delete_repository_by_nametodelete_repository(Repository)
get_repository_by_nametoget_repository(Repository)
update_repository_by_nametoupdate_repository
Removed¶
Removed module
service
Removed unknown functions for the API
identity_group.delete_identity_group_by_id