authentication_settings#

The following methods allow for interaction with the ZIA Authentication Settings API endpoints.

Methods are accessible via zia.authentication_settings

class AuthenticationSettingsAPI#

Bases: object

add_urls_to_exempt_list(url_list)#

Adds the provided URLs to the exempt list.

Parameters:

url_list (list of str) – The list of URLs to be added.

Returns:

The complete and updated exempt list.

Return type:

BoxList

delete_urls_from_exempt_list(url_list)#

Deletes the provided URLs from the exemption list.

Parameters:

url_list (list of str) – The list of URLs to be removed.

Returns:

The updated exemption list.

Return type:

BoxList

Examples

>>> zia.authentication_settings.delete_urls_from_exempt_list(['example.com'])
get_exempted_urls()#

Returns a list of exempted URLs.

Returns:

A list of exempted URLs

Return type:

BoxList

Examples

>>> for url in zia.authentication_settings.get_exempted_urls():
...    pprint(url)