WebFailOpenPolicy
Web Fail Open Policy resource for Zscaler Client Connector.
Resource operations
This resource does not support standard CRUDL methods. Each 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 WebFailOpenPolicy
logging.getLogger('zssdk.zcc').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 update_fail_open_policy on WebFailOpenPolicy
resource = session.zcc.WebFailOpenPolicy()
result = resource.update_fail_open_policy(id="resource-id")
print(result)
# Debug output shows HTTP request/response details
Actions
update_fail_open_policy()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
active | string | No | - |
captive_portal_web_sec_disable_minutes | integer | No | - |
company_id | string | No | - |
created_by | string | No | - |
edited_by | string | No | - |
enable_captive_portal_detection | string | No | - |
enable_fail_open | string | No | - |
enable_strict_enforcement_prompt | string | No | - |
enable_web_sec_on_proxy_unreachable | string | No | - |
enable_web_sec_on_tunnel_failure | string | No | - |
id | string | Yes | - |
strict_enforcement_prompt_delay_minutes | integer | No | - |
strict_enforcement_prompt_message | string | No | - |
tunnel_failure_retry_count | integer | No | - |
Returns: CommonResponseContract
Example:
resource = session.zcc.WebFailOpenPolicy()
result = resource.update_fail_open_policy(id="resource-id")
print(result)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
active | string | No | - |
captive_portal_web_sec_disable_minutes | integer | No | - |
company_id | string | No | - |
created_by | string | No | - |
edited_by | string | No | - |
enable_captive_portal_detection | string | No | - |
enable_fail_open | string | No | - |
enable_strict_enforcement_prompt | string | No | - |
enable_web_sec_on_proxy_unreachable | string | No | - |
enable_web_sec_on_tunnel_failure | string | No | - |
id | string | Yes | - |
strict_enforcement_prompt_delay_minutes | integer | No | - |
strict_enforcement_prompt_message | string | No | - |
tunnel_failure_retry_count | integer | No | - |
Related
- WebFailOpenPolicy - Data structure definition
- Logging guide - enable verbose logs while debugging this resource