identityscope 0.0.0-stage → 0.28.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +916 -2
  3. package/SECURITY.md +56 -0
  4. package/dist/core/audit-readiness.d.ts +158 -0
  5. package/dist/core/audit-readiness.js +357 -0
  6. package/dist/core/audit-readiness.js.map +1 -0
  7. package/dist/core/certs.d.ts +68 -0
  8. package/dist/core/certs.js +132 -0
  9. package/dist/core/certs.js.map +1 -0
  10. package/dist/core/checks.d.ts +133 -0
  11. package/dist/core/checks.js +512 -0
  12. package/dist/core/checks.js.map +1 -0
  13. package/dist/core/cloud-rules.d.ts +20 -0
  14. package/dist/core/cloud-rules.js +44 -0
  15. package/dist/core/cloud-rules.js.map +1 -0
  16. package/dist/core/compare.d.ts +45 -0
  17. package/dist/core/compare.js +372 -0
  18. package/dist/core/compare.js.map +1 -0
  19. package/dist/core/conditions.d.ts +10 -0
  20. package/dist/core/conditions.js +201 -0
  21. package/dist/core/conditions.js.map +1 -0
  22. package/dist/core/credentials.d.ts +71 -0
  23. package/dist/core/credentials.js +211 -0
  24. package/dist/core/credentials.js.map +1 -0
  25. package/dist/core/datasets.d.ts +53 -0
  26. package/dist/core/datasets.js +596 -0
  27. package/dist/core/datasets.js.map +1 -0
  28. package/dist/core/definition.d.ts +32 -0
  29. package/dist/core/definition.js +301 -0
  30. package/dist/core/definition.js.map +1 -0
  31. package/dist/core/discover.d.ts +32 -0
  32. package/dist/core/discover.js +105 -0
  33. package/dist/core/discover.js.map +1 -0
  34. package/dist/core/engine.d.ts +18 -0
  35. package/dist/core/engine.js +290 -0
  36. package/dist/core/engine.js.map +1 -0
  37. package/dist/core/fields.d.ts +16 -0
  38. package/dist/core/fields.js +132 -0
  39. package/dist/core/fields.js.map +1 -0
  40. package/dist/core/governance-trail.d.ts +211 -0
  41. package/dist/core/governance-trail.js +557 -0
  42. package/dist/core/governance-trail.js.map +1 -0
  43. package/dist/core/http-transport.d.ts +66 -0
  44. package/dist/core/http-transport.js +247 -0
  45. package/dist/core/http-transport.js.map +1 -0
  46. package/dist/core/index.d.ts +13 -0
  47. package/dist/core/index.js +16 -0
  48. package/dist/core/index.js.map +1 -0
  49. package/dist/core/insights.d.ts +176 -0
  50. package/dist/core/insights.js +417 -0
  51. package/dist/core/insights.js.map +1 -0
  52. package/dist/core/joiner-evidence.d.ts +98 -0
  53. package/dist/core/joiner-evidence.js +254 -0
  54. package/dist/core/joiner-evidence.js.map +1 -0
  55. package/dist/core/lab/credential-map.d.ts +50 -0
  56. package/dist/core/lab/credential-map.js +163 -0
  57. package/dist/core/lab/credential-map.js.map +1 -0
  58. package/dist/core/lab/javadate.d.ts +7 -0
  59. package/dist/core/lab/javadate.js +307 -0
  60. package/dist/core/lab/javadate.js.map +1 -0
  61. package/dist/core/lab/jsonpath.d.ts +11 -0
  62. package/dist/core/lab/jsonpath.js +273 -0
  63. package/dist/core/lab/jsonpath.js.map +1 -0
  64. package/dist/core/lab/policy-preview.d.ts +43 -0
  65. package/dist/core/lab/policy-preview.js +78 -0
  66. package/dist/core/lab/policy-preview.js.map +1 -0
  67. package/dist/core/lab/rfc5646.d.ts +2 -0
  68. package/dist/core/lab/rfc5646.js +421 -0
  69. package/dist/core/lab/rfc5646.js.map +1 -0
  70. package/dist/core/lab/transform-impact.d.ts +63 -0
  71. package/dist/core/lab/transform-impact.js +138 -0
  72. package/dist/core/lab/transform-impact.js.map +1 -0
  73. package/dist/core/lab/transform-people.d.ts +61 -0
  74. package/dist/core/lab/transform-people.js +132 -0
  75. package/dist/core/lab/transform-people.js.map +1 -0
  76. package/dist/core/lab/transforms.d.ts +79 -0
  77. package/dist/core/lab/transforms.js +738 -0
  78. package/dist/core/lab/transforms.js.map +1 -0
  79. package/dist/core/lab/velocity.d.ts +33 -0
  80. package/dist/core/lab/velocity.js +874 -0
  81. package/dist/core/lab/velocity.js.map +1 -0
  82. package/dist/core/lab/workflow-health.d.ts +80 -0
  83. package/dist/core/lab/workflow-health.js +234 -0
  84. package/dist/core/lab/workflow-health.js.map +1 -0
  85. package/dist/core/lab/workflows.d.ts +87 -0
  86. package/dist/core/lab/workflows.js +568 -0
  87. package/dist/core/lab/workflows.js.map +1 -0
  88. package/dist/core/lifecycle-gaps.d.ts +192 -0
  89. package/dist/core/lifecycle-gaps.js +389 -0
  90. package/dist/core/lifecycle-gaps.js.map +1 -0
  91. package/dist/core/logs.d.ts +145 -0
  92. package/dist/core/logs.js +342 -0
  93. package/dist/core/logs.js.map +1 -0
  94. package/dist/core/lookup.d.ts +129 -0
  95. package/dist/core/lookup.js +289 -0
  96. package/dist/core/lookup.js.map +1 -0
  97. package/dist/core/model-insights.d.ts +247 -0
  98. package/dist/core/model-insights.js +474 -0
  99. package/dist/core/model-insights.js.map +1 -0
  100. package/dist/core/narrow.d.ts +23 -0
  101. package/dist/core/narrow.js +137 -0
  102. package/dist/core/narrow.js.map +1 -0
  103. package/dist/core/nerm.d.ts +154 -0
  104. package/dist/core/nerm.js +397 -0
  105. package/dist/core/nerm.js.map +1 -0
  106. package/dist/core/operations-watch.d.ts +232 -0
  107. package/dist/core/operations-watch.js +491 -0
  108. package/dist/core/operations-watch.js.map +1 -0
  109. package/dist/core/output/csv.d.ts +6 -0
  110. package/dist/core/output/csv.js +22 -0
  111. package/dist/core/output/csv.js.map +1 -0
  112. package/dist/core/output/html.d.ts +11 -0
  113. package/dist/core/output/html.js +66 -0
  114. package/dist/core/output/html.js.map +1 -0
  115. package/dist/core/output/xlsx.d.ts +3 -0
  116. package/dist/core/output/xlsx.js +130 -0
  117. package/dist/core/output/xlsx.js.map +1 -0
  118. package/dist/core/output/zip.d.ts +16 -0
  119. package/dist/core/output/zip.js +106 -0
  120. package/dist/core/output/zip.js.map +1 -0
  121. package/dist/core/ownership.d.ts +39 -0
  122. package/dist/core/ownership.js +100 -0
  123. package/dist/core/ownership.js.map +1 -0
  124. package/dist/core/patterns.d.ts +11 -0
  125. package/dist/core/patterns.js +31 -0
  126. package/dist/core/patterns.js.map +1 -0
  127. package/dist/core/preview.d.ts +96 -0
  128. package/dist/core/preview.js +173 -0
  129. package/dist/core/preview.js.map +1 -0
  130. package/dist/core/roles.d.ts +125 -0
  131. package/dist/core/roles.js +420 -0
  132. package/dist/core/roles.js.map +1 -0
  133. package/dist/core/tenant.d.ts +67 -0
  134. package/dist/core/tenant.js +194 -0
  135. package/dist/core/tenant.js.map +1 -0
  136. package/dist/core/threat-signals.d.ts +112 -0
  137. package/dist/core/threat-signals.js +250 -0
  138. package/dist/core/threat-signals.js.map +1 -0
  139. package/dist/core/threat-watch.d.ts +144 -0
  140. package/dist/core/threat-watch.js +282 -0
  141. package/dist/core/threat-watch.js.map +1 -0
  142. package/dist/core/transport.d.ts +82 -0
  143. package/dist/core/transport.js +312 -0
  144. package/dist/core/transport.js.map +1 -0
  145. package/dist/core/types.d.ts +137 -0
  146. package/dist/core/types.js +10 -0
  147. package/dist/core/types.js.map +1 -0
  148. package/dist/core/warnings.d.ts +236 -0
  149. package/dist/core/warnings.js +504 -0
  150. package/dist/core/warnings.js.map +1 -0
  151. package/dist/demo/tenant.d.ts +1572 -0
  152. package/dist/demo/tenant.js +1023 -0
  153. package/dist/demo/tenant.js.map +1 -0
  154. package/dist/node/attribute-history.d.ts +22 -0
  155. package/dist/node/attribute-history.js +86 -0
  156. package/dist/node/attribute-history.js.map +1 -0
  157. package/dist/node/changes.d.ts +20 -0
  158. package/dist/node/changes.js +78 -0
  159. package/dist/node/changes.js.map +1 -0
  160. package/dist/node/cli.d.ts +2 -0
  161. package/dist/node/cli.js +291 -0
  162. package/dist/node/cli.js.map +1 -0
  163. package/dist/node/config.d.ts +72 -0
  164. package/dist/node/config.js +203 -0
  165. package/dist/node/config.js.map +1 -0
  166. package/dist/node/credentials.d.ts +13 -0
  167. package/dist/node/credentials.js +24 -0
  168. package/dist/node/credentials.js.map +1 -0
  169. package/dist/node/delivery.d.ts +10 -0
  170. package/dist/node/delivery.js +105 -0
  171. package/dist/node/delivery.js.map +1 -0
  172. package/dist/node/doctor.d.ts +2 -0
  173. package/dist/node/doctor.js +151 -0
  174. package/dist/node/doctor.js.map +1 -0
  175. package/dist/node/drift.d.ts +31 -0
  176. package/dist/node/drift.js +56 -0
  177. package/dist/node/drift.js.map +1 -0
  178. package/dist/node/evidence.d.ts +42 -0
  179. package/dist/node/evidence.js +129 -0
  180. package/dist/node/evidence.js.map +1 -0
  181. package/dist/node/exceptions.d.ts +30 -0
  182. package/dist/node/exceptions.js +83 -0
  183. package/dist/node/exceptions.js.map +1 -0
  184. package/dist/node/history.d.ts +35 -0
  185. package/dist/node/history.js +74 -0
  186. package/dist/node/history.js.map +1 -0
  187. package/dist/node/index.d.ts +7 -0
  188. package/dist/node/index.js +8 -0
  189. package/dist/node/index.js.map +1 -0
  190. package/dist/node/keep.d.ts +9 -0
  191. package/dist/node/keep.js +39 -0
  192. package/dist/node/keep.js.map +1 -0
  193. package/dist/node/loader.d.ts +7 -0
  194. package/dist/node/loader.js +35 -0
  195. package/dist/node/loader.js.map +1 -0
  196. package/dist/node/log-files.d.ts +16 -0
  197. package/dist/node/log-files.js +93 -0
  198. package/dist/node/log-files.js.map +1 -0
  199. package/dist/node/monthly.d.ts +41 -0
  200. package/dist/node/monthly.js +108 -0
  201. package/dist/node/monthly.js.map +1 -0
  202. package/dist/node/oauth-login.d.ts +45 -0
  203. package/dist/node/oauth-login.js +121 -0
  204. package/dist/node/oauth-login.js.map +1 -0
  205. package/dist/node/packs.d.ts +32 -0
  206. package/dist/node/packs.js +43 -0
  207. package/dist/node/packs.js.map +1 -0
  208. package/dist/node/privileged-seen.d.ts +11 -0
  209. package/dist/node/privileged-seen.js +41 -0
  210. package/dist/node/privileged-seen.js.map +1 -0
  211. package/dist/node/recipients.d.ts +17 -0
  212. package/dist/node/recipients.js +51 -0
  213. package/dist/node/recipients.js.map +1 -0
  214. package/dist/node/runner.d.ts +51 -0
  215. package/dist/node/runner.js +298 -0
  216. package/dist/node/runner.js.map +1 -0
  217. package/dist/node/runtime.d.ts +12 -0
  218. package/dist/node/runtime.js +13 -0
  219. package/dist/node/runtime.js.map +1 -0
  220. package/dist/node/schedules.d.ts +87 -0
  221. package/dist/node/schedules.js +141 -0
  222. package/dist/node/schedules.js.map +1 -0
  223. package/dist/node/secrets.d.ts +37 -0
  224. package/dist/node/secrets.js +219 -0
  225. package/dist/node/secrets.js.map +1 -0
  226. package/dist/node/support.d.ts +14 -0
  227. package/dist/node/support.js +133 -0
  228. package/dist/node/support.js.map +1 -0
  229. package/dist/node/tenants.d.ts +93 -0
  230. package/dist/node/tenants.js +255 -0
  231. package/dist/node/tenants.js.map +1 -0
  232. package/dist/node/ui-page.d.ts +1 -0
  233. package/dist/node/ui-page.js +3 -0
  234. package/dist/node/ui-page.js.map +1 -0
  235. package/dist/node/ui-server.d.ts +48 -0
  236. package/dist/node/ui-server.js +2665 -0
  237. package/dist/node/ui-server.js.map +1 -0
  238. package/dist/node/write.d.ts +9 -0
  239. package/dist/node/write.js +53 -0
  240. package/dist/node/write.js.map +1 -0
  241. package/dist/reports/builtin.generated.d.ts +1 -0
  242. package/dist/reports/builtin.generated.js +49 -0
  243. package/dist/reports/builtin.generated.js.map +1 -0
  244. package/dist/reports/library.d.ts +6 -0
  245. package/dist/reports/library.js +18 -0
  246. package/dist/reports/library.js.map +1 -0
  247. package/launcher/IdentityScope.cmd +11 -0
  248. package/package.json +69 -4
  249. package/reports/access-profile-members.yaml +29 -0
  250. package/reports/access-profile-membership-counts.yaml +17 -0
  251. package/reports/access-profiles-without-owner.yaml +16 -0
  252. package/reports/access-request-audit-trail.yaml +36 -0
  253. package/reports/accounts-by-source.yaml +19 -0
  254. package/reports/active-identities-without-manager.yaml +22 -0
  255. package/reports/aggregation-failures.yaml +29 -0
  256. package/reports/aggregation-history.yaml +27 -0
  257. package/reports/all-sources.yaml +16 -0
  258. package/reports/application-accounts.yaml +32 -0
  259. package/reports/application-entitlements.yaml +31 -0
  260. package/reports/campaign-progress.yaml +23 -0
  261. package/reports/certification-decisions.yaml +31 -0
  262. package/reports/direct-reports-per-manager.yaml +20 -0
  263. package/reports/disabled-accounts-of-active-people.yaml +33 -0
  264. package/reports/duplicate-emails.yaml +16 -0
  265. package/reports/entitlement-holders.yaml +35 -0
  266. package/reports/entitlements-held-by-inactive-identities.yaml +31 -0
  267. package/reports/entitlements-without-owner.yaml +28 -0
  268. package/reports/identities-by-lifecycle-state.yaml +15 -0
  269. package/reports/identities-missing-key-attributes.yaml +27 -0
  270. package/reports/identities-with-processing-errors.yaml +19 -0
  271. package/reports/identity-attribute-mappings.yaml +27 -0
  272. package/reports/machine-accounts.yaml +28 -0
  273. package/reports/managers-and-direct-reports.yaml +23 -0
  274. package/reports/most-access.yaml +18 -0
  275. package/reports/new-identities.yaml +24 -0
  276. package/reports/old-passwords.yaml +35 -0
  277. package/reports/pending-reviews-by-reviewer.yaml +20 -0
  278. package/reports/person-access.yaml +31 -0
  279. package/reports/privileged-access.yaml +29 -0
  280. package/reports/provisioning-error-causes.yaml +27 -0
  281. package/reports/provisioning-errors.yaml +32 -0
  282. package/reports/provisioning-failures.yaml +28 -0
  283. package/reports/recent-access-requests.yaml +22 -0
  284. package/reports/recent-activity.yaml +32 -0
  285. package/reports/recent-leavers.yaml +34 -0
  286. package/reports/role-members.yaml +29 -0
  287. package/reports/role-membership-counts.yaml +18 -0
  288. package/reports/roles-without-owner.yaml +17 -0
  289. package/reports/sources-needing-attention.yaml +23 -0
  290. package/reports/stuck-access-requests.yaml +29 -0
  291. package/reports/team-access.yaml +30 -0
  292. package/reports/terminated-users-with-active-accounts.yaml +46 -0
  293. package/reports/uncorrelated-accounts.yaml +38 -0
  294. package/ui/js/00-setup.js +6 -0
  295. package/ui/js/01-small-helpers.js +143 -0
  296. package/ui/js/02-connection.js +150 -0
  297. package/ui/js/03-health-check.js +17 -0
  298. package/ui/js/04-library.js +135 -0
  299. package/ui/js/05-pickers.js +163 -0
  300. package/ui/js/06-report-view.js +157 -0
  301. package/ui/js/07-fields.js +85 -0
  302. package/ui/js/08-designer.js +360 -0
  303. package/ui/js/09-yaml.js +22 -0
  304. package/ui/js/10-instant-check.js +171 -0
  305. package/ui/js/11-lookup.js +161 -0
  306. package/ui/js/12-tenant.js +115 -0
  307. package/ui/js/13-source-configuration-and-diagnostics.js +64 -0
  308. package/ui/js/14-certifications.js +68 -0
  309. package/ui/js/15-monthly-report.js +24 -0
  310. package/ui/js/16-ownership.js +39 -0
  311. package/ui/js/17-compare-tenants.js +102 -0
  312. package/ui/js/18-audit.js +181 -0
  313. package/ui/js/19-insights.js +108 -0
  314. package/ui/js/20-role-mining.js +35 -0
  315. package/ui/js/21-share-reports.js +45 -0
  316. package/ui/js/22-partner-overview-all-customer-tenants.js +228 -0
  317. package/ui/js/23-in-app-guidance.js +217 -0
  318. package/ui/js/24-role-tools.js +220 -0
  319. package/ui/js/25-schedules.js +264 -0
  320. package/ui/js/26-start.js +7 -0
  321. package/ui/js/27-warnings.js +224 -0
  322. package/ui/js/28-audit-readiness.js +99 -0
  323. package/ui/js/29-lifecycle.js +182 -0
  324. package/ui/js/30-labs.js +265 -0
  325. package/ui/js/31-build.js +203 -0
  326. package/ui/js/32-lab-examples.js +148 -0
  327. package/ui/js/33-finder.js +89 -0
  328. package/ui/js/34-governance.js +129 -0
  329. package/ui/js/35-watch.js +266 -0
  330. package/ui/js/36-model.js +247 -0
  331. package/ui/js/37-logs-and-watch.js +224 -0
  332. package/ui/shell.html +112 -0
  333. package/ui/style.css +350 -0
