mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 20:37:46 +00:00
Update python SDK docs: 15116515953
This commit is contained in:
@@ -41,29 +41,29 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/beta*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create-sod-policy**](#create-sod-policy) | **POST** `/sod-policies` | Create SOD policy
|
||||
[**delete-sod-policy**](#delete-sod-policy) | **DELETE** `/sod-policies/{id}` | Delete SOD policy by ID
|
||||
[**delete-sod-policy-schedule**](#delete-sod-policy-schedule) | **DELETE** `/sod-policies/{id}/schedule` | Delete SOD policy schedule
|
||||
[**create-sod-policy**](#create-sod-policy) | **POST** `/sod-policies` | Create sod policy
|
||||
[**delete-sod-policy**](#delete-sod-policy) | **DELETE** `/sod-policies/{id}` | Delete sod policy by id
|
||||
[**delete-sod-policy-schedule**](#delete-sod-policy-schedule) | **DELETE** `/sod-policies/{id}/schedule` | Delete sod policy schedule
|
||||
[**get-custom-violation-report**](#get-custom-violation-report) | **GET** `/sod-violation-report/{reportResultId}/download/{fileName}` | Download custom violation report
|
||||
[**get-default-violation-report**](#get-default-violation-report) | **GET** `/sod-violation-report/{reportResultId}/download` | Download violation report
|
||||
[**get-sod-all-report-run-status**](#get-sod-all-report-run-status) | **GET** `/sod-violation-report` | Get multi-report run task status
|
||||
[**get-sod-policy**](#get-sod-policy) | **GET** `/sod-policies/{id}` | Get SOD policy by ID
|
||||
[**get-sod-policy-schedule**](#get-sod-policy-schedule) | **GET** `/sod-policies/{id}/schedule` | Get SOD policy schedule
|
||||
[**get-sod-policy**](#get-sod-policy) | **GET** `/sod-policies/{id}` | Get sod policy by id
|
||||
[**get-sod-policy-schedule**](#get-sod-policy-schedule) | **GET** `/sod-policies/{id}/schedule` | Get sod policy schedule
|
||||
[**get-sod-violation-report-run-status**](#get-sod-violation-report-run-status) | **GET** `/sod-policies/sod-violation-report-status/{reportResultId}` | Get violation report run status
|
||||
[**get-sod-violation-report-status**](#get-sod-violation-report-status) | **GET** `/sod-policies/{id}/violation-report` | Get SOD violation report status
|
||||
[**list-sod-policies**](#list-sod-policies) | **GET** `/sod-policies` | List SOD policies
|
||||
[**patch-sod-policy**](#patch-sod-policy) | **PATCH** `/sod-policies/{id}` | Patch a SOD policy
|
||||
[**put-policy-schedule**](#put-policy-schedule) | **PUT** `/sod-policies/{id}/schedule` | Update SOD Policy schedule
|
||||
[**put-sod-policy**](#put-sod-policy) | **PUT** `/sod-policies/{id}` | Update SOD policy by ID
|
||||
[**get-sod-violation-report-status**](#get-sod-violation-report-status) | **GET** `/sod-policies/{id}/violation-report` | Get sod violation report status
|
||||
[**list-sod-policies**](#list-sod-policies) | **GET** `/sod-policies` | List sod policies
|
||||
[**patch-sod-policy**](#patch-sod-policy) | **PATCH** `/sod-policies/{id}` | Patch a sod policy
|
||||
[**put-policy-schedule**](#put-policy-schedule) | **PUT** `/sod-policies/{id}/schedule` | Update sod policy schedule
|
||||
[**put-sod-policy**](#put-sod-policy) | **PUT** `/sod-policies/{id}` | Update sod policy by id
|
||||
[**start-sod-all-policies-for-org**](#start-sod-all-policies-for-org) | **POST** `/sod-violation-report/run` | Runs all policies for org
|
||||
[**start-sod-policy**](#start-sod-policy) | **POST** `/sod-policies/{id}/violation-report/run` | Runs SOD policy violation report
|
||||
[**start-sod-policy**](#start-sod-policy) | **POST** `/sod-policies/{id}/violation-report/run` | Runs sod policy violation report
|
||||
|
||||
|
||||
## create-sod-policy
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Create SOD policy
|
||||
Create sod policy
|
||||
This creates both General and Conflicting Access Based policy, with a limit of 50 entitlements for each (left & right) criteria for Conflicting Access Based SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -161,7 +161,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # SodPolicy |
|
||||
|
||||
try:
|
||||
# Create SOD policy
|
||||
# Create sod policy
|
||||
new_sod_policy = SodPolicy.from_json(sod_policy)
|
||||
results = SODPoliciesApi(api_client).create_sod_policy(sod_policy=new_sod_policy)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -180,7 +180,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Delete SOD policy by ID
|
||||
Delete sod policy by id
|
||||
This deletes a specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -225,7 +225,7 @@ with ApiClient(configuration) as api_client:
|
||||
logical = True # bool | Indicates whether this is a soft delete (logical true) or a hard delete. (optional) (default to True) # bool | Indicates whether this is a soft delete (logical true) or a hard delete. (optional) (default to True)
|
||||
|
||||
try:
|
||||
# Delete SOD policy by ID
|
||||
# Delete sod policy by id
|
||||
|
||||
SODPoliciesApi(api_client).delete_sod_policy(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -242,7 +242,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Delete SOD policy schedule
|
||||
Delete sod policy schedule
|
||||
This deletes schedule for a specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -285,7 +285,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the SOD policy the schedule must be deleted for. # str | The ID of the SOD policy the schedule must be deleted for.
|
||||
|
||||
try:
|
||||
# Delete SOD policy schedule
|
||||
# Delete sod policy schedule
|
||||
|
||||
SODPoliciesApi(api_client).delete_sod_policy_schedule(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -486,7 +486,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get SOD policy by ID
|
||||
Get sod policy by id
|
||||
This gets specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -530,7 +530,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the object reference to retrieve. # str | The ID of the object reference to retrieve.
|
||||
|
||||
try:
|
||||
# Get SOD policy by ID
|
||||
# Get sod policy by id
|
||||
|
||||
results = SODPoliciesApi(api_client).get_sod_policy(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -549,7 +549,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get SOD policy schedule
|
||||
Get sod policy schedule
|
||||
This endpoint gets a specified SOD policy's schedule.
|
||||
Requires the role of ORG_ADMIN.
|
||||
|
||||
@@ -592,7 +592,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the object reference to retrieve. # str | The ID of the object reference to retrieve.
|
||||
|
||||
try:
|
||||
# Get SOD policy schedule
|
||||
# Get sod policy schedule
|
||||
|
||||
results = SODPoliciesApi(api_client).get_sod_policy_schedule(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -674,7 +674,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get SOD violation report status
|
||||
Get sod violation report status
|
||||
This gets the status for a violation report run task that has already been invoked.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -718,7 +718,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | The ID of the object reference to retrieve. # str | The ID of the object reference to retrieve.
|
||||
|
||||
try:
|
||||
# Get SOD violation report status
|
||||
# Get sod violation report status
|
||||
|
||||
results = SODPoliciesApi(api_client).get_sod_violation_report_status(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -737,7 +737,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
List SOD policies
|
||||
List sod policies
|
||||
This gets list of all SOD policies.
|
||||
Requires role of ORG_ADMIN
|
||||
|
||||
@@ -788,7 +788,7 @@ with ApiClient(configuration) as api_client:
|
||||
sorters = 'id,name' # str | 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: **id, name, created, modified, description** (optional) # str | 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: **id, name, created, modified, description** (optional)
|
||||
|
||||
try:
|
||||
# List SOD policies
|
||||
# List sod policies
|
||||
|
||||
results = SODPoliciesApi(api_client).list_sod_policies()
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -808,7 +808,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Patch a SOD policy
|
||||
Patch a sod policy
|
||||
Allows updating SOD Policy fields other than ["id","created","creatorId","policyQuery","type"] using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
Requires role of ORG_ADMIN.
|
||||
This endpoint can only patch CONFLICTING_ACCESS_BASED type policies. Do not use this endpoint to patch general policies - doing so will build an API exception.
|
||||
@@ -855,7 +855,7 @@ with ApiClient(configuration) as api_client:
|
||||
request_body = '''[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]''' # List[object] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria
|
||||
|
||||
try:
|
||||
# Patch a SOD policy
|
||||
# Patch a sod policy
|
||||
new_request_body = RequestBody.from_json(request_body)
|
||||
results = SODPoliciesApi(api_client).patch_sod_policy(id=id, request_body=new_request_body)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -874,7 +874,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Update SOD Policy schedule
|
||||
Update sod policy schedule
|
||||
This updates schedule for a specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -1004,7 +1004,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # SodPolicySchedule |
|
||||
|
||||
try:
|
||||
# Update SOD Policy schedule
|
||||
# Update sod policy schedule
|
||||
new_sod_policy_schedule = SodPolicySchedule.from_json(sod_policy_schedule)
|
||||
results = SODPoliciesApi(api_client).put_policy_schedule(id=id, sod_policy_schedule=new_sod_policy_schedule)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1023,7 +1023,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Update SOD policy by ID
|
||||
Update sod policy by id
|
||||
This updates a specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -1124,7 +1124,7 @@ with ApiClient(configuration) as api_client:
|
||||
}''' # SodPolicy |
|
||||
|
||||
try:
|
||||
# Update SOD policy by ID
|
||||
# Update sod policy by id
|
||||
new_sod_policy = SodPolicy.from_json(sod_policy)
|
||||
results = SODPoliciesApi(api_client).put_sod_policy(id=id, sod_policy=new_sod_policy)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -1208,7 +1208,7 @@ with ApiClient(configuration) as api_client:
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Runs SOD policy violation report
|
||||
Runs sod policy violation report
|
||||
This invokes processing of violation report for given SOD policy. If the policy reports more than 5000 violations, the report returns with violation limit exceeded message.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
@@ -1252,7 +1252,7 @@ with ApiClient(configuration) as api_client:
|
||||
id = 'ef38f94347e94562b5bb8424a56397d8' # str | The SOD policy ID to run. # str | The SOD policy ID to run.
|
||||
|
||||
try:
|
||||
# Runs SOD policy violation report
|
||||
# Runs sod policy violation report
|
||||
|
||||
results = SODPoliciesApi(api_client).start_sod_policy(id=id)
|
||||
# Below is a request that includes all optional parameters
|
||||
|
||||
Reference in New Issue
Block a user