Single View with Application
The following are Autonomous Identity single view with applications endpoints:
- POST employees
Get an employee's entitlements and statistics.
Endpoint
/api/singleViewWithApp/employees
Authorization
Bearer Token <JWT-value>
Body
{ "employeeId": "elizabeth.saiz", "includeLastAccessed": true, "pageSize": 5 }
Example Request
curl --location --request POST '/api//singleViewWithApp/employees' \ --header 'Content-Type: application/json' \ --data-raw '{ "employeeId": "elizabeth.saiz", "pageSize": 2, "lastEntitlementId": "0ff681de-ee83-4ab1-82b5-d1cd754a7e28" }'
Example Response
{ "high": 0, "medium": 1, "low": 1, "avg_score": 0.25, "app_name": "", "app_id": "", "entitlement_name": "", "high_risk": null, "userEntt": [ { "user": "elizabeth.saiz", "entitlement": "192aed21-a7d1-40c3-87a3-9dfa4a3d21f5", "app_id": "null", "app_name": "test3", "entitlement_name": "null", "freq": null, "frequnion": null, "high_risk": "null", "justification": [], "score": 0.1, "user_name": "alpha" }, { "user": "elizabeth.saiz", "entitlement": "36bad416-d42c-47c2-991e-623aa3833028", "app_id": "null", "app_name": "test6", "entitlement_name": "null", "freq": null, "frequnion": null, "high_risk": "null", "justification": [], "score": 0.4, "user_name": "vce" } ], "user": "elizabeth.saiz", "entitlementsCount": 14, "entitlementsRemainingCount": 10, "lastEntitlementId": "36bad416-d42c-47c2-991e-623aa3833028" }
- GET entitlements/:entitlementId
Get an entitlement's statistics and list of assigned users.
Endpoint
/api/singleViewWithApp/entitlements/0ac4b36b-20d9-4848-a923-0084a7aa581d
Authorization
Bearer Token <JWT-value>
Body
pageSize 2 lastUserId bgs sortDir desc onlyLM 1
Example Request
curl --location --request GET '/api//singleViewWithApp/entitlements/0ac4b36b-20d9-4848-a923-0084a7aa581d?pageSize=2' \ --header 'Content-Type: application/json'
Example Response
{ "high": 0, "medium": 2, "low": 0, "avg_score": 0.6, "app_name": "app16", "app_id": "null", "entitlement_name": "null", "high_risk": "null", "enntId": "0ac4b36b-20d9-4848-a923-0084a7aa581d", "users": [ { "user": "elizabeth.saiz", "app_id": "null", "freq": null, "frequnion": null, "justification": [], "score": 0.7, "user_name": "eliz" }, { "user": "fred", "app_id": "null", "freq": null, "frequnion": null, "justification": [], "score": 0.5, "user_name": "fred" } ], "usersCount": 12, "usersRemainingCount": 8, "lastUserId": "fred" }