Returns a PolicyViolation resource based on ID.

GET {{baseUrl}}/PolicyViolations/:policyViolationId?attributes=<string>&excludedAttributes=<string>

The PolicyViolation resource with matching ID is returned.

Request Params

KeyDatatypeRequiredDescription
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;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;]}