@@ -51,9 +51,10 @@ type CompileScriptRequest struct {
51
51
type TargetDomain struct {
52
52
ID string `json:"id"`
53
53
Name string `json:"name"`
54
+ DomainName string `json:"domain_name"`
54
55
Enabled bool `json:"enabled"`
55
56
PeriodicScan bool `json:"periodic_scan"`
56
- PeriodicScanInterval int `json:"periodic_scan_interval,omitempty "`
57
+ PeriodicScanInterval int `json:"periodic_scan_interval"`
57
58
ScanStatus string `json:"scan_status,omitempty"`
58
59
ScanMessage string `json:"scan_message,omitempty"`
59
60
LastScanned * time.Time `json:"last_scanned,omitempty"`
@@ -148,29 +149,31 @@ type ScannedAccountEditBatch struct {
148
149
}
149
150
150
151
type ManagedAccount struct {
151
- ID string `json:"id"`
152
- Username string `json:"username"`
153
- Email string `json:"email,omitempty"`
154
- FullName string `json:"full_name,omitempty"`
155
- SourceID string `json:"source_id,omitempty"`
156
- SecurityID string `json:"security_id,omitempty"`
157
- AdditionalData map [string ]string `json:"additional_data,omitempty"`
158
- TargetDomain TargetDomainHandle `json:"target_domain"`
159
- PasswordPolicy * PasswordPolicyHandle `json:"password_policy,omitempty"`
160
- Enabled bool `json:"enabled"`
161
- RotationEnabled bool `json:"rotation_enabled"`
162
- ExplicitCheckout bool `json:"explicit_checkout"`
163
- State string `json:"state"`
164
- Comment string `json:"comment,omitempty"`
165
- SecretName string `json:"secret_name,omitempty"`
166
- Locked bool `json:"locked"`
167
- LockedTimestamp * time.Time `json:"locked_timestamp,omitempty"`
168
- RotationHistory []SecretRotationEvent `json:"rotation_history,omitempty"`
169
- SecretCheckouts []SecretCheckout `json:"checkouts,omitempty"`
170
- Created time.Time `json:"created,omitempty"`
171
- Author string `json:"author,omitempty"`
172
- Updated * time.Time `json:"updated,omitempty"`
173
- UpdatedBy string `json:"updated_by,omitempty"`
152
+ ID string `json:"id"`
153
+ Username string `json:"username"`
154
+ Email string `json:"email,omitempty"`
155
+ FullName string `json:"full_name,omitempty"`
156
+ SamAccountName string `json:"sam_account_name,omitempty"`
157
+ SourceID string `json:"source_id,omitempty"`
158
+ SecurityID string `json:"security_id,omitempty"`
159
+ AdditionalData map [string ]string `json:"additional_data,omitempty"`
160
+ TargetDomain TargetDomainHandle `json:"target_domain"`
161
+ PasswordPolicy * PasswordPolicyHandle `json:"password_policy,omitempty"`
162
+ Enabled bool `json:"enabled"`
163
+ RotationEnabled bool `json:"rotation_enabled"`
164
+ ExplicitCheckout bool `json:"explicit_checkout"`
165
+ State string `json:"state"`
166
+ Comment string `json:"comment,omitempty"`
167
+ SecretName string `json:"secret_name,omitempty"`
168
+ Locked bool `json:"locked"`
169
+ LockedTimestamp * time.Time `json:"locked_timestamp,omitempty"`
170
+ RotationHistory []SecretRotationEvent `json:"rotation_history,omitempty"`
171
+ SecretCheckouts []SecretCheckout `json:"checkouts,omitempty"`
172
+ Created time.Time `json:"created,omitempty"`
173
+ Author string `json:"author,omitempty"`
174
+ Updated * time.Time `json:"updated,omitempty"`
175
+ UpdatedBy string `json:"updated_by,omitempty"`
176
+ DisableRdpCertAuth bool `json:"disable_rdp_cert_auth"`
174
177
}
175
178
176
179
type SecretRotationEvent struct {
@@ -226,12 +229,13 @@ type ManagedAccountCreateBatch struct {
226
229
}
227
230
228
231
type ManagedAccountCreateData struct {
229
- Enabled bool `json:"enabled"`
230
- RotationEnabled bool `json:"rotation_enabled"`
231
- Rotate bool `json:"rotate"`
232
- ExplicitCheckout bool `json:"explicit_checkout"`
233
- PasswordPolicy PasswordPolicyHandle `json:"password_policy,omitempty"`
234
- Comment string `json:"comment,omitempty"`
232
+ Enabled bool `json:"enabled"`
233
+ RotationEnabled bool `json:"rotation_enabled"`
234
+ Rotate bool `json:"rotate"`
235
+ ExplicitCheckout bool `json:"explicit_checkout"`
236
+ DisableRdpCertAuth bool `json:"disable_rdp_cert_auth"`
237
+ PasswordPolicy PasswordPolicyHandle `json:"password_policy,omitempty"`
238
+ Comment string `json:"comment,omitempty"`
235
239
}
236
240
237
241
type ManagedAccountEditBatch struct {
@@ -240,11 +244,12 @@ type ManagedAccountEditBatch struct {
240
244
}
241
245
242
246
type ManagedAccountChangeSet struct {
243
- Enabled * bool `json:"enabled"`
244
- RotationEnabled * bool `json:"rotation_enabled"`
245
- ExplicitCheckout * bool `json:"explicit_checkout"`
246
- PasswordPolicy * PasswordPolicyHandle `json:"password_policy,omitempty"`
247
- Comment * string `json:"comment,omitempty"`
247
+ Enabled * bool `json:"enabled"`
248
+ RotationEnabled * bool `json:"rotation_enabled"`
249
+ ExplicitCheckout * bool `json:"explicit_checkout"`
250
+ DisableRdpCertAuth * bool `json:"disable_rdp_cert_auth"`
251
+ PasswordPolicy * PasswordPolicyHandle `json:"password_policy,omitempty"`
252
+ Comment * string `json:"comment,omitempty"`
248
253
}
249
254
250
255
type ManagedAccountBatch struct {
0 commit comments