AccessRequestIdentityMetricsApi
Use this API to implement access request identity metrics functionality. With this functionality in place, access request reviewers can see relevant details about the requested access item and associated source activity. This allows reviewers to see how many of the identities who share a manager with the access requester have this same type of access and how many of them have had activity in the related source. This additional context about whether the access has been granted before and how often it has been used can help those approving access requests make more informed decisions.
All URIs are relative to https://sailpoint.api.identitynow.com
| Method | HTTP request | Description |
|---|---|---|
| get-access-request-identity-metrics-v1 | GET /access-request-identity-metrics/v1/{identityId}/requested-objects/{requestedObjectId}/type/{type} | Return access request identity metrics |
get-access-request-identity-metrics-v1
Return access request identity metrics Use this API to return information access metrics.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityId | string | Manager's identity ID. | [default to undefined] |
| requestedObjectId | string | Requested access item's ID. | [default to undefined] |
| type | `'ENTITLEMENT' | 'ROLE' | 'ACCESS_PROFILE'` |
Return type
object
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
Example
import { AccessRequestIdentityMetricsApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';
const configuration = new Configuration();
const apiInstance = new AccessRequestIdentityMetricsApi(configuration);
const identityId: string = 7025c863-c270-4ba6-beea-edf3cb091573; // Manager\'s identity ID.
const requestedObjectId: string = 2db501be-f0fb-4cc5-a695-334133c52891; // Requested access item\'s ID.
const type: string = ENTITLEMENT; // Requested access item\'s type.
const result = await apiInstance.getAccessRequestIdentityMetricsV1({ identityId: identityId, requestedObjectId: requestedObjectId, type: type });
console.log(result);