Returns all PolicyViolation resources.
GET/PolicyViolations
This endpoint returns all PolicyViolation resources.
Request
Query Parameters
Allows for query filters according to RFC-7644, Section 3.4.2.2 - not all operations are supported.
Allows sorting the results by a resource's attributes.
Default value: ascending
Determines what order to sort results in.
Default value: 1
Determines the starting index of the result set.
Default value: 1000
Specifies the number of results per page.
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 all PolicyViolation resources.
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
Array [
]
Number of PolicyViolation resources returned
The starting index of the resource set list. Can be specified with startIndex query parameter.
SCIM Schema used for response.
Resources
undefined[]
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.
{
"totalResults": "18,",
"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"
]
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
Number of PolicyViolation resources returned.
The starting index of the resource set list. Can be specified with startIndex query parameter.
SCIM Schema used for response.
Resources
undefined[]
The SCIM resources returned for this endpoint.
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.
{
"totalResults": "1500,",
"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"
]
}
]
}