Retrieves all potential role summaries
GET/role-mining-potential-roles
Returns all potential role summaries that match the query parameters
Request
Query Parameters
Sort results using the standard syntax described in V3 API Standard Collection Parameters
Sorting is supported for the following fields: createdDate, identityCount, entitlementCount, freshness, quality
Filter results using the standard syntax described in V3 API Standard Collection Parameters
Filtering is supported for the following fields and operators:
createdById: eq, sw, co
createdByName: eq, sw, co
description: sw, co
endDate: le, lt
freshness: eq, ge, gt, le, lt
name: eq, sw, co, ge, gt, le, lt
quality: eq, ge, gt, le, lt
startDate: ge, gt
saved: eq
type: eq, ge, gt, le, lt
scopingMethod: eq
sessionState: eq
identityAttribute: co
Default value: 0
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Possible values: <= 250
Default value: 250
Max number of results to return. See V3 API Standard Collection Parameters for more information.
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored.
Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used.
See V3 API Standard Collection Parameters for more information.
Responses
- 200
- 400
- 401
- 403
- 429
- 500
Succeeded. Returns all potential role summaries that match the query parameters.
- application/json
- Schema
- Example (from schema)
Schema
Array [
- EntityCreatedByDTO
- NullableEntityCreatedByDTO
]
Id of the potential role
Name of the potential role
potentialRoleRef
object
Details about the potential role
Id of the potential role
Name of the potential role
The number of identities in a potential role.
The number of entitlements in a potential role.
The status for this identity group which can be "REQUESTED" or "OBTAINED"
Possible values: [POTENTIAL
, PENDING
, COMPLETE
, FAILED
]
The status of provisioning for this potential role. Can be "POTENTIAL", "PENDING", "FAILED", or "COMPLETE".
ID of the provisioned role in IIQ or IDN. Null if this potential role has not been provisioned.
The density metric (0-100) of this potential role. Higher density values indicate higher similarity amongst the identities.
The freshness metric (0-100) of this potential role. Higher freshness values indicate this potential role is more distinctive compared to existing roles.
The quality metric (0-100) of this potential role. Higher quality values indicate this potential role has high density and freshness.
Possible values: [SPECIALIZED
, COMMON
]
Role mining potential type.
createdBy
object
The potential role created by details
oneOf
ID of the creator
The display name of the creator
Workaround to support null
string
The date-time when this potential role was created.
The potential role's saved status
Description of the potential role
session
object
The session parameters of the potential role.
The ID of the role mining session
The session's saved name
Minimum number of identities in a potential role
The prune threshold to be used or null to calculate prescribedPruneThreshold
Default value: true
The session's saved status
scope
object
The scope of identities for this role mining session
The list of identities for this role mining session.
The "search" criteria that produces the list of identities for this role mining session.
The filter criteria for this role mining session.
Possible values: [SPECIALIZED
, COMMON
]
Role mining potential type
Possible values: [CREATED
, UPDATED
, IDENTITIES_OBTAINED
, PRUNE_THRESHOLD_OBTAINED
, POTENTIAL_ROLES_PROCESSING
, POTENTIAL_ROLES_CREATED
]
Role mining session state
Possible values: [MANUAL
, AUTO_RM
]
Scoping method used in current role mining session
[
{
"id": "e0cc5d7d-bf7f-4f81-b2af-8885b09d9923",
"name": "Potential Role - e0cc5d",
"potentialRoleRef": {
"id": "e0cc5d7d-bf7f-4f81-b2af-8885b09d9923",
"name": "Potential Role - e0cc5d"
},
"identityCount": 25,
"entitlementCount": 15,
"identityGroupStatus": "OBTAINED",
"provisionState": "PENDING",
"roleId": "2a4be6fbcf3c4e66b95a0c15ffd591",
"density": 90,
"freshness": 70,
"quality": 80,
"type": "SPECIALIZED",
"createdBy": {},
"createdDate": "2024-07-29T15:51:28.071Z",
"saved": true,
"description": "string",
"session": {
"id": "9f36f5e5-1e81-4eca-b087-548959d91c71",
"name": "Saved RM Session - 07/10",
"minNumIdentitiesInPotentialRole": 20,
"pruneThreshold": 5,
"saved": true,
"scope": {
"identityIds": [],
"criteria": "source.name:DataScienceDataset",
"attributeFilterCriteria": {
"displayName": {
"untranslated": "Location: Miami"
},
"ariaLabel": {
"untranslated": "Location: Miami"
},
"data": {
"displayName": {
"translateKey": "IDN.IDENTITY_ATTRIBUTES.LOCATION"
},
"name": "location",
"operator": "EQUALS",
"values": [
"Miami"
]
}
}
},
"type": "SPECIALIZED",
"state": "CREATED",
"scopingMethod": "MANUAL"
}
}
]
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (from schema)
- 403
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (from schema)
- 500
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}