You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`custom_deny_url` (String) Option that redirects to a custom URL when a user is denied access to the application via identity based rules.
91
91
-`custom_non_identity_deny_url` (String) Option that redirects to a custom URL when a user is denied access to the application via non identity rules.
92
92
-`custom_pages` (Set of String) The custom pages selected for the application.
93
+
-`destinations` (Block List) A destination secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. Supersedes `self_hosted_domains` to allow for more flexibility in defining different types of destinations. Conflicts with `self_hosted_domains`. (see [below for nested schema](#nestedblock--destinations))
93
94
-`domain` (String) The primary hostname and path that Access will secure. If the app is visible in the App Launcher dashboard, this is the domain that will be displayed.
95
+
-`domain_type` (String) The type of the primary domain. Available values: `public`, `private`.
94
96
-`enable_binding_cookie` (Boolean) Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`.
95
97
-`footer_links` (Block Set) The footer links of the app launcher. (see [below for nested schema](#nestedblock--footer_links))
96
98
-`header_bg_color` (String) The background color of the header bar in the app launcher.
-`saas_app` (Block List, Max: 1) SaaS configuration for the Access Application. (see [below for nested schema](#nestedblock--saas_app))
104
106
-`same_site_cookie_attribute` (String) Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`.
105
107
-`scim_config` (Block List, Max: 1) Configuration for provisioning to this application via SCIM. This is currently in closed beta. (see [below for nested schema](#nestedblock--scim_config))
106
-
-`self_hosted_domains` (Set of String) List of domains that access will secure. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`.
108
+
-`self_hosted_domains` (Set of String, Deprecated) List of public domains secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. Deprecated in favor of `destinations` and will be removed in the next major version. Conflicts with `destinations`.
107
109
-`service_auth_401_redirect` (Boolean) Option to return a 401 status code in service authentication rules on failed requests. Defaults to `false`.
108
110
-`session_duration` (String) How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. Defaults to `24h`.
109
111
-`skip_app_launcher_login_page` (Boolean) Option to skip the App Launcher landing page. Defaults to `false`.
@@ -133,6 +135,18 @@ Optional:
133
135
-`max_age` (Number) The maximum time a preflight request will be cached.
134
136
135
137
138
+
<aid="nestedblock--destinations"></a>
139
+
### Nested Schema for `destinations`
140
+
141
+
Required:
142
+
143
+
-`uri` (String) The URI of the destination. Public destinations can include a domain and path with wildcards. Private destinations are an early access feature and gated behind a feature flag. Private destinations support private IPv4, IPv6, and Server Name Indications (SNI) with optional port ranges.
144
+
145
+
Optional:
146
+
147
+
-`type` (String) The destination type. Available values: `public`, `private`. Defaults to `public`.
-`custom_deny_url` (String) Option that redirects to a custom URL when a user is denied access to the application via identity based rules.
72
72
-`custom_non_identity_deny_url` (String) Option that redirects to a custom URL when a user is denied access to the application via non identity rules.
73
73
-`custom_pages` (Set of String) The custom pages selected for the application.
74
+
-`destinations` (Block List) A destination secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. Supersedes `self_hosted_domains` to allow for more flexibility in defining different types of destinations. Conflicts with `self_hosted_domains`. (see [below for nested schema](#nestedblock--destinations))
74
75
-`domain` (String) The primary hostname and path that Access will secure. If the app is visible in the App Launcher dashboard, this is the domain that will be displayed.
76
+
-`domain_type` (String) The type of the primary domain. Available values: `public`, `private`.
75
77
-`enable_binding_cookie` (Boolean) Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`.
76
78
-`footer_links` (Block Set) The footer links of the app launcher. (see [below for nested schema](#nestedblock--footer_links))
77
79
-`header_bg_color` (String) The background color of the header bar in the app launcher.
-`saas_app` (Block List, Max: 1) SaaS configuration for the Access Application. (see [below for nested schema](#nestedblock--saas_app))
85
87
-`same_site_cookie_attribute` (String) Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`.
86
88
-`scim_config` (Block List, Max: 1) Configuration for provisioning to this application via SCIM. This is currently in closed beta. (see [below for nested schema](#nestedblock--scim_config))
87
-
-`self_hosted_domains` (Set of String) List of domains that access will secure. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`.
89
+
-`self_hosted_domains` (Set of String, Deprecated) List of public domains secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. Deprecated in favor of `destinations` and will be removed in the next major version. Conflicts with `destinations`.
88
90
-`service_auth_401_redirect` (Boolean) Option to return a 401 status code in service authentication rules on failed requests. Defaults to `false`.
89
91
-`session_duration` (String) How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. Defaults to `24h`.
90
92
-`skip_app_launcher_login_page` (Boolean) Option to skip the App Launcher landing page. Defaults to `false`.
@@ -114,6 +116,18 @@ Optional:
114
116
-`max_age` (Number) The maximum time a preflight request will be cached.
115
117
116
118
119
+
<aid="nestedblock--destinations"></a>
120
+
### Nested Schema for `destinations`
121
+
122
+
Required:
123
+
124
+
-`uri` (String) The URI of the destination. Public destinations can include a domain and path with wildcards. Private destinations are an early access feature and gated behind a feature flag. Private destinations support private IPv4, IPv6, and Server Name Indications (SNI) with optional port ranges.
125
+
126
+
Optional:
127
+
128
+
-`type` (String) The destination type. Available values: `public`, `private`. Defaults to `public`.
// Suppress the diff if it's an app type that doesn't need a `domain` value.
66
+
ifappType=="infrastructure" {
67
+
returntrue
68
+
}
69
+
70
+
returnoldValue==newValue
71
+
},
72
+
},
73
+
"destinations": {
74
+
Type: schema.TypeList,
75
+
Optional: true,
76
+
ConflictsWith: []string{"self_hosted_domains"},
77
+
Description: "A destination secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. Supersedes `self_hosted_domains` to allow for more flexibility in defining different types of destinations.",
Description: "The URI of the destination. Public destinations can include a domain and path with wildcards. Private destinations are an early access feature and gated behind a feature flag. Private destinations support private IPv4, IPv6, and Server Name Indications (SNI) with optional port ranges.",
91
+
},
92
+
},
93
+
},
94
+
},
57
95
"self_hosted_domains": {
58
-
Type: schema.TypeSet,
59
-
Optional: true,
96
+
Type: schema.TypeSet,
97
+
Optional: true,
98
+
ConflictsWith: []string{"destinations"},
60
99
Elem: &schema.Schema{
61
100
Type: schema.TypeString,
62
101
},
63
-
Description: "List of domains that access will secure. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`",
102
+
Description: "List of public domains secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. Deprecated in favor of `destinations` and will be removed in the next major version.",
0 commit comments