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
|
@@ -78,13 +78,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.MachineIdentitiesApi = exports.MachineIdentitiesApiFactory = exports.MachineIdentitiesApiFp = exports.MachineIdentitiesApiAxiosParamCreator = exports.TaskstatusmessageTypeEnum = exports.MachineidentityaggregationresponseCompletionStatusEnum = exports.MachineidentityaggregationresponseTypeEnum = exports.Localeorigin = exports.Dtotype = void 0;
|
|
81
|
+
exports.ListOwnershipCorrelationConfigsV1TypeEnum = exports.MachineIdentitiesApi = exports.MachineIdentitiesApiFactory = exports.MachineIdentitiesApiFp = exports.MachineIdentitiesApiAxiosParamCreator = exports.TaskstatusmessageTypeEnum = exports.Sanctionedstatus = exports.MachineidentityaggregationresponseCompletionStatusEnum = exports.MachineidentityaggregationresponseTypeEnum = exports.MachineIdentityV2RiskSeverityEnum = exports.Localeorigin = exports.JsonpatchoperationOpEnum = exports.Dtotype = exports.CorrelationruleactionTypeEnum = exports.CorrelationruleRuleTypeEnum = exports.CorrelationconfigTypeEnum = exports.BusinessapplicationrefCorrelationTypeEnum = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
85
85
|
var common_1 = require("./common");
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("./base");
|
|
88
|
+
exports.BusinessapplicationrefCorrelationTypeEnum = {
|
|
89
|
+
Manual: 'MANUAL',
|
|
90
|
+
Automatic: 'AUTOMATIC'
|
|
91
|
+
};
|
|
92
|
+
exports.CorrelationconfigTypeEnum = {
|
|
93
|
+
OwnerPrimary: 'OWNER_PRIMARY',
|
|
94
|
+
OwnerSecondary: 'OWNER_SECONDARY'
|
|
95
|
+
};
|
|
96
|
+
exports.CorrelationruleRuleTypeEnum = {
|
|
97
|
+
Identity: 'IDENTITY',
|
|
98
|
+
Account: 'ACCOUNT',
|
|
99
|
+
GovernanceGroup: 'GOVERNANCE_GROUP'
|
|
100
|
+
};
|
|
101
|
+
exports.CorrelationruleactionTypeEnum = {
|
|
102
|
+
Identity: 'IDENTITY',
|
|
103
|
+
Account: 'ACCOUNT',
|
|
104
|
+
GovernanceGroup: 'GOVERNANCE_GROUP'
|
|
105
|
+
};
|
|
88
106
|
/**
|
|
89
107
|
* An enumeration of the types of DTOs supported within the IdentityNow infrastructure.
|
|
90
108
|
* @export
|
|
@@ -121,6 +139,14 @@ exports.Dtotype = {
|
|
|
121
139
|
AccountActivity: 'ACCOUNT_ACTIVITY',
|
|
122
140
|
Workgroup: 'WORKGROUP'
|
|
123
141
|
};
|
|
142
|
+
exports.JsonpatchoperationOpEnum = {
|
|
143
|
+
Add: 'add',
|
|
144
|
+
Remove: 'remove',
|
|
145
|
+
Replace: 'replace',
|
|
146
|
+
Move: 'move',
|
|
147
|
+
Copy: 'copy',
|
|
148
|
+
Test: 'test'
|
|
149
|
+
};
|
|
124
150
|
/**
|
|
125
151
|
* An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
|
|
126
152
|
* @export
|
|
@@ -130,6 +156,12 @@ exports.Localeorigin = {
|
|
|
130
156
|
Default: 'DEFAULT',
|
|
131
157
|
Request: 'REQUEST'
|
|
132
158
|
};
|
|
159
|
+
exports.MachineIdentityV2RiskSeverityEnum = {
|
|
160
|
+
Critical: 'CRITICAL',
|
|
161
|
+
High: 'HIGH',
|
|
162
|
+
Medium: 'MEDIUM',
|
|
163
|
+
Low: 'LOW'
|
|
164
|
+
};
|
|
133
165
|
exports.MachineidentityaggregationresponseTypeEnum = {
|
|
134
166
|
Quartz: 'QUARTZ',
|
|
135
167
|
Qpoc: 'QPOC',
|
|
@@ -142,6 +174,16 @@ exports.MachineidentityaggregationresponseCompletionStatusEnum = {
|
|
|
142
174
|
Terminated: 'TERMINATED',
|
|
143
175
|
Temperror: 'TEMPERROR'
|
|
144
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
* Sanctioned status for a Business Application or derived machine identity effective status.
|
|
179
|
+
* @export
|
|
180
|
+
* @enum {string}
|
|
181
|
+
*/
|
|
182
|
+
exports.Sanctionedstatus = {
|
|
183
|
+
Sanctioned: 'SANCTIONED',
|
|
184
|
+
Unsanctioned: 'UNSANCTIONED',
|
|
185
|
+
Unknown: 'UNKNOWN'
|
|
186
|
+
};
|
|
145
187
|
exports.TaskstatusmessageTypeEnum = {
|
|
146
188
|
Info: 'INFO',
|
|
147
189
|
Warn: 'WARN',
|
|
@@ -195,6 +237,40 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
195
237
|
});
|
|
196
238
|
});
|
|
197
239
|
},
|
|
240
|
+
/**
|
|
241
|
+
* 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.
|
|
242
|
+
* @summary Create machine identity
|
|
243
|
+
* @param {Machineidentityv2} machineidentityv2
|
|
244
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
createMachineIdentityV2: function (machineidentityv2, axiosOptions) {
|
|
248
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
249
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
250
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
251
|
+
return __generator(this, function (_a) {
|
|
252
|
+
// verify required parameter 'machineidentityv2' is not null or undefined
|
|
253
|
+
(0, common_1.assertParamExists)('createMachineIdentityV2', 'machineidentityv2', machineidentityv2);
|
|
254
|
+
localVarPath = "/machine-identities/v2";
|
|
255
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
256
|
+
if (configuration) {
|
|
257
|
+
baseOptions = configuration.baseOptions;
|
|
258
|
+
}
|
|
259
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
260
|
+
localVarHeaderParameter = {};
|
|
261
|
+
localVarQueryParameter = {};
|
|
262
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
263
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
264
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
266
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(machineidentityv2, localVarRequestOptions, configuration);
|
|
267
|
+
return [2 /*return*/, {
|
|
268
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
269
|
+
axiosOptions: localVarRequestOptions,
|
|
270
|
+
}];
|
|
271
|
+
});
|
|
272
|
+
});
|
|
273
|
+
},
|
|
198
274
|
/**
|
|
199
275
|
* The API returns successful response if the requested machine identity was deleted.
|
|
200
276
|
* @summary Delete machine identity
|
|
@@ -235,6 +311,80 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
235
311
|
});
|
|
236
312
|
});
|
|
237
313
|
},
|
|
314
|
+
/**
|
|
315
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
316
|
+
* @summary Delete machine identity
|
|
317
|
+
* @param {string} id Machine Identity ID.
|
|
318
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
deleteMachineIdentityV2: function (id, axiosOptions) {
|
|
322
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
324
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
325
|
+
return __generator(this, function (_a) {
|
|
326
|
+
// verify required parameter 'id' is not null or undefined
|
|
327
|
+
(0, common_1.assertParamExists)('deleteMachineIdentityV2', 'id', id);
|
|
328
|
+
localVarPath = "/machine-identities/v2/{id}"
|
|
329
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
330
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
331
|
+
if (configuration) {
|
|
332
|
+
baseOptions = configuration.baseOptions;
|
|
333
|
+
}
|
|
334
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
335
|
+
localVarHeaderParameter = {};
|
|
336
|
+
localVarQueryParameter = {};
|
|
337
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
338
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
339
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
340
|
+
return [2 /*return*/, {
|
|
341
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
342
|
+
axiosOptions: localVarRequestOptions,
|
|
343
|
+
}];
|
|
344
|
+
});
|
|
345
|
+
});
|
|
346
|
+
},
|
|
347
|
+
/**
|
|
348
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
349
|
+
* @summary Delete ownership correlation config
|
|
350
|
+
* @param {string} sourceId The Source ID.
|
|
351
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
352
|
+
* @param {string} configId The correlation config ID.
|
|
353
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
*/
|
|
356
|
+
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
357
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
358
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
359
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
360
|
+
return __generator(this, function (_a) {
|
|
361
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
362
|
+
(0, common_1.assertParamExists)('deleteOwnershipCorrelationConfigV1', 'sourceId', sourceId);
|
|
363
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
364
|
+
(0, common_1.assertParamExists)('deleteOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
365
|
+
// verify required parameter 'configId' is not null or undefined
|
|
366
|
+
(0, common_1.assertParamExists)('deleteOwnershipCorrelationConfigV1', 'configId', configId);
|
|
367
|
+
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
368
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
369
|
+
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
370
|
+
.replace("{".concat("configId", "}"), encodeURIComponent(String(configId)));
|
|
371
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
372
|
+
if (configuration) {
|
|
373
|
+
baseOptions = configuration.baseOptions;
|
|
374
|
+
}
|
|
375
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
376
|
+
localVarHeaderParameter = {};
|
|
377
|
+
localVarQueryParameter = {};
|
|
378
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
379
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
380
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
381
|
+
return [2 /*return*/, {
|
|
382
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
383
|
+
axiosOptions: localVarRequestOptions,
|
|
384
|
+
}];
|
|
385
|
+
});
|
|
386
|
+
});
|
|
387
|
+
},
|
|
238
388
|
/**
|
|
239
389
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
240
390
|
* @summary Get machine identity details
|
|
@@ -275,6 +425,80 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
275
425
|
});
|
|
276
426
|
});
|
|
277
427
|
},
|
|
428
|
+
/**
|
|
429
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
430
|
+
* @summary Get machine identity details
|
|
431
|
+
* @param {string} id Machine Identity ID.
|
|
432
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
getMachineIdentityV2: function (id, axiosOptions) {
|
|
436
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
437
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
438
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
439
|
+
return __generator(this, function (_a) {
|
|
440
|
+
// verify required parameter 'id' is not null or undefined
|
|
441
|
+
(0, common_1.assertParamExists)('getMachineIdentityV2', 'id', id);
|
|
442
|
+
localVarPath = "/machine-identities/v2/{id}"
|
|
443
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
444
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
445
|
+
if (configuration) {
|
|
446
|
+
baseOptions = configuration.baseOptions;
|
|
447
|
+
}
|
|
448
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
449
|
+
localVarHeaderParameter = {};
|
|
450
|
+
localVarQueryParameter = {};
|
|
451
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
452
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
453
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
454
|
+
return [2 /*return*/, {
|
|
455
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
456
|
+
axiosOptions: localVarRequestOptions,
|
|
457
|
+
}];
|
|
458
|
+
});
|
|
459
|
+
});
|
|
460
|
+
},
|
|
461
|
+
/**
|
|
462
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
463
|
+
* @summary Get ownership correlation config
|
|
464
|
+
* @param {string} sourceId The Source ID.
|
|
465
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
466
|
+
* @param {string} configId The correlation config ID.
|
|
467
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
471
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
472
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
473
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
474
|
+
return __generator(this, function (_a) {
|
|
475
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
476
|
+
(0, common_1.assertParamExists)('getOwnershipCorrelationConfigV1', 'sourceId', sourceId);
|
|
477
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
478
|
+
(0, common_1.assertParamExists)('getOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
479
|
+
// verify required parameter 'configId' is not null or undefined
|
|
480
|
+
(0, common_1.assertParamExists)('getOwnershipCorrelationConfigV1', 'configId', configId);
|
|
481
|
+
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
482
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
483
|
+
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
484
|
+
.replace("{".concat("configId", "}"), encodeURIComponent(String(configId)));
|
|
485
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
486
|
+
if (configuration) {
|
|
487
|
+
baseOptions = configuration.baseOptions;
|
|
488
|
+
}
|
|
489
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
490
|
+
localVarHeaderParameter = {};
|
|
491
|
+
localVarQueryParameter = {};
|
|
492
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
493
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
494
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
495
|
+
return [2 /*return*/, {
|
|
496
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
497
|
+
axiosOptions: localVarRequestOptions,
|
|
498
|
+
}];
|
|
499
|
+
});
|
|
500
|
+
});
|
|
501
|
+
},
|
|
278
502
|
/**
|
|
279
503
|
* This API returns a list of machine identities.
|
|
280
504
|
* @summary List machine identities
|
|
@@ -331,6 +555,55 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
331
555
|
});
|
|
332
556
|
});
|
|
333
557
|
},
|
|
558
|
+
/**
|
|
559
|
+
* This API returns a list of machine identities.
|
|
560
|
+
* @summary List machine identities
|
|
561
|
+
* @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*
|
|
562
|
+
* @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**
|
|
563
|
+
* @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.
|
|
564
|
+
* @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.
|
|
565
|
+
* @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.
|
|
566
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
567
|
+
* @throws {RequiredError}
|
|
568
|
+
*/
|
|
569
|
+
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
570
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
571
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
572
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
573
|
+
return __generator(this, function (_a) {
|
|
574
|
+
localVarPath = "/machine-identities/v2";
|
|
575
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
576
|
+
if (configuration) {
|
|
577
|
+
baseOptions = configuration.baseOptions;
|
|
578
|
+
}
|
|
579
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
580
|
+
localVarHeaderParameter = {};
|
|
581
|
+
localVarQueryParameter = {};
|
|
582
|
+
if (filters !== undefined) {
|
|
583
|
+
localVarQueryParameter['filters'] = filters;
|
|
584
|
+
}
|
|
585
|
+
if (sorters !== undefined) {
|
|
586
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
587
|
+
}
|
|
588
|
+
if (count !== undefined) {
|
|
589
|
+
localVarQueryParameter['count'] = count;
|
|
590
|
+
}
|
|
591
|
+
if (limit !== undefined) {
|
|
592
|
+
localVarQueryParameter['limit'] = limit;
|
|
593
|
+
}
|
|
594
|
+
if (offset !== undefined) {
|
|
595
|
+
localVarQueryParameter['offset'] = offset;
|
|
596
|
+
}
|
|
597
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
598
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
600
|
+
return [2 /*return*/, {
|
|
601
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
602
|
+
axiosOptions: localVarRequestOptions,
|
|
603
|
+
}];
|
|
604
|
+
});
|
|
605
|
+
});
|
|
606
|
+
},
|
|
334
607
|
/**
|
|
335
608
|
* This API returns a list of user entitlements associated with machine identities.
|
|
336
609
|
* @summary List machine identity\'s user entitlements
|
|
@@ -388,43 +661,51 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
388
661
|
});
|
|
389
662
|
},
|
|
390
663
|
/**
|
|
391
|
-
*
|
|
392
|
-
* @summary
|
|
393
|
-
* @param {string} sourceId Source ID.
|
|
394
|
-
* @param {
|
|
395
|
-
* @param {
|
|
664
|
+
* 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.
|
|
665
|
+
* @summary List ownership correlation configs
|
|
666
|
+
* @param {string} sourceId The Source ID.
|
|
667
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
668
|
+
* @param {ListOwnershipCorrelationConfigsV1TypeEnum} [type] When set, filters to the given config type.
|
|
669
|
+
* @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.
|
|
670
|
+
* @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.
|
|
671
|
+
* @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.
|
|
396
672
|
* @param {*} [axiosOptions] Override http request option.
|
|
397
673
|
* @throws {RequiredError}
|
|
398
674
|
*/
|
|
399
|
-
|
|
675
|
+
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, axiosOptions) {
|
|
400
676
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
401
677
|
return __awaiter(_this, void 0, void 0, function () {
|
|
402
678
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
403
679
|
return __generator(this, function (_a) {
|
|
404
680
|
// verify required parameter 'sourceId' is not null or undefined
|
|
405
|
-
(0, common_1.assertParamExists)('
|
|
406
|
-
// verify required parameter '
|
|
407
|
-
(0, common_1.assertParamExists)('
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
localVarPath = "/sources/v1/{sourceId}/aggregate-agents"
|
|
412
|
-
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
681
|
+
(0, common_1.assertParamExists)('listOwnershipCorrelationConfigsV1', 'sourceId', sourceId);
|
|
682
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
683
|
+
(0, common_1.assertParamExists)('listOwnershipCorrelationConfigsV1', 'resourceId', resourceId);
|
|
684
|
+
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs"
|
|
685
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
686
|
+
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)));
|
|
413
687
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
414
688
|
if (configuration) {
|
|
415
689
|
baseOptions = configuration.baseOptions;
|
|
416
690
|
}
|
|
417
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
691
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
418
692
|
localVarHeaderParameter = {};
|
|
419
693
|
localVarQueryParameter = {};
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
694
|
+
if (type !== undefined) {
|
|
695
|
+
localVarQueryParameter['type'] = type;
|
|
696
|
+
}
|
|
697
|
+
if (count !== undefined) {
|
|
698
|
+
localVarQueryParameter['count'] = count;
|
|
699
|
+
}
|
|
700
|
+
if (limit !== undefined) {
|
|
701
|
+
localVarQueryParameter['limit'] = limit;
|
|
702
|
+
}
|
|
703
|
+
if (offset !== undefined) {
|
|
704
|
+
localVarQueryParameter['offset'] = offset;
|
|
423
705
|
}
|
|
424
706
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
425
707
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
426
708
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
427
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(machineidentityaggregationrequest, localVarRequestOptions, configuration);
|
|
428
709
|
return [2 /*return*/, {
|
|
429
710
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
430
711
|
axiosOptions: localVarRequestOptions,
|
|
@@ -433,28 +714,32 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
433
714
|
});
|
|
434
715
|
},
|
|
435
716
|
/**
|
|
436
|
-
*
|
|
437
|
-
* @summary
|
|
438
|
-
* @param {string}
|
|
439
|
-
* @param {
|
|
440
|
-
* @param {string}
|
|
717
|
+
* 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.
|
|
718
|
+
* @summary Patch ownership correlation config
|
|
719
|
+
* @param {string} sourceId The Source ID.
|
|
720
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
721
|
+
* @param {string} configId The correlation config ID.
|
|
722
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation The JSONPatch payload used to update the correlation config.
|
|
441
723
|
* @param {*} [axiosOptions] Override http request option.
|
|
442
724
|
* @throws {RequiredError}
|
|
443
725
|
*/
|
|
444
|
-
|
|
726
|
+
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonpatchoperation, axiosOptions) {
|
|
445
727
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
446
728
|
return __awaiter(_this, void 0, void 0, function () {
|
|
447
729
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
448
730
|
return __generator(this, function (_a) {
|
|
449
|
-
// verify required parameter '
|
|
450
|
-
(0, common_1.assertParamExists)('
|
|
451
|
-
// verify required parameter '
|
|
452
|
-
(0, common_1.assertParamExists)('
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
731
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
732
|
+
(0, common_1.assertParamExists)('patchOwnershipCorrelationConfigV1', 'sourceId', sourceId);
|
|
733
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
734
|
+
(0, common_1.assertParamExists)('patchOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
735
|
+
// verify required parameter 'configId' is not null or undefined
|
|
736
|
+
(0, common_1.assertParamExists)('patchOwnershipCorrelationConfigV1', 'configId', configId);
|
|
737
|
+
// verify required parameter 'jsonpatchoperation' is not null or undefined
|
|
738
|
+
(0, common_1.assertParamExists)('patchOwnershipCorrelationConfigV1', 'jsonpatchoperation', jsonpatchoperation);
|
|
739
|
+
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
740
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
741
|
+
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
742
|
+
.replace("{".concat("configId", "}"), encodeURIComponent(String(configId)));
|
|
458
743
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
459
744
|
if (configuration) {
|
|
460
745
|
baseOptions = configuration.baseOptions;
|
|
@@ -463,13 +748,10 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
463
748
|
localVarHeaderParameter = {};
|
|
464
749
|
localVarQueryParameter = {};
|
|
465
750
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
466
|
-
if (xSailPointExperimental != null) {
|
|
467
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
468
|
-
}
|
|
469
751
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
470
752
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
471
753
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
472
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
754
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonpatchoperation, localVarRequestOptions, configuration);
|
|
473
755
|
return [2 /*return*/, {
|
|
474
756
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
475
757
|
axiosOptions: localVarRequestOptions,
|
|
@@ -477,11 +759,139 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
477
759
|
});
|
|
478
760
|
});
|
|
479
761
|
},
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
762
|
+
/**
|
|
763
|
+
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
764
|
+
* @summary Start machine identity aggregation
|
|
765
|
+
* @param {string} sourceId Source ID.
|
|
766
|
+
* @param {Machineidentityaggregationrequest} machineidentityaggregationrequest
|
|
767
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
768
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
*/
|
|
771
|
+
startMachineIdentityAggregationV1: function (sourceId, machineidentityaggregationrequest, xSailPointExperimental, axiosOptions) {
|
|
772
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
773
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
774
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
775
|
+
return __generator(this, function (_a) {
|
|
776
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
777
|
+
(0, common_1.assertParamExists)('startMachineIdentityAggregationV1', 'sourceId', sourceId);
|
|
778
|
+
// verify required parameter 'machineidentityaggregationrequest' is not null or undefined
|
|
779
|
+
(0, common_1.assertParamExists)('startMachineIdentityAggregationV1', 'machineidentityaggregationrequest', machineidentityaggregationrequest);
|
|
780
|
+
if (xSailPointExperimental === undefined) {
|
|
781
|
+
xSailPointExperimental = 'true';
|
|
782
|
+
}
|
|
783
|
+
localVarPath = "/sources/v1/{sourceId}/aggregate-agents"
|
|
784
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
785
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
786
|
+
if (configuration) {
|
|
787
|
+
baseOptions = configuration.baseOptions;
|
|
788
|
+
}
|
|
789
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
790
|
+
localVarHeaderParameter = {};
|
|
791
|
+
localVarQueryParameter = {};
|
|
792
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
793
|
+
if (xSailPointExperimental != null) {
|
|
794
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
795
|
+
}
|
|
796
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
797
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
798
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
799
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(machineidentityaggregationrequest, localVarRequestOptions, configuration);
|
|
800
|
+
return [2 /*return*/, {
|
|
801
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
802
|
+
axiosOptions: localVarRequestOptions,
|
|
803
|
+
}];
|
|
804
|
+
});
|
|
805
|
+
});
|
|
806
|
+
},
|
|
807
|
+
/**
|
|
808
|
+
* Use this API to update machine identity details.
|
|
809
|
+
* @summary Update machine identity details
|
|
810
|
+
* @param {string} id Machine Identity ID.
|
|
811
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
812
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
813
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
updateMachineIdentityV1: function (id, requestBody, xSailPointExperimental, axiosOptions) {
|
|
817
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
818
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
819
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
820
|
+
return __generator(this, function (_a) {
|
|
821
|
+
// verify required parameter 'id' is not null or undefined
|
|
822
|
+
(0, common_1.assertParamExists)('updateMachineIdentityV1', 'id', id);
|
|
823
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
824
|
+
(0, common_1.assertParamExists)('updateMachineIdentityV1', 'requestBody', requestBody);
|
|
825
|
+
if (xSailPointExperimental === undefined) {
|
|
826
|
+
xSailPointExperimental = 'true';
|
|
827
|
+
}
|
|
828
|
+
localVarPath = "/machine-identities/v1/{id}"
|
|
829
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
830
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
831
|
+
if (configuration) {
|
|
832
|
+
baseOptions = configuration.baseOptions;
|
|
833
|
+
}
|
|
834
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
835
|
+
localVarHeaderParameter = {};
|
|
836
|
+
localVarQueryParameter = {};
|
|
837
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
838
|
+
if (xSailPointExperimental != null) {
|
|
839
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
840
|
+
}
|
|
841
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
842
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
843
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
844
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
845
|
+
return [2 /*return*/, {
|
|
846
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
847
|
+
axiosOptions: localVarRequestOptions,
|
|
848
|
+
}];
|
|
849
|
+
});
|
|
850
|
+
});
|
|
851
|
+
},
|
|
852
|
+
/**
|
|
853
|
+
* 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.
|
|
854
|
+
* @summary Partial update of machine identity
|
|
855
|
+
* @param {string} id Machine Identity ID.
|
|
856
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
857
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
*/
|
|
860
|
+
updateMachineIdentityV2: function (id, jsonpatchoperation, axiosOptions) {
|
|
861
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
862
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
863
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
864
|
+
return __generator(this, function (_a) {
|
|
865
|
+
// verify required parameter 'id' is not null or undefined
|
|
866
|
+
(0, common_1.assertParamExists)('updateMachineIdentityV2', 'id', id);
|
|
867
|
+
// verify required parameter 'jsonpatchoperation' is not null or undefined
|
|
868
|
+
(0, common_1.assertParamExists)('updateMachineIdentityV2', 'jsonpatchoperation', jsonpatchoperation);
|
|
869
|
+
localVarPath = "/machine-identities/v2/{id}"
|
|
870
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
871
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
872
|
+
if (configuration) {
|
|
873
|
+
baseOptions = configuration.baseOptions;
|
|
874
|
+
}
|
|
875
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
876
|
+
localVarHeaderParameter = {};
|
|
877
|
+
localVarQueryParameter = {};
|
|
878
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
879
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
880
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
881
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
882
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonpatchoperation, localVarRequestOptions, configuration);
|
|
883
|
+
return [2 /*return*/, {
|
|
884
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
885
|
+
axiosOptions: localVarRequestOptions,
|
|
886
|
+
}];
|
|
887
|
+
});
|
|
888
|
+
});
|
|
889
|
+
},
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
exports.MachineIdentitiesApiAxiosParamCreator = MachineIdentitiesApiAxiosParamCreator;
|
|
893
|
+
/**
|
|
894
|
+
* MachineIdentitiesApi - functional programming interface
|
|
485
895
|
* @export
|
|
486
896
|
*/
|
|
487
897
|
var MachineIdentitiesApiFp = function (configuration) {
|
|
@@ -511,6 +921,29 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
511
921
|
});
|
|
512
922
|
});
|
|
513
923
|
},
|
|
924
|
+
/**
|
|
925
|
+
* 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.
|
|
926
|
+
* @summary Create machine identity
|
|
927
|
+
* @param {Machineidentityv2} machineidentityv2
|
|
928
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
929
|
+
* @throws {RequiredError}
|
|
930
|
+
*/
|
|
931
|
+
createMachineIdentityV2: function (machineidentityv2, axiosOptions) {
|
|
932
|
+
var _a, _b, _c;
|
|
933
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
934
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
935
|
+
return __generator(this, function (_d) {
|
|
936
|
+
switch (_d.label) {
|
|
937
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMachineIdentityV2(machineidentityv2, axiosOptions)];
|
|
938
|
+
case 1:
|
|
939
|
+
localVarAxiosArgs = _d.sent();
|
|
940
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
941
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.createMachineIdentityV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
942
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
943
|
+
}
|
|
944
|
+
});
|
|
945
|
+
});
|
|
946
|
+
},
|
|
514
947
|
/**
|
|
515
948
|
* The API returns successful response if the requested machine identity was deleted.
|
|
516
949
|
* @summary Delete machine identity
|
|
@@ -535,6 +968,54 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
535
968
|
});
|
|
536
969
|
});
|
|
537
970
|
},
|
|
971
|
+
/**
|
|
972
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
973
|
+
* @summary Delete machine identity
|
|
974
|
+
* @param {string} id Machine Identity ID.
|
|
975
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
976
|
+
* @throws {RequiredError}
|
|
977
|
+
*/
|
|
978
|
+
deleteMachineIdentityV2: function (id, axiosOptions) {
|
|
979
|
+
var _a, _b, _c;
|
|
980
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
981
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
982
|
+
return __generator(this, function (_d) {
|
|
983
|
+
switch (_d.label) {
|
|
984
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineIdentityV2(id, axiosOptions)];
|
|
985
|
+
case 1:
|
|
986
|
+
localVarAxiosArgs = _d.sent();
|
|
987
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
988
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.deleteMachineIdentityV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
989
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
990
|
+
}
|
|
991
|
+
});
|
|
992
|
+
});
|
|
993
|
+
},
|
|
994
|
+
/**
|
|
995
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
996
|
+
* @summary Delete ownership correlation config
|
|
997
|
+
* @param {string} sourceId The Source ID.
|
|
998
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
999
|
+
* @param {string} configId The correlation config ID.
|
|
1000
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1001
|
+
* @throws {RequiredError}
|
|
1002
|
+
*/
|
|
1003
|
+
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
1004
|
+
var _a, _b, _c;
|
|
1005
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1006
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1007
|
+
return __generator(this, function (_d) {
|
|
1008
|
+
switch (_d.label) {
|
|
1009
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions)];
|
|
1010
|
+
case 1:
|
|
1011
|
+
localVarAxiosArgs = _d.sent();
|
|
1012
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1013
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.deleteOwnershipCorrelationConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1014
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1015
|
+
}
|
|
1016
|
+
});
|
|
1017
|
+
});
|
|
1018
|
+
},
|
|
538
1019
|
/**
|
|
539
1020
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
540
1021
|
* @summary Get machine identity details
|
|
@@ -559,6 +1040,54 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
559
1040
|
});
|
|
560
1041
|
});
|
|
561
1042
|
},
|
|
1043
|
+
/**
|
|
1044
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
1045
|
+
* @summary Get machine identity details
|
|
1046
|
+
* @param {string} id Machine Identity ID.
|
|
1047
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1048
|
+
* @throws {RequiredError}
|
|
1049
|
+
*/
|
|
1050
|
+
getMachineIdentityV2: function (id, axiosOptions) {
|
|
1051
|
+
var _a, _b, _c;
|
|
1052
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1053
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1054
|
+
return __generator(this, function (_d) {
|
|
1055
|
+
switch (_d.label) {
|
|
1056
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineIdentityV2(id, axiosOptions)];
|
|
1057
|
+
case 1:
|
|
1058
|
+
localVarAxiosArgs = _d.sent();
|
|
1059
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1060
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.getMachineIdentityV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1061
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1062
|
+
}
|
|
1063
|
+
});
|
|
1064
|
+
});
|
|
1065
|
+
},
|
|
1066
|
+
/**
|
|
1067
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
1068
|
+
* @summary Get ownership correlation config
|
|
1069
|
+
* @param {string} sourceId The Source ID.
|
|
1070
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1071
|
+
* @param {string} configId The correlation config ID.
|
|
1072
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1073
|
+
* @throws {RequiredError}
|
|
1074
|
+
*/
|
|
1075
|
+
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
1076
|
+
var _a, _b, _c;
|
|
1077
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1078
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1079
|
+
return __generator(this, function (_d) {
|
|
1080
|
+
switch (_d.label) {
|
|
1081
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions)];
|
|
1082
|
+
case 1:
|
|
1083
|
+
localVarAxiosArgs = _d.sent();
|
|
1084
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1085
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.getOwnershipCorrelationConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1086
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1087
|
+
}
|
|
1088
|
+
});
|
|
1089
|
+
});
|
|
1090
|
+
},
|
|
562
1091
|
/**
|
|
563
1092
|
* This API returns a list of machine identities.
|
|
564
1093
|
* @summary List machine identities
|
|
@@ -587,6 +1116,33 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
587
1116
|
});
|
|
588
1117
|
});
|
|
589
1118
|
},
|
|
1119
|
+
/**
|
|
1120
|
+
* This API returns a list of machine identities.
|
|
1121
|
+
* @summary List machine identities
|
|
1122
|
+
* @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*
|
|
1123
|
+
* @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**
|
|
1124
|
+
* @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.
|
|
1125
|
+
* @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.
|
|
1126
|
+
* @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.
|
|
1127
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1128
|
+
* @throws {RequiredError}
|
|
1129
|
+
*/
|
|
1130
|
+
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
1131
|
+
var _a, _b, _c;
|
|
1132
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1133
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1134
|
+
return __generator(this, function (_d) {
|
|
1135
|
+
switch (_d.label) {
|
|
1136
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMachineIdentitiesV2(filters, sorters, count, limit, offset, axiosOptions)];
|
|
1137
|
+
case 1:
|
|
1138
|
+
localVarAxiosArgs = _d.sent();
|
|
1139
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1140
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.listMachineIdentitiesV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1141
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1142
|
+
}
|
|
1143
|
+
});
|
|
1144
|
+
});
|
|
1145
|
+
},
|
|
590
1146
|
/**
|
|
591
1147
|
* This API returns a list of user entitlements associated with machine identities.
|
|
592
1148
|
* @summary List machine identity\'s user entitlements
|
|
@@ -615,6 +1171,60 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
615
1171
|
});
|
|
616
1172
|
});
|
|
617
1173
|
},
|
|
1174
|
+
/**
|
|
1175
|
+
* 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.
|
|
1176
|
+
* @summary List ownership correlation configs
|
|
1177
|
+
* @param {string} sourceId The Source ID.
|
|
1178
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1179
|
+
* @param {ListOwnershipCorrelationConfigsV1TypeEnum} [type] When set, filters to the given config type.
|
|
1180
|
+
* @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.
|
|
1181
|
+
* @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.
|
|
1182
|
+
* @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.
|
|
1183
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1184
|
+
* @throws {RequiredError}
|
|
1185
|
+
*/
|
|
1186
|
+
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, axiosOptions) {
|
|
1187
|
+
var _a, _b, _c;
|
|
1188
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1189
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1190
|
+
return __generator(this, function (_d) {
|
|
1191
|
+
switch (_d.label) {
|
|
1192
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOwnershipCorrelationConfigsV1(sourceId, resourceId, type, count, limit, offset, axiosOptions)];
|
|
1193
|
+
case 1:
|
|
1194
|
+
localVarAxiosArgs = _d.sent();
|
|
1195
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1196
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.listOwnershipCorrelationConfigsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1197
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1198
|
+
}
|
|
1199
|
+
});
|
|
1200
|
+
});
|
|
1201
|
+
},
|
|
1202
|
+
/**
|
|
1203
|
+
* 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.
|
|
1204
|
+
* @summary Patch ownership correlation config
|
|
1205
|
+
* @param {string} sourceId The Source ID.
|
|
1206
|
+
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1207
|
+
* @param {string} configId The correlation config ID.
|
|
1208
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation The JSONPatch payload used to update the correlation config.
|
|
1209
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1210
|
+
* @throws {RequiredError}
|
|
1211
|
+
*/
|
|
1212
|
+
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonpatchoperation, axiosOptions) {
|
|
1213
|
+
var _a, _b, _c;
|
|
1214
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1215
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1216
|
+
return __generator(this, function (_d) {
|
|
1217
|
+
switch (_d.label) {
|
|
1218
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchOwnershipCorrelationConfigV1(sourceId, resourceId, configId, jsonpatchoperation, axiosOptions)];
|
|
1219
|
+
case 1:
|
|
1220
|
+
localVarAxiosArgs = _d.sent();
|
|
1221
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1222
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.patchOwnershipCorrelationConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1223
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1224
|
+
}
|
|
1225
|
+
});
|
|
1226
|
+
});
|
|
1227
|
+
},
|
|
618
1228
|
/**
|
|
619
1229
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
620
1230
|
* @summary Start machine identity aggregation
|
|
@@ -665,6 +1275,30 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
665
1275
|
});
|
|
666
1276
|
});
|
|
667
1277
|
},
|
|
1278
|
+
/**
|
|
1279
|
+
* 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.
|
|
1280
|
+
* @summary Partial update of machine identity
|
|
1281
|
+
* @param {string} id Machine Identity ID.
|
|
1282
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
1283
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
*/
|
|
1286
|
+
updateMachineIdentityV2: function (id, jsonpatchoperation, axiosOptions) {
|
|
1287
|
+
var _a, _b, _c;
|
|
1288
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1289
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1290
|
+
return __generator(this, function (_d) {
|
|
1291
|
+
switch (_d.label) {
|
|
1292
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineIdentityV2(id, jsonpatchoperation, axiosOptions)];
|
|
1293
|
+
case 1:
|
|
1294
|
+
localVarAxiosArgs = _d.sent();
|
|
1295
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1296
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesApi.updateMachineIdentityV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1297
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1298
|
+
}
|
|
1299
|
+
});
|
|
1300
|
+
});
|
|
1301
|
+
},
|
|
668
1302
|
};
|
|
669
1303
|
};
|
|
670
1304
|
exports.MachineIdentitiesApiFp = MachineIdentitiesApiFp;
|
|
@@ -685,6 +1319,16 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
685
1319
|
createMachineIdentityV1: function (requestParameters, axiosOptions) {
|
|
686
1320
|
return localVarFp.createMachineIdentityV1(requestParameters.machineidentityrequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
687
1321
|
},
|
|
1322
|
+
/**
|
|
1323
|
+
* 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.
|
|
1324
|
+
* @summary Create machine identity
|
|
1325
|
+
* @param {MachineIdentitiesApiCreateMachineIdentityV2Request} requestParameters Request parameters.
|
|
1326
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
*/
|
|
1329
|
+
createMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1330
|
+
return localVarFp.createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1331
|
+
},
|
|
688
1332
|
/**
|
|
689
1333
|
* The API returns successful response if the requested machine identity was deleted.
|
|
690
1334
|
* @summary Delete machine identity
|
|
@@ -695,6 +1339,26 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
695
1339
|
deleteMachineIdentityV1: function (requestParameters, axiosOptions) {
|
|
696
1340
|
return localVarFp.deleteMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
697
1341
|
},
|
|
1342
|
+
/**
|
|
1343
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
1344
|
+
* @summary Delete machine identity
|
|
1345
|
+
* @param {MachineIdentitiesApiDeleteMachineIdentityV2Request} requestParameters Request parameters.
|
|
1346
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
deleteMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1350
|
+
return localVarFp.deleteMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1351
|
+
},
|
|
1352
|
+
/**
|
|
1353
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
1354
|
+
* @summary Delete ownership correlation config
|
|
1355
|
+
* @param {MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
1356
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1357
|
+
* @throws {RequiredError}
|
|
1358
|
+
*/
|
|
1359
|
+
deleteOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1360
|
+
return localVarFp.deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1361
|
+
},
|
|
698
1362
|
/**
|
|
699
1363
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
700
1364
|
* @summary Get machine identity details
|
|
@@ -705,6 +1369,26 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
705
1369
|
getMachineIdentityV1: function (requestParameters, axiosOptions) {
|
|
706
1370
|
return localVarFp.getMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
707
1371
|
},
|
|
1372
|
+
/**
|
|
1373
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
1374
|
+
* @summary Get machine identity details
|
|
1375
|
+
* @param {MachineIdentitiesApiGetMachineIdentityV2Request} requestParameters Request parameters.
|
|
1376
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1377
|
+
* @throws {RequiredError}
|
|
1378
|
+
*/
|
|
1379
|
+
getMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1380
|
+
return localVarFp.getMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1381
|
+
},
|
|
1382
|
+
/**
|
|
1383
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
1384
|
+
* @summary Get ownership correlation config
|
|
1385
|
+
* @param {MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
1386
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1387
|
+
* @throws {RequiredError}
|
|
1388
|
+
*/
|
|
1389
|
+
getOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1390
|
+
return localVarFp.getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1391
|
+
},
|
|
708
1392
|
/**
|
|
709
1393
|
* This API returns a list of machine identities.
|
|
710
1394
|
* @summary List machine identities
|
|
@@ -716,6 +1400,17 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
716
1400
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
717
1401
|
return localVarFp.listMachineIdentitiesV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
718
1402
|
},
|
|
1403
|
+
/**
|
|
1404
|
+
* This API returns a list of machine identities.
|
|
1405
|
+
* @summary List machine identities
|
|
1406
|
+
* @param {MachineIdentitiesApiListMachineIdentitiesV2Request} requestParameters Request parameters.
|
|
1407
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1408
|
+
* @throws {RequiredError}
|
|
1409
|
+
*/
|
|
1410
|
+
listMachineIdentitiesV2: function (requestParameters, axiosOptions) {
|
|
1411
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1412
|
+
return localVarFp.listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1413
|
+
},
|
|
719
1414
|
/**
|
|
720
1415
|
* This API returns a list of user entitlements associated with machine identities.
|
|
721
1416
|
* @summary List machine identity\'s user entitlements
|
|
@@ -727,6 +1422,26 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
727
1422
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
728
1423
|
return localVarFp.listMachineIdentityUserEntitlementsV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
729
1424
|
},
|
|
1425
|
+
/**
|
|
1426
|
+
* 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.
|
|
1427
|
+
* @summary List ownership correlation configs
|
|
1428
|
+
* @param {MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request} requestParameters Request parameters.
|
|
1429
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1430
|
+
* @throws {RequiredError}
|
|
1431
|
+
*/
|
|
1432
|
+
listOwnershipCorrelationConfigsV1: function (requestParameters, axiosOptions) {
|
|
1433
|
+
return localVarFp.listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1434
|
+
},
|
|
1435
|
+
/**
|
|
1436
|
+
* 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.
|
|
1437
|
+
* @summary Patch ownership correlation config
|
|
1438
|
+
* @param {MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
1439
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1440
|
+
* @throws {RequiredError}
|
|
1441
|
+
*/
|
|
1442
|
+
patchOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1443
|
+
return localVarFp.patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonpatchoperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1444
|
+
},
|
|
730
1445
|
/**
|
|
731
1446
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
732
1447
|
* @summary Start machine identity aggregation
|
|
@@ -747,6 +1462,16 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
747
1462
|
updateMachineIdentityV1: function (requestParameters, axiosOptions) {
|
|
748
1463
|
return localVarFp.updateMachineIdentityV1(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
749
1464
|
},
|
|
1465
|
+
/**
|
|
1466
|
+
* 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.
|
|
1467
|
+
* @summary Partial update of machine identity
|
|
1468
|
+
* @param {MachineIdentitiesApiUpdateMachineIdentityV2Request} requestParameters Request parameters.
|
|
1469
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1470
|
+
* @throws {RequiredError}
|
|
1471
|
+
*/
|
|
1472
|
+
updateMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1473
|
+
return localVarFp.updateMachineIdentityV2(requestParameters.id, requestParameters.jsonpatchoperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1474
|
+
},
|
|
750
1475
|
};
|
|
751
1476
|
};
|
|
752
1477
|
exports.MachineIdentitiesApiFactory = MachineIdentitiesApiFactory;
|
|
@@ -773,6 +1498,18 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
773
1498
|
var _this = this;
|
|
774
1499
|
return (0, exports.MachineIdentitiesApiFp)(this.configuration).createMachineIdentityV1(requestParameters.machineidentityrequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
775
1500
|
};
|
|
1501
|
+
/**
|
|
1502
|
+
* 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.
|
|
1503
|
+
* @summary Create machine identity
|
|
1504
|
+
* @param {MachineIdentitiesApiCreateMachineIdentityV2Request} requestParameters Request parameters.
|
|
1505
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1506
|
+
* @throws {RequiredError}
|
|
1507
|
+
* @memberof MachineIdentitiesApi
|
|
1508
|
+
*/
|
|
1509
|
+
MachineIdentitiesApi.prototype.createMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1510
|
+
var _this = this;
|
|
1511
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1512
|
+
};
|
|
776
1513
|
/**
|
|
777
1514
|
* The API returns successful response if the requested machine identity was deleted.
|
|
778
1515
|
* @summary Delete machine identity
|
|
@@ -785,6 +1522,30 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
785
1522
|
var _this = this;
|
|
786
1523
|
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
787
1524
|
};
|
|
1525
|
+
/**
|
|
1526
|
+
* The API returns a successful response if the requested machine identity was deleted.
|
|
1527
|
+
* @summary Delete machine identity
|
|
1528
|
+
* @param {MachineIdentitiesApiDeleteMachineIdentityV2Request} requestParameters Request parameters.
|
|
1529
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1530
|
+
* @throws {RequiredError}
|
|
1531
|
+
* @memberof MachineIdentitiesApi
|
|
1532
|
+
*/
|
|
1533
|
+
MachineIdentitiesApi.prototype.deleteMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1534
|
+
var _this = this;
|
|
1535
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1536
|
+
};
|
|
1537
|
+
/**
|
|
1538
|
+
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
1539
|
+
* @summary Delete ownership correlation config
|
|
1540
|
+
* @param {MachineIdentitiesApiDeleteOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
1541
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
* @memberof MachineIdentitiesApi
|
|
1544
|
+
*/
|
|
1545
|
+
MachineIdentitiesApi.prototype.deleteOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1546
|
+
var _this = this;
|
|
1547
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1548
|
+
};
|
|
788
1549
|
/**
|
|
789
1550
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
790
1551
|
* @summary Get machine identity details
|
|
@@ -797,6 +1558,30 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
797
1558
|
var _this = this;
|
|
798
1559
|
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getMachineIdentityV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
799
1560
|
};
|
|
1561
|
+
/**
|
|
1562
|
+
* This API returns a single machine identity using the Machine Identity ID.
|
|
1563
|
+
* @summary Get machine identity details
|
|
1564
|
+
* @param {MachineIdentitiesApiGetMachineIdentityV2Request} requestParameters Request parameters.
|
|
1565
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1566
|
+
* @throws {RequiredError}
|
|
1567
|
+
* @memberof MachineIdentitiesApi
|
|
1568
|
+
*/
|
|
1569
|
+
MachineIdentitiesApi.prototype.getMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1570
|
+
var _this = this;
|
|
1571
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1572
|
+
};
|
|
1573
|
+
/**
|
|
1574
|
+
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
1575
|
+
* @summary Get ownership correlation config
|
|
1576
|
+
* @param {MachineIdentitiesApiGetOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
1577
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1578
|
+
* @throws {RequiredError}
|
|
1579
|
+
* @memberof MachineIdentitiesApi
|
|
1580
|
+
*/
|
|
1581
|
+
MachineIdentitiesApi.prototype.getOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1582
|
+
var _this = this;
|
|
1583
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1584
|
+
};
|
|
800
1585
|
/**
|
|
801
1586
|
* This API returns a list of machine identities.
|
|
802
1587
|
* @summary List machine identities
|
|
@@ -810,6 +1595,19 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
810
1595
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
811
1596
|
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listMachineIdentitiesV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
812
1597
|
};
|
|
1598
|
+
/**
|
|
1599
|
+
* This API returns a list of machine identities.
|
|
1600
|
+
* @summary List machine identities
|
|
1601
|
+
* @param {MachineIdentitiesApiListMachineIdentitiesV2Request} requestParameters Request parameters.
|
|
1602
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1603
|
+
* @throws {RequiredError}
|
|
1604
|
+
* @memberof MachineIdentitiesApi
|
|
1605
|
+
*/
|
|
1606
|
+
MachineIdentitiesApi.prototype.listMachineIdentitiesV2 = function (requestParameters, axiosOptions) {
|
|
1607
|
+
var _this = this;
|
|
1608
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1609
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1610
|
+
};
|
|
813
1611
|
/**
|
|
814
1612
|
* This API returns a list of user entitlements associated with machine identities.
|
|
815
1613
|
* @summary List machine identity\'s user entitlements
|
|
@@ -823,6 +1621,30 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
823
1621
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
824
1622
|
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listMachineIdentityUserEntitlementsV1(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
825
1623
|
};
|
|
1624
|
+
/**
|
|
1625
|
+
* 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.
|
|
1626
|
+
* @summary List ownership correlation configs
|
|
1627
|
+
* @param {MachineIdentitiesApiListOwnershipCorrelationConfigsV1Request} requestParameters Request parameters.
|
|
1628
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1629
|
+
* @throws {RequiredError}
|
|
1630
|
+
* @memberof MachineIdentitiesApi
|
|
1631
|
+
*/
|
|
1632
|
+
MachineIdentitiesApi.prototype.listOwnershipCorrelationConfigsV1 = function (requestParameters, axiosOptions) {
|
|
1633
|
+
var _this = this;
|
|
1634
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1635
|
+
};
|
|
1636
|
+
/**
|
|
1637
|
+
* 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.
|
|
1638
|
+
* @summary Patch ownership correlation config
|
|
1639
|
+
* @param {MachineIdentitiesApiPatchOwnershipCorrelationConfigV1Request} requestParameters Request parameters.
|
|
1640
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1641
|
+
* @throws {RequiredError}
|
|
1642
|
+
* @memberof MachineIdentitiesApi
|
|
1643
|
+
*/
|
|
1644
|
+
MachineIdentitiesApi.prototype.patchOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1645
|
+
var _this = this;
|
|
1646
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonpatchoperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1647
|
+
};
|
|
826
1648
|
/**
|
|
827
1649
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
828
1650
|
* @summary Start machine identity aggregation
|
|
@@ -847,7 +1669,26 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
847
1669
|
var _this = this;
|
|
848
1670
|
return (0, exports.MachineIdentitiesApiFp)(this.configuration).updateMachineIdentityV1(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
849
1671
|
};
|
|
1672
|
+
/**
|
|
1673
|
+
* 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.
|
|
1674
|
+
* @summary Partial update of machine identity
|
|
1675
|
+
* @param {MachineIdentitiesApiUpdateMachineIdentityV2Request} requestParameters Request parameters.
|
|
1676
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
* @memberof MachineIdentitiesApi
|
|
1679
|
+
*/
|
|
1680
|
+
MachineIdentitiesApi.prototype.updateMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1681
|
+
var _this = this;
|
|
1682
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).updateMachineIdentityV2(requestParameters.id, requestParameters.jsonpatchoperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1683
|
+
};
|
|
850
1684
|
return MachineIdentitiesApi;
|
|
851
1685
|
}(base_1.BaseAPI));
|
|
852
1686
|
exports.MachineIdentitiesApi = MachineIdentitiesApi;
|
|
1687
|
+
/**
|
|
1688
|
+
* @export
|
|
1689
|
+
*/
|
|
1690
|
+
exports.ListOwnershipCorrelationConfigsV1TypeEnum = {
|
|
1691
|
+
OwnerPrimary: 'OWNER_PRIMARY',
|
|
1692
|
+
OwnerSecondary: 'OWNER_SECONDARY'
|
|
1693
|
+
};
|
|
853
1694
|
//# sourceMappingURL=api.js.map
|