package/README.md CHANGED
@@ -1,3 +1,917 @@
1
- # Temporary Holding Version
1
+ # IdentityScope
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ *A read-only companion for **SailPoint Identity Security Cloud (ISC)**.*
4
+
5
+ IdentityScope is free, open source (MIT) and **read-only by design**: it cannot change a tenant. It is
6
+ made for:
7
+
8
+ - **Customers on the ISC Standard suite.** There, Access Intelligence Center is view-only and the
9
+ number of workflows is limited. IdentityScope lets you build your own reports with point-and-click
10
+ filters (45 ready-made), export them to Excel, CSV or HTML, deliver them on a schedule by email,
11
+ Teams or Slack, get alerts that explain *why* things fail, preview a role change before saving it,
12
+ and hand auditors an evidence pack.
13
+ - **Anyone with more than one tenant.** Almost every company has at least a sandbox or QA tenant
14
+ next to production, and ISC works one tenant at a time. The **All tenants** overview runs the
15
+ daily checks on all of them side by side and sends one summary when something is new or worse.
16
+ - **Partners and consultants who look after several customer tenants.** The same overview, one row
17
+ per customer.
18
+
19
+ **What ISC already gives you, depending on your suite.** The ISC home dashboard shows aggregation
20
+ errors, Virtual Appliance status and campaign progress. Access Intelligence Center has ready-made
21
+ dashboards (and lets you author your own in higher suites). Configuration Hub keeps configuration
22
+ backups and compares tenants. Role discovery is part of some suites. Where you have these, use them:
23
+ IdentityScope does not try to replace them. It adds what they do not do: error causes grouped by
24
+ pattern, alerts only when something is new or worse, results for people without ISC access, a role
25
+ change preview, license reclaim with costs, an audit evidence pack with fingerprints, and the
26
+ multi-tenant overview.
27
+
28
+ IdentityScope is an independent tool and is not made or endorsed by SailPoint. The command is
29
+ `identityscope`; `isc-reports` still works as an alias.
30
+
31
+ It has four parts that share one engine:
32
+
33
+ | Part | For | What it does |
34
+ | --- | --- | --- |
35
+ | Report screen (`identityscope ui`, or double-click `launcher/IdentityScope.cmd` on Windows) | Everyone | Connect, pick a report, run it, see the table, download Excel/CSV/HTML, design your own, health check |
36
+ | Report library | Everyone | 45 ready-made reports |
37
+ | `identityscope` command line and scheduler | Admins, ops | Run reports, save files, email them or post to Teams or Slack on a schedule (Docker, cron, GitHub Actions) |
38
+ | Report Builder in the SailPoint UI Development Kit | Admins, auditors | Pick or design a report on screen, preview it, export it |
39
+
40
+ **New here?** The [user guide](docs/USER-GUIDE.md) lists every screen and report with where to find it,
41
+ how to run it, an example and what to do next.
42
+
43
+ ## Windows: one file, nothing to install
44
+
45
+ Download **IdentityScope.exe** and double-click it. It contains Node.js and identityscope, so no
46
+ installation or admin rights are needed. A black window opens (keep it open while you work) and the
47
+ report screen opens in your browser. Windows may say "Windows protected your PC" because the file is
48
+ not code-signed: click **More info** → **Run anyway**, or ask IT to allow or sign it. The same file
49
+ also works from a command prompt with every command below, for example `"IdentityScope.exe" doctor`.
50
+ Automatic schedules created from the screen run this file, so keep it in a permanent folder
51
+ (for example `C:\Tools\IdentityScope`) before turning schedules on.
52
+
53
+ **"Windows protected your PC" is expected.** It is not a virus warning: SmartScreen shows it for any
54
+ program without a publisher's signature ("Unknown publisher"). Before you run a download, check that
55
+ it is the original. In PowerShell, in the folder with the zip:
56
+
57
+ ```
58
+ Get-FileHash IdentityScope-<version>-windows.zip -Algorithm SHA256
59
+ ```
60
+
61
+ The result must match the line for that file in `SHA256SUMS.txt` from the same release. If it does,
62
+ click **More info** → **Run anyway**. If it does not, delete the file and download it again.
63
+
64
+ To build it yourself: `npm run build`, then
65
+ `node scripts/build-exe.mjs --target <node.exe> --blob-node <node of the same version> --out "IdentityScope.exe"`
66
+ (the Windows `node.exe` can come from the `node-win-x64` npm package).
67
+
68
+ **If your company blocks unknown .exe files**, use the **Node.js edition** instead
69
+ (`IdentityScope-<version>-node.zip`): the same program as one script for an installed Node.js 22 or
70
+ later. Unzip it and double-click `IdentityScope.cmd` (Windows) or run `./identityscope.sh`
71
+ (macOS, Linux). Build it with `node scripts/build-node-zip.mjs --out <folder>`.
72
+
73
+ **Signing the exe with your company's certificate** removes the "Windows protected your PC" warning
74
+ and helps with antivirus tools that distrust unsigned programs. On Windows, with the certificate
75
+ installed: `signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /a IdentityScope.exe`
76
+ (signtool comes with the Windows SDK; use your certificate provider's timestamp server). Sign after
77
+ building and do not change the file afterwards. Publishing the SHA-256 of each download (as the
78
+ releases do in `SHA256SUMS.txt`) lets people check they have the original.
79
+
80
+ ## Report screen
81
+
82
+ **Finding your way**: press **Ctrl+K** (Cmd+K on a Mac), or use the button at the top of Help, to
83
+ search every page, tab and report by name or by what you need ("rotate secret", "drift", "joiner").
84
+ Each tool has one home: reports for anything you schedule or export regularly; Instant check for the
85
+ health tiles (each tile links to the report or tab behind it); Warnings for what needs action soon
86
+ (joiners, movers, leavers, deadlines, catalog); Tenant for configuration (appliances, workflows,
87
+ transforms, credentials, comparison); Build & test for trying a change before you make it; Audit for
88
+ evidence; Role tools and Insights for analysis.
89
+
90
+ ```bash
91
+ identityscope ui
92
+ ```
93
+
94
+ Opens the report screen in your browser (http://localhost:4317). It runs only on your computer
95
+ (127.0.0.1), with a random key in the address so other web sites cannot use it. Your client secret stays
96
+ in that process's memory and is never sent to the page.
97
+
98
+ The screen has a searchable gallery of the ready-made reports and a point-and-click **report
99
+ designer**: pick what a row is (people, people and their accounts or access, accounts, entitlements,
100
+ roles, access profiles, sources, audit events, requests, review decisions, campaigns), add filters,
101
+ choose columns or counts, sort, preview and save. Fields and value suggestions come from a sample of
102
+ your own tenant, so custom identity attributes are offered too. Any filter can be marked **"ask each
103
+ time the report runs"**, which turns it into an option for the people who run or schedule the report.
104
+
105
+ **Instant check** (top menu) runs every daily check in one click and shows a green, amber or red
106
+ tile for each: provisioning errors (with their top causes), failed aggregations, sources not
107
+ aggregated, sources in error or without owner, identities with processing errors, stuck access
108
+ requests, leavers with enabled accounts, certification campaigns at risk, growth of uncorrelated
109
+ accounts, API credentials, access ending soon, items waiting on people who left, ISC admins who left,
110
+ and (once set up) people active after their end date. Each tile shows what is new since the previous check and a trend line; click it for the
111
+ rows and a link to the full report. **Limits** sets when a check turns amber or red, its period, or
112
+ switches it off. The page can refresh itself every few minutes, for a team screen. The numbers and
113
+ the identifiers of rows already seen are kept on this computer in `history.json` (no report data),
114
+ which is what makes trends and "new since the previous check" work; scheduled instant checks add to
115
+ the same history.
116
+
117
+ **Warnings** (top menu): things that break on a date or stall quietly, found before someone notices
118
+ the hard way. Its tabs:
119
+
120
+ - **Aggregation safety**: per source, the delete threshold, how many account aggregations ran and
121
+ failed, and sources that did not aggregate at all.
122
+ - **Lifecycle settings**: what each lifecycle state of each identity profile does to accounts and
123
+ access, and leaver states that turn nothing off or leave some sources on.
124
+ - **Governance groups**: groups with no members, only members who left, an owner who left, or no
125
+ use anywhere.
126
+ - **Service accounts**: service and machine accounts without an owner, with an owner who left, or
127
+ not used for a long time, and who owns which. Uses Machine Identity Security when the tenant has
128
+ it; otherwise the accounts ISC marks as machine accounts.
129
+ - **Several accounts**: people with more than one account on the same source; on the authoritative
130
+ source this usually means a duplicate HR record or a rehire.
131
+ - **Password failures**: password changes, resets and syncs that failed, per person and source.
132
+ - **Threat signals** (eight tabs; signals to look at, not verdicts):
133
+ - **Risk by person**: the signals of the other threat tabs added up per person, so someone who
134
+ shows on several comes first.
135
+ - **Privileged access gained**: privileged entitlements a person holds now and did not hold at
136
+ the previous look, each checked against what ISC itself provisioned in between. "No ISC record"
137
+ means it was granted on the application. The first run only remembers who holds what
138
+ (identity and entitlement IDs, in an owner-only file on this computer); findings appear from
139
+ the second run and stay listed for 90 days while the access is still held.
140
+ - **Accounts created outside ISC**: accounts that appeared in the period and that ISC marks as
141
+ aggregated, not provisioned, on sources that are not authoritative; the ones nobody owns or
142
+ that already have access come first. A source that was just connected is recognised and its
143
+ accounts are listed last.
144
+ - **Sensitive changes**: configuration changes that touch a control (rules, lifecycle states,
145
+ source safety settings, password and SOD policies, event subscriptions, anything removed) and
146
+ API clients and tokens created since, compared with an earlier configuration snapshot on this
147
+ computer, with who made the change where ISC's audit log names someone.
148
+ - **Sign-in signals**: many failed sign-ins for one person in a day, a successful sign-in right
149
+ after a run of failures, sign-ins by people who have left, and (when the events carry one) a
150
+ network address trying many people. From ISC's own sign-in events; sign-ins handled by a
151
+ separate identity provider are recorded there, not in ISC.
152
+ - **Self-approvals**: access requests approved by the person who gets the access, or by whoever
153
+ requested it for someone else.
154
+ - **Admin activity**: changes to tenant settings, sources, users and access items by who made
155
+ them, with people who have left and non-person actors (API clients, tokens) marked.
156
+ - **Access spikes**: people given unusually many access items in one day.
157
+ - **Mass changes**: provisioning per day (all changes, disables, deletes, new accounts, removed access),
158
+ with today or yesterday flagged when it is far above the usual day, and the sources behind a spike.
159
+ A bad HR file or transform can change thousands of accounts overnight.
160
+ - **Provisioning loops**: the same change for the same person and source sent again and again (an
161
+ attribute sync that never sticks, a request ISC keeps re-sending).
162
+ - **Changed outside ISC**: accounts disabled on the application although ISC never disabled them, and
163
+ accounts enabled again after ISC disabled them. Compared with every disable and enable ISC still
164
+ has on record (not only recent ones), and the last one ISC sent is shown per account.
165
+ - **Attribute sync drift**: for a source with attribute sync, values on the account that differ from
166
+ ISC, plus attribute syncs that failed. Target attributes that no account has a value for (not
167
+ aggregated) are left out and named.
168
+ - **Group approvals**: access approvals waiting on a governance group, with how many members can
169
+ still approve; "nobody can approve" when all have left.
170
+ - **Manager left**: active people, contractors included, whose manager or sponsor has left or is not
171
+ in ISC. Narrow it with a search query.
172
+ - **Coming up**: who starts or ends in the next days (by the start-date and end-date attributes you
173
+ name), the lifecycle state they are in now and what the states of their identity profile are set
174
+ to do, with what to check before the day: no manager, no leaver state, a leaver state that leaves
175
+ accounts on, a starter with no account yet. It does not predict the state ISC will choose.
176
+ - **Stuck requests**: access requests still running after a day (or the limit you pick), the phase
177
+ each waits in and on whom, next to the sources ISC keeps re-sending the same change to, because a
178
+ churning source delays everything queued behind it.
179
+ - **Missed joiners**: active people missing an account on a source that nearly everyone in their
180
+ identity profile has (birthright accounts are worked out per profile, nothing to set up), and
181
+ optionally people past their start date still in a pre-hire lifecycle state.
182
+ - **Missed leavers**: people whose account on their own HR source is disabled while ISC treats them as
183
+ active, and leavers who still have enabled accounts, roles or access profiles.
184
+ - **Accounts expiring**: accounts whose expiry date is close (Active Directory `accountExpires`, or
185
+ any date attribute you name, on the sources you pick), and expired accounts ISC still shows as
186
+ enabled. Reads every form the value comes in: never (the word, 0, -1, the AD maximum, year 9999),
187
+ FILETIME, Unix seconds or milliseconds, LDAP time (yyyyMMddHHmmssZ), yyyyMMdd, ISO dates,
188
+ MM/dd/yyyy and dd/MM/yyyy with or without a time (day-first is detected per source), and dates
189
+ with a month name (24-Dec-2026, Thu Dec 24 00:00:00 UTC 2026). The result says how many accounts
190
+ never expire, how many have no value, and shows any value it could not read.
191
+ - **Revokes not done**: items a reviewer revoked in a certification that the person still holds after
192
+ sign-off (the removal failed, is still running, or the item also comes another way), and revokes
193
+ still waiting for sign-off.
194
+ - **Access ending**: access granted with an end date (from completed access requests), which ISC
195
+ removes on that date, grouped by manager so each manager can be told in time.
196
+ - **Waiting on leavers**: open certification reviews and pending access approvals assigned to
197
+ someone who left or is no longer in ISC. They do not move until someone reassigns them.
198
+ - **Review deadlines**: open certifications due within the days you choose, per reviewer, with
199
+ decisions left. Copy the reviewers' emails or open an email draft with them in BCC.
200
+ - **End dates**: active people whose end date (an identity attribute you name, e.g. for contractors)
201
+ is near, and people still active after it. Saving the attribute turns on its instant check tile.
202
+ - **ISC admins**: everyone with a user level in ISC itself (Org admin, Source admin, Help desk and
203
+ others), who of them has left, and who is new since the last look. Evidence for a yearly admin
204
+ review.
205
+ - **Mover leftovers**: access that almost no one else in the person's group has, often left over from a
206
+ previous job.
207
+ - **Access catalog**: requestable entitlements, access profiles and roles without a description or
208
+ owner, or whose owner left, with a score per source; and **Nobody has it**: roles and access profiles
209
+ that no identity holds (counted one by one with ISC's search), candidates to retire or roles whose
210
+ criteria match nobody.
211
+ - **Identity data**: active people without a manager, email or an attribute you choose, and emails
212
+ used by more than one person (often duplicates or test accounts).
213
+ - **Identity count**: identities and active identities, new identities per month for a year, and
214
+ when you reach your licensed number at the current pace. Scheduled instant checks keep one count
215
+ per day on this computer (`identity-counts.json`), so the pace becomes a net change after four weeks.
216
+
217
+ All of it uses scopes you already have (`sp:search:read`, `idn:access-request-status:read`,
218
+ `idn:campaign:read`).
219
+
220
+ **Audit** (top menu) also answers three questions auditors ask that ISC does not answer in one place:
221
+
222
+ - **Review coverage**: which sources and privileged entitlements a certification reviewed in the last
223
+ 6, 12 or 24 months, and which none did.
224
+ - **Access outliers**: active people with far more access items than the median of their group
225
+ (department by default, or any attribute), as a place to start reviews.
226
+ - **Provisioning speed**: how long account changes take per source (median, 90%, longest), and access
227
+ removals (disable, delete) that took longer than your limit or are still not done.
228
+
229
+ - **Admin accounts**: admin, service and test accounts (by words in the account name) linked to a person.
230
+ - **Request trail**: every access request of the period with each approval step: who decided, the
231
+ decision, their comment and when, the original approver when a step was forwarded, and how the
232
+ request ended. Filter by access item and person; the download has one row per step, ready as
233
+ approval evidence. Also shows how fast each approver decides (usual time, slowest, waiting now),
234
+ and is a schedulable report, *Access request audit trail*.
235
+ - **Approver chain**: who approves a request, in what order, and who approves a revoke, for every
236
+ access profile, role and requestable entitlement (at most 300, one call each). Flags requestable
237
+ access that needs no approval, owner steps without an owner, and governance groups that are empty
238
+ or deleted.
239
+ - **Outside roles**: entitlements active people hold directly instead of through a role or access
240
+ profile, by entitlement (how many holders got it directly) and by person. Privileged first.
241
+ - **What is in every role**: one row per role, access profile and entitlement, with owner and source,
242
+ to filter and download. Flags empty roles, empty access profiles and references that no longer
243
+ exist.
244
+ - **Reassigned reviews**: certifications that were passed on, from whom to whom, the reason given,
245
+ and whether the new reviewer is still here.
246
+ - **Leaver removal times**: per leaver, when leaving started (the lifecycle state change event, or
247
+ the first disable ISC sent), how long each account took to be disabled, and which accounts are
248
+ still enabled. The per-person figure auditors ask for.
249
+ - **Attribute changes**: who changed manager, department, title, lifecycle state or any attribute you
250
+ name, from what to what. ISC keeps no attribute history without the Identity History add-on, so
251
+ IdentityScope remembers the values at each look (on this computer, owner-only, values of the chosen
252
+ attributes only) and lists the changes between looks.
253
+ - **Entitlement owners**: each owner with what they own and how many people hold each item; owners
254
+ who left come first. Filter by owner and download to give each owner their own list.
255
+ - **Exceptions**: a register of accepted findings. Accept an item from an instant check tile with a
256
+ reason, who accepted it and an end date (at most two years); until then it is left out of that
257
+ tile, here and in scheduled and all-tenant checks. Expired and ended exceptions stay on record.
258
+ Kept on this computer in `exceptions.json`.
259
+
260
+ Review coverage, access removal times and the exceptions register can also go into the evidence pack.
261
+
262
+ **Tenant** (top menu): the size of the tenant at a glance (identities, accounts, sources,
263
+ entitlements, roles, access profiles, identity profiles, transforms, workflows, VA clusters); every
264
+ Virtual Appliance cluster and appliance with its status, last contact and version; workflows with
265
+ their failed runs in the last day, week or month; and transforms with the identity profiles and
266
+ transforms that use them (to find ones nobody uses). The instant check also has tiles for VA
267
+ problems and failed workflow runs. The header shows how many API calls the screen has made.
268
+
269
+ **Audit** (top menu) has four tabs. **Certifications**: every active and recent campaign with its progress, deadline and
270
+ "at risk" or "overdue" flags; every reviewer with decisions made, approvals, revokes, approve rate
271
+ and overdue reviews; and reviews that may be rubber-stamped (everything approved and signed off
272
+ within minutes, or a large review without a single revoke). Excel download of the reviewer table.
273
+
274
+ - **Separation of duties**: write rules for access one person should not hold together ("SF Admin
275
+ (Salesforce)" on one side, "Approve Payments" on the other; entitlements, access profiles or roles,
276
+ with or without the source). IdentityScope lists everyone who holds both sides, however they got the
277
+ access. Rules are kept on this computer (`settings.json`); they work without ISC's own SOD policies.
278
+ - **Change history**: a daily snapshot of the configuration of sources, transforms, identity
279
+ profiles, roles, access profiles and workflows (secrets hidden, IDs and timestamps removed), kept on
280
+ this computer in the `changes` folder for up to 400 days. Pick two days to see what was added,
281
+ removed or changed: the quickest answer to "something broke yesterday". Scheduled instant checks
282
+ save one snapshot a day by themselves (`configSnapshot: false` on the job turns that off).
283
+ **Drift from an approved baseline**, on the same tab: approve the snapshot of a release (for example
284
+ the day it went to production; IdentityScope keeps a copy) and **Check for drift now** lists what was
285
+ added, removed or changed since, setting by setting.
286
+ - **Evidence pack**: one zip for auditors with an Excel file per part (accounts per application,
287
+ leavers with enabled accounts, leavers in the period, privileged access, orphan accounts,
288
+ certification campaigns and decisions, access requests, separation of duties violations), a README
289
+ saying which tenant, when, by whom and with which version, and `SHA256SUMS.txt` so an auditor can
290
+ check that no file was changed afterwards (`sha256sum -c SHA256SUMS.txt`).
291
+
292
+ **Insights** (top menu) has three tabs. **Monthly report**: how every daily check moved during a month (first and last day,
293
+ change, days red or amber, a trend line), automatic highlights such as "Provisioning errors went
294
+ down from 40 to 4 (-90%)", and the tenant's size today. Download it as a standalone page to send or
295
+ print to PDF. It is built from the instant checks recorded on this computer, so schedule the instant
296
+ check daily.
297
+
298
+ - **License reclaim**: enabled accounts of people who left (authoritative sources and disabled
299
+ accounts are skipped) and accounts nobody signed in with for 90 days or more, per application, with
300
+ the possible saving per month and per year. Enter a monthly cost per account for paid applications
301
+ and, per source, the account attribute that holds the last sign-in (for example
302
+ `lastLogonTimestamp` for Active Directory; it must be in the source's account schema). ISO dates,
303
+ Active Directory FILETIME, LDAP time and Unix times are understood.
304
+ - **Access requests**: how many requests, the typical (median) wait for an approval and for the
305
+ access, approvers with their decisions, speed and requests waiting now, and the most requested
306
+ and most rejected access, with a weekly trend.
307
+
308
+ **Compare tenants** (Tenant tab): connect a second tenant with a personal access token (kept in
309
+ memory only) and compare by name: sources, provisioning policies, transforms, connector rules (code included), where
310
+ rules are used, identity profiles, lifecycle states, identity attributes, roles, access profiles,
311
+ governance groups, access request segments, SOD policies, password policies, workflows, event trigger
312
+ subscriptions, forms and email templates. It shows what exists only in one tenant and which settings
313
+ differ, with the settings that differ most often per type; **Ignore** one that is meant to differ
314
+ between tenants (a cluster, an owner) and it is left out of later comparisons; for code and templates, the first line that differs and how many lines do. IDs, timestamps and
315
+ secrets are ignored; lifecycle states compare access profiles and sources by name. Cloud rules cannot
316
+ be read with a plain read in ISC (only through an SP-Config export job), so "Where rules are used"
317
+ compares which objects use each rule instead. To compare cloud rule code too, turn on **Also compare
318
+ cloud rule code**: IdentityScope then starts one SP-Config export job of rules (type RULE only) in each
319
+ tenant, waits for it and compares the code. The export reads configuration and changes nothing, but it
320
+ is a job that shows in the tenant, and the API client needs SP-Config access (sp:config:read or
321
+ sp:config:manage). It is off by default and never used by change history or the drift check. Role
322
+ membership criteria are not compared yet.
323
+
324
+ **Build & test** (top menu): try changes before you make them in ISC. Everything on this page runs on
325
+ this computer or only reads ISC: nothing is created, changed, tested or started in the tenant.
326
+
327
+ - **Transform lab**: run a transform on this computer and see each step, without
328
+ saving anything to ISC. Start from one of your transforms or identity profile mappings, or paste a
329
+ draft; give an input value, identity attributes and accounts. It supports the documented transform
330
+ types (Velocity in static values with `$__dateTool`, `$__mathTool` and `$__numberTool`, dates in GMT,
331
+ lookups, references to your other transforms, account selection with filters). Results are marked
332
+ when only ISC can know them (custom rules, username uniqueness, some phone and country formats) and
333
+ the engine lists what it assumed where SailPoint's documentation is silent. Keep **test cases** per
334
+ transform (saved in `lab-tests.json` on this computer) and run them all at once. **Try it on real
335
+ people** reads up to 2,000 people with their accounts and works the value out for each; with an
336
+ attribute to compare, it shows where the result differs from what ISC holds now, which checks a
337
+ change before you make it, and checks the engine against your own tenant. The engine matches 31 of
338
+ the 34 runnable examples in SailPoint's transform documentation; the other three are formats only
339
+ ISC can work out (three further examples contain errors in the documentation itself).
340
+ - **Workflow lab**: walk a workflow step by step on this computer with a trigger you give
341
+ it: which branch each comparison takes, what each Define Variable step produces and what each action
342
+ would send (secrets hidden). Nothing is called, so the workflow does not need to be disabled. Pretend
343
+ the output of any step. **Replay real runs** reads the history of recent executions (ISC keeps 90
344
+ days) and runs each again: "as it ran" checks the simulator against ISC, "with my edits" shows which
345
+ real runs would take a different path with your draft. Loops run their first five items; forms,
346
+ external triggers and custom actions are described, not run.
347
+ **Examples** fill every box with a worked case: account attributes (one source, several accounts
348
+ with a filter), references and chains of transforms, lifecycle state from HR dates, lookup,
349
+ conditional and first valid value. **Other transforms** takes draft transforms that references
350
+ use before the tenant's saved ones, so a chain can be tested before any of it is saved.
351
+ - **Workflow lab examples**: leaver ticket, joiner email with Define Variable, a loop over changed
352
+ attributes and an aggregation alert, plus trigger input samples in the shapes SailPoint documents
353
+ (Identity Attributes Changed, Identity Created, Access Request Submitted, Account Aggregation
354
+ Completed).
355
+ - **Account create preview**: what a source's create (or update, enable, disable) policy would produce
356
+ for one person, field by field, worked out with the Transform lab engine. Required fields that would
357
+ be empty are flagged; password fields are never worked out or shown; generators and rules are marked
358
+ as only known to ISC.
359
+
360
+ **Tenant** (top menu) also has, one home each:
361
+
362
+ - **Rule usage**: every connector rule (and, with the opt-in SP-Config export, every cloud rule) with
363
+ the sources, provisioning policies, transforms, identity profiles and identity attributes that use
364
+ it. Unused rules are cleanup candidates; rules used but missing fail when they are called.
365
+ - **Transforms** (where each is used): before you change a transform, every identity profile mapping, other transform
366
+ and source provisioning policy that uses it, also through chains of transforms ("through Clean
367
+ Name → Build Email"), and how many people those identity profiles cover. Lists transforms nothing
368
+ uses. Rules run code IdentityScope cannot read, so anything a rule does is not included.
369
+ - **Workflows** (health): runs and failures of every workflow per week over 7 to 90 days, flags (fails
370
+ every run, failing more this week, enabled but never ran, last run failed) and why runs failed,
371
+ read from the history of failed runs and grouped, with IDs, numbers and names taken out so the
372
+ same problem counts once.
373
+ - **Credential map**: every client ID, user and endpoint used in workflow steps and source
374
+ connections, grouped by credential, with secrets typed into a step, steps too old to use Parameter
375
+ Storage, calls to another ISC tenant and credential providers marked: a checklist for rotating a
376
+ secret or promoting to production. Secret values are never read; only whether a field is filled in.
377
+
378
+ **Ownership** (Lookup tab): who owns every source, role, access profile, entitlement, workflow and
379
+ identity profile; how many have no owner; and everything owned by people who left or no longer
380
+ exist, ready to hand over. Click an owner to see everything they own.
381
+
382
+ **Logs** (top menu): find out why a source failed without signing in to a server.
383
+
384
+ - **Connector log (ccg.log)**: ISC has no API that returns the connector log of a Virtual
385
+ Appliance, so IdentityScope reads a copy. Copy `/home/sailpoint/log/ccg.log` from the appliance
386
+ to this computer or a shared folder once (or have it dropped there), then give the path of the
387
+ file or its folder, or choose the file in the browser. A folder reads every log file in it,
388
+ rotated and `.gz` files included. You get the errors and warnings **grouped and counted** (4,000
389
+ lines that differ only in a name or a number are one row), per source and per hour, with the
390
+ full error detail on a click, and filters for source, level, text and time. The file is read
391
+ line by line, so its size does not matter (5,000,000 lines need about 30 MB of memory). Nothing
392
+ from the log is stored or sent anywhere, and values that look like passwords, tokens or keys are
393
+ hidden. Lines that are not in the ccg.log format are counted and never shown.
394
+ - **What ISC recorded**: one timeline per source of what ISC itself has: aggregations and source
395
+ changes from the audit log, provisioning that ended with an error, and the state of the Virtual
396
+ Appliances now. This is ISC's own summary of each error, and it works for every source, SaaS
397
+ connectors included, with no file.
398
+
399
+ Not included: the logs of SaaS connectors. SailPoint's CLI can tail them, but the endpoint it uses
400
+ is not in the published API, so IdentityScope does not call it.
401
+
402
+ **Non-employees** (top menu) reads Non-Employee Risk Management (NERM) with the same sign-in and
403
+ checks it against ISC. Enter the NERM address once per tenant (`acme`, or
404
+ `https://acme.nonemployee.com`). Only `GET` requests on seven NERM read endpoints are sent (profiles,
405
+ profile types and their attributes, users, workflow sessions, risk levels and risk scores); anything
406
+ else is refused before it leaves your computer.
407
+
408
+ - **End dates and sponsors**: active non-employees past their end date or ending soon, and those
409
+ without a sponsor or whose sponsor has left ISC. The end date comes from a date attribute with end,
410
+ expiry or termination in its name, unless you name one; sponsors are owner attributes, matched to
411
+ ISC by email.
412
+ - **NERM vs ISC**: profiles terminated in NERM but active in ISC, the reverse, and active profiles
413
+ with no identity in ISC (matched through the accounts on the NERM source in ISC).
414
+ - **Waiting workflows**: NERM workflow sessions still waiting on an approval, review or another step.
415
+ - **High risk**: profiles at the highest NERM risk level, active ones first.
416
+ - **Portal users who left**: sponsors, managers and admins who can still sign in to NERM although
417
+ their identity in ISC has left.
418
+
419
+ **Lookup** (top menu) puts one person or one source on one page:
420
+
421
+ - **Person**: search by name, username or email. Shows lifecycle state, manager and profile, every
422
+ account (disabled, locked, privileged, password date), all access and whether it was assigned
423
+ directly, provisioning of the last 30 days with errors, access requests, audit events, a **timeline**
424
+ that puts lifecycle changes, audit events, account changes and access requests in one list, and plain
425
+ hints such as "Locked account: Active Directory" or "1 provisioning change failed: Create Account on
426
+ Salesforce: Duplicate username". Made for "why can't this person log in?"
427
+ - **Source**: every source with its connection status and last aggregation, then per source: account,
428
+ uncorrelated and entitlement counts, entitlements without owner, the aggregations of the last 30
429
+ days with their errors, and provisioning errors of the last 7 days grouped by cause. Also the
430
+ source's configuration with secrets hidden, an **Open in ISC** button, and opt-in **connector
431
+ diagnostics**: test connection, ping the VA cluster and peek up to 25 live objects. Diagnostics are
432
+ off until you switch them on, ask before every action and are logged in `logs/diagnostics.log`.
433
+
434
+ **Error causes**: provisioning errors are grouped by cause by removing names, emails, DNs, IDs,
435
+ numbers and quoted values from each message, so 200 errors about 200 people show as the two or three
436
+ problems behind them (`provisioning-error-causes` report, the instant check and the source page).
437
+
438
+ **Role tools** (top menu) answer two questions before anyone changes a role. The preview also
439
+ shows, for each condition on its own, how many people match it, how many have any value for the
440
+ attribute and its most common values, so a typo in a value or an attribute that is not searchable
441
+ in ISC is easy to spot.
442
+
443
+ - **Compare roles**: pick two to six roles to see their access side by side (including the
444
+ entitlements that come through access profiles), which items they share, how similar the first two
445
+ are, and how many people hold each, both or only one. Good for finding duplicate roles to merge.
446
+ - **Preview a role change**: load a role's membership criteria (or start a new role), change them with
447
+ drop-downs (identity attributes, account attributes, entitlements; AND/OR groups as in ISC) and see
448
+ who would gain or lose the role, before anyone saves it in ISC. Criteria are evaluated the way ISC
449
+ does, ignoring case; people who hold the role by request or assignment are listed separately.
450
+ "Show JSON" gives the criteria in the format of the ISC role API.
451
+ - **Find candidate roles** (role mining): group active people by an identity attribute (department,
452
+ job title, location...) and list the entitlements at least 80% (adjustable) of each group already
453
+ hold, marking those an existing role already gives. Groups with access no role gives yet are
454
+ candidates for a birthright role.
455
+
456
+ **All tenants**: see several tenants in one place. It is for a single company as much as for a
457
+ partner: sandbox, QA and production side by side show at once when one of them is failing or has
458
+ drifted from the others. Open it from the sign-in page (**Open All tenants**) or with **All
459
+ tenants** in the header. Add each tenant (your own environments, or each customer's) with a read-only personal access token or API client from that tenant; IdentityScope tests it
460
+ before saving. **Check all tenants** checks one tenant after the other and shows one row per tenant
461
+ and one column per check, problems first. The page runs the **nine quick checks** that say whether a
462
+ tenant is running (provisioning errors, failed aggregations, sources not aggregated, Virtual
463
+ Appliances, failed workflow runs, sources in error, identities with processing errors, stuck access
464
+ requests, API credentials); they take about the same time on a tenant of any size. The checks that
465
+ read every identity or account (leavers with enabled accounts, uncorrelated accounts, joiner and
466
+ leaver gaps and the rest) stay on each tenant's own **Instant check**; **Checks** on this page adds
467
+ any of them back, for the screen and the scheduled summary alike. Click a number for the cause and how to
468
+ fix it, or **Open** to switch to that tenant with every page. A tenant that cannot be checked (for
469
+ example an expired token) shows why and does not stop the others. Schedule **All tenants** on the
470
+ Schedules page for one daily summary by email, Teams or Slack, sent only when something is new or worse
471
+ in any tenant. The list (`tenants.json`) holds names, addresses and client IDs; each tenant's secret
472
+ is kept in the owner-only secrets file and never reaches the screen.
473
+
474
+ **Share reports** (Reports page): export your own reports to one `.json` pack and import packs from
475
+ colleagues or other companies. You see each report before it is added; ready-made reports are never
476
+ replaced. A pack holds report definitions only, never data or credentials.
477
+
478
+ **Help and guidance**: the **? Help** button explains the page you are on (how to read it, what to
479
+ do next, which ISC permissions it needs) and has a **Getting started** checklist that ticks itself off
480
+ as you connect, run the instant check, set limits, add email or a webhook and schedule the daily
481
+ check. Each instant-check tile has **How to fix** steps for its problem. The home page and the tenant
482
+ overview show today's results at a glance. The person page sums up access (accounts, roles, access
483
+ profiles, entitlements and how many were assigned directly, privileged items, sources), and the source
484
+ page shows what depends on the source: identity profiles that use it as authoritative source, identity
485
+ attribute mappings that read it, and access profiles built on it.
486
+
487
+ Connect in one of two ways:
488
+
489
+ - **Sign in with SailPoint** (recommended for people running reports by hand): the normal ISC sign-in
490
+ page opens, with your SSO and MFA. The screen then works with *your* ISC access, so each person sees
491
+ only what ISC already lets them see, and nobody creates a token. Missing permissions show up in
492
+ **Health check**. The sign-in is kept in memory only and renews itself while the screen is open.
493
+ - **Personal access token**: needed for automatic (scheduled) runs, because sign-ins expire. Use a token
494
+ of a dedicated read-only reporting identity.
495
+
496
+ ### One-time setup for Sign in with SailPoint (ISC admin)
497
+
498
+ 1. ISC: **Admin** → **Global** → **Security Settings** → **API Management** → **New**.
499
+ 2. Grant types: **Authorization Code** and **Refresh Token**. Redirect URL: `http://localhost:4317/callback`.
500
+ 3. Scopes: the 26 read scopes listed under [Permissions](#permissions). (`sp:scopes:all` also
501
+ works and is simpler to set, but it lets the client ask for everything its user may do; the
502
+ read scopes are the careful choice. Either way users are limited by their own user level.)
503
+ 4. Give the **client ID** to report users. If ISC created the client with a secret, users enter it under
504
+ "Client secret"; it is used only to sign in and is not saved.
505
+
506
+ The screen finds the sign-in page from the tenant's `/oauth/info`, uses PKCE (S256) and a single-use
507
+ `state` that expires after 10 minutes, and only accepts the answer at `localhost:4317/callback`. If
508
+ port 4317 is busy the screen starts on another port and sign-in is unavailable until 4317 is free. Reports you design are saved in `~/.identityscope/reports`. Close the window
509
+ that runs it to stop.
510
+
511
+ The **Schedules** page sends reports by email and/or Teams/Slack: pick a report, daily/weekly/monthly
512
+ and a time, recipients, and file types; set the mail server once (with a test email); **Run now** to try
513
+ it. **Turn on** creates a Windows Task Scheduler entry that runs the report while the computer is on,
514
+ even with the screen closed. Automatic runs need the tenant saved on the computer ("Remember my
515
+ tenant"); it and the mail password are kept in `~/.identityscope/secrets.json`, readable only by you.
516
+ Email recipients must be **active identities in ISC** whose email matches exactly; people who have
517
+ left are refused, and shared mailboxes or distribution lists must be allowed one by one (an allowed
518
+ address can never belong to a person who has left). The check runs when a schedule is saved and again
519
+ before every send. Mail is only sent over TLS, and every delivery is recorded in
520
+ `~/.identityscope/logs/deliveries.log`. Schedules are stored in `~/.identityscope/schedules.yaml`, the same format `identityscope schedule` reads,
521
+ so they can move to a server later.
522
+
523
+ ## Ready-made reports
524
+
525
+ Report options that name sources, roles or access profiles are drop-downs on the screen (pick one or
526
+ several); on the command line give IDs, for example `--param sources=2c91...,2c92...`.
527
+
528
+ | Area | Report | Answers |
529
+ | --- | --- | --- |
530
+ | People | `identities-by-lifecycle-state` | How many people are in each lifecycle state, per identity profile? |
531
+ | | `new-identities` | Who joined in the last N days, and do they have accounts yet? |
532
+ | | `person-access` | Everything one or more people can access, and how it was granted |
533
+ | | `team-access` | The access of everyone who reports to a manager |
534
+ | | `most-access` | The 100 people with the most access items |
535
+ | Lifecycle | `terminated-users-with-active-accounts` | Who has left but still has enabled accounts on non-authoritative sources? |
536
+ | | `entitlements-held-by-inactive-identities` | Which entitlements do people who left still hold? |
537
+ | | `recent-leavers` | Who became a leaver in the last N days, and how much access is left? |
538
+ | Hygiene | `uncorrelated-accounts` | Which accounts are not linked to any person? (pick sources to read only those) |
539
+ | | `accounts-by-source` | Accounts and uncorrelated accounts per source, in seconds (uses ISC's totals) |
540
+ | | `machine-accounts` | Service and machine accounts, linked or not |
541
+ | | `old-passwords` | Accounts of active people with a password older than N days |
542
+ | | `disabled-accounts-of-active-people` | Disabled accounts of people who are active |
543
+ | | `active-identities-without-manager` | Active people whom manager approvals and reviews cannot reach |
544
+ | | `sources-needing-attention`, `all-sources` | Sources without an owner or in error; every source with ID, owner and status |
545
+ | Access model | `privileged-access` | Who holds privileged access, item by item? |
546
+ | | `role-members`, `access-profile-members` | Who holds the roles or access profiles you pick? |
547
+ | | `entitlement-holders` | Who holds an entitlement (name contains), directly or through a role? |
548
+ | | `entitlements-without-owner`, `roles-without-owner`, `access-profiles-without-owner` | What has nobody to route approvals and reviews to? |
549
+ | Application owners | `application-accounts`, `application-entitlements` | Everyone with an account / entitlement on the sources you pick |
550
+ | Certifications | `certification-decisions`, `campaign-progress`, `pending-reviews-by-reviewer` | Decisions, progress against deadlines, and open items per reviewer |
551
+ | Requests | `stuck-access-requests`, `recent-access-requests` | Requests still running after N days; everything requested in the last N days |
552
+ | Operations | `provisioning-errors` | Account changes that failed today (or in the last N days), with the error text |
553
+ | | `aggregation-failures`, `aggregation-history` | Failed aggregations today; aggregations per source and their outcome |
554
+ | | `provisioning-error-causes` | The same errors grouped by cause, with names and IDs removed |
555
+ | | `provisioning-failures`, `recent-activity` | Failed audit events and all audit events in the last N days |
556
+ | People (data quality) | `identities-missing-key-attributes`, `identities-with-processing-errors`, `duplicate-emails` | Missing email/manager/department/lifecycle, identities ISC could not process, shared emails |
557
+ | Access model (counts) | `role-membership-counts`, `access-profile-membership-counts` | How many people hold each role or access profile |
558
+ | Configuration | `identity-attribute-mappings` | Where each identity attribute comes from, per identity profile |
559
+
560
+ `identityscope show <id>` prints any of them as YAML to copy and adapt.
561
+
562
+ ## Try it without a tenant
563
+
564
+ Start the program and click **Try the demo tenant** on the sign-in screen, or run
565
+ `identityscope ui --demo`. You get every screen on a made-up tenant of about 2,600 people with
566
+ sources, roles, requests, certifications and non-employees, dated around today. No sign-in, no
567
+ internet, nothing to set up. A yellow bar says the data is made up for as long as you are in the
568
+ demo; **Disconnect** leaves it. The made-up tenant runs inside the program on this computer only
569
+ and is the same one the automated tests use.
570
+
571
+ ## Quick start
572
+
573
+ ```bash
574
+ npm install -g identityscope
575
+
576
+ export ISC_BASE_URL=https://acme.api.identitynow.com # or just: acme
577
+ export ISC_CLIENT_ID=... # personal access token of a read-only reporting identity
578
+ export ISC_CLIENT_SECRET=...
579
+
580
+ identityscope doctor # checks sign-in, permissions and your tenant's data in one go
581
+ identityscope list
582
+ identityscope run terminated-users-with-active-accounts --format xlsx,csv --out ./reports
583
+ identityscope run application-accounts --param sourceName="Active Directory"
584
+ identityscope run uncorrelated-accounts --preview 200 # quick check on the first 200 records
585
+ identityscope run privileged-access --group-by access.source.name # count per source instead of listing
586
+ ```
587
+
588
+ The SailPoint CLI variables (`SAIL_BASE_URL`, `SAIL_CLIENT_ID`, `SAIL_CLIENT_SECRET`) work too.
589
+
590
+ ## Writing a report
591
+
592
+ A report reads one dataset, can turn a list into rows (one row per account, per access item),
593
+ can look up other datasets, filters, and picks columns:
594
+
595
+ ```yaml
596
+ id: contractors-with-admin-access
597
+ name: Contractors with privileged access
598
+ params:
599
+ sourceName: { type: string, description: Only this source (leave empty for all) }
600
+ from:
601
+ dataset: identities
602
+ query: 'attributes.employeeType:contractor' # narrows what ISC sends (optional)
603
+ expand: # one row per privileged access item
604
+ path: identity.access
605
+ as: access
606
+ where:
607
+ all:
608
+ - { field: access.privileged, op: isTrue }
609
+ - { field: access.source.name, op: eq, value: "${sourceName}" } # skipped when not given
610
+ joins:
611
+ - dataset: sources
612
+ as: source
613
+ on: { field: access.source.id, equals: id }
614
+ columns:
615
+ - { field: identity.displayName, label: Contractor }
616
+ - { field: identity.manager.displayName, label: Manager }
617
+ - { field: access.displayName, label: Access }
618
+ - { field: source.owner.name, label: Source owner, default: None }
619
+ sort: [identity.displayName]
620
+ ```
621
+
622
+ - **Datasets**: `identities`, `accounts`, `entitlements`, `sources`, `roles`, `accessProfiles`, `events`,
623
+ `accountActivities`, `campaigns`, `certificationItems`, `accessRequests`. Run `identityscope fields`
624
+ for every field and its alias.
625
+ - **Filters**: `eq`, `ne`, `in`, `notIn`, `contains`, `notContains`, `startsWith`, `endsWith`, `matches`,
626
+ `exists`, `missing`, `isTrue`, `isFalse`, `gt`, `gte`, `lt`, `lte`, `olderThanDays`, `newerThanDays`,
627
+ combined with `all`, `any` and `not`. Text comparisons ignore case unless `ignoreCase: false`.
628
+ When a field holds a list, a filter matches if any element matches (`ne` and `notIn` need none to match).
629
+ - **Where filters apply**: `where` on the base records, `expand.where` on list elements, `filter` on final rows.
630
+ - **Parameters**: `${name}` takes a parameter's value (a whole `"${list}"` stays a list), `${name|q}`
631
+ quotes it for API filters, `${name|list}` writes a list as `("a","b")` for an API filter's `in`, and
632
+ `${name|or}` as `("a" OR "b")` for a search query. `${daysAgo:7}` is the date seven days before the
633
+ run; `${daysAgo:days}` takes the number from the `days` parameter. A filter whose value is an unset
634
+ optional parameter (or an empty list) is skipped. `pick: sources` (or `roles`, `accessProfiles`)
635
+ shows a drop-down of the tenant's objects on the screen, with their IDs as values; `options: [...]`
636
+ limits a parameter to fixed values.
637
+ - **Summaries**: `group: { by: [account.sourceName], countLabel: Accounts }` returns one row per value
638
+ with a count, largest first; `minCount: 2` keeps only values that occur at least twice (duplicates) (or `--group-by <field>` on the command line for any report).
639
+ - **Columns**: `format` is `text`, `date`, `datetime`, `number`, `boolean`, `list`, `count` or `json`;
640
+ `default` fills empty cells.
641
+
642
+ `identityscope validate my-report.yaml` checks a definition and lists every problem at once.
643
+
644
+ ## Scheduling
645
+
646
+ ```yaml
647
+ # schedules.yaml - secrets come from the environment ("env:NAME"), so the file can be committed
648
+ email:
649
+ host: smtp.office365.com
650
+ port: 587
651
+ user: env:SMTP_USER
652
+ password: env:SMTP_PASSWORD
653
+ from: "IAM Reports <iam-reports@example.com>"
654
+ timezone: America/New_York
655
+ jobs:
656
+ - name: leavers-weekly
657
+ report: terminated-users-with-active-accounts
658
+ schedule: "0 8 * * 1" # Mondays 08:00
659
+ formats: [xlsx]
660
+ email: { to: [it-audit@example.com] }
661
+ webhook: { url: env:TEAMS_WEBHOOK_URL, kind: teams }
662
+ - name: salesforce-owner
663
+ report: application-entitlements
664
+ params: { sourceName: Salesforce }
665
+ scope: { field: access.source.name, op: eq, value: Salesforce } # the owner only ever gets Salesforce data
666
+ schedule: "0 9 1 1,4,7,10 *"
667
+ email: { to: [salesforce-owner@example.com] }
668
+ ```
669
+
670
+ ```bash
671
+ identityscope check schedules.yaml # validate, list jobs
672
+ identityscope schedule schedules.yaml # keep running (Docker, a VM, a service)
673
+ identityscope schedule schedules.yaml --once [--job leavers-weekly] # for cron, Task Scheduler, CI
674
+ ```
675
+
676
+ - Files are saved per job under `output.dir`; `output.keepDays` deletes the tool's own old files.
677
+ - Emails carry the data as attachments; the body only has counts unless you set `previewRows`.
678
+ Teams, Slack and JSON webhooks only ever receive counts, never rows.
679
+ - `sendWhen` decides when to send: `always` (default), `rows` (only when there are rows), or `new`
680
+ (only when there are rows that were not in the previous run). Emails and chat messages then say how
681
+ many are new. `skipWhenEmpty: true` is the older spelling of `sendWhen: rows`.
682
+ - `report: "@instant-check"` runs the **instant check** instead of one report and sends a summary:
683
+ one line per check that needs attention, with its top causes (no names). With `sendWhen: rows` it
684
+ sends only when a check is amber or red; with `sendWhen: new` only when a check got worse or found
685
+ something new since the previous run. This makes a quiet daily alert for Teams or email.
686
+ - A failing job does not stop the others; `--once` exits with code 1 if any job failed.
687
+ - Ready-made setups: [Docker Compose](docker-compose.yml), [GitHub Actions](examples/github-actions.yml),
688
+ [full example](examples/schedules.yaml).
689
+
690
+ ## Permissions
691
+
692
+ IdentityScope only reads, so it only needs **read** scopes. This section says exactly which ones.
693
+ They are taken from SailPoint's published API specification, one per call the tool can make.
694
+
695
+ ### The short version
696
+
697
+ 1. Create the token as a **personal access token** of an identity with the **Org admin** user level
698
+ (ISC: your name > Preferences > Personal Access Tokens > New Token). A dedicated read-only
699
+ reporting identity is best for scheduled runs.
700
+ 2. Select the scopes in the box below. All of them end in `:read` or `read-only`.
701
+ 3. Enter the tenant, client ID and client secret on the sign-in screen.
702
+
703
+ Use a personal access token, not an API client with the *Client Credentials* grant: many ISC read
704
+ endpoints accept user tokens only, so a client-credentials client can sign in but most screens
705
+ would be refused.
706
+
707
+ **All read scopes in one list** (26). With these, every screen works:
708
+
709
+ ```
710
+ sp:search:read
711
+ idn:sources:read
712
+ idn:accounts:read
713
+ idn:entitlement:read
714
+ idn:campaign:read
715
+ idn:access-request-status:read
716
+ idn:identity-profile:read
717
+ idn:identity-profile-lifecycle-state:read
718
+ idn:role-unchecked:read
719
+ idn:access-profile:read
720
+ idn:remote-client:read
721
+ sp:workflow:read
722
+ sp:workflow-execution:read
723
+ idn:transform:read
724
+ idn:provisioning-policy:read
725
+ idn:workgroup:read
726
+ idn:attr-sync-source-config:read
727
+ idn:mis-account:read
728
+ idn:rule-management-connector:read
729
+ idn:identity-profile-attribute:read
730
+ idn:sod-policy:read
731
+ idn:password-policy:read
732
+ sp:trigger-service-subscriptions:read
733
+ sp:forms:read
734
+ idn:notification-templates:read
735
+ idn:segment:read
736
+ ```
737
+
738
+ ### What each group is for
739
+
740
+ You do not need all 26 to start. A missing scope never breaks the tool: the screen that needs it
741
+ says which permission is missing, and everything else keeps working.
742
+
743
+ | Scopes | Needed for |
744
+ | --- | --- |
745
+ | `sp:search:read`, `idn:sources:read` | **Signing in at all.** The connection test reads the source list, and most reports, checks and warnings search identities, events and account activity. |
746
+ | `idn:accounts:read`, `idn:entitlement:read`, `idn:campaign:read`, `idn:access-request-status:read`, `idn:identity-profile:read`, `idn:role-unchecked:read`, `idn:access-profile:read` | **Reports and the Instant check**: accounts, entitlements, certification campaigns and review items, access requests, identity profiles, roles and access profiles. |
747
+ | `idn:remote-client:read`, `sp:workflow:read`, `sp:workflow-execution:read`, `idn:transform:read` | **Tenant page, Logs, Build & test**: Virtual Appliances, workflows and their runs, transforms. |
748
+ | `idn:identity-profile-lifecycle-state:read`, `idn:workgroup:read`, `idn:attr-sync-source-config:read`, `idn:mis-account:read` | **Warnings**: lifecycle settings and Coming up, governance groups and group approvals, attribute sync drift, service accounts. |
749
+ | `idn:provisioning-policy:read`, `idn:rule-management-connector:read`, `idn:identity-profile-attribute:read`, `idn:sod-policy:read`, `idn:password-policy:read`, `sp:trigger-service-subscriptions:read`, `sp:forms:read`, `idn:notification-templates:read`, `idn:segment:read` | **Compare tenants, Change history, Drift check, Sensitive changes**, and the account create preview: the configuration kinds they compare. |
750
+
751
+ ### Optional scopes
752
+
753
+ | Scope | Only if you want |
754
+ | --- | --- |
755
+ | `sp:all-personal-access-tokens:read` and `sp:oauth-client:read` | The **API credentials** tab and check: every token and API client, who owns it, when it expires. With `sp:my-personal-access-tokens:read` instead, only the token owner's own tokens are shown, which is enough for the warning before IdentityScope's own token expires. |
756
+ | `nerm:api:read-only` | The **Non-employees** page. NERM accepts the same token, so no second secret is needed. |
757
+ | `sp:config:read` | Comparing **cloud rules** between tenants. Off by default: it is the one feature that makes ISC create something (an export job), so you switch it on yourself. |
758
+ | `idn:source-connector:manage` | **Connector diagnostics** (test connection, peek). Off by default, and the only scope here that is not a read scope: ISC offers no read scope for these calls. Nothing is changed in ISC or the application. |
759
+
760
+ ### Sign in with SailPoint
761
+
762
+ For the browser sign-in an ISC admin creates one API client for everyone (see
763
+ [One-time setup](#one-time-setup-for-sign-in-with-sailpoint-isc-admin)) with the grant types
764
+ **Authorization Code** and **Refresh Token** and the same scopes as above. Each user then gets the
765
+ overlap of those scopes and their own ISC user level, never more than they can see in ISC itself.
766
+
767
+ ### User levels
768
+
769
+ Scopes say what the token may ask for; the identity's user level says what ISC will answer. **Org
770
+ admin** covers everything. Lower levels work for parts: Report admin and Cert admin can search and
771
+ read campaigns; Source admin can read sources and accounts; Role admin can read roles and access
772
+ profiles. Workflows, Virtual Appliances, transforms, access-request status and the configuration
773
+ comparison need Org admin.
774
+
775
+ For roles, `idn:role-unchecked:read` is the one to pick; `idn:role-checked:read` is for Role
776
+ sub-admins and is often not offered when you create a token.
777
+
778
+ ### Per screen
779
+
780
+ | Dataset | Scope | ISC user levels that can read it |
781
+ | --- | --- | --- |
782
+ | identities, roles, accessProfiles, events, accountActivities | `sp:search:read` | Org admin, Cert admin, Report admin |
783
+ | accounts | `idn:accounts:read` | Org admin, Source admin |
784
+ | entitlements | `idn:entitlement:read` | Any |
785
+ | sources | `idn:sources:read` | Org admin, Source admin |
786
+ | campaigns, certificationItems | `idn:campaign:read` | Org admin, Cert admin, Report admin |
787
+ | accessRequests | `idn:access-request-status:read` | Org admin |
788
+ | identityProfiles | `idn:identity-profile:read` | Org admin |
789
+ | Logs > What ISC recorded | `sp:search:read`, `idn:sources:read`, `idn:remote-client:read` | Org admin |
790
+ | Logs > Connector log | none (reads a file on this computer) | none |
791
+ | Tenant page (clusters, workflows, transforms) | `idn:remote-client:read`, `sp:workflow:read`, `sp:workflow-execution:read`, `idn:transform:read` | Org admin |
792
+ | Build & test, Tenant > Transforms, Workflows and Credential map | Transform lab and impact: `idn:transform:read`, `idn:identity-profile:read`, `idn:sources:read`, `sp:search:read`; on people and account preview also `idn:accounts:read`; workflow lab, replay and health: `sp:workflow:read`, `sp:workflow-execution:read`; drift check: the scopes of Change history; role preview: those of Role tools | Org admin |
793
+ | Certifications page | `idn:campaign:read` (a certification admin sees every reviewer) | Org admin, Certification admin |
794
+ | API credentials (Tenant page) | `sp:all-personal-access-tokens:read` or `sp:my-personal-access-tokens:read`, `sp:oauth-client:read` | Any (all tokens: Org admin) |
795
+ | Connector diagnostics (opt-in) | `idn:source-connector:manage` (only needed if you turn diagnostics on) | Org admin |
796
+ | License reclaim | `sp:search:read`, `idn:sources:read`, `idn:accounts:read` | Org admin, Source admin |
797
+ | Separation of duties, Find candidate roles | `sp:search:read` | Org admin, Report admin |
798
+ | Access requests insights | `idn:access-request-status:read` (an admin sees everyone's requests) | Org admin |
799
+ | Change history | the scopes of the Tenant page plus `sp:search:read` | Org admin |
800
+ | Evidence pack | the scopes of the parts you include | Org admin, Cert admin |
801
+ | Role tools (role details and criteria) | `idn:role-unchecked:read` or `idn:role-checked:read`, plus `sp:search:read` | Org admin, Role admin |
802
+
803
+ A custom user level with these read permissions is the cleanest choice. `certificationItems` only
804
+ returns certifications the token's identity may review, so run it with a certification admin's token.
805
+
806
+ ## Security
807
+
808
+ - **Read-only**: every request is checked against a fixed allow-list of thirty-nine read endpoints (plus three opt-in connector diagnostics, see below) before it
809
+ is sent; anything else is refused, including in the UI Development Kit adapter. Requests to NERM
810
+ go through their own allow-list: `GET` only, on seven read endpoints.
811
+ - **No other servers involved**: data travels only between ISC and where you run the tool.
812
+ - **Secrets**: read from environment variables; the config loader warns when one is written in a file.
813
+ Tokens and secrets are never logged or included in error messages.
814
+ - **Untrusted data**: values from source systems are escaped in HTML, kept as text in Excel, and prefixed
815
+ in CSV when they would otherwise run as a spreadsheet formula.
816
+ - **Scope**: a job's `scope` is applied after the report's own filters and cannot be overridden by
817
+ parameters, so an application owner only receives their application's data.
818
+
819
+ See [SECURITY.md](SECURITY.md).
820
+
821
+ ## Limits
822
+
823
+ - ISC search returns at most 10,000 results per window; identityscope pages past that with `searchAfter`,
824
+ so there is no row limit, but very large tenants take a few minutes per report.
825
+ - Rate limits (HTTP 429) are handled by waiting as long as ISC's `Retry-After` says.
826
+ - List APIs are read 250 records per call. Where ISC reports a total (accounts, access requests),
827
+ progress shows "N of total". Paging stops at the total, and stops with an error if ISC ever sends
828
+ the same page twice, so a run can never loop forever. Press Ctrl+C to stop a run.
829
+ - Filters can be given as a list; parts that use an optional parameter without a value are left out.
830
+ - Data is as current as ISC's search index, which can trail changes by a few minutes.
831
+
832
+ ### Large tenants
833
+
834
+ - **Reading** is always in pages (250 records per call) and only the fields a report needs are
835
+ asked for, so the size of the tenant sets how long a run takes, not whether it works.
836
+ - **Counting** uses ISC's own totals where ISC documents them (for example uncorrelated accounts
837
+ per source), instead of reading every record.
838
+ - **Results are held in memory** until you download them. That is the real limit: a report with a
839
+ few hundred thousand rows is fine on a normal laptop; several million rows may not be. When
840
+ memory is nearly full, the run is stopped with a message and the program stays open.
841
+ - **Keep runs small:** pick sources or add a search query where a screen offers it, and choose a
842
+ shorter period. Screens that need one call per item (entitlement owners, approver chain) stop at
843
+ a stated number and say so.
844
+ - **The screen shows the first rows** (500 for reports, 5,000 for the other screens); the downloads
845
+ always contain everything.
846
+ - **All tenants** checks one tenant at a time and saves each result when that tenant is done.
847
+ - For very large exports, schedule the report at night; it runs without the browser.
848
+ - **Reports ask for what they need.** A report's own conditions are sent to ISC where its search
849
+ can express them, so "Active people without a manager" asks for active identities without a
850
+ manager instead of reading every identity. Every row is still checked on this computer, what is
851
+ sent is never stricter than the report's condition, and if ISC does not accept the shorter
852
+ request the report falls back to reading everything and says so. Reports that count or compare
853
+ across everyone (people by lifecycle state, the joiner and leaver comparisons) still read
854
+ everyone.
855
+ - **Answers ISC refuses as too large (HTTP 413).** Reports ask only for the fields they use, and
856
+ any search page ISC still refuses is asked for again at half the size, down to one record.
857
+ - **Lists longer than 10,000.** ISC refuses to page a list past 10,000 items. Accounts,
858
+ entitlements, access requests, roles and access profiles are therefore read in creation-date
859
+ slices, each item once. Any other list that reaches the limit, or any item that could not be
860
+ read, is said in a note on the result. Nothing is cut off silently.
861
+ - **Work in passes.** The heaviest comparisons (joiner and leaver gaps in the health check, missed
862
+ leavers, mover leftovers) read ISC person by person, twice where needed, and keep nobody in
863
+ memory. They take longer and need little memory, whatever the tenant size.
864
+
865
+ #### Stress test
866
+
867
+ `npm run stress -- --people 1000000 --memory 2048` runs the heavy features against a made-up
868
+ tenant generated on the fly (no ISC involved), each in its own process with the given memory limit,
869
+ and prints time and peak memory. It behaves like ISC where it matters: pages of 250, search windows,
870
+ totals, creation-date filters, and a refusal to page past 10,000.
871
+
872
+ Result for 0.27.0 with **1,000,000 people, 4,000,000 accounts and 40,000,000 access assignments**,
873
+ 2 GB memory limit (about what the program gets on a laptop with 8 GB of memory; more on bigger
874
+ machines): all 32 features finished. Peak memory, a selection:
875
+
876
+ | Feature | Peak memory |
877
+ | --- | --- |
878
+ | ccg.log reader, 5,000,000 lines | 31 MB |
879
+ | Privileged access gained | 54 MB |
880
+ | Instant check, all 17 checks | 141 MB |
881
+ | Mover leftovers | 167 MB |
882
+ | Joiners and leavers coming up | 166 MB |
883
+ | Missed leavers (550,000 findings) | 416 MB |
884
+ | Attribute sync drift | 655 MB |
885
+ | Report: managers and direct reports (950,000 rows) | 754 MB |
886
+ | Missed joiners with evidence | 1,761 MB |
887
+
888
+ What this does and does not show: it shows the program's own memory and logic at that size. It does
889
+ **not** show speed against a real tenant, where every page is a network call and ISC's rate limits
890
+ apply (a million identities is 4,000 calls per pass), and a made-up tenant cannot contain every odd
891
+ record a real one does. *Missed joiners* is the one screen that still keeps everyone in memory (the evidence check needs
892
+ them): in the program itself the memory guard steps in at about four fifths of the limit, so at a
893
+ million identities on a 2 GB limit that screen would be stopped with the message. At 500,000 it
894
+ needed 1.4 GB in the test, which is within the limit.
895
+ If a run does need more memory than there is, it stops with a message and the program stays open.
896
+
897
+ ## Using the engine in your own code
898
+
899
+ ```ts
900
+ import { HttpTransport, findBuiltin, runReport, toXlsx } from 'identityscope';
901
+
902
+ const transport = new HttpTransport({ baseUrl: 'acme', clientId, clientSecret });
903
+ const result = await runReport(findBuiltin('uncorrelated-accounts')!, { transport });
904
+ const workbook: Uint8Array = toXlsx(result);
905
+ ```
906
+
907
+ The core has no Node dependencies, so it runs in browsers too; implement the `Transport` interface to
908
+ use another HTTP client.
909
+
910
+ ## Development
911
+
912
+ ```bash
913
+ npm ci
914
+ npm test # 107 tests against a simulated tenant, including real XLSX parsing
915
+ ```
916
+
917
+ Not affiliated with or supported by SailPoint Technologies. MIT licensed.