sailpoint-api-client 2.0.13 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/machine_identities/api.d.ts +1220 -44
- package/dist/machine_identities/api.js +885 -44
- package/dist/machine_identities/api.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/workflows/api.d.ts +8 -4
- package/dist/workflows/api.js +8 -4
- package/dist/workflows/api.js.map +1 -1
- package/machine_identities/.openapi-generator/FILES +17 -0
- package/machine_identities/api.ts +1659 -44
- package/machine_identities/docs/Examples/typescript_code_examples_overlay.yaml +146 -0
- package/machine_identities/docs/Methods/MachineIdentitiesApi.md +382 -0
- package/machine_identities/docs/Models/ArrayInner.md +18 -0
- package/machine_identities/docs/Models/Businessapplicationref.md +23 -0
- package/machine_identities/docs/Models/Correlationcondition.md +24 -0
- package/machine_identities/docs/Models/Correlationconfig.md +26 -0
- package/machine_identities/docs/Models/Correlationrule.md +24 -0
- package/machine_identities/docs/Models/Correlationruleaction.md +20 -0
- package/machine_identities/docs/Models/Jsonpatchoperation.md +21 -0
- package/machine_identities/docs/Models/JsonpatchoperationValue.md +18 -0
- package/machine_identities/docs/Models/MachineIdentityV2Risk.md +20 -0
- package/machine_identities/docs/Models/MachineIdentityV2Source.md +21 -0
- package/machine_identities/docs/Models/Machineidentityownersv2.md +20 -0
- package/machine_identities/docs/Models/Machineidentityownersv2Primary.md +21 -0
- package/machine_identities/docs/Models/Machineidentityv2.md +42 -0
- package/machine_identities/docs/Models/Resourcev2.md +22 -0
- package/machine_identities/docs/Models/Sanctionedstatus.md +23 -0
- package/machine_identities/docs/Models/Userentitlementv2.md +22 -0
- package/machine_identities/docs/Models/Userentitlementv2Source.md +21 -0
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/package.json +1 -1
- package/workflows/api.ts +8 -4
- package/workflows/docs/Methods/WorkflowsApi.md +4 -1
|
@@ -23,6 +23,13 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface ArrayInner
|
|
30
|
+
*/
|
|
31
|
+
export interface ArrayInner {
|
|
32
|
+
}
|
|
26
33
|
/**
|
|
27
34
|
*
|
|
28
35
|
* @export
|
|
@@ -81,6 +88,237 @@ export interface Basereferencedto {
|
|
|
81
88
|
}
|
|
82
89
|
|
|
83
90
|
|
|
91
|
+
/**
|
|
92
|
+
* Reference to a Business Application associated with a machine identity.
|
|
93
|
+
* @export
|
|
94
|
+
* @interface Businessapplicationref
|
|
95
|
+
*/
|
|
96
|
+
export interface Businessapplicationref {
|
|
97
|
+
/**
|
|
98
|
+
* Reference type.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof Businessapplicationref
|
|
101
|
+
*/
|
|
102
|
+
'type'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Business Application ID.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof Businessapplicationref
|
|
107
|
+
*/
|
|
108
|
+
'id'?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Business Application display name.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof Businessapplicationref
|
|
113
|
+
*/
|
|
114
|
+
'name'?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {Sanctionedstatus}
|
|
118
|
+
* @memberof Businessapplicationref
|
|
119
|
+
*/
|
|
120
|
+
'sanctionedStatus'?: Sanctionedstatus;
|
|
121
|
+
/**
|
|
122
|
+
* Whether the Business Application reference was manually assigned or automatically correlated.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof Businessapplicationref
|
|
125
|
+
*/
|
|
126
|
+
'correlationType'?: BusinessapplicationrefCorrelationTypeEnum;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export const BusinessapplicationrefCorrelationTypeEnum = {
|
|
130
|
+
Manual: 'MANUAL',
|
|
131
|
+
Automatic: 'AUTOMATIC'
|
|
132
|
+
} as const;
|
|
133
|
+
|
|
134
|
+
export type BusinessapplicationrefCorrelationTypeEnum = typeof BusinessapplicationrefCorrelationTypeEnum[keyof typeof BusinessapplicationrefCorrelationTypeEnum];
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* A single condition expression within a correlation rule.
|
|
138
|
+
* @export
|
|
139
|
+
* @interface Correlationcondition
|
|
140
|
+
*/
|
|
141
|
+
export interface Correlationcondition {
|
|
142
|
+
/**
|
|
143
|
+
* System-generated unique ID of the condition.
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof Correlationcondition
|
|
146
|
+
*/
|
|
147
|
+
'id'?: string;
|
|
148
|
+
/**
|
|
149
|
+
* The left-hand attribute name of the condition.
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof Correlationcondition
|
|
152
|
+
*/
|
|
153
|
+
'leftAttributeName': string;
|
|
154
|
+
/**
|
|
155
|
+
* The comparison operator applied between the left and right attributes.
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof Correlationcondition
|
|
158
|
+
*/
|
|
159
|
+
'operatorType': string;
|
|
160
|
+
/**
|
|
161
|
+
* The right-hand attribute name. Use an empty string when there is no RHS attribute.
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof Correlationcondition
|
|
164
|
+
*/
|
|
165
|
+
'rightAttributeName': string;
|
|
166
|
+
/**
|
|
167
|
+
* Optional transform applied before comparison.
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof Correlationcondition
|
|
170
|
+
*/
|
|
171
|
+
'transform'?: string | null;
|
|
172
|
+
/**
|
|
173
|
+
* The position of this condition within the rule.
|
|
174
|
+
* @type {number}
|
|
175
|
+
* @memberof Correlationcondition
|
|
176
|
+
*/
|
|
177
|
+
'ordinal': number;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* An ownership correlation config scoped to a source resource. Configs are of type OWNER_PRIMARY or OWNER_SECONDARY and drive how machine identity owners are correlated.
|
|
181
|
+
* @export
|
|
182
|
+
* @interface Correlationconfig
|
|
183
|
+
*/
|
|
184
|
+
export interface Correlationconfig {
|
|
185
|
+
/**
|
|
186
|
+
* System-generated unique ID of the correlation config.
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof Correlationconfig
|
|
189
|
+
*/
|
|
190
|
+
'id': string;
|
|
191
|
+
/**
|
|
192
|
+
* The source ID this config belongs to.
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof Correlationconfig
|
|
195
|
+
*/
|
|
196
|
+
'sourceId': string;
|
|
197
|
+
/**
|
|
198
|
+
* The source resource identifier for this config scope.
|
|
199
|
+
* @type {string}
|
|
200
|
+
* @memberof Correlationconfig
|
|
201
|
+
*/
|
|
202
|
+
'resourceId': string;
|
|
203
|
+
/**
|
|
204
|
+
* The correlation config type.
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof Correlationconfig
|
|
207
|
+
*/
|
|
208
|
+
'type': CorrelationconfigTypeEnum;
|
|
209
|
+
/**
|
|
210
|
+
* JSON object of config attributes. May include syncPrimaryToMachineAccounts (boolean) on OWNER_PRIMARY only.
|
|
211
|
+
* @type {{ [key: string]: any; }}
|
|
212
|
+
* @memberof Correlationconfig
|
|
213
|
+
*/
|
|
214
|
+
'attributes': { [key: string]: any; };
|
|
215
|
+
/**
|
|
216
|
+
* The ordered set of correlation rules for this config.
|
|
217
|
+
* @type {Array<Correlationrule>}
|
|
218
|
+
* @memberof Correlationconfig
|
|
219
|
+
*/
|
|
220
|
+
'rules': Array<Correlationrule>;
|
|
221
|
+
/**
|
|
222
|
+
* Creation date of the config.
|
|
223
|
+
* @type {string}
|
|
224
|
+
* @memberof Correlationconfig
|
|
225
|
+
*/
|
|
226
|
+
'created'?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Last modification date of the config.
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof Correlationconfig
|
|
231
|
+
*/
|
|
232
|
+
'modified'?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export const CorrelationconfigTypeEnum = {
|
|
236
|
+
OwnerPrimary: 'OWNER_PRIMARY',
|
|
237
|
+
OwnerSecondary: 'OWNER_SECONDARY'
|
|
238
|
+
} as const;
|
|
239
|
+
|
|
240
|
+
export type CorrelationconfigTypeEnum = typeof CorrelationconfigTypeEnum[keyof typeof CorrelationconfigTypeEnum];
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* A single correlation rule within an ownership correlation config.
|
|
244
|
+
* @export
|
|
245
|
+
* @interface Correlationrule
|
|
246
|
+
*/
|
|
247
|
+
export interface Correlationrule {
|
|
248
|
+
/**
|
|
249
|
+
* Omit for new rules (server mints a UUID). Send only when updating a rule that already exists on this config (merge on PATCH). Unknown ids are rejected.
|
|
250
|
+
* @type {string}
|
|
251
|
+
* @memberof Correlationrule
|
|
252
|
+
*/
|
|
253
|
+
'id'?: string;
|
|
254
|
+
/**
|
|
255
|
+
* The evaluation priority of the rule. Lower values are evaluated first.
|
|
256
|
+
* @type {number}
|
|
257
|
+
* @memberof Correlationrule
|
|
258
|
+
*/
|
|
259
|
+
'priority': number;
|
|
260
|
+
/**
|
|
261
|
+
* Whether this rule is the default rule for the config.
|
|
262
|
+
* @type {boolean}
|
|
263
|
+
* @memberof Correlationrule
|
|
264
|
+
*/
|
|
265
|
+
'defaultRule': boolean;
|
|
266
|
+
/**
|
|
267
|
+
* The rule subject type. When either ruleType or ruleAction.type is GOVERNANCE_GROUP, both must be; ruleType GOVERNANCE_GROUP is allowed only when the parent config type is OWNER_SECONDARY.
|
|
268
|
+
* @type {string}
|
|
269
|
+
* @memberof Correlationrule
|
|
270
|
+
*/
|
|
271
|
+
'ruleType': CorrelationruleRuleTypeEnum;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {Correlationruleaction}
|
|
275
|
+
* @memberof Correlationrule
|
|
276
|
+
*/
|
|
277
|
+
'ruleAction': Correlationruleaction;
|
|
278
|
+
/**
|
|
279
|
+
* The conditions that must match for this rule to apply.
|
|
280
|
+
* @type {Array<Correlationcondition>}
|
|
281
|
+
* @memberof Correlationrule
|
|
282
|
+
*/
|
|
283
|
+
'conditionExpressions': Array<Correlationcondition>;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export const CorrelationruleRuleTypeEnum = {
|
|
287
|
+
Identity: 'IDENTITY',
|
|
288
|
+
Account: 'ACCOUNT',
|
|
289
|
+
GovernanceGroup: 'GOVERNANCE_GROUP'
|
|
290
|
+
} as const;
|
|
291
|
+
|
|
292
|
+
export type CorrelationruleRuleTypeEnum = typeof CorrelationruleRuleTypeEnum[keyof typeof CorrelationruleRuleTypeEnum];
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* The action applied when a correlation rule matches.
|
|
296
|
+
* @export
|
|
297
|
+
* @interface Correlationruleaction
|
|
298
|
+
*/
|
|
299
|
+
export interface Correlationruleaction {
|
|
300
|
+
/**
|
|
301
|
+
* The target owner type resolved by this action.
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof Correlationruleaction
|
|
304
|
+
*/
|
|
305
|
+
'type': CorrelationruleactionTypeEnum;
|
|
306
|
+
/**
|
|
307
|
+
* Action-specific payload.
|
|
308
|
+
* @type {{ [key: string]: any; }}
|
|
309
|
+
* @memberof Correlationruleaction
|
|
310
|
+
*/
|
|
311
|
+
'payload'?: { [key: string]: any; };
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export const CorrelationruleactionTypeEnum = {
|
|
315
|
+
Identity: 'IDENTITY',
|
|
316
|
+
Account: 'ACCOUNT',
|
|
317
|
+
GovernanceGroup: 'GOVERNANCE_GROUP'
|
|
318
|
+
} as const;
|
|
319
|
+
|
|
320
|
+
export type CorrelationruleactionTypeEnum = typeof CorrelationruleactionTypeEnum[keyof typeof CorrelationruleactionTypeEnum];
|
|
321
|
+
|
|
84
322
|
/**
|
|
85
323
|
* An enumeration of the types of DTOs supported within the IdentityNow infrastructure.
|
|
86
324
|
* @export
|
|
@@ -180,6 +418,50 @@ export interface Errorresponsedto {
|
|
|
180
418
|
*/
|
|
181
419
|
'causes'?: Array<Errormessagedto>;
|
|
182
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)
|
|
423
|
+
* @export
|
|
424
|
+
* @interface Jsonpatchoperation
|
|
425
|
+
*/
|
|
426
|
+
export interface Jsonpatchoperation {
|
|
427
|
+
/**
|
|
428
|
+
* The operation to be performed
|
|
429
|
+
* @type {string}
|
|
430
|
+
* @memberof Jsonpatchoperation
|
|
431
|
+
*/
|
|
432
|
+
'op': JsonpatchoperationOpEnum;
|
|
433
|
+
/**
|
|
434
|
+
* A string JSON Pointer representing the target path to an element to be affected by the operation
|
|
435
|
+
* @type {string}
|
|
436
|
+
* @memberof Jsonpatchoperation
|
|
437
|
+
*/
|
|
438
|
+
'path': string;
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @type {JsonpatchoperationValue}
|
|
442
|
+
* @memberof Jsonpatchoperation
|
|
443
|
+
*/
|
|
444
|
+
'value'?: JsonpatchoperationValue;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export const JsonpatchoperationOpEnum = {
|
|
448
|
+
Add: 'add',
|
|
449
|
+
Remove: 'remove',
|
|
450
|
+
Replace: 'replace',
|
|
451
|
+
Move: 'move',
|
|
452
|
+
Copy: 'copy',
|
|
453
|
+
Test: 'test'
|
|
454
|
+
} as const;
|
|
455
|
+
|
|
456
|
+
export type JsonpatchoperationOpEnum = typeof JsonpatchoperationOpEnum[keyof typeof JsonpatchoperationOpEnum];
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* @type JsonpatchoperationValue
|
|
460
|
+
* The value to be used for the operation, required for \"add\" and \"replace\" operations
|
|
461
|
+
* @export
|
|
462
|
+
*/
|
|
463
|
+
export type JsonpatchoperationValue = Array<ArrayInner> | boolean | number | object | string;
|
|
464
|
+
|
|
183
465
|
/**
|
|
184
466
|
*
|
|
185
467
|
* @export
|
|
@@ -308,6 +590,62 @@ export interface MachineIdentityResponseUserEntitlements {
|
|
|
308
590
|
*/
|
|
309
591
|
'source'?: object;
|
|
310
592
|
}
|
|
593
|
+
/**
|
|
594
|
+
* Risk data for the machine identity; null when no risk data has landed yet.
|
|
595
|
+
* @export
|
|
596
|
+
* @interface MachineIdentityV2Risk
|
|
597
|
+
*/
|
|
598
|
+
export interface MachineIdentityV2Risk {
|
|
599
|
+
/**
|
|
600
|
+
* Normalised risk score 0.0-100.0.
|
|
601
|
+
* @type {number}
|
|
602
|
+
* @memberof MachineIdentityV2Risk
|
|
603
|
+
*/
|
|
604
|
+
'score'?: number;
|
|
605
|
+
/**
|
|
606
|
+
* Risk severity bucket.
|
|
607
|
+
* @type {string}
|
|
608
|
+
* @memberof MachineIdentityV2Risk
|
|
609
|
+
*/
|
|
610
|
+
'severity'?: MachineIdentityV2RiskSeverityEnum;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export const MachineIdentityV2RiskSeverityEnum = {
|
|
614
|
+
Critical: 'CRITICAL',
|
|
615
|
+
High: 'HIGH',
|
|
616
|
+
Medium: 'MEDIUM',
|
|
617
|
+
Low: 'LOW'
|
|
618
|
+
} as const;
|
|
619
|
+
|
|
620
|
+
export type MachineIdentityV2RiskSeverityEnum = typeof MachineIdentityV2RiskSeverityEnum[keyof typeof MachineIdentityV2RiskSeverityEnum];
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* The source of the machine identity.
|
|
624
|
+
* @export
|
|
625
|
+
* @interface MachineIdentityV2Source
|
|
626
|
+
*/
|
|
627
|
+
export interface MachineIdentityV2Source {
|
|
628
|
+
/**
|
|
629
|
+
*
|
|
630
|
+
* @type {Dtotype}
|
|
631
|
+
* @memberof MachineIdentityV2Source
|
|
632
|
+
*/
|
|
633
|
+
'type'?: Dtotype;
|
|
634
|
+
/**
|
|
635
|
+
* ID of the object to which this reference applies
|
|
636
|
+
* @type {string}
|
|
637
|
+
* @memberof MachineIdentityV2Source
|
|
638
|
+
*/
|
|
639
|
+
'id'?: string;
|
|
640
|
+
/**
|
|
641
|
+
* Human-readable display name of the object to which this reference applies
|
|
642
|
+
* @type {string}
|
|
643
|
+
* @memberof MachineIdentityV2Source
|
|
644
|
+
*/
|
|
645
|
+
'name'?: string;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
|
|
311
649
|
/**
|
|
312
650
|
*
|
|
313
651
|
* @export
|
|
@@ -560,6 +898,52 @@ export interface MachineidentityaggregationresponseTarget {
|
|
|
560
898
|
}
|
|
561
899
|
|
|
562
900
|
|
|
901
|
+
/**
|
|
902
|
+
* Owner configuration for a machine identity. A single primary (human IDENTITY) owner plus additional owners that are either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both.
|
|
903
|
+
* @export
|
|
904
|
+
* @interface Machineidentityownersv2
|
|
905
|
+
*/
|
|
906
|
+
export interface Machineidentityownersv2 {
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @type {Machineidentityownersv2Primary}
|
|
910
|
+
* @memberof Machineidentityownersv2
|
|
911
|
+
*/
|
|
912
|
+
'primary'?: Machineidentityownersv2Primary;
|
|
913
|
+
/**
|
|
914
|
+
* Additional owners. Entries are either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. Governance-group owners appear here with type GOVERNANCE_GROUP.
|
|
915
|
+
* @type {Array<Basereferencedto>}
|
|
916
|
+
* @memberof Machineidentityownersv2
|
|
917
|
+
*/
|
|
918
|
+
'secondary'?: Array<Basereferencedto>;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* The identity selected as the primary owner.
|
|
922
|
+
* @export
|
|
923
|
+
* @interface Machineidentityownersv2Primary
|
|
924
|
+
*/
|
|
925
|
+
export interface Machineidentityownersv2Primary {
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @type {Dtotype}
|
|
929
|
+
* @memberof Machineidentityownersv2Primary
|
|
930
|
+
*/
|
|
931
|
+
'type'?: Dtotype;
|
|
932
|
+
/**
|
|
933
|
+
* ID of the object to which this reference applies
|
|
934
|
+
* @type {string}
|
|
935
|
+
* @memberof Machineidentityownersv2Primary
|
|
936
|
+
*/
|
|
937
|
+
'id'?: string;
|
|
938
|
+
/**
|
|
939
|
+
* Human-readable display name of the object to which this reference applies
|
|
940
|
+
* @type {string}
|
|
941
|
+
* @memberof Machineidentityownersv2Primary
|
|
942
|
+
*/
|
|
943
|
+
'name'?: string;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
|
|
563
947
|
/**
|
|
564
948
|
*
|
|
565
949
|
* @export
|
|
@@ -834,54 +1218,253 @@ export interface MachineidentityuserentitlementresponseSource {
|
|
|
834
1218
|
|
|
835
1219
|
|
|
836
1220
|
/**
|
|
837
|
-
*
|
|
1221
|
+
*
|
|
838
1222
|
* @export
|
|
839
|
-
* @interface
|
|
1223
|
+
* @interface Machineidentityv2
|
|
840
1224
|
*/
|
|
841
|
-
export interface
|
|
1225
|
+
export interface Machineidentityv2 {
|
|
842
1226
|
/**
|
|
843
|
-
* System-generated unique ID of the
|
|
1227
|
+
* System-generated unique ID of the Object
|
|
844
1228
|
* @type {string}
|
|
845
|
-
* @memberof
|
|
1229
|
+
* @memberof Machineidentityv2
|
|
846
1230
|
*/
|
|
847
|
-
'id'
|
|
1231
|
+
'id'?: string;
|
|
848
1232
|
/**
|
|
849
|
-
* Name of the
|
|
1233
|
+
* Name of the Object
|
|
850
1234
|
* @type {string}
|
|
851
|
-
* @memberof
|
|
1235
|
+
* @memberof Machineidentityv2
|
|
852
1236
|
*/
|
|
853
|
-
'
|
|
1237
|
+
'name': string | null;
|
|
854
1238
|
/**
|
|
855
|
-
*
|
|
1239
|
+
* Creation date of the Object
|
|
856
1240
|
* @type {string}
|
|
857
|
-
* @memberof
|
|
1241
|
+
* @memberof Machineidentityv2
|
|
858
1242
|
*/
|
|
859
|
-
'
|
|
1243
|
+
'created'?: string;
|
|
860
1244
|
/**
|
|
861
|
-
*
|
|
1245
|
+
* Last modification date of the Object
|
|
862
1246
|
* @type {string}
|
|
863
|
-
* @memberof
|
|
1247
|
+
* @memberof Machineidentityv2
|
|
864
1248
|
*/
|
|
865
|
-
'
|
|
1249
|
+
'modified'?: string;
|
|
866
1250
|
/**
|
|
867
|
-
*
|
|
1251
|
+
* Description of the machine identity.
|
|
868
1252
|
* @type {string}
|
|
869
|
-
* @memberof
|
|
1253
|
+
* @memberof Machineidentityv2
|
|
870
1254
|
*/
|
|
871
|
-
'
|
|
1255
|
+
'description'?: string;
|
|
872
1256
|
/**
|
|
873
|
-
*
|
|
1257
|
+
* A map of custom machine identity attributes.
|
|
874
1258
|
* @type {{ [key: string]: any; }}
|
|
875
|
-
* @memberof
|
|
1259
|
+
* @memberof Machineidentityv2
|
|
876
1260
|
*/
|
|
877
|
-
'
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
1261
|
+
'attributes'?: { [key: string]: any; };
|
|
1262
|
+
/**
|
|
1263
|
+
* A map of attributes sourced from the connector during aggregation.
|
|
1264
|
+
* @type {{ [key: string]: any; }}
|
|
1265
|
+
* @memberof Machineidentityv2
|
|
1266
|
+
*/
|
|
1267
|
+
'connectorAttributes'?: { [key: string]: any; };
|
|
1268
|
+
/**
|
|
1269
|
+
* Indicates if the machine identity has been manually edited.
|
|
1270
|
+
* @type {boolean}
|
|
1271
|
+
* @memberof Machineidentityv2
|
|
1272
|
+
*/
|
|
1273
|
+
'manuallyEdited'?: boolean;
|
|
1274
|
+
/**
|
|
1275
|
+
* Indicates if the machine identity has been manually created.
|
|
1276
|
+
* @type {boolean}
|
|
1277
|
+
* @memberof Machineidentityv2
|
|
1278
|
+
*/
|
|
1279
|
+
'manuallyCreated'?: boolean;
|
|
1280
|
+
/**
|
|
1281
|
+
*
|
|
1282
|
+
* @type {Machineidentityownersv2}
|
|
1283
|
+
* @memberof Machineidentityv2
|
|
1284
|
+
*/
|
|
1285
|
+
'owners'?: Machineidentityownersv2;
|
|
1286
|
+
/**
|
|
1287
|
+
* The subtype value associated to the machine identity.
|
|
1288
|
+
* @type {string}
|
|
1289
|
+
* @memberof Machineidentityv2
|
|
1290
|
+
*/
|
|
1291
|
+
'subtype'?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* The source id associated to the machine identity.
|
|
1294
|
+
* @type {string}
|
|
1295
|
+
* @memberof Machineidentityv2
|
|
1296
|
+
*/
|
|
1297
|
+
'sourceId'?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* The UUID associated to the machine identity directly aggregated from a source.
|
|
1300
|
+
* @type {string}
|
|
1301
|
+
* @memberof Machineidentityv2
|
|
1302
|
+
*/
|
|
1303
|
+
'uuid'?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* The native identity associated to the machine identity directly aggregated from a source.
|
|
1306
|
+
* @type {string}
|
|
1307
|
+
* @memberof Machineidentityv2
|
|
1308
|
+
*/
|
|
1309
|
+
'nativeIdentity'?: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* The dataset id associated to the source from which the identity was retrieved.
|
|
1312
|
+
* @type {string}
|
|
1313
|
+
* @memberof Machineidentityv2
|
|
1314
|
+
*/
|
|
1315
|
+
'datasetId'?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* The environment the machine identity belongs to.
|
|
1318
|
+
* @type {string}
|
|
1319
|
+
* @memberof Machineidentityv2
|
|
1320
|
+
*/
|
|
1321
|
+
'environment'?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Indicates whether the machine identity still exists on the source.
|
|
1324
|
+
* @type {string}
|
|
1325
|
+
* @memberof Machineidentityv2
|
|
1326
|
+
*/
|
|
1327
|
+
'existsOnSource'?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Operational status read from stored attributes.status; null when absent.
|
|
1330
|
+
* @type {string}
|
|
1331
|
+
* @memberof Machineidentityv2
|
|
1332
|
+
*/
|
|
1333
|
+
'status'?: string | null;
|
|
1334
|
+
/**
|
|
1335
|
+
*
|
|
1336
|
+
* @type {Resourcev2}
|
|
1337
|
+
* @memberof Machineidentityv2
|
|
1338
|
+
*/
|
|
1339
|
+
'resource'?: Resourcev2;
|
|
1340
|
+
/**
|
|
1341
|
+
*
|
|
1342
|
+
* @type {MachineIdentityV2Source}
|
|
1343
|
+
* @memberof Machineidentityv2
|
|
1344
|
+
*/
|
|
1345
|
+
'source'?: MachineIdentityV2Source;
|
|
1346
|
+
/**
|
|
1347
|
+
* The user entitlements associated to the machine identity.
|
|
1348
|
+
* @type {Array<Userentitlementv2>}
|
|
1349
|
+
* @memberof Machineidentityv2
|
|
1350
|
+
*/
|
|
1351
|
+
'userEntitlements'?: Array<Userentitlementv2>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Optional Business Application references associated with this machine identity.
|
|
1354
|
+
* @type {Array<Businessapplicationref>}
|
|
1355
|
+
* @memberof Machineidentityv2
|
|
1356
|
+
*/
|
|
1357
|
+
'businessApplicationRefs'?: Array<Businessapplicationref> | null;
|
|
1358
|
+
/**
|
|
1359
|
+
*
|
|
1360
|
+
* @type {Sanctionedstatus}
|
|
1361
|
+
* @memberof Machineidentityv2
|
|
1362
|
+
*/
|
|
1363
|
+
'effectiveSanctionedStatus'?: Sanctionedstatus;
|
|
1364
|
+
/**
|
|
1365
|
+
*
|
|
1366
|
+
* @type {MachineIdentityV2Risk}
|
|
1367
|
+
* @memberof Machineidentityv2
|
|
1368
|
+
*/
|
|
1369
|
+
'risk'?: MachineIdentityV2Risk;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* The source resource a machine identity is derived from.
|
|
1375
|
+
* @export
|
|
1376
|
+
* @interface Resourcev2
|
|
1377
|
+
*/
|
|
1378
|
+
export interface Resourcev2 {
|
|
1379
|
+
/**
|
|
1380
|
+
* The source resource identifier.
|
|
1381
|
+
* @type {string}
|
|
1382
|
+
* @memberof Resourcev2
|
|
1383
|
+
*/
|
|
1384
|
+
'id'?: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* The type of the source resource.
|
|
1387
|
+
* @type {string}
|
|
1388
|
+
* @memberof Resourcev2
|
|
1389
|
+
*/
|
|
1390
|
+
'type'?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* The display name of the source resource.
|
|
1393
|
+
* @type {string}
|
|
1394
|
+
* @memberof Resourcev2
|
|
1395
|
+
*/
|
|
1396
|
+
'name'?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* The set of features supported by the source resource.
|
|
1399
|
+
* @type {Array<string>}
|
|
1400
|
+
* @memberof Resourcev2
|
|
1401
|
+
*/
|
|
1402
|
+
'features'?: Array<string>;
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* Sanctioned status for a Business Application or derived machine identity effective status.
|
|
1406
|
+
* @export
|
|
1407
|
+
* @enum {string}
|
|
1408
|
+
*/
|
|
1409
|
+
|
|
1410
|
+
export const Sanctionedstatus = {
|
|
1411
|
+
Sanctioned: 'SANCTIONED',
|
|
1412
|
+
Unsanctioned: 'UNSANCTIONED',
|
|
1413
|
+
Unknown: 'UNKNOWN'
|
|
1414
|
+
} as const;
|
|
1415
|
+
|
|
1416
|
+
export type Sanctionedstatus = typeof Sanctionedstatus[keyof typeof Sanctionedstatus];
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Definition of a type of task, used to invoke tasks
|
|
1421
|
+
* @export
|
|
1422
|
+
* @interface Taskdefinitionsummary
|
|
1423
|
+
*/
|
|
1424
|
+
export interface Taskdefinitionsummary {
|
|
1425
|
+
/**
|
|
1426
|
+
* System-generated unique ID of the TaskDefinition
|
|
1427
|
+
* @type {string}
|
|
1428
|
+
* @memberof Taskdefinitionsummary
|
|
1429
|
+
*/
|
|
1430
|
+
'id': string;
|
|
1431
|
+
/**
|
|
1432
|
+
* Name of the TaskDefinition
|
|
1433
|
+
* @type {string}
|
|
1434
|
+
* @memberof Taskdefinitionsummary
|
|
1435
|
+
*/
|
|
1436
|
+
'uniqueName': string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Description of the TaskDefinition
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof Taskdefinitionsummary
|
|
1441
|
+
*/
|
|
1442
|
+
'description': string | null;
|
|
1443
|
+
/**
|
|
1444
|
+
* Name of the parent of the TaskDefinition
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof Taskdefinitionsummary
|
|
1447
|
+
*/
|
|
1448
|
+
'parentName': string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Executor of the TaskDefinition
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof Taskdefinitionsummary
|
|
1453
|
+
*/
|
|
1454
|
+
'executor': string | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Formal parameters of the TaskDefinition, without values
|
|
1457
|
+
* @type {{ [key: string]: any; }}
|
|
1458
|
+
* @memberof Taskdefinitionsummary
|
|
1459
|
+
*/
|
|
1460
|
+
'arguments': { [key: string]: any; };
|
|
1461
|
+
}
|
|
1462
|
+
/**
|
|
1463
|
+
* Task return details
|
|
1464
|
+
* @export
|
|
1465
|
+
* @interface Taskreturndetails
|
|
1466
|
+
*/
|
|
1467
|
+
export interface Taskreturndetails {
|
|
885
1468
|
/**
|
|
886
1469
|
* Display name of the TaskReturnDetails
|
|
887
1470
|
* @type {string}
|
|
@@ -942,6 +1525,64 @@ export type TaskstatusmessageTypeEnum = typeof TaskstatusmessageTypeEnum[keyof t
|
|
|
942
1525
|
*/
|
|
943
1526
|
export interface TaskstatusmessageParametersInner {
|
|
944
1527
|
}
|
|
1528
|
+
/**
|
|
1529
|
+
* A user entitlement associated to a machine identity.
|
|
1530
|
+
* @export
|
|
1531
|
+
* @interface Userentitlementv2
|
|
1532
|
+
*/
|
|
1533
|
+
export interface Userentitlementv2 {
|
|
1534
|
+
/**
|
|
1535
|
+
* The source ID of the entitlement.
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof Userentitlementv2
|
|
1538
|
+
*/
|
|
1539
|
+
'sourceId'?: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* The ID of the entitlement.
|
|
1542
|
+
* @type {string}
|
|
1543
|
+
* @memberof Userentitlementv2
|
|
1544
|
+
*/
|
|
1545
|
+
'entitlementId'?: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* The display name of the entitlement.
|
|
1548
|
+
* @type {string}
|
|
1549
|
+
* @memberof Userentitlementv2
|
|
1550
|
+
*/
|
|
1551
|
+
'displayName'?: string;
|
|
1552
|
+
/**
|
|
1553
|
+
*
|
|
1554
|
+
* @type {Userentitlementv2Source}
|
|
1555
|
+
* @memberof Userentitlementv2
|
|
1556
|
+
*/
|
|
1557
|
+
'source'?: Userentitlementv2Source;
|
|
1558
|
+
}
|
|
1559
|
+
/**
|
|
1560
|
+
* The source of the entitlement.
|
|
1561
|
+
* @export
|
|
1562
|
+
* @interface Userentitlementv2Source
|
|
1563
|
+
*/
|
|
1564
|
+
export interface Userentitlementv2Source {
|
|
1565
|
+
/**
|
|
1566
|
+
*
|
|
1567
|
+
* @type {Dtotype}
|
|
1568
|
+
* @memberof Userentitlementv2Source
|
|
1569
|
+
*/
|
|
1570
|
+
'type'?: Dtotype;
|
|
1571
|
+
/**
|
|
1572
|
+
* ID of the object to which this reference applies
|
|
1573
|
+
* @type {string}
|
|
1574
|
+
* @memberof Userentitlementv2Source
|
|
1575
|
+
*/
|
|
1576
|
+
'id'?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* Human-readable display name of the object to which this reference applies
|
|
1579
|
+
* @type {string}
|
|
1580
|
+
* @memberof Userentitlementv2Source
|
|
1581
|
+
*/
|
|
1582
|
+
'name'?: string;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
|
|
945
1586
|
|
|
946
1587
|
/**
|
|
947
1588
|
* MachineIdentitiesApi - axios parameter creator
|
|
@@ -993,6 +1634,42 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
993
1634
|
axiosOptions: localVarRequestOptions,
|
|
994
1635
|
};
|
|
995
1636
|
},
|
|
1637
|
+
/**
|
|
1638
|
+
* Use this API to create a machine identity. Additional owners may be either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. The maximum supported length for the description field is 2000 characters.
|
|
1639
|
+
* @summary Create machine identity
|
|
1640
|
+
* @param {Machineidentityv2} machineidentityv2
|
|
1641
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
*/
|
|
1644
|
+
createMachineIdentityV2: async (machineidentityv2: Machineidentityv2, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1645
|
+
// verify required parameter 'machineidentityv2' is not null or undefined
|
|
1646
|
+
assertParamExists('createMachineIdentityV2', 'machineidentityv2', machineidentityv2)
|
|
1647
|
+
const localVarPath = `/machine-identities/v2`;
|
|
1648
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1650
|
+
let baseOptions;
|
|
1651
|
+
if (configuration) {
|
|
1652
|
+
baseOptions = configuration.baseOptions;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
1656
|
+
const localVarHeaderParameter = {} as any;
|
|
1657
|
+
const localVarQueryParameter = {} as any;
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1662
|
+
|
|
1663
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1664
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1665
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1666
|
+
localVarRequestOptions.data = serializeDataIfNeeded(machineidentityv2, localVarRequestOptions, configuration)
|
|
1667
|
+
|
|
1668
|
+
return {
|
|
1669
|
+
url: toPathString(localVarUrlObj),
|
|
1670
|
+
axiosOptions: localVarRequestOptions,
|
|
1671
|
+
};
|
|
1672
|
+
},
|
|
996
1673
|
/**
|
|
997
1674
|
* The API returns successful response if the requested machine identity was deleted.
|
|
998
1675
|
* @summary Delete machine identity
|
|
@@ -1026,6 +1703,82 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1026
1703
|
if (xSailPointExperimental != null) {
|
|
1027
1704
|
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1028
1705
|
}
|
|
1706
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1707
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1708
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1709
|
+
|
|
1710
|
+
return {
|
|
1711
|
+
url: toPathString(localVarUrlObj),
|
|
1712
|
+
axiosOptions: localVarRequestOptions,
|
|
1713
|
+
};
|
|
1714
|
+
},
|
|
1715
|
+
/**
|
|
1716
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
1717
|
+
* @summary Delete machine identity
|
|
1718
|
+
* @param {string} id Machine Identity ID.
|
|
1719
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1720
|
+
* @throws {RequiredError}
|
|
1721
|
+
*/
|
|
1722
|
+
deleteMachineIdentityV2: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1723
|
+
// verify required parameter 'id' is not null or undefined
|
|
1724
|
+
assertParamExists('deleteMachineIdentityV2', 'id', id)
|
|
1725
|
+
const localVarPath = `/machine-identities/v2/{id}`
|
|
1726
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1728
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1729
|
+
let baseOptions;
|
|
1730
|
+
if (configuration) {
|
|
1731
|
+
baseOptions = configuration.baseOptions;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
|
|
1735
|
+
const localVarHeaderParameter = {} as any;
|
|
1736
|
+
const localVarQueryParameter = {} as any;
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1742
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1743
|
+
|
|
1744
|
+
return {
|
|
1745
|
+
url: toPathString(localVarUrlObj),
|
|
1746
|
+
axiosOptions: localVarRequestOptions,
|
|
1747
|
+
};
|
|
1748
|
+
},
|
|
1749
|
+
/**
|
|
1750
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
1751
|
+
* @summary Delete ownership correlation config
|
|
1752
|
+
* @param {string} sourceId The Source ID.
|
|
1753
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1754
|
+
* @param {string} configId The correlation config ID.
|
|
1755
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1756
|
+
* @throws {RequiredError}
|
|
1757
|
+
*/
|
|
1758
|
+
deleteOwnershipCorrelationConfigV1: async (sourceId: string, resourceId: string, configId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1759
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
1760
|
+
assertParamExists('deleteOwnershipCorrelationConfigV1', 'sourceId', sourceId)
|
|
1761
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
1762
|
+
assertParamExists('deleteOwnershipCorrelationConfigV1', 'resourceId', resourceId)
|
|
1763
|
+
// verify required parameter 'configId' is not null or undefined
|
|
1764
|
+
assertParamExists('deleteOwnershipCorrelationConfigV1', 'configId', configId)
|
|
1765
|
+
const localVarPath = `/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}`
|
|
1766
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
|
|
1767
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
1768
|
+
.replace(`{${"configId"}}`, encodeURIComponent(String(configId)));
|
|
1769
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1770
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1771
|
+
let baseOptions;
|
|
1772
|
+
if (configuration) {
|
|
1773
|
+
baseOptions = configuration.baseOptions;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
|
|
1777
|
+
const localVarHeaderParameter = {} as any;
|
|
1778
|
+
const localVarQueryParameter = {} as any;
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
|
|
1029
1782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1030
1783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1031
1784
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -1050,8 +1803,127 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1050
1803
|
xSailPointExperimental = 'true';
|
|
1051
1804
|
}
|
|
1052
1805
|
|
|
1053
|
-
const localVarPath = `/machine-identities/v1/{id}`
|
|
1054
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1806
|
+
const localVarPath = `/machine-identities/v1/{id}`
|
|
1807
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1808
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1809
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1810
|
+
let baseOptions;
|
|
1811
|
+
if (configuration) {
|
|
1812
|
+
baseOptions = configuration.baseOptions;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1816
|
+
const localVarHeaderParameter = {} as any;
|
|
1817
|
+
const localVarQueryParameter = {} as any;
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
if (xSailPointExperimental != null) {
|
|
1822
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1823
|
+
}
|
|
1824
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1825
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1826
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1827
|
+
|
|
1828
|
+
return {
|
|
1829
|
+
url: toPathString(localVarUrlObj),
|
|
1830
|
+
axiosOptions: localVarRequestOptions,
|
|
1831
|
+
};
|
|
1832
|
+
},
|
|
1833
|
+
/**
|
|
1834
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
1835
|
+
* @summary Get machine identity details
|
|
1836
|
+
* @param {string} id Machine Identity ID.
|
|
1837
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1838
|
+
* @throws {RequiredError}
|
|
1839
|
+
*/
|
|
1840
|
+
getMachineIdentityV2: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1841
|
+
// verify required parameter 'id' is not null or undefined
|
|
1842
|
+
assertParamExists('getMachineIdentityV2', 'id', id)
|
|
1843
|
+
const localVarPath = `/machine-identities/v2/{id}`
|
|
1844
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1847
|
+
let baseOptions;
|
|
1848
|
+
if (configuration) {
|
|
1849
|
+
baseOptions = configuration.baseOptions;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1853
|
+
const localVarHeaderParameter = {} as any;
|
|
1854
|
+
const localVarQueryParameter = {} as any;
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
|
|
1858
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1859
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1860
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1861
|
+
|
|
1862
|
+
return {
|
|
1863
|
+
url: toPathString(localVarUrlObj),
|
|
1864
|
+
axiosOptions: localVarRequestOptions,
|
|
1865
|
+
};
|
|
1866
|
+
},
|
|
1867
|
+
/**
|
|
1868
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
1869
|
+
* @summary Get ownership correlation config
|
|
1870
|
+
* @param {string} sourceId The Source ID.
|
|
1871
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1872
|
+
* @param {string} configId The correlation config ID.
|
|
1873
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1874
|
+
* @throws {RequiredError}
|
|
1875
|
+
*/
|
|
1876
|
+
getOwnershipCorrelationConfigV1: async (sourceId: string, resourceId: string, configId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1877
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
1878
|
+
assertParamExists('getOwnershipCorrelationConfigV1', 'sourceId', sourceId)
|
|
1879
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
1880
|
+
assertParamExists('getOwnershipCorrelationConfigV1', 'resourceId', resourceId)
|
|
1881
|
+
// verify required parameter 'configId' is not null or undefined
|
|
1882
|
+
assertParamExists('getOwnershipCorrelationConfigV1', 'configId', configId)
|
|
1883
|
+
const localVarPath = `/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}`
|
|
1884
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
|
|
1885
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
1886
|
+
.replace(`{${"configId"}}`, encodeURIComponent(String(configId)));
|
|
1887
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1888
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1889
|
+
let baseOptions;
|
|
1890
|
+
if (configuration) {
|
|
1891
|
+
baseOptions = configuration.baseOptions;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1895
|
+
const localVarHeaderParameter = {} as any;
|
|
1896
|
+
const localVarQueryParameter = {} as any;
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1902
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1903
|
+
|
|
1904
|
+
return {
|
|
1905
|
+
url: toPathString(localVarUrlObj),
|
|
1906
|
+
axiosOptions: localVarRequestOptions,
|
|
1907
|
+
};
|
|
1908
|
+
},
|
|
1909
|
+
/**
|
|
1910
|
+
* This API returns a list of machine identities.
|
|
1911
|
+
* @summary List machine identities
|
|
1912
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **cisIdentityId**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **attributes**: *eq* **manuallyEdited**: *eq* **subtype**: *eq, in* **owners.primaryIdentity.id**: *eq, in, sw* **owners.primaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryIdentity.id**: *eq, in, sw* **owners.secondaryIdentity.name**: *eq, in, isnull, pr* **source.name**: *eq, in, sw* **source.id**: *eq, in* **entitlement.id**: *eq, in* **entitlement.name**: *eq, in, sw*
|
|
1913
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **nativeIdentity, name, owners.primaryIdentity.name, source.name, created, modified**
|
|
1914
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1915
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1916
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1917
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1918
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1919
|
+
* @throws {RequiredError}
|
|
1920
|
+
*/
|
|
1921
|
+
listMachineIdentitiesV1: async (filters?: string, sorters?: string, xSailPointExperimental?: string, count?: boolean, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1922
|
+
if (xSailPointExperimental === undefined) {
|
|
1923
|
+
xSailPointExperimental = 'true';
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
const localVarPath = `/machine-identities/v1`;
|
|
1055
1927
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1056
1928
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1057
1929
|
let baseOptions;
|
|
@@ -1063,6 +1935,26 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1063
1935
|
const localVarHeaderParameter = {} as any;
|
|
1064
1936
|
const localVarQueryParameter = {} as any;
|
|
1065
1937
|
|
|
1938
|
+
if (filters !== undefined) {
|
|
1939
|
+
localVarQueryParameter['filters'] = filters;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
if (sorters !== undefined) {
|
|
1943
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
if (count !== undefined) {
|
|
1947
|
+
localVarQueryParameter['count'] = count;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
if (limit !== undefined) {
|
|
1951
|
+
localVarQueryParameter['limit'] = limit;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
if (offset !== undefined) {
|
|
1955
|
+
localVarQueryParameter['offset'] = offset;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1066
1958
|
|
|
1067
1959
|
|
|
1068
1960
|
if (xSailPointExperimental != null) {
|
|
@@ -1080,21 +1972,16 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1080
1972
|
/**
|
|
1081
1973
|
* This API returns a list of machine identities.
|
|
1082
1974
|
* @summary List machine identities
|
|
1083
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **
|
|
1975
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **attributes**: *eq* **manuallyEdited**: *eq* **subtype**: *eq, in* **owners.primaryIdentity.id**: *eq, in, sw* **owners.primaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryIdentity.id**: *eq, in, sw* **owners.secondaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryGovernanceGroup.id**: *eq, in* **owners.secondaryGovernanceGroup.name**: *eq, in, isnull, pr* **source.id**: *eq, in* **source.name**: *eq, in, sw* **entitlement.id**: *eq, in* **entitlement.name**: *eq, in, sw* **risk.severity**: *eq, in*
|
|
1084
1976
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **nativeIdentity, name, owners.primaryIdentity.name, source.name, created, modified**
|
|
1085
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1086
1977
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1087
1978
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1088
1979
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1089
1980
|
* @param {*} [axiosOptions] Override http request option.
|
|
1090
1981
|
* @throws {RequiredError}
|
|
1091
1982
|
*/
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
xSailPointExperimental = 'true';
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
const localVarPath = `/machine-identities/v1`;
|
|
1983
|
+
listMachineIdentitiesV2: async (filters?: string, sorters?: string, count?: boolean, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1984
|
+
const localVarPath = `/machine-identities/v2`;
|
|
1098
1985
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1099
1986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1100
1987
|
let baseOptions;
|
|
@@ -1128,9 +2015,6 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1128
2015
|
|
|
1129
2016
|
|
|
1130
2017
|
|
|
1131
|
-
if (xSailPointExperimental != null) {
|
|
1132
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1133
|
-
}
|
|
1134
2018
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1135
2019
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1136
2020
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -1203,6 +2087,112 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1203
2087
|
axiosOptions: localVarRequestOptions,
|
|
1204
2088
|
};
|
|
1205
2089
|
},
|
|
2090
|
+
/**
|
|
2091
|
+
* Returns the OWNER_PRIMARY and OWNER_SECONDARY correlation configs for the specified source resource, creating default rows if they are missing. Use the optional type query parameter to return a single matching config.
|
|
2092
|
+
* @summary List ownership correlation configs
|
|
2093
|
+
* @param {string} sourceId The Source ID.
|
|
2094
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
2095
|
+
* @param {ListOwnershipCorrelationConfigsV1TypeEnum} [type] When set, filters to the given config type.
|
|
2096
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2097
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2098
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2099
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2100
|
+
* @throws {RequiredError}
|
|
2101
|
+
*/
|
|
2102
|
+
listOwnershipCorrelationConfigsV1: async (sourceId: string, resourceId: string, type?: ListOwnershipCorrelationConfigsV1TypeEnum, count?: boolean, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2103
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
2104
|
+
assertParamExists('listOwnershipCorrelationConfigsV1', 'sourceId', sourceId)
|
|
2105
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
2106
|
+
assertParamExists('listOwnershipCorrelationConfigsV1', 'resourceId', resourceId)
|
|
2107
|
+
const localVarPath = `/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs`
|
|
2108
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
|
|
2109
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
2110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2112
|
+
let baseOptions;
|
|
2113
|
+
if (configuration) {
|
|
2114
|
+
baseOptions = configuration.baseOptions;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
2118
|
+
const localVarHeaderParameter = {} as any;
|
|
2119
|
+
const localVarQueryParameter = {} as any;
|
|
2120
|
+
|
|
2121
|
+
if (type !== undefined) {
|
|
2122
|
+
localVarQueryParameter['type'] = type;
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
if (count !== undefined) {
|
|
2126
|
+
localVarQueryParameter['count'] = count;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
if (limit !== undefined) {
|
|
2130
|
+
localVarQueryParameter['limit'] = limit;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
if (offset !== undefined) {
|
|
2134
|
+
localVarQueryParameter['offset'] = offset;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2141
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
2142
|
+
|
|
2143
|
+
return {
|
|
2144
|
+
url: toPathString(localVarUrlObj),
|
|
2145
|
+
axiosOptions: localVarRequestOptions,
|
|
2146
|
+
};
|
|
2147
|
+
},
|
|
2148
|
+
/**
|
|
2149
|
+
* Selectively updates an ownership correlation config using an RFC 6902 JSONPatch payload. Only replace on /attributes (full object) and replace on /rules (full array; merge by stable rule id, remove rules omitted from the array) are allowed.
|
|
2150
|
+
* @summary Patch ownership correlation config
|
|
2151
|
+
* @param {string} sourceId The Source ID.
|
|
2152
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
2153
|
+
* @param {string} configId The correlation config ID.
|
|
2154
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation The JSONPatch payload used to update the correlation config.
|
|
2155
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2156
|
+
* @throws {RequiredError}
|
|
2157
|
+
*/
|
|
2158
|
+
patchOwnershipCorrelationConfigV1: async (sourceId: string, resourceId: string, configId: string, jsonpatchoperation: Array<Jsonpatchoperation>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2159
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
2160
|
+
assertParamExists('patchOwnershipCorrelationConfigV1', 'sourceId', sourceId)
|
|
2161
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
2162
|
+
assertParamExists('patchOwnershipCorrelationConfigV1', 'resourceId', resourceId)
|
|
2163
|
+
// verify required parameter 'configId' is not null or undefined
|
|
2164
|
+
assertParamExists('patchOwnershipCorrelationConfigV1', 'configId', configId)
|
|
2165
|
+
// verify required parameter 'jsonpatchoperation' is not null or undefined
|
|
2166
|
+
assertParamExists('patchOwnershipCorrelationConfigV1', 'jsonpatchoperation', jsonpatchoperation)
|
|
2167
|
+
const localVarPath = `/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}`
|
|
2168
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
|
|
2169
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
|
|
2170
|
+
.replace(`{${"configId"}}`, encodeURIComponent(String(configId)));
|
|
2171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2172
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2173
|
+
let baseOptions;
|
|
2174
|
+
if (configuration) {
|
|
2175
|
+
baseOptions = configuration.baseOptions;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
2179
|
+
const localVarHeaderParameter = {} as any;
|
|
2180
|
+
const localVarQueryParameter = {} as any;
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
2185
|
+
|
|
2186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
2189
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonpatchoperation, localVarRequestOptions, configuration)
|
|
2190
|
+
|
|
2191
|
+
return {
|
|
2192
|
+
url: toPathString(localVarUrlObj),
|
|
2193
|
+
axiosOptions: localVarRequestOptions,
|
|
2194
|
+
};
|
|
2195
|
+
},
|
|
1206
2196
|
/**
|
|
1207
2197
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
1208
2198
|
* @summary Start machine identity aggregation
|
|
@@ -1294,6 +2284,46 @@ export const MachineIdentitiesApiAxiosParamCreator = function (configuration?: C
|
|
|
1294
2284
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1295
2285
|
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
1296
2286
|
|
|
2287
|
+
return {
|
|
2288
|
+
url: toPathString(localVarUrlObj),
|
|
2289
|
+
axiosOptions: localVarRequestOptions,
|
|
2290
|
+
};
|
|
2291
|
+
},
|
|
2292
|
+
/**
|
|
2293
|
+
* Use this API to selectively update machine identity details using a JSONPatch payload. Patchable fields include **name**, **description**, **nativeIdentity**, **subtype**, **environment**, **attributes**, **owners**, **userEntitlements**, and **manuallyEdited** only.
|
|
2294
|
+
* @summary Partial update of machine identity
|
|
2295
|
+
* @param {string} id Machine Identity ID.
|
|
2296
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
2297
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2298
|
+
* @throws {RequiredError}
|
|
2299
|
+
*/
|
|
2300
|
+
updateMachineIdentityV2: async (id: string, jsonpatchoperation: Array<Jsonpatchoperation>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2301
|
+
// verify required parameter 'id' is not null or undefined
|
|
2302
|
+
assertParamExists('updateMachineIdentityV2', 'id', id)
|
|
2303
|
+
// verify required parameter 'jsonpatchoperation' is not null or undefined
|
|
2304
|
+
assertParamExists('updateMachineIdentityV2', 'jsonpatchoperation', jsonpatchoperation)
|
|
2305
|
+
const localVarPath = `/machine-identities/v2/{id}`
|
|
2306
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2307
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2308
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2309
|
+
let baseOptions;
|
|
2310
|
+
if (configuration) {
|
|
2311
|
+
baseOptions = configuration.baseOptions;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
2315
|
+
const localVarHeaderParameter = {} as any;
|
|
2316
|
+
const localVarQueryParameter = {} as any;
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
2321
|
+
|
|
2322
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2324
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
2325
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonpatchoperation, localVarRequestOptions, configuration)
|
|
2326
|
+
|
|
1297
2327
|
return {
|
|
1298
2328
|
url: toPathString(localVarUrlObj),
|
|
1299
2329
|
axiosOptions: localVarRequestOptions,
|
|
@@ -1323,6 +2353,19 @@ export const MachineIdentitiesApiFp = function(configuration?: Configuration) {
|
|
|
1323
2353
|
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.createMachineIdentityV1']?.[localVarOperationServerIndex]?.url;
|
|
1324
2354
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1325
2355
|
},
|
|
2356
|
+
/**
|
|
2357
|
+
* Use this API to create a machine identity. Additional owners may be either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. The maximum supported length for the description field is 2000 characters.
|
|
2358
|
+
* @summary Create machine identity
|
|
2359
|
+
* @param {Machineidentityv2} machineidentityv2
|
|
2360
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2361
|
+
* @throws {RequiredError}
|
|
2362
|
+
*/
|
|
2363
|
+
async createMachineIdentityV2(machineidentityv2: Machineidentityv2, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Machineidentityv2>> {
|
|
2364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineIdentityV2(machineidentityv2, axiosOptions);
|
|
2365
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2366
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.createMachineIdentityV2']?.[localVarOperationServerIndex]?.url;
|
|
2367
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2368
|
+
},
|
|
1326
2369
|
/**
|
|
1327
2370
|
* The API returns successful response if the requested machine identity was deleted.
|
|
1328
2371
|
* @summary Delete machine identity
|
|
@@ -1337,6 +2380,34 @@ export const MachineIdentitiesApiFp = function(configuration?: Configuration) {
|
|
|
1337
2380
|
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.deleteMachineIdentityV1']?.[localVarOperationServerIndex]?.url;
|
|
1338
2381
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1339
2382
|
},
|
|
2383
|
+
/**
|
|
2384
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
2385
|
+
* @summary Delete machine identity
|
|
2386
|
+
* @param {string} id Machine Identity ID.
|
|
2387
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2388
|
+
* @throws {RequiredError}
|
|
2389
|
+
*/
|
|
2390
|
+
async deleteMachineIdentityV2(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineIdentityV2(id, axiosOptions);
|
|
2392
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2393
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.deleteMachineIdentityV2']?.[localVarOperationServerIndex]?.url;
|
|
2394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2395
|
+
},
|
|
2396
|
+
/**
|
|
2397
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
2398
|
+
* @summary Delete ownership correlation config
|
|
2399
|
+
* @param {string} sourceId The Source ID.
|
|
2400
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
2401
|
+
* @param {string} configId The correlation config ID.
|
|
2402
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2403
|
+
* @throws {RequiredError}
|
|
2404
|
+
*/
|
|
2405
|
+
async deleteOwnershipCorrelationConfigV1(sourceId: string, resourceId: string, configId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions);
|
|
2407
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2408
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.deleteOwnershipCorrelationConfigV1']?.[localVarOperationServerIndex]?.url;
|
|
2409
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2410
|
+
},
|
|
1340
2411
|
/**
|
|
1341
2412
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
1342
2413
|
* @summary Get machine identity details
|
|
@@ -1351,6 +2422,34 @@ export const MachineIdentitiesApiFp = function(configuration?: Configuration) {
|
|
|
1351
2422
|
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.getMachineIdentityV1']?.[localVarOperationServerIndex]?.url;
|
|
1352
2423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1353
2424
|
},
|
|
2425
|
+
/**
|
|
2426
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
2427
|
+
* @summary Get machine identity details
|
|
2428
|
+
* @param {string} id Machine Identity ID.
|
|
2429
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2430
|
+
* @throws {RequiredError}
|
|
2431
|
+
*/
|
|
2432
|
+
async getMachineIdentityV2(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Machineidentityv2>> {
|
|
2433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineIdentityV2(id, axiosOptions);
|
|
2434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2435
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.getMachineIdentityV2']?.[localVarOperationServerIndex]?.url;
|
|
2436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2437
|
+
},
|
|
2438
|
+
/**
|
|
2439
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
2440
|
+
* @summary Get ownership correlation config
|
|
2441
|
+
* @param {string} sourceId The Source ID.
|
|
2442
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
2443
|
+
* @param {string} configId The correlation config ID.
|
|
2444
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2445
|
+
* @throws {RequiredError}
|
|
2446
|
+
*/
|
|
2447
|
+
async getOwnershipCorrelationConfigV1(sourceId: string, resourceId: string, configId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Correlationconfig>> {
|
|
2448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions);
|
|
2449
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2450
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.getOwnershipCorrelationConfigV1']?.[localVarOperationServerIndex]?.url;
|
|
2451
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2452
|
+
},
|
|
1354
2453
|
/**
|
|
1355
2454
|
* This API returns a list of machine identities.
|
|
1356
2455
|
* @summary List machine identities
|
|
@@ -1369,6 +2468,23 @@ export const MachineIdentitiesApiFp = function(configuration?: Configuration) {
|
|
|
1369
2468
|
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.listMachineIdentitiesV1']?.[localVarOperationServerIndex]?.url;
|
|
1370
2469
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1371
2470
|
},
|
|
2471
|
+
/**
|
|
2472
|
+
* This API returns a list of machine identities.
|
|
2473
|
+
* @summary List machine identities
|
|
2474
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **attributes**: *eq* **manuallyEdited**: *eq* **subtype**: *eq, in* **owners.primaryIdentity.id**: *eq, in, sw* **owners.primaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryIdentity.id**: *eq, in, sw* **owners.secondaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryGovernanceGroup.id**: *eq, in* **owners.secondaryGovernanceGroup.name**: *eq, in, isnull, pr* **source.id**: *eq, in* **source.name**: *eq, in, sw* **entitlement.id**: *eq, in* **entitlement.name**: *eq, in, sw* **risk.severity**: *eq, in*
|
|
2475
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **nativeIdentity, name, owners.primaryIdentity.name, source.name, created, modified**
|
|
2476
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2477
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2478
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2479
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2480
|
+
* @throws {RequiredError}
|
|
2481
|
+
*/
|
|
2482
|
+
async listMachineIdentitiesV2(filters?: string, sorters?: string, count?: boolean, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Machineidentityv2>>> {
|
|
2483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineIdentitiesV2(filters, sorters, count, limit, offset, axiosOptions);
|
|
2484
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2485
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.listMachineIdentitiesV2']?.[localVarOperationServerIndex]?.url;
|
|
2486
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2487
|
+
},
|
|
1372
2488
|
/**
|
|
1373
2489
|
* This API returns a list of user entitlements associated with machine identities.
|
|
1374
2490
|
* @summary List machine identity\'s user entitlements
|
|
@@ -1387,6 +2503,40 @@ export const MachineIdentitiesApiFp = function(configuration?: Configuration) {
|
|
|
1387
2503
|
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.listMachineIdentityUserEntitlementsV1']?.[localVarOperationServerIndex]?.url;
|
|
1388
2504
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1389
2505
|
},
|
|
2506
|
+
/**
|
|
2507
|
+
* Returns the OWNER_PRIMARY and OWNER_SECONDARY correlation configs for the specified source resource, creating default rows if they are missing. Use the optional type query parameter to return a single matching config.
|
|
2508
|
+
* @summary List ownership correlation configs
|
|
2509
|
+
* @param {string} sourceId The Source ID.
|
|
2510
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
2511
|
+
* @param {ListOwnershipCorrelationConfigsV1TypeEnum} [type] When set, filters to the given config type.
|
|
2512
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2513
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2514
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2515
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2516
|
+
* @throws {RequiredError}
|
|
2517
|
+
*/
|
|
2518
|
+
async listOwnershipCorrelationConfigsV1(sourceId: string, resourceId: string, type?: ListOwnershipCorrelationConfigsV1TypeEnum, count?: boolean, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Correlationconfig>>> {
|
|
2519
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOwnershipCorrelationConfigsV1(sourceId, resourceId, type, count, limit, offset, axiosOptions);
|
|
2520
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2521
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.listOwnershipCorrelationConfigsV1']?.[localVarOperationServerIndex]?.url;
|
|
2522
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2523
|
+
},
|
|
2524
|
+
/**
|
|
2525
|
+
* Selectively updates an ownership correlation config using an RFC 6902 JSONPatch payload. Only replace on /attributes (full object) and replace on /rules (full array; merge by stable rule id, remove rules omitted from the array) are allowed.
|
|
2526
|
+
* @summary Patch ownership correlation config
|
|
2527
|
+
* @param {string} sourceId The Source ID.
|
|
2528
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
2529
|
+
* @param {string} configId The correlation config ID.
|
|
2530
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation The JSONPatch payload used to update the correlation config.
|
|
2531
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2532
|
+
* @throws {RequiredError}
|
|
2533
|
+
*/
|
|
2534
|
+
async patchOwnershipCorrelationConfigV1(sourceId: string, resourceId: string, configId: string, jsonpatchoperation: Array<Jsonpatchoperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Correlationconfig>> {
|
|
2535
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchOwnershipCorrelationConfigV1(sourceId, resourceId, configId, jsonpatchoperation, axiosOptions);
|
|
2536
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2537
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.patchOwnershipCorrelationConfigV1']?.[localVarOperationServerIndex]?.url;
|
|
2538
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2539
|
+
},
|
|
1390
2540
|
/**
|
|
1391
2541
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
1392
2542
|
* @summary Start machine identity aggregation
|
|
@@ -1417,6 +2567,20 @@ export const MachineIdentitiesApiFp = function(configuration?: Configuration) {
|
|
|
1417
2567
|
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.updateMachineIdentityV1']?.[localVarOperationServerIndex]?.url;
|
|
1418
2568
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1419
2569
|
},
|
|
2570
|
+
/**
|
|
2571
|
+
* Use this API to selectively update machine identity details using a JSONPatch payload. Patchable fields include **name**, **description**, **nativeIdentity**, **subtype**, **environment**, **attributes**, **owners**, **userEntitlements**, and **manuallyEdited** only.
|
|
2572
|
+
* @summary Partial update of machine identity
|
|
2573
|
+
* @param {string} id Machine Identity ID.
|
|
2574
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
2575
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2576
|
+
* @throws {RequiredError}
|
|
2577
|
+
*/
|
|
2578
|
+
async updateMachineIdentityV2(id: string, jsonpatchoperation: Array<Jsonpatchoperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Machineidentityv2>> {
|
|
2579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineIdentityV2(id, jsonpatchoperation, axiosOptions);
|
|
2580
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2581
|
+
const localVarOperationServerBasePath = operationServerMap['MachineIdentitiesApi.updateMachineIdentityV2']?.[localVarOperationServerIndex]?.url;
|
|
2582
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2583
|
+
},
|
|
1420
2584
|
}
|
|
1421
2585
|
};
|
|
1422
2586
|
|
|
@@ -1437,6 +2601,16 @@ export const MachineIdentitiesApiFactory = function (configuration?: Configurati
|
|
|
1437
2601
|
createMachineIdentityV1(requestParameters: MachineIdentitiesApiCreateMachineIdentityV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Machineidentityresponse> {
|
|
1438
2602
|
return localVarFp.createMachineIdentityV1(requestParameters.machineidentityrequest, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
1439
2603
|
},
|
|
2604
|
+
/**
|
|
2605
|
+
* Use this API to create a machine identity. Additional owners may be either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. The maximum supported length for the description field is 2000 characters.
|
|
2606
|
+
* @summary Create machine identity
|
|
2607
|
+
* @param {MachineIdentitiesApiCreateMachineIdentityV2Request} requestParameters Request parameters.
|
|
2608
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2609
|
+
* @throws {RequiredError}
|
|
2610
|
+
*/
|
|
2611
|
+
createMachineIdentityV2(requestParameters: MachineIdentitiesApiCreateMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Machineidentityv2> {
|
|
2612
|
+
return localVarFp.createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then((request) => request(axios, basePath));
|
|
2613
|
+
},
|
|
1440
2614
|
/**
|
|
1441
2615
|
* The API returns successful response if the requested machine identity was deleted.
|
|
1442
2616
|
* @summary Delete machine identity
|
|
@@ -1447,6 +2621,26 @@ export const MachineIdentitiesApiFactory = function (configuration?: Configurati
|
|
|
1447
2621
|
deleteMachineIdentityV1(requestParameters: MachineIdentitiesApiDeleteMachineIdentityV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1448
2622
|
return localVarFp.deleteMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
1449
2623
|
},
|
|
2624
|
+
/**
|
|
2625
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
2626
|
+
* @summary Delete machine identity
|
|
2627
|
+
* @param {MachineIdentitiesApiDeleteMachineIdentityV2Request} requestParameters Request parameters.
|
|
2628
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2629
|
+
* @throws {RequiredError}
|
|
2630
|
+
*/
|
|
2631
|
+
deleteMachineIdentityV2(requestParameters: MachineIdentitiesApiDeleteMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2632
|
+
return localVarFp.deleteMachineIdentityV2(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
2633
|
+
},
|
|
2634
|
+
/**
|
|
2635
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
2636
|
+
* @summary Delete ownership correlation config
|
|
2637
|
+
* @param {MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
2638
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2639
|
+
* @throws {RequiredError}
|
|
2640
|
+
*/
|
|
2641
|
+
deleteOwnershipCorrelationConfigV1(requestParameters: MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2642
|
+
return localVarFp.deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then((request) => request(axios, basePath));
|
|
2643
|
+
},
|
|
1450
2644
|
/**
|
|
1451
2645
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
1452
2646
|
* @summary Get machine identity details
|
|
@@ -1457,15 +2651,45 @@ export const MachineIdentitiesApiFactory = function (configuration?: Configurati
|
|
|
1457
2651
|
getMachineIdentityV1(requestParameters: MachineIdentitiesApiGetMachineIdentityV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Machineidentityresponse> {
|
|
1458
2652
|
return localVarFp.getMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
1459
2653
|
},
|
|
2654
|
+
/**
|
|
2655
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
2656
|
+
* @summary Get machine identity details
|
|
2657
|
+
* @param {MachineIdentitiesApiGetMachineIdentityV2Request} requestParameters Request parameters.
|
|
2658
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2659
|
+
* @throws {RequiredError}
|
|
2660
|
+
*/
|
|
2661
|
+
getMachineIdentityV2(requestParameters: MachineIdentitiesApiGetMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Machineidentityv2> {
|
|
2662
|
+
return localVarFp.getMachineIdentityV2(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
2663
|
+
},
|
|
2664
|
+
/**
|
|
2665
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
2666
|
+
* @summary Get ownership correlation config
|
|
2667
|
+
* @param {MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
2668
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2669
|
+
* @throws {RequiredError}
|
|
2670
|
+
*/
|
|
2671
|
+
getOwnershipCorrelationConfigV1(requestParameters: MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Correlationconfig> {
|
|
2672
|
+
return localVarFp.getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then((request) => request(axios, basePath));
|
|
2673
|
+
},
|
|
2674
|
+
/**
|
|
2675
|
+
* This API returns a list of machine identities.
|
|
2676
|
+
* @summary List machine identities
|
|
2677
|
+
* @param {MachineIdentitiesApiListMachineIdentitiesV1Request} requestParameters Request parameters.
|
|
2678
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2679
|
+
* @throws {RequiredError}
|
|
2680
|
+
*/
|
|
2681
|
+
listMachineIdentitiesV1(requestParameters: MachineIdentitiesApiListMachineIdentitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Machineidentityresponse>> {
|
|
2682
|
+
return localVarFp.listMachineIdentitiesV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
2683
|
+
},
|
|
1460
2684
|
/**
|
|
1461
2685
|
* This API returns a list of machine identities.
|
|
1462
2686
|
* @summary List machine identities
|
|
1463
|
-
* @param {
|
|
2687
|
+
* @param {MachineIdentitiesApiListMachineIdentitiesV2Request} requestParameters Request parameters.
|
|
1464
2688
|
* @param {*} [axiosOptions] Override http request option.
|
|
1465
2689
|
* @throws {RequiredError}
|
|
1466
2690
|
*/
|
|
1467
|
-
|
|
1468
|
-
return localVarFp.
|
|
2691
|
+
listMachineIdentitiesV2(requestParameters: MachineIdentitiesApiListMachineIdentitiesV2Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Machineidentityv2>> {
|
|
2692
|
+
return localVarFp.listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
1469
2693
|
},
|
|
1470
2694
|
/**
|
|
1471
2695
|
* This API returns a list of user entitlements associated with machine identities.
|
|
@@ -1477,6 +2701,26 @@ export const MachineIdentitiesApiFactory = function (configuration?: Configurati
|
|
|
1477
2701
|
listMachineIdentityUserEntitlementsV1(requestParameters: MachineIdentitiesApiListMachineIdentityUserEntitlementsV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Machineidentityuserentitlementresponse>> {
|
|
1478
2702
|
return localVarFp.listMachineIdentityUserEntitlementsV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
1479
2703
|
},
|
|
2704
|
+
/**
|
|
2705
|
+
* Returns the OWNER_PRIMARY and OWNER_SECONDARY correlation configs for the specified source resource, creating default rows if they are missing. Use the optional type query parameter to return a single matching config.
|
|
2706
|
+
* @summary List ownership correlation configs
|
|
2707
|
+
* @param {MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request} requestParameters Request parameters.
|
|
2708
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2709
|
+
* @throws {RequiredError}
|
|
2710
|
+
*/
|
|
2711
|
+
listOwnershipCorrelationConfigsV1(requestParameters: MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Correlationconfig>> {
|
|
2712
|
+
return localVarFp.listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
2713
|
+
},
|
|
2714
|
+
/**
|
|
2715
|
+
* Selectively updates an ownership correlation config using an RFC 6902 JSONPatch payload. Only replace on /attributes (full object) and replace on /rules (full array; merge by stable rule id, remove rules omitted from the array) are allowed.
|
|
2716
|
+
* @summary Patch ownership correlation config
|
|
2717
|
+
* @param {MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
2718
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
*/
|
|
2721
|
+
patchOwnershipCorrelationConfigV1(requestParameters: MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Correlationconfig> {
|
|
2722
|
+
return localVarFp.patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonpatchoperation, axiosOptions).then((request) => request(axios, basePath));
|
|
2723
|
+
},
|
|
1480
2724
|
/**
|
|
1481
2725
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
1482
2726
|
* @summary Start machine identity aggregation
|
|
@@ -1497,6 +2741,16 @@ export const MachineIdentitiesApiFactory = function (configuration?: Configurati
|
|
|
1497
2741
|
updateMachineIdentityV1(requestParameters: MachineIdentitiesApiUpdateMachineIdentityV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Machineidentityresponse> {
|
|
1498
2742
|
return localVarFp.updateMachineIdentityV1(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
1499
2743
|
},
|
|
2744
|
+
/**
|
|
2745
|
+
* Use this API to selectively update machine identity details using a JSONPatch payload. Patchable fields include **name**, **description**, **nativeIdentity**, **subtype**, **environment**, **attributes**, **owners**, **userEntitlements**, and **manuallyEdited** only.
|
|
2746
|
+
* @summary Partial update of machine identity
|
|
2747
|
+
* @param {MachineIdentitiesApiUpdateMachineIdentityV2Request} requestParameters Request parameters.
|
|
2748
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2749
|
+
* @throws {RequiredError}
|
|
2750
|
+
*/
|
|
2751
|
+
updateMachineIdentityV2(requestParameters: MachineIdentitiesApiUpdateMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Machineidentityv2> {
|
|
2752
|
+
return localVarFp.updateMachineIdentityV2(requestParameters.id, requestParameters.jsonpatchoperation, axiosOptions).then((request) => request(axios, basePath));
|
|
2753
|
+
},
|
|
1500
2754
|
};
|
|
1501
2755
|
};
|
|
1502
2756
|
|
|
@@ -1521,6 +2775,20 @@ export interface MachineIdentitiesApiCreateMachineIdentityV1Request {
|
|
|
1521
2775
|
readonly xSailPointExperimental?: string
|
|
1522
2776
|
}
|
|
1523
2777
|
|
|
2778
|
+
/**
|
|
2779
|
+
* Request parameters for createMachineIdentityV2 operation in MachineIdentitiesApi.
|
|
2780
|
+
* @export
|
|
2781
|
+
* @interface MachineIdentitiesApiCreateMachineIdentityV2Request
|
|
2782
|
+
*/
|
|
2783
|
+
export interface MachineIdentitiesApiCreateMachineIdentityV2Request {
|
|
2784
|
+
/**
|
|
2785
|
+
*
|
|
2786
|
+
* @type {Machineidentityv2}
|
|
2787
|
+
* @memberof MachineIdentitiesApiCreateMachineIdentityV2
|
|
2788
|
+
*/
|
|
2789
|
+
readonly machineidentityv2: Machineidentityv2
|
|
2790
|
+
}
|
|
2791
|
+
|
|
1524
2792
|
/**
|
|
1525
2793
|
* Request parameters for deleteMachineIdentityV1 operation in MachineIdentitiesApi.
|
|
1526
2794
|
* @export
|
|
@@ -1542,6 +2810,48 @@ export interface MachineIdentitiesApiDeleteMachineIdentityV1Request {
|
|
|
1542
2810
|
readonly xSailPointExperimental?: string
|
|
1543
2811
|
}
|
|
1544
2812
|
|
|
2813
|
+
/**
|
|
2814
|
+
* Request parameters for deleteMachineIdentityV2 operation in MachineIdentitiesApi.
|
|
2815
|
+
* @export
|
|
2816
|
+
* @interface MachineIdentitiesApiDeleteMachineIdentityV2Request
|
|
2817
|
+
*/
|
|
2818
|
+
export interface MachineIdentitiesApiDeleteMachineIdentityV2Request {
|
|
2819
|
+
/**
|
|
2820
|
+
* Machine Identity ID.
|
|
2821
|
+
* @type {string}
|
|
2822
|
+
* @memberof MachineIdentitiesApiDeleteMachineIdentityV2
|
|
2823
|
+
*/
|
|
2824
|
+
readonly id: string
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* Request parameters for deleteOwnershipCorrelationConfigV1 operation in MachineIdentitiesApi.
|
|
2829
|
+
* @export
|
|
2830
|
+
* @interface MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request
|
|
2831
|
+
*/
|
|
2832
|
+
export interface MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request {
|
|
2833
|
+
/**
|
|
2834
|
+
* The Source ID.
|
|
2835
|
+
* @type {string}
|
|
2836
|
+
* @memberof MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1
|
|
2837
|
+
*/
|
|
2838
|
+
readonly sourceId: string
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* The source resource ID (for example, account or aws:iam-role).
|
|
2842
|
+
* @type {string}
|
|
2843
|
+
* @memberof MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1
|
|
2844
|
+
*/
|
|
2845
|
+
readonly resourceId: string
|
|
2846
|
+
|
|
2847
|
+
/**
|
|
2848
|
+
* The correlation config ID.
|
|
2849
|
+
* @type {string}
|
|
2850
|
+
* @memberof MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1
|
|
2851
|
+
*/
|
|
2852
|
+
readonly configId: string
|
|
2853
|
+
}
|
|
2854
|
+
|
|
1545
2855
|
/**
|
|
1546
2856
|
* Request parameters for getMachineIdentityV1 operation in MachineIdentitiesApi.
|
|
1547
2857
|
* @export
|
|
@@ -1563,6 +2873,48 @@ export interface MachineIdentitiesApiGetMachineIdentityV1Request {
|
|
|
1563
2873
|
readonly xSailPointExperimental?: string
|
|
1564
2874
|
}
|
|
1565
2875
|
|
|
2876
|
+
/**
|
|
2877
|
+
* Request parameters for getMachineIdentityV2 operation in MachineIdentitiesApi.
|
|
2878
|
+
* @export
|
|
2879
|
+
* @interface MachineIdentitiesApiGetMachineIdentityV2Request
|
|
2880
|
+
*/
|
|
2881
|
+
export interface MachineIdentitiesApiGetMachineIdentityV2Request {
|
|
2882
|
+
/**
|
|
2883
|
+
* Machine Identity ID.
|
|
2884
|
+
* @type {string}
|
|
2885
|
+
* @memberof MachineIdentitiesApiGetMachineIdentityV2
|
|
2886
|
+
*/
|
|
2887
|
+
readonly id: string
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* Request parameters for getOwnershipCorrelationConfigV1 operation in MachineIdentitiesApi.
|
|
2892
|
+
* @export
|
|
2893
|
+
* @interface MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request
|
|
2894
|
+
*/
|
|
2895
|
+
export interface MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request {
|
|
2896
|
+
/**
|
|
2897
|
+
* The Source ID.
|
|
2898
|
+
* @type {string}
|
|
2899
|
+
* @memberof MachineIdentitiesApiGetOwnershipCorrelationConfigV1
|
|
2900
|
+
*/
|
|
2901
|
+
readonly sourceId: string
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* The source resource ID (for example, account or aws:iam-role).
|
|
2905
|
+
* @type {string}
|
|
2906
|
+
* @memberof MachineIdentitiesApiGetOwnershipCorrelationConfigV1
|
|
2907
|
+
*/
|
|
2908
|
+
readonly resourceId: string
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* The correlation config ID.
|
|
2912
|
+
* @type {string}
|
|
2913
|
+
* @memberof MachineIdentitiesApiGetOwnershipCorrelationConfigV1
|
|
2914
|
+
*/
|
|
2915
|
+
readonly configId: string
|
|
2916
|
+
}
|
|
2917
|
+
|
|
1566
2918
|
/**
|
|
1567
2919
|
* Request parameters for listMachineIdentitiesV1 operation in MachineIdentitiesApi.
|
|
1568
2920
|
* @export
|
|
@@ -1612,6 +2964,48 @@ export interface MachineIdentitiesApiListMachineIdentitiesV1Request {
|
|
|
1612
2964
|
readonly offset?: number
|
|
1613
2965
|
}
|
|
1614
2966
|
|
|
2967
|
+
/**
|
|
2968
|
+
* Request parameters for listMachineIdentitiesV2 operation in MachineIdentitiesApi.
|
|
2969
|
+
* @export
|
|
2970
|
+
* @interface MachineIdentitiesApiListMachineIdentitiesV2Request
|
|
2971
|
+
*/
|
|
2972
|
+
export interface MachineIdentitiesApiListMachineIdentitiesV2Request {
|
|
2973
|
+
/**
|
|
2974
|
+
* Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **attributes**: *eq* **manuallyEdited**: *eq* **subtype**: *eq, in* **owners.primaryIdentity.id**: *eq, in, sw* **owners.primaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryIdentity.id**: *eq, in, sw* **owners.secondaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryGovernanceGroup.id**: *eq, in* **owners.secondaryGovernanceGroup.name**: *eq, in, isnull, pr* **source.id**: *eq, in* **source.name**: *eq, in, sw* **entitlement.id**: *eq, in* **entitlement.name**: *eq, in, sw* **risk.severity**: *eq, in*
|
|
2975
|
+
* @type {string}
|
|
2976
|
+
* @memberof MachineIdentitiesApiListMachineIdentitiesV2
|
|
2977
|
+
*/
|
|
2978
|
+
readonly filters?: string
|
|
2979
|
+
|
|
2980
|
+
/**
|
|
2981
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **nativeIdentity, name, owners.primaryIdentity.name, source.name, created, modified**
|
|
2982
|
+
* @type {string}
|
|
2983
|
+
* @memberof MachineIdentitiesApiListMachineIdentitiesV2
|
|
2984
|
+
*/
|
|
2985
|
+
readonly sorters?: string
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2989
|
+
* @type {boolean}
|
|
2990
|
+
* @memberof MachineIdentitiesApiListMachineIdentitiesV2
|
|
2991
|
+
*/
|
|
2992
|
+
readonly count?: boolean
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
2996
|
+
* @type {number}
|
|
2997
|
+
* @memberof MachineIdentitiesApiListMachineIdentitiesV2
|
|
2998
|
+
*/
|
|
2999
|
+
readonly limit?: number
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
3003
|
+
* @type {number}
|
|
3004
|
+
* @memberof MachineIdentitiesApiListMachineIdentitiesV2
|
|
3005
|
+
*/
|
|
3006
|
+
readonly offset?: number
|
|
3007
|
+
}
|
|
3008
|
+
|
|
1615
3009
|
/**
|
|
1616
3010
|
* Request parameters for listMachineIdentityUserEntitlementsV1 operation in MachineIdentitiesApi.
|
|
1617
3011
|
* @export
|
|
@@ -1661,6 +3055,90 @@ export interface MachineIdentitiesApiListMachineIdentityUserEntitlementsV1Reques
|
|
|
1661
3055
|
readonly offset?: number
|
|
1662
3056
|
}
|
|
1663
3057
|
|
|
3058
|
+
/**
|
|
3059
|
+
* Request parameters for listOwnershipCorrelationConfigsV1 operation in MachineIdentitiesApi.
|
|
3060
|
+
* @export
|
|
3061
|
+
* @interface MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request
|
|
3062
|
+
*/
|
|
3063
|
+
export interface MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request {
|
|
3064
|
+
/**
|
|
3065
|
+
* The Source ID.
|
|
3066
|
+
* @type {string}
|
|
3067
|
+
* @memberof MachineIdentitiesApiListOwnershipCorrelationConfigsV1
|
|
3068
|
+
*/
|
|
3069
|
+
readonly sourceId: string
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* The source resource ID (for example, account or aws:iam-role).
|
|
3073
|
+
* @type {string}
|
|
3074
|
+
* @memberof MachineIdentitiesApiListOwnershipCorrelationConfigsV1
|
|
3075
|
+
*/
|
|
3076
|
+
readonly resourceId: string
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* When set, filters to the given config type.
|
|
3080
|
+
* @type {'OWNER_PRIMARY' | 'OWNER_SECONDARY'}
|
|
3081
|
+
* @memberof MachineIdentitiesApiListOwnershipCorrelationConfigsV1
|
|
3082
|
+
*/
|
|
3083
|
+
readonly type?: ListOwnershipCorrelationConfigsV1TypeEnum
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
3087
|
+
* @type {boolean}
|
|
3088
|
+
* @memberof MachineIdentitiesApiListOwnershipCorrelationConfigsV1
|
|
3089
|
+
*/
|
|
3090
|
+
readonly count?: boolean
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
3094
|
+
* @type {number}
|
|
3095
|
+
* @memberof MachineIdentitiesApiListOwnershipCorrelationConfigsV1
|
|
3096
|
+
*/
|
|
3097
|
+
readonly limit?: number
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
3101
|
+
* @type {number}
|
|
3102
|
+
* @memberof MachineIdentitiesApiListOwnershipCorrelationConfigsV1
|
|
3103
|
+
*/
|
|
3104
|
+
readonly offset?: number
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
* Request parameters for patchOwnershipCorrelationConfigV1 operation in MachineIdentitiesApi.
|
|
3109
|
+
* @export
|
|
3110
|
+
* @interface MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request
|
|
3111
|
+
*/
|
|
3112
|
+
export interface MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request {
|
|
3113
|
+
/**
|
|
3114
|
+
* The Source ID.
|
|
3115
|
+
* @type {string}
|
|
3116
|
+
* @memberof MachineIdentitiesApiPatchOwnershipCorrelationConfigV1
|
|
3117
|
+
*/
|
|
3118
|
+
readonly sourceId: string
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* The source resource ID (for example, account or aws:iam-role).
|
|
3122
|
+
* @type {string}
|
|
3123
|
+
* @memberof MachineIdentitiesApiPatchOwnershipCorrelationConfigV1
|
|
3124
|
+
*/
|
|
3125
|
+
readonly resourceId: string
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* The correlation config ID.
|
|
3129
|
+
* @type {string}
|
|
3130
|
+
* @memberof MachineIdentitiesApiPatchOwnershipCorrelationConfigV1
|
|
3131
|
+
*/
|
|
3132
|
+
readonly configId: string
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
* The JSONPatch payload used to update the correlation config.
|
|
3136
|
+
* @type {Array<Jsonpatchoperation>}
|
|
3137
|
+
* @memberof MachineIdentitiesApiPatchOwnershipCorrelationConfigV1
|
|
3138
|
+
*/
|
|
3139
|
+
readonly jsonpatchoperation: Array<Jsonpatchoperation>
|
|
3140
|
+
}
|
|
3141
|
+
|
|
1664
3142
|
/**
|
|
1665
3143
|
* Request parameters for startMachineIdentityAggregationV1 operation in MachineIdentitiesApi.
|
|
1666
3144
|
* @export
|
|
@@ -1717,6 +3195,27 @@ export interface MachineIdentitiesApiUpdateMachineIdentityV1Request {
|
|
|
1717
3195
|
readonly xSailPointExperimental?: string
|
|
1718
3196
|
}
|
|
1719
3197
|
|
|
3198
|
+
/**
|
|
3199
|
+
* Request parameters for updateMachineIdentityV2 operation in MachineIdentitiesApi.
|
|
3200
|
+
* @export
|
|
3201
|
+
* @interface MachineIdentitiesApiUpdateMachineIdentityV2Request
|
|
3202
|
+
*/
|
|
3203
|
+
export interface MachineIdentitiesApiUpdateMachineIdentityV2Request {
|
|
3204
|
+
/**
|
|
3205
|
+
* Machine Identity ID.
|
|
3206
|
+
* @type {string}
|
|
3207
|
+
* @memberof MachineIdentitiesApiUpdateMachineIdentityV2
|
|
3208
|
+
*/
|
|
3209
|
+
readonly id: string
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
3213
|
+
* @type {Array<Jsonpatchoperation>}
|
|
3214
|
+
* @memberof MachineIdentitiesApiUpdateMachineIdentityV2
|
|
3215
|
+
*/
|
|
3216
|
+
readonly jsonpatchoperation: Array<Jsonpatchoperation>
|
|
3217
|
+
}
|
|
3218
|
+
|
|
1720
3219
|
/**
|
|
1721
3220
|
* MachineIdentitiesApi - object-oriented interface
|
|
1722
3221
|
* @export
|
|
@@ -1736,6 +3235,18 @@ export class MachineIdentitiesApi extends BaseAPI {
|
|
|
1736
3235
|
return MachineIdentitiesApiFp(this.configuration).createMachineIdentityV1(requestParameters.machineidentityrequest, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1737
3236
|
}
|
|
1738
3237
|
|
|
3238
|
+
/**
|
|
3239
|
+
* Use this API to create a machine identity. Additional owners may be either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. The maximum supported length for the description field is 2000 characters.
|
|
3240
|
+
* @summary Create machine identity
|
|
3241
|
+
* @param {MachineIdentitiesApiCreateMachineIdentityV2Request} requestParameters Request parameters.
|
|
3242
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3243
|
+
* @throws {RequiredError}
|
|
3244
|
+
* @memberof MachineIdentitiesApi
|
|
3245
|
+
*/
|
|
3246
|
+
public createMachineIdentityV2(requestParameters: MachineIdentitiesApiCreateMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3247
|
+
return MachineIdentitiesApiFp(this.configuration).createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3248
|
+
}
|
|
3249
|
+
|
|
1739
3250
|
/**
|
|
1740
3251
|
* The API returns successful response if the requested machine identity was deleted.
|
|
1741
3252
|
* @summary Delete machine identity
|
|
@@ -1748,6 +3259,30 @@ export class MachineIdentitiesApi extends BaseAPI {
|
|
|
1748
3259
|
return MachineIdentitiesApiFp(this.configuration).deleteMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1749
3260
|
}
|
|
1750
3261
|
|
|
3262
|
+
/**
|
|
3263
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
3264
|
+
* @summary Delete machine identity
|
|
3265
|
+
* @param {MachineIdentitiesApiDeleteMachineIdentityV2Request} requestParameters Request parameters.
|
|
3266
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3267
|
+
* @throws {RequiredError}
|
|
3268
|
+
* @memberof MachineIdentitiesApi
|
|
3269
|
+
*/
|
|
3270
|
+
public deleteMachineIdentityV2(requestParameters: MachineIdentitiesApiDeleteMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3271
|
+
return MachineIdentitiesApiFp(this.configuration).deleteMachineIdentityV2(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
3276
|
+
* @summary Delete ownership correlation config
|
|
3277
|
+
* @param {MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
3278
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3279
|
+
* @throws {RequiredError}
|
|
3280
|
+
* @memberof MachineIdentitiesApi
|
|
3281
|
+
*/
|
|
3282
|
+
public deleteOwnershipCorrelationConfigV1(requestParameters: MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3283
|
+
return MachineIdentitiesApiFp(this.configuration).deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3284
|
+
}
|
|
3285
|
+
|
|
1751
3286
|
/**
|
|
1752
3287
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
1753
3288
|
* @summary Get machine identity details
|
|
@@ -1760,6 +3295,30 @@ export class MachineIdentitiesApi extends BaseAPI {
|
|
|
1760
3295
|
return MachineIdentitiesApiFp(this.configuration).getMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1761
3296
|
}
|
|
1762
3297
|
|
|
3298
|
+
/**
|
|
3299
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
3300
|
+
* @summary Get machine identity details
|
|
3301
|
+
* @param {MachineIdentitiesApiGetMachineIdentityV2Request} requestParameters Request parameters.
|
|
3302
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3303
|
+
* @throws {RequiredError}
|
|
3304
|
+
* @memberof MachineIdentitiesApi
|
|
3305
|
+
*/
|
|
3306
|
+
public getMachineIdentityV2(requestParameters: MachineIdentitiesApiGetMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3307
|
+
return MachineIdentitiesApiFp(this.configuration).getMachineIdentityV2(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
/**
|
|
3311
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
3312
|
+
* @summary Get ownership correlation config
|
|
3313
|
+
* @param {MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
3314
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3315
|
+
* @throws {RequiredError}
|
|
3316
|
+
* @memberof MachineIdentitiesApi
|
|
3317
|
+
*/
|
|
3318
|
+
public getOwnershipCorrelationConfigV1(requestParameters: MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3319
|
+
return MachineIdentitiesApiFp(this.configuration).getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3320
|
+
}
|
|
3321
|
+
|
|
1763
3322
|
/**
|
|
1764
3323
|
* This API returns a list of machine identities.
|
|
1765
3324
|
* @summary List machine identities
|
|
@@ -1772,6 +3331,18 @@ export class MachineIdentitiesApi extends BaseAPI {
|
|
|
1772
3331
|
return MachineIdentitiesApiFp(this.configuration).listMachineIdentitiesV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1773
3332
|
}
|
|
1774
3333
|
|
|
3334
|
+
/**
|
|
3335
|
+
* This API returns a list of machine identities.
|
|
3336
|
+
* @summary List machine identities
|
|
3337
|
+
* @param {MachineIdentitiesApiListMachineIdentitiesV2Request} requestParameters Request parameters.
|
|
3338
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3339
|
+
* @throws {RequiredError}
|
|
3340
|
+
* @memberof MachineIdentitiesApi
|
|
3341
|
+
*/
|
|
3342
|
+
public listMachineIdentitiesV2(requestParameters: MachineIdentitiesApiListMachineIdentitiesV2Request = {}, axiosOptions?: RawAxiosRequestConfig) {
|
|
3343
|
+
return MachineIdentitiesApiFp(this.configuration).listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3344
|
+
}
|
|
3345
|
+
|
|
1775
3346
|
/**
|
|
1776
3347
|
* This API returns a list of user entitlements associated with machine identities.
|
|
1777
3348
|
* @summary List machine identity\'s user entitlements
|
|
@@ -1784,6 +3355,30 @@ export class MachineIdentitiesApi extends BaseAPI {
|
|
|
1784
3355
|
return MachineIdentitiesApiFp(this.configuration).listMachineIdentityUserEntitlementsV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1785
3356
|
}
|
|
1786
3357
|
|
|
3358
|
+
/**
|
|
3359
|
+
* Returns the OWNER_PRIMARY and OWNER_SECONDARY correlation configs for the specified source resource, creating default rows if they are missing. Use the optional type query parameter to return a single matching config.
|
|
3360
|
+
* @summary List ownership correlation configs
|
|
3361
|
+
* @param {MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request} requestParameters Request parameters.
|
|
3362
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3363
|
+
* @throws {RequiredError}
|
|
3364
|
+
* @memberof MachineIdentitiesApi
|
|
3365
|
+
*/
|
|
3366
|
+
public listOwnershipCorrelationConfigsV1(requestParameters: MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3367
|
+
return MachineIdentitiesApiFp(this.configuration).listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
/**
|
|
3371
|
+
* Selectively updates an ownership correlation config using an RFC 6902 JSONPatch payload. Only replace on /attributes (full object) and replace on /rules (full array; merge by stable rule id, remove rules omitted from the array) are allowed.
|
|
3372
|
+
* @summary Patch ownership correlation config
|
|
3373
|
+
* @param {MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
3374
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3375
|
+
* @throws {RequiredError}
|
|
3376
|
+
* @memberof MachineIdentitiesApi
|
|
3377
|
+
*/
|
|
3378
|
+
public patchOwnershipCorrelationConfigV1(requestParameters: MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3379
|
+
return MachineIdentitiesApiFp(this.configuration).patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonpatchoperation, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3380
|
+
}
|
|
3381
|
+
|
|
1787
3382
|
/**
|
|
1788
3383
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
1789
3384
|
* @summary Start machine identity aggregation
|
|
@@ -1807,7 +3402,27 @@ export class MachineIdentitiesApi extends BaseAPI {
|
|
|
1807
3402
|
public updateMachineIdentityV1(requestParameters: MachineIdentitiesApiUpdateMachineIdentityV1Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
1808
3403
|
return MachineIdentitiesApiFp(this.configuration).updateMachineIdentityV1(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1809
3404
|
}
|
|
3405
|
+
|
|
3406
|
+
/**
|
|
3407
|
+
* Use this API to selectively update machine identity details using a JSONPatch payload. Patchable fields include **name**, **description**, **nativeIdentity**, **subtype**, **environment**, **attributes**, **owners**, **userEntitlements**, and **manuallyEdited** only.
|
|
3408
|
+
* @summary Partial update of machine identity
|
|
3409
|
+
* @param {MachineIdentitiesApiUpdateMachineIdentityV2Request} requestParameters Request parameters.
|
|
3410
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3411
|
+
* @throws {RequiredError}
|
|
3412
|
+
* @memberof MachineIdentitiesApi
|
|
3413
|
+
*/
|
|
3414
|
+
public updateMachineIdentityV2(requestParameters: MachineIdentitiesApiUpdateMachineIdentityV2Request, axiosOptions?: RawAxiosRequestConfig) {
|
|
3415
|
+
return MachineIdentitiesApiFp(this.configuration).updateMachineIdentityV2(requestParameters.id, requestParameters.jsonpatchoperation, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
3416
|
+
}
|
|
1810
3417
|
}
|
|
1811
3418
|
|
|
3419
|
+
/**
|
|
3420
|
+
* @export
|
|
3421
|
+
*/
|
|
3422
|
+
export const ListOwnershipCorrelationConfigsV1TypeEnum = {
|
|
3423
|
+
OwnerPrimary: 'OWNER_PRIMARY',
|
|
3424
|
+
OwnerSecondary: 'OWNER_SECONDARY'
|
|
3425
|
+
} as const;
|
|
3426
|
+
export type ListOwnershipCorrelationConfigsV1TypeEnum = typeof ListOwnershipCorrelationConfigsV1TypeEnum[keyof typeof ListOwnershipCorrelationConfigsV1TypeEnum];
|
|
1812
3427
|
|
|
1813
3428
|
|