Returns all PolicyViolation resources.
GET {{baseUrl}}/PolicyViolations?filter=<string>&sortBy=<string>&sortOrder=<string>&startIndex=<integer>&count=<integer>&attributes=<string>&excludedAttributes=<string>
This endpoint returns all PolicyViolation resources.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filter | string | Allows for query filters according to RFC-7644, Section 3.4.2.2 - not all operations are supported.<br/><br/>Example: filter=constraintName eq "Mock Constraint" | |
sortBy | string | Allows sorting the results by a resource's attributes.<br/><br/>Example: sortBy="constraintName" | |
sortOrder | string | Determines what order to sort results in.<br/><br/>Example: sortOrder="descending" | |
startIndex | string | Determines the starting index of the result set.<br/><br/>Example: startIndex=1100 | |
count | string | Specifies the number of results per page.<br/><br/>Example: count=10 | |
attributes | string | The PolicyViolation attributes to include in the response. The query parameter value is a comma-separated list of fields to be returned in the response for each PolicyViolation.<br/><br/>Example: attributes=policyName,constraintName<br/><br/> The attributes listed will be the only ones returned in the response, with the exception of id, schemas, and meta, which are always returned for a PolicyViolation. | |
excludedAttributes | string | The PolicyViolation attributes to exclude from the response. The query parameter value is a comma-separated list of fields to be excluded from the response for each PolicyViolation.<br/><br/>Example: excludedAttributes=policyName,constraintName<br/><br/> The attributes listed will be the only ones excluded from the response, with the exception of id, schemas, and meta, which are always returned for a PolicyViolation. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"totalResults":86139932,"startIndex":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":[{"id":"c0b4568a4fe7458c434ee77d1fbt156b","policyName":"Entitlement Policy with Details","constraintName":"Entitlement Policy with Details","identity":{"displayName":"Bob Smith","value":"c0a7778b7ef71e79817ee74e6a1f0444","$ref":"http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444"},"owner":{"displayName":"Bob Smith","value":"c0a7778b7ef71e79817ee74e6a1f0444","$ref":"http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444"},"description":"Production and development systems should not be available to one person.","status":"Open","meta":{"created":"2022-02-11T01:34:04.074-05:00","location":"http://localhost:8080/iiq/scim/v2/Users/c0b4568a4fe7458c434ee77d1fbt156b","lastModified":"2022-02-11T01:08:45.866-05:00","version":"W/\\\"1644561244074\\\"","resourceType":"PolicyViolation"},"schemas":["urn:ietf:params:scim:schemas:sailpoint:1.0:PolicyViolation"]},{"id":"c0b4568a4fe7458c434ee77d1fbt156b","policyName":"Entitlement Policy with Details","constraintName":"Entitlement Policy with Details","identity":{"displayName":"Bob Smith","value":"c0a7778b7ef71e79817ee74e6a1f0444","$ref":"http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444"},"owner":{"displayName":"Bob Smith","value":"c0a7778b7ef71e79817ee74e6a1f0444","$ref":"http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444"},"description":"Production and development systems should not be available to one person.","status":"Open","meta":{"created":"2022-02-11T01:34:04.074-05:00","location":"http://localhost:8080/iiq/scim/v2/Users/c0b4568a4fe7458c434ee77d1fbt156b","lastModified":"2022-02-11T01:08:45.866-05:00","version":"W/\\\"1644561244074\\\"","resourceType":"PolicyViolation"},"schemas":["urn:ietf:params:scim:schemas:sailpoint:1.0:PolicyViolation"]}]}