Skip to main content

Runs SOD policy violation report

POST 

https://sailpoint.api.identitynow.com/v3/sod-policies/:id/violation-report/run

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.

Request

Path Parameters

    id stringrequired

    The SOD policy ID to run.

    Example: ef38f943-47e9-4562-b5bb-8424a56397d8

Responses

Reference to the violation report run task.

Schema
    typestring

    SOD policy violation report result DTO type.

    Possible values: [REPORT_RESULT]

    Example: REPORT_RESULT
    idstring

    SOD policy violation report result ID.

    Example: 2c9180835d191a86015d28455b4b232a
    namestring

    Human-readable name of the SOD policy violation report result.

    Example: SOD Policy 1 Violation
    statusstring

    Status of a SOD policy violation report.

    Possible values: [SUCCESS, WARNING, ERROR, TERMINATED, TEMP_ERROR, PENDING]

    Example: PENDING

Authorization: oauth2

type: Personal Access Token
scopes: idn:sod-violation:write
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/v3/sod-policies/:id/violation-report/run"
method := "POST"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v3
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!