Skip to main content

AdvancedSettings

Advanced Settings resource for Zscaler Internet Access.

Resource operations

This resource supports the following standard methods: load(), update(). They operate on the instance state — set properties with dot notation, then call the method with no arguments. Any other action listed below is a custom action that takes explicit keyword arguments and returns a value.

Quick Start​

import zssdk
import logging

# Enable debug logging for AdvancedSettings
logging.getLogger('zssdk.zia').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)

session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)

# Call get_advanced_settings_lite on AdvancedSettings
resource = session.zia.AdvancedSettings()
result = resource.get_advanced_settings_lite()
print(result)

# Debug output shows HTTP request/response details

Actions​

get_advanced_settings_lite()​

Returns: AdvancedSettingsLite

Example:

resource = session.zia.AdvancedSettings()
result = resource.get_advanced_settings_lite()
print(result)

load()​

Fetches an existing AdvancedSettings by id. Only the id identifier is required; load() takes no other arguments.

Returns: AdvancedSettings

Example:

resource = session.zia.AdvancedSettings()
resource.load()
print(resource)

update()​

Updates an existing AdvancedSettings. Call load() first, modify properties, then call update() — this method takes no arguments.

Properties for update:

NameTypeRequiredDescription
auth_bypass_appsstringCollectionNo-
auth_bypass_url_categoriesstringCollectionNo-
auth_bypass_urlsstringCollectionNo-
basic_bypass_appsstringCollectionNo-
basic_bypass_url_categoriesstringCollectionNo-
best_effort_policybooleanNo-
block_connect_host_sni_mismatchbooleanNo-
block_domain_fronting_appsstringCollectionNo-
block_domain_fronting_on_host_headerbooleanNo-
block_http_tunnel_on_non_http_portsbooleanNo-
block_non_compliant_http_request_on_http_portsbooleanNo-
block_non_http_on_http_port_enabledbooleanNo-
cascade_url_filteringbooleanNo-
comp_default_location_usedbooleanNo-
digest_auth_bypass_appsstringCollectionNo-
digest_auth_bypass_url_categoriesstringCollectionNo-
digest_auth_bypass_urlsstringCollectionNo-
dns_resolution_on_transparent_proxy_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_exempt_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_exempt_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_exempt_urlsstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_exempt_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_exempt_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_urlsstringCollectionNo-
domain_fronting_bypass_url_categoriesstringCollectionNo-
dynamic_user_risk_enabledbooleanNo-
ecs_for_all_enabledbooleanNo-
ecs_objectEntityReferenceNo-
enable_admin_rank_accessbooleanYes-
enable_dns_resolution_on_transparent_proxybooleanNo-
enable_evaluate_policy_on_global_SSL_bypassbooleanNo-
enable_IPv6_dns_optimization_on_all_transparent_proxybooleanNo-
enable_IPv6_dns_resolution_on_transparent_proxybooleanNo-
enable_office365booleanNo-
enable_policy_for_unauthenticated_trafficbooleanNo-
enforce_surrogate_ip_for_windows_appbooleanNo-
fail_closebooleanNo-
http2_nonbrowser_traffic_enabledbooleanNo-
http_range_header_remove_url_categoriesstringCollectionNo-
jwt_auth_bypass_appsstringCollectionNo-
jwt_auth_bypass_url_categoriesstringCollectionNo-
kerberos_bypass_appsstringCollectionNo-
kerberos_bypass_url_categoriesstringCollectionNo-
kerberos_bypass_urlsstringCollectionNo-
log_internal_ipbooleanNo-
prefer_sni_over_conn_hostbooleanNo-
prefer_sni_over_conn_host_appsstringCollectionNo-
sipa_xff_header_enabledbooleanNo-
sni_dns_optimization_bypass_url_categoriesstringCollectionNo-
track_http_tunnel_on_http_portsbooleanNo-
ui_session_timeoutintegerYes-
zscaler_client_connector1_and_pac_road_warrior_in_firewallbooleanNo-

Returns: AdvancedSettings

Example:

resource = session.zia.AdvancedSettings(id="your-resource-id")
resource.load()
# Modify resource attributes here, then call update()
resource.update()

Attributes​

NameTypeRequiredDescription
auth_bypass_appsstringCollectionNo-
auth_bypass_url_categoriesstringCollectionNo-
auth_bypass_urlsstringCollectionNo-
basic_bypass_appsstringCollectionNo-
basic_bypass_url_categoriesstringCollectionNo-
best_effort_policybooleanNo-
block_connect_host_sni_mismatchbooleanNo-
block_domain_fronting_appsstringCollectionNo-
block_domain_fronting_on_host_headerbooleanNo-
block_http_tunnel_on_non_http_portsbooleanNo-
block_non_compliant_http_request_on_http_portsbooleanNo-
block_non_http_on_http_port_enabledbooleanNo-
cascade_url_filteringbooleanNo-
comp_default_location_usedbooleanNo-
digest_auth_bypass_appsstringCollectionNo-
digest_auth_bypass_url_categoriesstringCollectionNo-
digest_auth_bypass_urlsstringCollectionNo-
dns_resolution_on_transparent_proxy_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_exempt_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_exempt_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_exempt_urlsstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_exempt_appsstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_exempt_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_IPv6_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_url_categoriesstringCollectionNo-
dns_resolution_on_transparent_proxy_urlsstringCollectionNo-
domain_fronting_bypass_url_categoriesstringCollectionNo-
dynamic_user_risk_enabledbooleanNo-
ecs_for_all_enabledbooleanNo-
ecs_objectEntityReferenceNo-
enable_admin_rank_accessbooleanYes-
enable_dns_resolution_on_transparent_proxybooleanNo-
enable_evaluate_policy_on_global_SSL_bypassbooleanNo-
enable_IPv6_dns_optimization_on_all_transparent_proxybooleanNo-
enable_IPv6_dns_resolution_on_transparent_proxybooleanNo-
enable_office365booleanNo-
enable_policy_for_unauthenticated_trafficbooleanNo-
enforce_surrogate_ip_for_windows_appbooleanNo-
fail_closebooleanNo-
http2_nonbrowser_traffic_enabledbooleanNo-
http_range_header_remove_url_categoriesstringCollectionNo-
jwt_auth_bypass_appsstringCollectionNo-
jwt_auth_bypass_url_categoriesstringCollectionNo-
kerberos_bypass_appsstringCollectionNo-
kerberos_bypass_url_categoriesstringCollectionNo-
kerberos_bypass_urlsstringCollectionNo-
log_internal_ipbooleanNo-
prefer_sni_over_conn_hostbooleanNo-
prefer_sni_over_conn_host_appsstringCollectionNo-
sipa_xff_header_enabledbooleanNo-
sni_dns_optimization_bypass_url_categoriesstringCollectionNo-
track_http_tunnel_on_http_portsbooleanNo-
ui_session_timeoutintegerYes-
zscaler_client_connector1_and_pac_road_warrior_in_firewallbooleanNo-