@@ -76,8 +76,22 @@ resource "wallix-bastion_authorization" "testacc_Authorization" {
76
76
target_group = wallix-bastion_targetgroup.testacc_Authorization.group_name
77
77
authorize_sessions = true
78
78
subprotocols = [
79
- "RDP_CLIPBOARD_UP", "RDP_CLIPBOARD_DOWN", "RDP_PRINTER", "RDP_COM_PORT", "RDP_DRIVE", "RDP_SMARTCARD", "RDP_CLIPBOARD_FILE", "RDP_AUDIO_OUTPUT",
80
- "SSH_SHELL_SESSION", "SSH_REMOTE_COMMAND", "SSH_SCP_UP", "SSH_SCP_DOWN", "SSH_X11", "SSH_DIRECT_TCPIP", "SSH_REVERSE_TCPIP", "SSH_AUTH_AGENT",
79
+ "RDP_CLIPBOARD_UP",
80
+ "RDP_CLIPBOARD_DOWN",
81
+ "RDP_PRINTER",
82
+ "RDP_COM_PORT",
83
+ "RDP_DRIVE",
84
+ "RDP_SMARTCARD",
85
+ "RDP_CLIPBOARD_FILE",
86
+ "RDP_AUDIO_OUTPUT",
87
+ "SSH_SHELL_SESSION",
88
+ "SSH_REMOTE_COMMAND",
89
+ "SSH_SCP_UP",
90
+ "SSH_SCP_DOWN",
91
+ "SSH_X11",
92
+ "SSH_DIRECT_TCPIP",
93
+ "SSH_REVERSE_TCPIP",
94
+ "SSH_AUTH_AGENT",
81
95
"SFTP_SESSION",
82
96
"RDP",
83
97
"VNC",
@@ -86,10 +100,12 @@ resource "wallix-bastion_authorization" "testacc_Authorization" {
86
100
"RAWTCPIP",
87
101
]
88
102
}
103
+
89
104
resource "wallix-bastion_usergroup" "testacc_Authorization" {
90
105
group_name = "testacc_Authorization"
91
106
timeframes = ["allthetime"]
92
107
}
108
+
93
109
resource "wallix-bastion_targetgroup" "testacc_Authorization" {
94
110
group_name = "testacc_Authorization"
95
111
}
@@ -108,8 +124,22 @@ resource "wallix-bastion_authorization" "testacc_Authorization" {
108
124
authorize_session_sharing = true
109
125
session_sharing_mode = "view_control"
110
126
subprotocols = [
111
- "RDP_CLIPBOARD_UP", "RDP_CLIPBOARD_DOWN", "RDP_PRINTER", "RDP_COM_PORT", "RDP_DRIVE", "RDP_SMARTCARD", "RDP_CLIPBOARD_FILE", "RDP_AUDIO_OUTPUT",
112
- "SSH_SHELL_SESSION", "SSH_REMOTE_COMMAND", "SSH_SCP_UP", "SSH_SCP_DOWN", "SSH_X11", "SSH_DIRECT_TCPIP", "SSH_REVERSE_TCPIP", "SSH_AUTH_AGENT",
127
+ "RDP_CLIPBOARD_UP",
128
+ "RDP_CLIPBOARD_DOWN",
129
+ "RDP_PRINTER",
130
+ "RDP_COM_PORT",
131
+ "RDP_DRIVE",
132
+ "RDP_SMARTCARD",
133
+ "RDP_CLIPBOARD_FILE",
134
+ "RDP_AUDIO_OUTPUT",
135
+ "SSH_SHELL_SESSION",
136
+ "SSH_REMOTE_COMMAND",
137
+ "SSH_SCP_UP",
138
+ "SSH_SCP_DOWN",
139
+ "SSH_X11",
140
+ "SSH_DIRECT_TCPIP",
141
+ "SSH_REVERSE_TCPIP",
142
+ "SSH_AUTH_AGENT",
113
143
"SFTP_SESSION",
114
144
"RDP",
115
145
"VNC",
@@ -130,14 +160,17 @@ resource "wallix-bastion_authorization" "testacc_Authorization" {
130
160
mandatory_ticket = true
131
161
single_connection = true
132
162
}
163
+
133
164
resource "wallix-bastion_usergroup" "testacc_Authorization" {
134
165
group_name = "testacc_Authorization"
135
166
timeframes = ["allthetime"]
136
167
}
168
+
137
169
resource "wallix-bastion_usergroup" "testacc_Authorization2" {
138
170
group_name = "testacc_Authorization2"
139
171
timeframes = ["allthetime"]
140
172
}
173
+
141
174
resource "wallix-bastion_targetgroup" "testacc_Authorization" {
142
175
group_name = "testacc_Authorization"
143
176
}
@@ -149,20 +182,22 @@ func testAccResourceAuthorizationSessionSharingViewOnly() string {
149
182
return `
150
183
resource "wallix-bastion_authorization" "testacc_Authorization_sharing" {
151
184
authorization_name = "testacc_Authorization_sharing"
152
- user_group = wallix-bastion_usergroup.testacc_Authorization_sharing.group_name
153
- target_group = wallix-bastion_targetgroup.testacc_Authorization_sharing.group_name
154
- authorize_sessions = true
185
+ user_group = wallix-bastion_usergroup.testacc_Authorization_sharing.group_name
186
+ target_group = wallix-bastion_targetgroup.testacc_Authorization_sharing.group_name
187
+ authorize_sessions = true
155
188
authorize_session_sharing = true
156
- session_sharing_mode = "view_only"
189
+ session_sharing_mode = "view_only"
157
190
subprotocols = [
158
191
"RDP",
159
192
"SSH_SHELL_SESSION",
160
193
]
161
194
}
195
+
162
196
resource "wallix-bastion_usergroup" "testacc_Authorization_sharing" {
163
197
group_name = "testacc_Authorization_sharing"
164
198
timeframes = ["allthetime"]
165
199
}
200
+
166
201
resource "wallix-bastion_targetgroup" "testacc_Authorization_sharing" {
167
202
group_name = "testacc_Authorization_sharing"
168
203
}
@@ -174,20 +209,22 @@ func testAccResourceAuthorizationSessionSharingViewControl() string {
174
209
return `
175
210
resource "wallix-bastion_authorization" "testacc_Authorization_sharing" {
176
211
authorization_name = "testacc_Authorization_sharing"
177
- user_group = wallix-bastion_usergroup.testacc_Authorization_sharing.group_name
178
- target_group = wallix-bastion_targetgroup.testacc_Authorization_sharing.group_name
179
- authorize_sessions = true
212
+ user_group = wallix-bastion_usergroup.testacc_Authorization_sharing.group_name
213
+ target_group = wallix-bastion_targetgroup.testacc_Authorization_sharing.group_name
214
+ authorize_sessions = true
180
215
authorize_session_sharing = true
181
- session_sharing_mode = "view_control"
216
+ session_sharing_mode = "view_control"
182
217
subprotocols = [
183
218
"RDP",
184
219
"SSH_SHELL_SESSION",
185
220
]
186
221
}
222
+
187
223
resource "wallix-bastion_usergroup" "testacc_Authorization_sharing" {
188
224
group_name = "testacc_Authorization_sharing"
189
225
timeframes = ["allthetime"]
190
226
}
227
+
191
228
resource "wallix-bastion_targetgroup" "testacc_Authorization_sharing" {
192
229
group_name = "testacc_Authorization_sharing"
193
230
}
0 commit comments