@@ -33,29 +33,31 @@ def __init__(self, config=None):
33
33
self .segment_group_id = config ["segmentGroupId" ] if "segmentGroupId" in config else None
34
34
self .segment_group_name = config ["segmentGroupName" ] if "segmentGroupName" in config else None
35
35
self .enabled = config ["enabled" ] if "enabled" in config else True
36
- self .double_encrypt = config ["doubleEncrypt" ] if "doubleEncrypt" in config else False
37
- self .config_space = config ["configSpace" ] if "configSpace" in config else "DEFAULT"
38
- self .bypass_type = config ["bypassType" ] if "bypassType" in config else "NEVER"
39
- self .health_check_type = config ["healthCheckType" ] if "healthCheckType" in config else "NONE"
40
- self .icmp_access_type = config ["icmpAccessType" ] if "icmpAccessType" in config else "NONE"
41
- self .is_cname_enabled = config ["isCnameEnabled" ] if "isCnameEnabled" in config else False
42
- self .ip_anchored = config ["ipAnchored" ] if "ipAnchored" in config else False
43
- self .bypass_on_reauth = config ["bypassOnReauth" ] if "bypassOnReauth" in config else False
44
- self .inspect_traffic_with_zia = config ["inspectTrafficWithZia" ] if "inspectTrafficWithZia" in config else False
45
- self .health_reporting = config ["healthReporting" ] if "healthReporting" in config else "NONE"
46
- self .use_in_dr_mode = config ["useInDrMode" ] if "useInDrMode" in config else False
47
- self .tcp_keep_alive = config ["tcpKeepAlive" ] if "tcpKeepAlive" in config else "0"
36
+ self .double_encrypt = config ["doubleEncrypt" ] if "doubleEncrypt" in config else None
37
+ self .config_space = config ["configSpace" ] if "configSpace" in config else None
38
+ self .bypass_type = config ["bypassType" ] if "bypassType" in config else None
39
+ self .health_check_type = config ["healthCheckType" ] if "healthCheckType" in config else None
40
+ self .icmp_access_type = config ["icmpAccessType" ] if "icmpAccessType" in config else None
41
+ self .is_cname_enabled = config ["isCnameEnabled" ] if "isCnameEnabled" in config else None
42
+ self .ip_anchored = config ["ipAnchored" ] if "ipAnchored" in config else None
43
+ self .bypass_on_reauth = config ["bypassOnReauth" ] if "bypassOnReauth" in config else None
44
+ self .inspect_traffic_with_zia = config ["inspectTrafficWithZia" ] if "inspectTrafficWithZia" in config else None
45
+ self .health_reporting = config ["healthReporting" ] if "healthReporting" in config else None
46
+ self .use_in_dr_mode = config ["useInDrMode" ] if "useInDrMode" in config else None
47
+ self .tcp_keep_alive = config ["tcpKeepAlive" ] if "tcpKeepAlive" in config else None
48
+ self .passive_health_enabled = config ["passiveHealthEnabled" ] \
49
+ if "passiveHealthEnabled" in config else None
48
50
self .select_connector_close_to_app = (
49
- config ["selectConnectorCloseToApp" ] if "selectConnectorCloseToApp" in config else False
51
+ config ["selectConnectorCloseToApp" ] if "selectConnectorCloseToApp" in config else None
50
52
)
51
- self .match_style = config ["matchStyle" ] if "matchStyle" in config else "EXCLUSIVE"
52
- self .is_incomplete_dr_config = config ["isIncompleteDRConfig" ] if "isIncompleteDRConfig" in config else False
53
- self .adp_enabled = config ["adpEnabled" ] if "adpEnabled" in config else False
54
- self .auto_app_protect_enabled = config ["autoAppProtectEnabled" ] if "autoAppProtectEnabled" in config else False
55
- self .api_protection_enabled = config ["apiProtectionEnabled" ] if "apiProtectionEnabled" in config else False
56
- self .fqdn_dns_check = config ["fqdnDnsCheck" ] if "fqdnDnsCheck" in config else False
57
- self .weighted_load_balancing = config ["weightedLoadBalancing" ] if "weightedLoadBalancing" in config else False
58
- self .extranet_enabled = config ["extranetEnabled" ] if "extranetEnabled" in config else False
53
+ self .match_style = config ["matchStyle" ] if "matchStyle" in config else None
54
+ self .is_incomplete_dr_config = config ["isIncompleteDRConfig" ] if "isIncompleteDRConfig" in config else None
55
+ self .adp_enabled = config ["adpEnabled" ] if "adpEnabled" in config else None
56
+ self .auto_app_protect_enabled = config ["autoAppProtectEnabled" ] if "autoAppProtectEnabled" in config else None
57
+ self .api_protection_enabled = config ["apiProtectionEnabled" ] if "apiProtectionEnabled" in config else None
58
+ self .fqdn_dns_check = config ["fqdnDnsCheck" ] if "fqdnDnsCheck" in config else None
59
+ self .weighted_load_balancing = config ["weightedLoadBalancing" ] if "weightedLoadBalancing" in config else None
60
+ self .extranet_enabled = config ["extranetEnabled" ] if "extranetEnabled" in config else None
59
61
self .microtenant_name = config ["microtenantName" ]\
60
62
if "microtenantName" in config else None
61
63
self .microtenant_id = config ["microtenantId" ] if "microtenantId" in config else None
@@ -159,6 +161,7 @@ def __init__(self, config=None):
159
161
self .udp_port_range = []
160
162
self .enabled = None
161
163
self .double_encrypt = None
164
+ self .passive_health_enabled = None
162
165
self .config_space = None
163
166
self .bypass_type = None
164
167
self .health_check_type = None
@@ -207,6 +210,7 @@ def request_format(self):
207
210
"configSpace" : self .config_space ,
208
211
"bypassType" : self .bypass_type ,
209
212
"healthCheckType" : self .health_check_type ,
213
+ "passiveHealthEnabled" : self .passive_health_enabled ,
210
214
"icmpAccessType" : self .icmp_access_type ,
211
215
"isCnameEnabled" : self .is_cname_enabled ,
212
216
"ipAnchored" : self .ip_anchored ,
0 commit comments