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

KeyDatatypeRequiredDescription
filterstringAllows 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"
sortBystringAllows sorting the results by a resource's attributes.<br/><br/>Example: sortBy="constraintName"
sortOrderstringDetermines what order to sort results in.<br/><br/>Example: sortOrder="descending"
startIndexstringDetermines the starting index of the result set.<br/><br/>Example: startIndex=1100
countstringSpecifies the number of results per page.<br/><br/>Example: count=10
attributesstringThe 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.
excludedAttributesstringThe 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;totalResults&quot;:86139932,&quot;startIndex&quot;:1,&quot;schemas&quot;:[&quot;urn:ietf:params:scim:api:messages:2.0:ListResponse&quot;],&quot;Resources&quot;:[{&quot;id&quot;:&quot;c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;policyName&quot;:&quot;Entitlement Policy with Details&quot;,&quot;constraintName&quot;:&quot;Entitlement Policy with Details&quot;,&quot;identity&quot;:{&quot;displayName&quot;:&quot;Bob Smith&quot;,&quot;value&quot;:&quot;c0a7778b7ef71e79817ee74e6a1f0444&quot;,&quot;$ref&quot;:&quot;http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444&quot;},&quot;owner&quot;:{&quot;displayName&quot;:&quot;Bob Smith&quot;,&quot;value&quot;:&quot;c0a7778b7ef71e79817ee74e6a1f0444&quot;,&quot;$ref&quot;:&quot;http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444&quot;},&quot;description&quot;:&quot;Production and development systems should not be available to one person.&quot;,&quot;status&quot;:&quot;Open&quot;,&quot;meta&quot;:{&quot;created&quot;:&quot;2022-02-11T01:34:04.074-05:00&quot;,&quot;location&quot;:&quot;http://localhost:8080/iiq/scim/v2/Users/c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;lastModified&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;version&quot;:&quot;W/\\\&quot;1644561244074\\\&quot;&quot;,&quot;resourceType&quot;:&quot;PolicyViolation&quot;},&quot;schemas&quot;:[&quot;urn:ietf:params:scim:schemas:sailpoint:1.0:PolicyViolation&quot;]},{&quot;id&quot;:&quot;c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;policyName&quot;:&quot;Entitlement Policy with Details&quot;,&quot;constraintName&quot;:&quot;Entitlement Policy with Details&quot;,&quot;identity&quot;:{&quot;displayName&quot;:&quot;Bob Smith&quot;,&quot;value&quot;:&quot;c0a7778b7ef71e79817ee74e6a1f0444&quot;,&quot;$ref&quot;:&quot;http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444&quot;},&quot;owner&quot;:{&quot;displayName&quot;:&quot;Bob Smith&quot;,&quot;value&quot;:&quot;c0a7778b7ef71e79817ee74e6a1f0444&quot;,&quot;$ref&quot;:&quot;http://localhost:8080/iiq/scim/v2/Users/c0a7778b7ef71e79817ee74e6a1f0444&quot;},&quot;description&quot;:&quot;Production and development systems should not be available to one person.&quot;,&quot;status&quot;:&quot;Open&quot;,&quot;meta&quot;:{&quot;created&quot;:&quot;2022-02-11T01:34:04.074-05:00&quot;,&quot;location&quot;:&quot;http://localhost:8080/iiq/scim/v2/Users/c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;lastModified&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;version&quot;:&quot;W/\\\&quot;1644561244074\\\&quot;&quot;,&quot;resourceType&quot;:&quot;PolicyViolation&quot;},&quot;schemas&quot;:[&quot;urn:ietf:params:scim:schemas:sailpoint:1.0:PolicyViolation&quot;]}]}