Returns all PolicyViolation resources.​
This endpoint returns all PolicyViolation resources.
Query Parameters
- filter string
Allows for query filters according to RFC-7644, Section 3.4.2.2 - not all operations are supported.
- sortBy string
Allows sorting the results by a resource's attributes.
- sortOrder string
Default value:
ascending
Determines what order to sort results in.
- startIndex integer
Default value:
1
Determines the starting index of the result set.
- count integer
Default value:
1000
Specifies the number of results per page.
- attributes string
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.
- excludedAttributes string
A comma-separated list of attributes to exclude from the response. Some attributes cannot be excluded.
- 200
Returns all PolicyViolation resources.
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
- totalResults integer
Number of PolicyViolation resources returned
- startIndex integer
The starting index of the resource set list. Can be specified with startIndex query parameter.
- schemas string[]
SCIM Schema used for response.
Resources undefined[]
id stringIdentityIQ id of the PolicyViolation.
policyName stringName of the Policy this PolicyViolation is associated with.
constraintName stringName of the Constraint this PolicyViolation is associated with.
identity object
The Identity (User) that caused the PolicyViolation.
displayName stringDisplay name of the Identity that caused the PolicyViolation.
value stringThe id of the Identity which caused the PolicyViolation.
$ref stringURI reference to the Identity (User).
owner object
The User that owns the Policy.
displayName stringDisplay name of the Policy owner.
value stringThe id of the Policy owner.
$ref stringURI reference to the Policy owner.
description stringDescription of the PolicyViolation.
status stringStatus of the PolicyViolation. This can be Open, Mitigated, Remediated, or Delegated.
meta
Metadata of the resource.
created date-timeDatetime this Resource was created.
location stringThe location of the resource.
lastModified date-timeDatetime the resource was last modified.
version stringThe version of the resource.
resourceType stringThe SCIM resource type.
schemas string[]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
- totalResults integer
Number of PolicyViolation resources returned.
- startIndex integer
The starting index of the resource set list. Can be specified with startIndex query parameter.
- schemas string[]
SCIM Schema used for response.
Resources undefined[]
The SCIM resources returned for this endpoint.
id stringIdentityIQ id of the PolicyViolation.
policyName stringName of the Policy this PolicyViolation is associated with.
constraintName stringName of the Constraint this PolicyViolation is associated with.
identity object
The Identity (User) that caused the PolicyViolation.
displayName stringDisplay name of the Identity that caused the PolicyViolation.
value stringThe id of the Identity which caused the PolicyViolation.
$ref stringURI reference to the Identity (User).
owner object
The User that owns the Policy.
displayName stringDisplay name of the Policy owner.
value stringThe id of the Policy owner.
$ref stringURI reference to the Policy owner.
description stringDescription of the PolicyViolation.
status stringStatus of the PolicyViolation. This can be Open, Mitigated, Remediated, or Delegated.
meta
Metadata of the resource.
created date-timeDatetime this Resource was created.
location stringThe location of the resource.
lastModified date-timeDatetime the resource was last modified.
version stringThe version of the resource.
resourceType stringThe SCIM resource type.
schemas string[]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"
]
}
]
}