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
Key | Datatype | Required | Description |
---|---|---|---|
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
{"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"]}