Returns a PolicyViolation resource based on id.
GET/PolicyViolations/:policyViolationId
The PolicyViolation resource with matching id is returned.
Request
Path Parameters
The id of the PolicyViolation.
Query Parameters
A comma-separated list of attributes to return in the response. This query parameter supersedes excludedAttributes, so providing the same attribute(s) to both will result in the attribute(s) being returned.
A comma-separated list of attributes to exclude from the response. Some attributes cannot be excluded.
Responses
- 200
Returns a PolicyViolation resource based on the id.
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
IdentityIQ id of the PolicyViolation.
Name of the Policy this PolicyViolation is associated with.
Name of the Constraint this PolicyViolation is associated with.
identity
object
The Identity (User) that caused the PolicyViolation.
Display name of the Identity that caused the PolicyViolation.
The id of the Identity which caused the PolicyViolation.
URI reference to the Identity (User).
owner
object
The User that owns the Policy.
Display name of the Policy owner.
The id of the Policy owner.
URI reference to the Policy owner.
Description of the PolicyViolation.
Status of the PolicyViolation. This can be Open, Mitigated, Remediated, or Delegated.
meta
Metadata of the resource.
Datetime this Resource was created.
The location of the resource.
Datetime the resource was last modified.
The version of the resource.
The SCIM resource type.
The schemas involved in the SCIM resource.
{
"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"
]
}
- Schema
- Example (from schema)
Schema
IdentityIQ id of the PolicyViolation.
Name of the Policy this PolicyViolation is associated with.
Name of the Constraint this PolicyViolation is associated with.
identity
object
The Identity (User) that caused the PolicyViolation.
Display name of the Identity that caused the PolicyViolation.
The id of the Identity which caused the PolicyViolation.
URI reference to the Identity (User).
owner
object
The User that owns the Policy.
Display name of the Policy owner.
The id of the Policy owner.
URI reference to the Policy owner.
Description of the PolicyViolation.
Status of the PolicyViolation. This can be Open, Mitigated, Remediated, or Delegated.
meta
Metadata of the resource.
Datetime this Resource was created.
The location of the resource.
Datetime the resource was last modified.
The version of the resource.
The SCIM resource type.
The schemas involved in the SCIM resource.
{
"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"
]
}