mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
Update to powershell SDK docs: 13122455471
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
---
|
||||
id: beta-sod-violations
|
||||
title: SODViolations
|
||||
@@ -9,7 +10,6 @@ slug: /tools/sdk/powershell/beta/methods/sod-violations
|
||||
tags: ['SDK', 'Software Development Kit', 'SODViolations', 'BetaSODViolations']
|
||||
---
|
||||
|
||||
|
||||
# SODViolations
|
||||
Use this API to check for current "separation of duties" (SOD) policy violations as well as potential future SOD policy violations.
|
||||
With SOD violation functionality in place, administrators can get information about current SOD policy violations and predict whether an access change will trigger new violations, which helps to prevent them from occurring at all.
|
||||
@@ -38,9 +38,7 @@ Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**Start-BetaPredictSodViolations**](#start-predict-sod-violations) | **POST** `/sod-violations/predict` | Predict SOD violations for identity.
|
||||
|
||||
|
||||
## start-predict-sod-violations
|
||||
|
||||
This API is used to check if granting some additional accesses would cause the subject to be in violation of any SOD policies. Returns the violations that would be caused.
|
||||
|
||||
A token with ORG_ADMIN or API authority is required to call this API.
|
||||
@@ -51,7 +49,6 @@ Param Type | Name | Data Type | Required | Description
|
||||
Body | IdentityWithNewAccess | [**IdentityWithNewAccess**](../models/identity-with-new-access) | True |
|
||||
|
||||
### Return type
|
||||
|
||||
[**ViolationPrediction**](../models/violation-prediction)
|
||||
|
||||
### Responses
|
||||
@@ -66,7 +63,6 @@ Code | Description | Data Type
|
||||
500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
@@ -84,7 +80,9 @@ $IdentityWithNewAccess = @"{
|
||||
"name" : "CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local"
|
||||
} ]
|
||||
}"@
|
||||
|
||||
# Predict SOD violations for identity.
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToIdentityWithNewAccess -Json $IdentityWithNewAccess
|
||||
Start-BetaPredictSodViolations-BetaIdentityWithNewAccess $Result
|
||||
@@ -96,7 +94,4 @@ try {
|
||||
Write-Host $_.ErrorDetails
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user