@sailpoint/api-client 2.2.38 → 2.2.40
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/access_requests/api.d.ts +12 -12
- package/dist/access_requests/api.js +9 -9
- package/dist/access_requests/api.js.map +1 -1
- package/dist/certifications/api.d.ts +3 -3
- package/dist/certifications/api.js +2 -2
- package/dist/certifications/api.js.map +1 -1
- package/dist/custom_forms/api.d.ts +20 -8
- package/dist/custom_forms/api.js +18 -9
- package/dist/custom_forms/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +9 -9
- package/dist/esm/certifications/api.js +2 -2
- package/dist/esm/custom_forms/api.js +18 -9
- package/dist/esm/gov_certification/api.js +5565 -0
- package/dist/esm/gov_certification/base.js +83 -0
- package/dist/esm/gov_certification/common.js +287 -0
- package/dist/esm/gov_certification/configuration.js +42 -0
- package/dist/esm/gov_certification/index.js +15 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/jit_activation_convert/api.js +226 -0
- package/dist/esm/jit_activation_convert/base.js +83 -0
- package/dist/esm/jit_activation_convert/common.js +287 -0
- package/dist/esm/jit_activation_convert/configuration.js +42 -0
- package/dist/esm/jit_activation_convert/index.js +15 -0
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/privilege_criteria/api.js +2 -2
- package/dist/esm/sod_controls/api.js +25 -65
- package/dist/esm/sod_violations/api.js +25 -65
- package/dist/esm/sources/api.js +88 -0
- package/dist/gov_certification/api.d.ts +7599 -0
- package/dist/gov_certification/api.js +5576 -0
- package/dist/gov_certification/api.js.map +1 -0
- package/dist/gov_certification/base.d.ts +66 -0
- package/dist/gov_certification/base.js +90 -0
- package/dist/gov_certification/base.js.map +1 -0
- package/dist/gov_certification/common.d.ts +65 -0
- package/dist/gov_certification/common.js +300 -0
- package/dist/gov_certification/common.js.map +1 -0
- package/dist/gov_certification/configuration.d.ts +91 -0
- package/dist/gov_certification/configuration.js +46 -0
- package/dist/gov_certification/configuration.js.map +1 -0
- package/dist/gov_certification/index.d.ts +13 -0
- package/dist/gov_certification/index.js +32 -0
- package/dist/gov_certification/index.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +240 -234
- package/dist/index.js.map +1 -1
- package/dist/jit_activation_convert/api.d.ts +241 -0
- package/dist/jit_activation_convert/api.js +236 -0
- package/dist/jit_activation_convert/api.js.map +1 -0
- package/dist/jit_activation_convert/base.d.ts +66 -0
- package/dist/jit_activation_convert/base.js +90 -0
- package/dist/jit_activation_convert/base.js.map +1 -0
- package/dist/jit_activation_convert/common.d.ts +65 -0
- package/dist/jit_activation_convert/common.js +300 -0
- package/dist/jit_activation_convert/common.js.map +1 -0
- package/dist/jit_activation_convert/configuration.d.ts +91 -0
- package/dist/jit_activation_convert/configuration.js +46 -0
- package/dist/jit_activation_convert/configuration.js.map +1 -0
- package/dist/jit_activation_convert/index.d.ts +13 -0
- package/dist/jit_activation_convert/index.js +32 -0
- package/dist/jit_activation_convert/index.js.map +1 -0
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/privilege_criteria/api.d.ts +3 -3
- package/dist/privilege_criteria/api.js +2 -2
- package/dist/privilege_criteria/api.js.map +1 -1
- package/dist/sod_controls/api.d.ts +10 -50
- package/dist/sod_controls/api.js +25 -65
- package/dist/sod_controls/api.js.map +1 -1
- package/dist/sod_violations/api.d.ts +10 -50
- package/dist/sod_violations/api.js +25 -65
- package/dist/sod_violations/api.js.map +1 -1
- package/dist/sources/api.d.ts +87 -0
- package/dist/sources/api.js +88 -0
- package/dist/sources/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -198,20 +198,16 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
* Returns a single policy violation by ID for the current tenant. Access is allowed if the caller has the read scope (`idn:sod-violation:read`) or is an owner of the violation (direct or via governance group). Returns 403 Forbidden if the violation exists but the caller has neither the read scope nor ownership. Returns 404 Not Found if the violation does not exist for the tenant. Embedded references (`owner`, `target`, `policy`, and references inside `appliedControls`) use `ReferenceResponse`: `id` and `type` are always present; `name` is included when display metadata resolves.
|
|
199
199
|
* @summary Get policy violation by ID
|
|
200
200
|
* @param {string} id The ID of the policy violation to fetch
|
|
201
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
202
201
|
* @param {*} [axiosOptions] Override http request option.
|
|
203
202
|
* @throws {RequiredError}
|
|
204
203
|
*/
|
|
205
|
-
getViolationV1: function (id,
|
|
204
|
+
getViolationV1: function (id, axiosOptions) {
|
|
206
205
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
207
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
207
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
208
|
return __generator(this, function (_a) {
|
|
210
209
|
// verify required parameter 'id' is not null or undefined
|
|
211
210
|
(0, common_1.assertParamExists)('getViolationV1', 'id', id);
|
|
212
|
-
if (xSailPointExperimental === undefined) {
|
|
213
|
-
xSailPointExperimental = 'true';
|
|
214
|
-
}
|
|
215
211
|
localVarPath = "/violations/v1/{id}"
|
|
216
212
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
217
213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -221,9 +217,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
221
217
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
222
218
|
localVarHeaderParameter = {};
|
|
223
219
|
localVarQueryParameter = {};
|
|
224
|
-
if (xSailPointExperimental != null) {
|
|
225
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
226
|
-
}
|
|
227
220
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
228
221
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
229
222
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -237,7 +230,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
237
230
|
/**
|
|
238
231
|
* Returns a paged list of policy violations where the current user is the owner (directly assigned or via a governance group they belong to). No permission scope is required; caller identity is required. Supports the same collection parameters as GET /violations (limit, offset, count, filters, sorters), including the same filter field whitelist and processing (normalization, pruning of not-yet-persisted name predicates). The owner filter is implicit (current user); **do not** use `ownerId` in filters for this endpoint. Embedded references in each violation follow `ReferenceResponse` (`id`, `type`, and optional `name` when metadata resolves).
|
|
239
232
|
* @summary List My Policy Violations
|
|
240
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
241
233
|
* @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.
|
|
242
234
|
* @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.
|
|
243
235
|
* @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.
|
|
@@ -246,14 +238,11 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
246
238
|
* @param {*} [axiosOptions] Override http request option.
|
|
247
239
|
* @throws {RequiredError}
|
|
248
240
|
*/
|
|
249
|
-
listMyViolationsV1: function (
|
|
241
|
+
listMyViolationsV1: function (limit, offset, count, filters, sorters, axiosOptions) {
|
|
250
242
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
251
243
|
return __awaiter(_this, void 0, void 0, function () {
|
|
252
244
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
253
245
|
return __generator(this, function (_a) {
|
|
254
|
-
if (xSailPointExperimental === undefined) {
|
|
255
|
-
xSailPointExperimental = 'true';
|
|
256
|
-
}
|
|
257
246
|
localVarPath = "/my-violations/v1";
|
|
258
247
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
259
248
|
if (configuration) {
|
|
@@ -277,9 +266,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
277
266
|
if (sorters !== undefined) {
|
|
278
267
|
localVarQueryParameter['sorters'] = sorters;
|
|
279
268
|
}
|
|
280
|
-
if (xSailPointExperimental != null) {
|
|
281
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
282
|
-
}
|
|
283
269
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
284
270
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
271
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -293,7 +279,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
293
279
|
/**
|
|
294
280
|
* Returns a paged list of policy violations for the current tenant. Requires the read scope (idn:sod-violation:read). This endpoint uses the standard collection parameters defined in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters/). This endpoint supports standard V3 collection parameters: `limit`, `offset`, `count`, `filters`, and `sorters`. Embedded references in each violation (`owner`, `target`, `policy`, and references inside `appliedControls`) follow the `ReferenceResponse` schema: `id` and `type` are always present; `name` is included when display metadata resolves. Filters and sorters are validated against a fixed whitelist of fields to ensure safe queries and to align with underlying database indexes.
|
|
295
281
|
* @summary List Policy Violations
|
|
296
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
297
282
|
* @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.
|
|
298
283
|
* @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.
|
|
299
284
|
* @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.
|
|
@@ -302,14 +287,11 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
302
287
|
* @param {*} [axiosOptions] Override http request option.
|
|
303
288
|
* @throws {RequiredError}
|
|
304
289
|
*/
|
|
305
|
-
listViolationsV1: function (
|
|
290
|
+
listViolationsV1: function (limit, offset, count, filters, sorters, axiosOptions) {
|
|
306
291
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
307
292
|
return __awaiter(_this, void 0, void 0, function () {
|
|
308
293
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
309
294
|
return __generator(this, function (_a) {
|
|
310
|
-
if (xSailPointExperimental === undefined) {
|
|
311
|
-
xSailPointExperimental = 'true';
|
|
312
|
-
}
|
|
313
295
|
localVarPath = "/violations/v1";
|
|
314
296
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
315
297
|
if (configuration) {
|
|
@@ -333,9 +315,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
333
315
|
if (sorters !== undefined) {
|
|
334
316
|
localVarQueryParameter['sorters'] = sorters;
|
|
335
317
|
}
|
|
336
|
-
if (xSailPointExperimental != null) {
|
|
337
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
338
|
-
}
|
|
339
318
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
340
319
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
341
320
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -351,11 +330,10 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
351
330
|
* @summary Reassign policy violation
|
|
352
331
|
* @param {string} id The ID of the policy violation to fetch
|
|
353
332
|
* @param {Violationreassigninput} violationreassigninput Data needed to reassign a Policy Violation
|
|
354
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
355
333
|
* @param {*} [axiosOptions] Override http request option.
|
|
356
334
|
* @throws {RequiredError}
|
|
357
335
|
*/
|
|
358
|
-
moveViolationV1: function (id, violationreassigninput,
|
|
336
|
+
moveViolationV1: function (id, violationreassigninput, axiosOptions) {
|
|
359
337
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
360
338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
361
339
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -364,9 +342,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
364
342
|
(0, common_1.assertParamExists)('moveViolationV1', 'id', id);
|
|
365
343
|
// verify required parameter 'violationreassigninput' is not null or undefined
|
|
366
344
|
(0, common_1.assertParamExists)('moveViolationV1', 'violationreassigninput', violationreassigninput);
|
|
367
|
-
if (xSailPointExperimental === undefined) {
|
|
368
|
-
xSailPointExperimental = 'true';
|
|
369
|
-
}
|
|
370
345
|
localVarPath = "/violations/v1/{id}/reassign"
|
|
371
346
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
372
347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -377,9 +352,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
377
352
|
localVarHeaderParameter = {};
|
|
378
353
|
localVarQueryParameter = {};
|
|
379
354
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
380
|
-
if (xSailPointExperimental != null) {
|
|
381
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
382
|
-
}
|
|
383
355
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
384
356
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
385
357
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -396,11 +368,10 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
396
368
|
* @summary Apply control to violation
|
|
397
369
|
* @param {string} id The ID of the policy violation to fetch
|
|
398
370
|
* @param {Appliedcontrolcreate} appliedcontrolcreate Data needed to apply a control to a Policy Violation
|
|
399
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
400
371
|
* @param {*} [axiosOptions] Override http request option.
|
|
401
372
|
* @throws {RequiredError}
|
|
402
373
|
*/
|
|
403
|
-
startApplyControlV1: function (id, appliedcontrolcreate,
|
|
374
|
+
startApplyControlV1: function (id, appliedcontrolcreate, axiosOptions) {
|
|
404
375
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
405
376
|
return __awaiter(_this, void 0, void 0, function () {
|
|
406
377
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -409,9 +380,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
409
380
|
(0, common_1.assertParamExists)('startApplyControlV1', 'id', id);
|
|
410
381
|
// verify required parameter 'appliedcontrolcreate' is not null or undefined
|
|
411
382
|
(0, common_1.assertParamExists)('startApplyControlV1', 'appliedcontrolcreate', appliedcontrolcreate);
|
|
412
|
-
if (xSailPointExperimental === undefined) {
|
|
413
|
-
xSailPointExperimental = 'true';
|
|
414
|
-
}
|
|
415
383
|
localVarPath = "/violations/v1/{id}/controls"
|
|
416
384
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
417
385
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -422,9 +390,6 @@ var SODViolationsApiAxiosParamCreator = function (configuration) {
|
|
|
422
390
|
localVarHeaderParameter = {};
|
|
423
391
|
localVarQueryParameter = {};
|
|
424
392
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
425
|
-
if (xSailPointExperimental != null) {
|
|
426
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
427
|
-
}
|
|
428
393
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
429
394
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
430
395
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -518,17 +483,16 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
518
483
|
* Returns a single policy violation by ID for the current tenant. Access is allowed if the caller has the read scope (`idn:sod-violation:read`) or is an owner of the violation (direct or via governance group). Returns 403 Forbidden if the violation exists but the caller has neither the read scope nor ownership. Returns 404 Not Found if the violation does not exist for the tenant. Embedded references (`owner`, `target`, `policy`, and references inside `appliedControls`) use `ReferenceResponse`: `id` and `type` are always present; `name` is included when display metadata resolves.
|
|
519
484
|
* @summary Get policy violation by ID
|
|
520
485
|
* @param {string} id The ID of the policy violation to fetch
|
|
521
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
522
486
|
* @param {*} [axiosOptions] Override http request option.
|
|
523
487
|
* @throws {RequiredError}
|
|
524
488
|
*/
|
|
525
|
-
getViolationV1: function (id,
|
|
489
|
+
getViolationV1: function (id, axiosOptions) {
|
|
526
490
|
var _a, _b, _c;
|
|
527
491
|
return __awaiter(this, void 0, void 0, function () {
|
|
528
492
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
529
493
|
return __generator(this, function (_d) {
|
|
530
494
|
switch (_d.label) {
|
|
531
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getViolationV1(id,
|
|
495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getViolationV1(id, axiosOptions)];
|
|
532
496
|
case 1:
|
|
533
497
|
localVarAxiosArgs = _d.sent();
|
|
534
498
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -541,7 +505,6 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
541
505
|
/**
|
|
542
506
|
* Returns a paged list of policy violations where the current user is the owner (directly assigned or via a governance group they belong to). No permission scope is required; caller identity is required. Supports the same collection parameters as GET /violations (limit, offset, count, filters, sorters), including the same filter field whitelist and processing (normalization, pruning of not-yet-persisted name predicates). The owner filter is implicit (current user); **do not** use `ownerId` in filters for this endpoint. Embedded references in each violation follow `ReferenceResponse` (`id`, `type`, and optional `name` when metadata resolves).
|
|
543
507
|
* @summary List My Policy Violations
|
|
544
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
545
508
|
* @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.
|
|
546
509
|
* @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.
|
|
547
510
|
* @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.
|
|
@@ -550,13 +513,13 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
550
513
|
* @param {*} [axiosOptions] Override http request option.
|
|
551
514
|
* @throws {RequiredError}
|
|
552
515
|
*/
|
|
553
|
-
listMyViolationsV1: function (
|
|
516
|
+
listMyViolationsV1: function (limit, offset, count, filters, sorters, axiosOptions) {
|
|
554
517
|
var _a, _b, _c;
|
|
555
518
|
return __awaiter(this, void 0, void 0, function () {
|
|
556
519
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
557
520
|
return __generator(this, function (_d) {
|
|
558
521
|
switch (_d.label) {
|
|
559
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMyViolationsV1(
|
|
522
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMyViolationsV1(limit, offset, count, filters, sorters, axiosOptions)];
|
|
560
523
|
case 1:
|
|
561
524
|
localVarAxiosArgs = _d.sent();
|
|
562
525
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -569,7 +532,6 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
569
532
|
/**
|
|
570
533
|
* Returns a paged list of policy violations for the current tenant. Requires the read scope (idn:sod-violation:read). This endpoint uses the standard collection parameters defined in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters/). This endpoint supports standard V3 collection parameters: `limit`, `offset`, `count`, `filters`, and `sorters`. Embedded references in each violation (`owner`, `target`, `policy`, and references inside `appliedControls`) follow the `ReferenceResponse` schema: `id` and `type` are always present; `name` is included when display metadata resolves. Filters and sorters are validated against a fixed whitelist of fields to ensure safe queries and to align with underlying database indexes.
|
|
571
534
|
* @summary List Policy Violations
|
|
572
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
573
535
|
* @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.
|
|
574
536
|
* @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.
|
|
575
537
|
* @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.
|
|
@@ -578,13 +540,13 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
578
540
|
* @param {*} [axiosOptions] Override http request option.
|
|
579
541
|
* @throws {RequiredError}
|
|
580
542
|
*/
|
|
581
|
-
listViolationsV1: function (
|
|
543
|
+
listViolationsV1: function (limit, offset, count, filters, sorters, axiosOptions) {
|
|
582
544
|
var _a, _b, _c;
|
|
583
545
|
return __awaiter(this, void 0, void 0, function () {
|
|
584
546
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
585
547
|
return __generator(this, function (_d) {
|
|
586
548
|
switch (_d.label) {
|
|
587
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listViolationsV1(
|
|
549
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listViolationsV1(limit, offset, count, filters, sorters, axiosOptions)];
|
|
588
550
|
case 1:
|
|
589
551
|
localVarAxiosArgs = _d.sent();
|
|
590
552
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -599,17 +561,16 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
599
561
|
* @summary Reassign policy violation
|
|
600
562
|
* @param {string} id The ID of the policy violation to fetch
|
|
601
563
|
* @param {Violationreassigninput} violationreassigninput Data needed to reassign a Policy Violation
|
|
602
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
603
564
|
* @param {*} [axiosOptions] Override http request option.
|
|
604
565
|
* @throws {RequiredError}
|
|
605
566
|
*/
|
|
606
|
-
moveViolationV1: function (id, violationreassigninput,
|
|
567
|
+
moveViolationV1: function (id, violationreassigninput, axiosOptions) {
|
|
607
568
|
var _a, _b, _c;
|
|
608
569
|
return __awaiter(this, void 0, void 0, function () {
|
|
609
570
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
610
571
|
return __generator(this, function (_d) {
|
|
611
572
|
switch (_d.label) {
|
|
612
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.moveViolationV1(id, violationreassigninput,
|
|
573
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.moveViolationV1(id, violationreassigninput, axiosOptions)];
|
|
613
574
|
case 1:
|
|
614
575
|
localVarAxiosArgs = _d.sent();
|
|
615
576
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -624,17 +585,16 @@ var SODViolationsApiFp = function (configuration) {
|
|
|
624
585
|
* @summary Apply control to violation
|
|
625
586
|
* @param {string} id The ID of the policy violation to fetch
|
|
626
587
|
* @param {Appliedcontrolcreate} appliedcontrolcreate Data needed to apply a control to a Policy Violation
|
|
627
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
628
588
|
* @param {*} [axiosOptions] Override http request option.
|
|
629
589
|
* @throws {RequiredError}
|
|
630
590
|
*/
|
|
631
|
-
startApplyControlV1: function (id, appliedcontrolcreate,
|
|
591
|
+
startApplyControlV1: function (id, appliedcontrolcreate, axiosOptions) {
|
|
632
592
|
var _a, _b, _c;
|
|
633
593
|
return __awaiter(this, void 0, void 0, function () {
|
|
634
594
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
635
595
|
return __generator(this, function (_d) {
|
|
636
596
|
switch (_d.label) {
|
|
637
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.startApplyControlV1(id, appliedcontrolcreate,
|
|
597
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.startApplyControlV1(id, appliedcontrolcreate, axiosOptions)];
|
|
638
598
|
case 1:
|
|
639
599
|
localVarAxiosArgs = _d.sent();
|
|
640
600
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -708,7 +668,7 @@ var SODViolationsApiFactory = function (configuration, basePath, axios) {
|
|
|
708
668
|
* @throws {RequiredError}
|
|
709
669
|
*/
|
|
710
670
|
getViolationV1: function (requestParameters, axiosOptions) {
|
|
711
|
-
return localVarFp.getViolationV1(requestParameters.id,
|
|
671
|
+
return localVarFp.getViolationV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
712
672
|
},
|
|
713
673
|
/**
|
|
714
674
|
* Returns a paged list of policy violations where the current user is the owner (directly assigned or via a governance group they belong to). No permission scope is required; caller identity is required. Supports the same collection parameters as GET /violations (limit, offset, count, filters, sorters), including the same filter field whitelist and processing (normalization, pruning of not-yet-persisted name predicates). The owner filter is implicit (current user); **do not** use `ownerId` in filters for this endpoint. Embedded references in each violation follow `ReferenceResponse` (`id`, `type`, and optional `name` when metadata resolves).
|
|
@@ -719,7 +679,7 @@ var SODViolationsApiFactory = function (configuration, basePath, axios) {
|
|
|
719
679
|
*/
|
|
720
680
|
listMyViolationsV1: function (requestParameters, axiosOptions) {
|
|
721
681
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
722
|
-
return localVarFp.listMyViolationsV1(requestParameters.
|
|
682
|
+
return localVarFp.listMyViolationsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
723
683
|
},
|
|
724
684
|
/**
|
|
725
685
|
* Returns a paged list of policy violations for the current tenant. Requires the read scope (idn:sod-violation:read). This endpoint uses the standard collection parameters defined in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters/). This endpoint supports standard V3 collection parameters: `limit`, `offset`, `count`, `filters`, and `sorters`. Embedded references in each violation (`owner`, `target`, `policy`, and references inside `appliedControls`) follow the `ReferenceResponse` schema: `id` and `type` are always present; `name` is included when display metadata resolves. Filters and sorters are validated against a fixed whitelist of fields to ensure safe queries and to align with underlying database indexes.
|
|
@@ -730,7 +690,7 @@ var SODViolationsApiFactory = function (configuration, basePath, axios) {
|
|
|
730
690
|
*/
|
|
731
691
|
listViolationsV1: function (requestParameters, axiosOptions) {
|
|
732
692
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
733
|
-
return localVarFp.listViolationsV1(requestParameters.
|
|
693
|
+
return localVarFp.listViolationsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
734
694
|
},
|
|
735
695
|
/**
|
|
736
696
|
* Reassigns the specified policy violation to a new owner. Callers without the `idn:sod-violation:manage` scope may only reassign violations they own (directly, or via a governance group they belong to).
|
|
@@ -740,7 +700,7 @@ var SODViolationsApiFactory = function (configuration, basePath, axios) {
|
|
|
740
700
|
* @throws {RequiredError}
|
|
741
701
|
*/
|
|
742
702
|
moveViolationV1: function (requestParameters, axiosOptions) {
|
|
743
|
-
return localVarFp.moveViolationV1(requestParameters.id, requestParameters.violationreassigninput,
|
|
703
|
+
return localVarFp.moveViolationV1(requestParameters.id, requestParameters.violationreassigninput, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
744
704
|
},
|
|
745
705
|
/**
|
|
746
706
|
* Applies a compensating control to the specified policy violation. Callers without the `idn:sod-violation:manage` scope may only apply a control to violations they own (directly, or via a governance group they belong to).
|
|
@@ -750,7 +710,7 @@ var SODViolationsApiFactory = function (configuration, basePath, axios) {
|
|
|
750
710
|
* @throws {RequiredError}
|
|
751
711
|
*/
|
|
752
712
|
startApplyControlV1: function (requestParameters, axiosOptions) {
|
|
753
|
-
return localVarFp.startApplyControlV1(requestParameters.id, requestParameters.appliedcontrolcreate,
|
|
713
|
+
return localVarFp.startApplyControlV1(requestParameters.id, requestParameters.appliedcontrolcreate, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
754
714
|
},
|
|
755
715
|
/**
|
|
756
716
|
* This API is used to check if granting some additional accesses (entitlements, access profiles, or roles) would cause the subject to be in violation of any SOD policies. Returns the violations that would be caused.
|
|
@@ -796,7 +756,7 @@ var SODViolationsApi = /** @class */ (function (_super) {
|
|
|
796
756
|
*/
|
|
797
757
|
SODViolationsApi.prototype.getViolationV1 = function (requestParameters, axiosOptions) {
|
|
798
758
|
var _this = this;
|
|
799
|
-
return (0, exports.SODViolationsApiFp)(this.configuration).getViolationV1(requestParameters.id,
|
|
759
|
+
return (0, exports.SODViolationsApiFp)(this.configuration).getViolationV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
800
760
|
};
|
|
801
761
|
/**
|
|
802
762
|
* Returns a paged list of policy violations where the current user is the owner (directly assigned or via a governance group they belong to). No permission scope is required; caller identity is required. Supports the same collection parameters as GET /violations (limit, offset, count, filters, sorters), including the same filter field whitelist and processing (normalization, pruning of not-yet-persisted name predicates). The owner filter is implicit (current user); **do not** use `ownerId` in filters for this endpoint. Embedded references in each violation follow `ReferenceResponse` (`id`, `type`, and optional `name` when metadata resolves).
|
|
@@ -809,7 +769,7 @@ var SODViolationsApi = /** @class */ (function (_super) {
|
|
|
809
769
|
SODViolationsApi.prototype.listMyViolationsV1 = function (requestParameters, axiosOptions) {
|
|
810
770
|
var _this = this;
|
|
811
771
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
812
|
-
return (0, exports.SODViolationsApiFp)(this.configuration).listMyViolationsV1(requestParameters.
|
|
772
|
+
return (0, exports.SODViolationsApiFp)(this.configuration).listMyViolationsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
813
773
|
};
|
|
814
774
|
/**
|
|
815
775
|
* Returns a paged list of policy violations for the current tenant. Requires the read scope (idn:sod-violation:read). This endpoint uses the standard collection parameters defined in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters/). This endpoint supports standard V3 collection parameters: `limit`, `offset`, `count`, `filters`, and `sorters`. Embedded references in each violation (`owner`, `target`, `policy`, and references inside `appliedControls`) follow the `ReferenceResponse` schema: `id` and `type` are always present; `name` is included when display metadata resolves. Filters and sorters are validated against a fixed whitelist of fields to ensure safe queries and to align with underlying database indexes.
|
|
@@ -822,7 +782,7 @@ var SODViolationsApi = /** @class */ (function (_super) {
|
|
|
822
782
|
SODViolationsApi.prototype.listViolationsV1 = function (requestParameters, axiosOptions) {
|
|
823
783
|
var _this = this;
|
|
824
784
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
825
|
-
return (0, exports.SODViolationsApiFp)(this.configuration).listViolationsV1(requestParameters.
|
|
785
|
+
return (0, exports.SODViolationsApiFp)(this.configuration).listViolationsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
826
786
|
};
|
|
827
787
|
/**
|
|
828
788
|
* Reassigns the specified policy violation to a new owner. Callers without the `idn:sod-violation:manage` scope may only reassign violations they own (directly, or via a governance group they belong to).
|
|
@@ -834,7 +794,7 @@ var SODViolationsApi = /** @class */ (function (_super) {
|
|
|
834
794
|
*/
|
|
835
795
|
SODViolationsApi.prototype.moveViolationV1 = function (requestParameters, axiosOptions) {
|
|
836
796
|
var _this = this;
|
|
837
|
-
return (0, exports.SODViolationsApiFp)(this.configuration).moveViolationV1(requestParameters.id, requestParameters.violationreassigninput,
|
|
797
|
+
return (0, exports.SODViolationsApiFp)(this.configuration).moveViolationV1(requestParameters.id, requestParameters.violationreassigninput, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
838
798
|
};
|
|
839
799
|
/**
|
|
840
800
|
* Applies a compensating control to the specified policy violation. Callers without the `idn:sod-violation:manage` scope may only apply a control to violations they own (directly, or via a governance group they belong to).
|
|
@@ -846,7 +806,7 @@ var SODViolationsApi = /** @class */ (function (_super) {
|
|
|
846
806
|
*/
|
|
847
807
|
SODViolationsApi.prototype.startApplyControlV1 = function (requestParameters, axiosOptions) {
|
|
848
808
|
var _this = this;
|
|
849
|
-
return (0, exports.SODViolationsApiFp)(this.configuration).startApplyControlV1(requestParameters.id, requestParameters.appliedcontrolcreate,
|
|
809
|
+
return (0, exports.SODViolationsApiFp)(this.configuration).startApplyControlV1(requestParameters.id, requestParameters.appliedcontrolcreate, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
850
810
|
};
|
|
851
811
|
/**
|
|
852
812
|
* This API is used to check if granting some additional accesses (entitlements, access profiles, or roles) would cause the subject to be in violation of any SOD policies. Returns the violations that would be caused.
|