@@ -18,10 +18,10 @@ type ZeroTrustGatewayPolicyModel struct {
18
18
AccountID types.String `tfsdk:"account_id" path:"account_id,required"`
19
19
Action types.String `tfsdk:"action" json:"action,required"`
20
20
Name types.String `tfsdk:"name" json:"name,required"`
21
+ Description types.String `tfsdk:"description" json:"description,optional"`
21
22
Precedence types.Int64 `tfsdk:"precedence" json:"precedence,optional"`
22
23
Filters * []types.String `tfsdk:"filters" json:"filters,optional"`
23
24
Schedule * ZeroTrustGatewayPolicyScheduleModel `tfsdk:"schedule" json:"schedule,optional"`
24
- Description types.String `tfsdk:"description" json:"description,computed_optional"`
25
25
DevicePosture types.String `tfsdk:"device_posture" json:"device_posture,computed_optional"`
26
26
Enabled types.Bool `tfsdk:"enabled" json:"enabled,computed_optional"`
27
27
Identity types.String `tfsdk:"identity" json:"identity,computed_optional"`
@@ -60,35 +60,35 @@ type ZeroTrustGatewayPolicyExpirationModel struct {
60
60
}
61
61
62
62
type ZeroTrustGatewayPolicyRuleSettingsModel struct {
63
- AddHeaders * map [string ]types.String `tfsdk:"add_headers" json:"add_headers,optional"`
64
- AllowChildBypass types.Bool `tfsdk:"allow_child_bypass" json:"allow_child_bypass,optional"`
65
- AuditSSH customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsAuditSSHModel ] `tfsdk:"audit_ssh" json:"audit_ssh,computed_optional "`
66
- BISOAdminControls customfield.NestedObject [ZeroTrustGatewayPolicyRuleSettingsBISOAdminControlsModel ] `tfsdk:"biso_admin_controls" json:"biso_admin_controls,computed_optional"`
67
- BlockPage customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsBlockPageModel ] `tfsdk:"block_page" json:"block_page,computed_optional "`
68
- BlockPageEnabled types.Bool `tfsdk:"block_page_enabled" json:"block_page_enabled,optional"`
69
- BlockReason types.String `tfsdk:"block_reason" json:"block_reason,optional"`
70
- BypassParentRule types.Bool `tfsdk:"bypass_parent_rule" json:"bypass_parent_rule,optional"`
71
- CheckSession customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsCheckSessionModel ] `tfsdk:"check_session" json:"check_session,computed_optional "`
72
- DNSResolvers * ZeroTrustGatewayPolicyRuleSettingsDNSResolversModel `tfsdk:"dns_resolvers" json:"dns_resolvers,optional"`
73
- Egress * ZeroTrustGatewayPolicyRuleSettingsEgressModel `tfsdk:"egress" json:"egress,optional"`
74
- IgnoreCNAMECategoryMatches types.Bool `tfsdk:"ignore_cname_category_matches" json:"ignore_cname_category_matches,optional"`
75
- InsecureDisableDNSSECValidation types.Bool `tfsdk:"insecure_disable_dnssec_validation" json:"insecure_disable_dnssec_validation,optional"`
76
- IPCategories types.Bool `tfsdk:"ip_categories" json:"ip_categories,optional"`
77
- IPIndicatorFeeds types.Bool `tfsdk:"ip_indicator_feeds" json:"ip_indicator_feeds,optional"`
78
- L4override * ZeroTrustGatewayPolicyRuleSettingsL4overrideModel `tfsdk:"l4override" json:"l4override,optional"`
79
- NotificationSettings customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsNotificationSettingsModel ] `tfsdk:"notification_settings" json:"notification_settings,computed_optional "`
80
- OverrideHost types.String `tfsdk:"override_host" json:"override_host,optional"`
81
- OverrideIPs * []types.String `tfsdk:"override_ips" json:"override_ips,optional"`
82
- PayloadLog customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsPayloadLogModel ] `tfsdk:"payload_log" json:"payload_log,computed_optional "`
83
- Quarantine * ZeroTrustGatewayPolicyRuleSettingsQuarantineModel `tfsdk:"quarantine" json:"quarantine,optional"`
84
- Redirect customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsRedirectModel ] `tfsdk:"redirect" json:"redirect,computed_optional "`
85
- ResolveDNSInternally customfield. NestedObject [ ZeroTrustGatewayPolicyRuleSettingsResolveDNSInternallyModel ] `tfsdk:"resolve_dns_internally" json:"resolve_dns_internally,computed_optional "`
86
- ResolveDNSThroughCloudflare types.Bool `tfsdk:"resolve_dns_through_cloudflare" json:"resolve_dns_through_cloudflare,optional"`
87
- UntrustedCERT * ZeroTrustGatewayPolicyRuleSettingsUntrustedCERTModel `tfsdk:"untrusted_cert" json:"untrusted_cert,optional"`
63
+ AddHeaders * map [string ]types.String `tfsdk:"add_headers" json:"add_headers,optional"`
64
+ AllowChildBypass types.Bool `tfsdk:"allow_child_bypass" json:"allow_child_bypass,optional"`
65
+ AuditSSH * ZeroTrustGatewayPolicyRuleSettingsAuditSSHModel `tfsdk:"audit_ssh" json:"audit_ssh,optional "`
66
+ BISOAdminControls customfield.NestedObject [ZeroTrustGatewayPolicyRuleSettingsBISOAdminControlsModel ] `tfsdk:"biso_admin_controls" json:"biso_admin_controls,computed_optional"`
67
+ BlockPage * ZeroTrustGatewayPolicyRuleSettingsBlockPageModel `tfsdk:"block_page" json:"block_page,optional "`
68
+ BlockPageEnabled types.Bool `tfsdk:"block_page_enabled" json:"block_page_enabled,optional"`
69
+ BlockReason types.String `tfsdk:"block_reason" json:"block_reason,optional"`
70
+ BypassParentRule types.Bool `tfsdk:"bypass_parent_rule" json:"bypass_parent_rule,optional"`
71
+ CheckSession * ZeroTrustGatewayPolicyRuleSettingsCheckSessionModel `tfsdk:"check_session" json:"check_session,optional "`
72
+ DNSResolvers * ZeroTrustGatewayPolicyRuleSettingsDNSResolversModel `tfsdk:"dns_resolvers" json:"dns_resolvers,optional"`
73
+ Egress * ZeroTrustGatewayPolicyRuleSettingsEgressModel `tfsdk:"egress" json:"egress,optional"`
74
+ IgnoreCNAMECategoryMatches types.Bool `tfsdk:"ignore_cname_category_matches" json:"ignore_cname_category_matches,optional"`
75
+ InsecureDisableDNSSECValidation types.Bool `tfsdk:"insecure_disable_dnssec_validation" json:"insecure_disable_dnssec_validation,optional"`
76
+ IPCategories types.Bool `tfsdk:"ip_categories" json:"ip_categories,optional"`
77
+ IPIndicatorFeeds types.Bool `tfsdk:"ip_indicator_feeds" json:"ip_indicator_feeds,optional"`
78
+ L4override * ZeroTrustGatewayPolicyRuleSettingsL4overrideModel `tfsdk:"l4override" json:"l4override,optional"`
79
+ NotificationSettings * ZeroTrustGatewayPolicyRuleSettingsNotificationSettingsModel `tfsdk:"notification_settings" json:"notification_settings,optional "`
80
+ OverrideHost types.String `tfsdk:"override_host" json:"override_host,optional"`
81
+ OverrideIPs * []types.String `tfsdk:"override_ips" json:"override_ips,optional"`
82
+ PayloadLog * ZeroTrustGatewayPolicyRuleSettingsPayloadLogModel `tfsdk:"payload_log" json:"payload_log,optional "`
83
+ Quarantine * ZeroTrustGatewayPolicyRuleSettingsQuarantineModel `tfsdk:"quarantine" json:"quarantine,optional"`
84
+ Redirect * ZeroTrustGatewayPolicyRuleSettingsRedirectModel `tfsdk:"redirect" json:"redirect,optional "`
85
+ ResolveDNSInternally * ZeroTrustGatewayPolicyRuleSettingsResolveDNSInternallyModel `tfsdk:"resolve_dns_internally" json:"resolve_dns_internally,optional "`
86
+ ResolveDNSThroughCloudflare types.Bool `tfsdk:"resolve_dns_through_cloudflare" json:"resolve_dns_through_cloudflare,optional"`
87
+ UntrustedCERT * ZeroTrustGatewayPolicyRuleSettingsUntrustedCERTModel `tfsdk:"untrusted_cert" json:"untrusted_cert,optional"`
88
88
}
89
89
90
90
type ZeroTrustGatewayPolicyRuleSettingsAuditSSHModel struct {
91
- CommandLogging types.Bool `tfsdk:"command_logging" json:"command_logging,computed_optional "`
91
+ CommandLogging types.Bool `tfsdk:"command_logging" json:"command_logging,optional "`
92
92
}
93
93
94
94
type ZeroTrustGatewayPolicyRuleSettingsBISOAdminControlsModel struct {
@@ -108,12 +108,12 @@ type ZeroTrustGatewayPolicyRuleSettingsBISOAdminControlsModel struct {
108
108
109
109
type ZeroTrustGatewayPolicyRuleSettingsBlockPageModel struct {
110
110
TargetURI types.String `tfsdk:"target_uri" json:"target_uri,required"`
111
- IncludeContext types.Bool `tfsdk:"include_context" json:"include_context,computed_optional "`
111
+ IncludeContext types.Bool `tfsdk:"include_context" json:"include_context,optional "`
112
112
}
113
113
114
114
type ZeroTrustGatewayPolicyRuleSettingsCheckSessionModel struct {
115
115
Duration types.String `tfsdk:"duration" json:"duration,optional"`
116
- Enforce types.Bool `tfsdk:"enforce" json:"enforce,computed_optional "`
116
+ Enforce types.Bool `tfsdk:"enforce" json:"enforce,optional "`
117
117
}
118
118
119
119
type ZeroTrustGatewayPolicyRuleSettingsDNSResolversModel struct {
@@ -147,14 +147,14 @@ type ZeroTrustGatewayPolicyRuleSettingsL4overrideModel struct {
147
147
}
148
148
149
149
type ZeroTrustGatewayPolicyRuleSettingsNotificationSettingsModel struct {
150
- Enabled types.Bool `tfsdk:"enabled" json:"enabled,computed_optional "`
150
+ Enabled types.Bool `tfsdk:"enabled" json:"enabled,optional "`
151
151
IncludeContext types.Bool `tfsdk:"include_context" json:"include_context,optional"`
152
152
Msg types.String `tfsdk:"msg" json:"msg,optional"`
153
153
SupportURL types.String `tfsdk:"support_url" json:"support_url,optional"`
154
154
}
155
155
156
156
type ZeroTrustGatewayPolicyRuleSettingsPayloadLogModel struct {
157
- Enabled types.Bool `tfsdk:"enabled" json:"enabled,computed_optional "`
157
+ Enabled types.Bool `tfsdk:"enabled" json:"enabled,optional "`
158
158
}
159
159
160
160
type ZeroTrustGatewayPolicyRuleSettingsQuarantineModel struct {
@@ -163,12 +163,12 @@ type ZeroTrustGatewayPolicyRuleSettingsQuarantineModel struct {
163
163
164
164
type ZeroTrustGatewayPolicyRuleSettingsRedirectModel struct {
165
165
TargetURI types.String `tfsdk:"target_uri" json:"target_uri,required"`
166
- IncludeContext types.Bool `tfsdk:"include_context" json:"include_context,computed_optional "`
167
- PreservePathAndQuery types.Bool `tfsdk:"preserve_path_and_query" json:"preserve_path_and_query,computed_optional "`
166
+ IncludeContext types.Bool `tfsdk:"include_context" json:"include_context,optional "`
167
+ PreservePathAndQuery types.Bool `tfsdk:"preserve_path_and_query" json:"preserve_path_and_query,optional "`
168
168
}
169
169
170
170
type ZeroTrustGatewayPolicyRuleSettingsResolveDNSInternallyModel struct {
171
- Fallback types.String `tfsdk:"fallback" json:"fallback,computed_optional "`
171
+ Fallback types.String `tfsdk:"fallback" json:"fallback,optional "`
172
172
ViewID types.String `tfsdk:"view_id" json:"view_id,optional"`
173
173
}
174
174
0 commit comments