Skip to main content

Get multi-report run task status

GET 

https://sailpoint.api.identitynow.com/beta/sod-violation-report

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

This endpoint gets the status for a violation report for all policy run. Requires role of ORG_ADMIN.

Responses

Status of the violation report run task for all policy run.

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:read
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/beta/sod-violation-report"
method := "GET"

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/beta
Auth
ResponseClear

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