identityscope 0.28.3 → 0.28.5

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 (91) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +914 -917
  3. package/SECURITY.md +56 -56
  4. package/dist/node/cli.js +26 -26
  5. package/dist/node/monthly.js +17 -17
  6. package/package.json +2 -2
  7. package/reports/access-profile-members.yaml +29 -29
  8. package/reports/access-profile-membership-counts.yaml +17 -17
  9. package/reports/access-profiles-without-owner.yaml +16 -16
  10. package/reports/access-request-audit-trail.yaml +36 -36
  11. package/reports/accounts-by-source.yaml +19 -19
  12. package/reports/active-identities-without-manager.yaml +22 -22
  13. package/reports/aggregation-failures.yaml +29 -29
  14. package/reports/aggregation-history.yaml +27 -27
  15. package/reports/all-sources.yaml +16 -16
  16. package/reports/application-accounts.yaml +32 -32
  17. package/reports/application-entitlements.yaml +31 -31
  18. package/reports/campaign-progress.yaml +23 -23
  19. package/reports/certification-decisions.yaml +31 -31
  20. package/reports/direct-reports-per-manager.yaml +20 -20
  21. package/reports/disabled-accounts-of-active-people.yaml +33 -33
  22. package/reports/duplicate-emails.yaml +16 -16
  23. package/reports/entitlement-holders.yaml +35 -35
  24. package/reports/entitlements-held-by-inactive-identities.yaml +31 -31
  25. package/reports/entitlements-without-owner.yaml +28 -28
  26. package/reports/identities-by-lifecycle-state.yaml +15 -15
  27. package/reports/identities-missing-key-attributes.yaml +27 -27
  28. package/reports/identities-with-processing-errors.yaml +19 -19
  29. package/reports/identity-attribute-mappings.yaml +27 -27
  30. package/reports/machine-accounts.yaml +28 -28
  31. package/reports/managers-and-direct-reports.yaml +23 -23
  32. package/reports/most-access.yaml +18 -18
  33. package/reports/new-identities.yaml +24 -24
  34. package/reports/old-passwords.yaml +35 -35
  35. package/reports/pending-reviews-by-reviewer.yaml +20 -20
  36. package/reports/person-access.yaml +31 -31
  37. package/reports/privileged-access.yaml +29 -29
  38. package/reports/provisioning-error-causes.yaml +27 -27
  39. package/reports/provisioning-errors.yaml +32 -32
  40. package/reports/provisioning-failures.yaml +28 -28
  41. package/reports/recent-access-requests.yaml +22 -22
  42. package/reports/recent-activity.yaml +32 -32
  43. package/reports/recent-leavers.yaml +34 -34
  44. package/reports/role-members.yaml +29 -29
  45. package/reports/role-membership-counts.yaml +18 -18
  46. package/reports/roles-without-owner.yaml +17 -17
  47. package/reports/sources-needing-attention.yaml +23 -23
  48. package/reports/stuck-access-requests.yaml +29 -29
  49. package/reports/team-access.yaml +30 -30
  50. package/reports/terminated-users-with-active-accounts.yaml +46 -46
  51. package/reports/uncorrelated-accounts.yaml +38 -38
  52. package/ui/js/00-setup.js +6 -6
  53. package/ui/js/01-small-helpers.js +143 -143
  54. package/ui/js/02-connection.js +150 -150
  55. package/ui/js/03-health-check.js +17 -17
  56. package/ui/js/04-library.js +135 -135
  57. package/ui/js/05-pickers.js +163 -163
  58. package/ui/js/06-report-view.js +157 -157
  59. package/ui/js/07-fields.js +85 -85
  60. package/ui/js/08-designer.js +360 -360
  61. package/ui/js/09-yaml.js +22 -22
  62. package/ui/js/10-instant-check.js +171 -171
  63. package/ui/js/11-lookup.js +161 -161
  64. package/ui/js/12-tenant.js +115 -115
  65. package/ui/js/13-source-configuration-and-diagnostics.js +64 -64
  66. package/ui/js/14-certifications.js +68 -68
  67. package/ui/js/15-monthly-report.js +24 -24
  68. package/ui/js/16-ownership.js +39 -39
  69. package/ui/js/17-compare-tenants.js +102 -102
  70. package/ui/js/18-audit.js +181 -181
  71. package/ui/js/19-insights.js +108 -108
  72. package/ui/js/20-role-mining.js +35 -35
  73. package/ui/js/21-share-reports.js +45 -45
  74. package/ui/js/22-partner-overview-all-customer-tenants.js +228 -228
  75. package/ui/js/23-in-app-guidance.js +217 -217
  76. package/ui/js/24-role-tools.js +220 -220
  77. package/ui/js/25-schedules.js +264 -264
  78. package/ui/js/26-start.js +7 -7
  79. package/ui/js/27-warnings.js +224 -224
  80. package/ui/js/28-audit-readiness.js +99 -99
  81. package/ui/js/29-lifecycle.js +182 -182
  82. package/ui/js/30-labs.js +265 -265
  83. package/ui/js/31-build.js +203 -203
  84. package/ui/js/32-lab-examples.js +148 -148
  85. package/ui/js/33-finder.js +89 -89
  86. package/ui/js/34-governance.js +129 -129
  87. package/ui/js/35-watch.js +266 -266
  88. package/ui/js/36-model.js +247 -247
  89. package/ui/js/37-logs-and-watch.js +224 -224
  90. package/ui/shell.html +112 -112
  91. package/ui/style.css +350 -350
package/SECURITY.md CHANGED
@@ -1,56 +1,56 @@
1
- # Security
2
-
3
- IdentityScope reads identity data, which is sensitive. This page explains how the tool handles it and
4
- how to report a problem.
5
-
6
- ## Threat model
7
-
8
- | Risk | How it is handled |
9
- | --- | --- |
10
- | The tool changes or deletes data in a tenant | Every request goes through `assertReadOnly`, an allow-list of thirty-nine read-only endpoints (thirty-eight `GET`s and `POST /search/v1`, which is a read). Anything else throws before a request is sent. The UI Development Kit adapter applies the same check. |
11
- | Credentials leak through files or logs | Secrets come from environment variables (`env:NAME` in configuration files); the loader warns when one is written in a file. Tokens and secrets never appear in logs or error messages, and webhook URLs are never logged. |
12
- | Over-privileged credentials | The README lists the scope each dataset needs, so a dedicated identity can hold read permissions only. |
13
- | Data reaches the wrong people | Emails carry data only as attachments; bodies show counts unless `previewRows` is set. Chat webhooks never receive rows. A job's `scope` is applied after the report's own filters and cannot be overridden by parameters. |
14
- | Report files emailed to the wrong people | Every recipient must be an active ISC identity with that exact email, checked when the schedule is saved and again before each send; leavers are always refused. Shared mailboxes and lists must be allowed one by one and only when no identity has that address. Mail requires TLS (implicit or STARTTLS). Each delivery is logged in `logs/deliveries.log` (time, report, rows, recipients). |
15
- | Connector diagnostics | Test connection, ping cluster and peek (`POST /sources/v1/{id}/connector/...`) change nothing, but make the Virtual Appliance contact the application, and peek returns live objects. They are refused by the allow-list unless the request is marked as a diagnostic, which the screen does only when diagnostics are switched on (off by default) and the user confirms each action. Peek is limited to 25 objects, password-like attributes are hidden, results are shown and not saved, and every use is written to `logs/diagnostics.log`. |
16
- | Source configuration | Shown with every value under a password, secret, token, key or credential field hidden, and encrypted values hidden. |
17
- | Local history | `history.json` (next to the schedules, owner-only) keeps, per tenant and check, the numbers and status of past checks and the identifiers of rows already seen (for example a source name, or a time, action and person of a failed change), so it can tell what is new. It holds no full report data and is never sent anywhere. Delete it to start over. |
18
- | Configuration snapshots | The change history keeps, per tenant and day, the configuration of sources, transforms, identity profiles, roles, access profiles and workflows in `changes/` next to the schedules (owner-only files, at most 400 days). Values under password, secret, token, key or credential fields and encrypted values are removed before saving. They contain host names and settings, so keep the folder as restricted as the tenant's configuration. |
19
- | Audit evidence pack | Built in memory and downloaded by the user; nothing is sent anywhere. The last three packs stay in the screen's memory until it closes. SHA-256 fingerprints let auditors detect changes; they are not a signature, so hand the zip over through a channel you trust. |
20
- | Partner overview (many tenants) | `tenants.json` (owner-only) holds customer names, tenant addresses and client IDs. Each tenant's client secret is stored separately in the owner-only secrets file as `ISC_TENANT_<ID>_SECRET`, is tested before it is saved and is never sent to the screen. Each tenant gets its own connection through the same read-only allow-list, its own history, and results are never mixed between tenants. Only https tenant addresses are accepted. Removing a tenant removes its secret. Ask customers for credentials of a read-only identity, and keep the computer that holds them as protected as the customers' own admin accounts. The scheduled summary carries customer names, counts and check statuses, never people's names. |
21
- | Report packs | A pack contains report definitions only (no data, no credentials). Imports are validated, shown before they are added, never replace ready-made reports and only write to the reports folder. |
22
- | Alerts | Chat messages (Teams, Slack, JSON) carry counts, check statuses and error causes with names, emails and IDs removed, never rows. Emails go only to active ISC identities, as before. |
23
- | Saved secrets | The token, mail password, webhook addresses and partner-tenant secrets the screen saves for automatic runs are kept in `~/.identityscope/secrets.json`, encrypted with AES-256-GCM (each value bound to its name, so a changed or moved value is detected). The key is in `secrets.key`: on Windows it is protected by Windows data protection (DPAPI) for the signed-in user on that computer, so a copy of the folder, a backup or another user cannot read the secrets; on macOS and Linux it is protected by owner-only file permissions only. Files from earlier versions are encrypted on first use. Secrets that cannot be opened are never overwritten. Never in the schedules file, never sent to the page. Environment variables take precedence. The Health check shows how secrets are protected. |
24
- | Sign in with SailPoint | Authorization code flow with PKCE (S256) and a random single-use `state` (expires after 10 minutes), so a sign-in started elsewhere or replayed is refused. The sign-in page address comes from the tenant's own `/oauth/info`. Tokens live only in memory, are refreshed while the screen runs and are never written to disk; only the tenant address and client ID are saved (`settings.json`). A sign-in cannot be saved for automatic runs. The user works with their own ISC permissions. |
25
- | Support file | Built on this computer and only downloaded (Help → Download a support file). Versions, settings, schedules, recent errors and log lines, with tokens, secrets, email addresses, tenant addresses, URLs' hosts, IDs and user folder names removed. Job names you chose are kept, so read it before sending. |
26
- | New version check | Only in builds that name a release address, and only when the user clicks **Check now** or turned on checking at start. It asks the release page for the latest version number; nothing about the user or the tenant is sent. |
27
- | API credentials | Reads the list of personal access tokens and API clients (two GETs on the allow-list; nothing can be created, changed or deleted). ISC does not return token values; any field named like a secret, password or key is dropped before anything else sees it, so a client secret is never shown, saved or exported. |
28
- | Warnings page | Only search and list reads already on the allow-list. Two small files are kept on this computer, owner-only: `identity-counts.json` (dates and two numbers per tenant) and `isc-admins-seen.json` (identity IDs of people with an ISC user level at the last look, to mark new ones). The end-date attribute name is checked to contain only letters, digits and `_` before it is used. The reminder email draft opens in your own mail program; IdentityScope sends nothing. |
29
- | Accepted exceptions | Kept on this computer only, owner-only (`exceptions.json`): the check, the item's key (for example a person's name), the reason, who accepted it and until when. Nothing is written to ISC; an exception only hides that item in IdentityScope's own checks until its end date, and every one stays on record. |
30
- | Demo tenant | A made-up tenant served by the program itself on 127.0.0.1, on a port chosen at start, only while the demo is in use; it is stopped on Disconnect, on connecting to a real tenant and when the program closes. It holds invented data only and answers reads only. The program talks to it through the same read-only allow-list as a real tenant. Its fixed sign-in is not a secret and opens nothing else. Demo results kept on this computer (history, snapshots) go under the name `demo-tenant`, apart from any real tenant, and the demo cannot be saved as the remembered connection. |
31
- | Logs page | The connector log is read from a path you type or a file you choose, on this computer, line by line; nothing from it is written to disk, kept after the result is closed, or sent anywhere. Only lines in the ccg.log format (one JSON object per line) are ever shown; anything else in a file is counted and not displayed, so pointing it at some other file reveals nothing. Values named like passwords, tokens or keys are replaced before a line is kept. The route needs the same key as every other request. “What ISC recorded” uses only search and list reads already on the allow-list. Log lines can name people and systems: treat an export like the tenant's configuration. |
32
- | Privileged access gained | One owner-only file per tenant under `privileged-seen/`: identity and entitlement IDs of who holds which privileged entitlement, and the findings of the last 90 days (names of people, entitlements and sources). |
33
- | Threat signals | Only search and the access-request list, reads already on the allow-list. Results are signals for a person to look at; nothing is blocked, disabled or reported anywhere. Network addresses from sign-in events are shown on the screen and in its exports only. |
34
- | Transform lab and Workflow lab | Transforms and workflows are evaluated on this computer; nothing is created, changed, tested or started in ISC. The only additions to the allow-list are two reads of a workflow run's history (`GET /workflow-executions/v1/{id}/history` and `history-v2`). Workflow definitions and histories pass through the secret filter before reaching the page; secret fields in a simulated step show as "(hidden)". Saved test cases (`lab-tests.json`, owner-only) hold the inputs and expected values you type. |
35
- | Account create preview and transform impact | One more read on the allow-list: a source's provisioning policies (`GET /sources/v1/{id}/provisioning-policies`). The policy is worked out on this computer; nothing is created. Fields named like a password are never worked out or shown. |
36
- | Workflow health | Reads runs and the history of failed runs (reads already on the allow-list). Error texts are shown on the screen and in its exports as ISC recorded them, with IDs, numbers, emails and quoted values replaced; they can still name systems, so treat exports like the tenant's configuration. |
37
- | Drift check | The approved baseline is a copy of a configuration snapshot (same content and protection as the change history: secrets removed, owner-only file in `baselines/`). Checking for drift reads the configuration again; nothing is written to ISC. |
38
- | Missed joiners | Reads each identity profile's lifecycle states (`GET /identity-profiles/v1/{id}/lifecycle-states`), and, for the people checked (at most 1,000), their accounts, account activities and audit events, all reads. The lifecycle mapping is worked out on this computer. |
39
- | Compare tenants, change history and drift check | Read the configuration lists on the allow-list (connector rules, identity attributes, governance groups, segments, SOD and password policies, event trigger subscriptions, forms, email templates, provisioning policies and lifecycle states, besides sources, transforms, identity profiles, roles, access profiles and workflows). Secret-like fields are replaced before anything is compared, shown or stored. Cloud rule code is read only when the user turns on "Also compare cloud rule code" for one comparison: IdentityScope then starts an SP-Config export job of cloud rules (`POST /sp-config/v1/export` with `includeTypes: ["RULE"]` and nothing else; the guard refuses any other body, path or object type, and refuses it without the switch) and reads its status and result. The job changes no configuration. Change history and the drift check never start it. |
40
- | Credential map | Reads workflow definitions and source connection settings already on the allow-list. Fields named like a secret, password, token or key only set "a secret is filled in"; their values are never kept, shown or exported. The map lists client IDs, user names and host names, so treat its export like the tenant's configuration. |
41
- | Stopping a job | **Stop** ends a job at its next request to ISC. A stopped instant check saves nothing partial. |
42
- | The local report screen | Listens on 127.0.0.1 only; every API call needs a random key from the address; other host names and origins are refused; strict content security policy; no secrets returned to the page. |
43
- | Malicious values from source systems | HTML output escapes every value. Excel cells are written as inline text, never formulas. CSV cells that start with `=`, `+`, `-`, `@`, tab or carriage return get a leading apostrophe. Control characters that break XML are removed. |
44
- | Report files accumulate | `output.keepDays` deletes the tool's own files (matched by exact name pattern) after the retention period. |
45
- | Supply chain | Three runtime dependencies (`yaml`, `croner`, `nodemailer`), none of them with install scripts. The XLSX and ZIP writers are built in. |
46
-
47
- ## What you should do
48
-
49
- - People running reports by hand: use Sign in with SailPoint so each person has only their own access.
50
- - Automatic runs: a personal access token of a dedicated reporting identity that has read permissions only.
51
- - Keep the output folder and the email recipients as restricted as the data in the reports.
52
- - Store secrets in a secret manager or CI secrets, not in files.
53
-
54
- ## Reporting a vulnerability
55
-
56
- Please open a private security advisory on the repository instead of a public issue.
1
+ # Security
2
+
3
+ IdentityScope reads identity data, which is sensitive. This page explains how the tool handles it and
4
+ how to report a problem.
5
+
6
+ ## Threat model
7
+
8
+ | Risk | How it is handled |
9
+ | --- | --- |
10
+ | The tool changes or deletes data in a tenant | Every request goes through `assertReadOnly`, an allow-list of thirty-nine read-only endpoints (thirty-eight `GET`s and `POST /search/v1`, which is a read). Anything else throws before a request is sent. The UI Development Kit adapter applies the same check. |
11
+ | Credentials leak through files or logs | Secrets come from environment variables (`env:NAME` in configuration files); the loader warns when one is written in a file. Tokens and secrets never appear in logs or error messages, and webhook URLs are never logged. |
12
+ | Over-privileged credentials | The README lists the scope each dataset needs, so a dedicated identity can hold read permissions only. |
13
+ | Data reaches the wrong people | Emails carry data only as attachments; bodies show counts unless `previewRows` is set. Chat webhooks never receive rows. A job's `scope` is applied after the report's own filters and cannot be overridden by parameters. |
14
+ | Report files emailed to the wrong people | Every recipient must be an active ISC identity with that exact email, checked when the schedule is saved and again before each send; leavers are always refused. Shared mailboxes and lists must be allowed one by one and only when no identity has that address. Mail requires TLS (implicit or STARTTLS). Each delivery is logged in `logs/deliveries.log` (time, report, rows, recipients). |
15
+ | Connector diagnostics | Test connection, ping cluster and peek (`POST /sources/v1/{id}/connector/...`) change nothing, but make the Virtual Appliance contact the application, and peek returns live objects. They are refused by the allow-list unless the request is marked as a diagnostic, which the screen does only when diagnostics are switched on (off by default) and the user confirms each action. Peek is limited to 25 objects, password-like attributes are hidden, results are shown and not saved, and every use is written to `logs/diagnostics.log`. |
16
+ | Source configuration | Shown with every value under a password, secret, token, key or credential field hidden, and encrypted values hidden. |
17
+ | Local history | `history.json` (next to the schedules, owner-only) keeps, per tenant and check, the numbers and status of past checks and the identifiers of rows already seen (for example a source name, or a time, action and person of a failed change), so it can tell what is new. It holds no full report data and is never sent anywhere. Delete it to start over. |
18
+ | Configuration snapshots | The change history keeps, per tenant and day, the configuration of sources, transforms, identity profiles, roles, access profiles and workflows in `changes/` next to the schedules (owner-only files, at most 400 days). Values under password, secret, token, key or credential fields and encrypted values are removed before saving. They contain host names and settings, so keep the folder as restricted as the tenant's configuration. |
19
+ | Audit evidence pack | Built in memory and downloaded by the user; nothing is sent anywhere. The last three packs stay in the screen's memory until it closes. SHA-256 fingerprints let auditors detect changes; they are not a signature, so hand the zip over through a channel you trust. |
20
+ | Partner overview (many tenants) | `tenants.json` (owner-only) holds customer names, tenant addresses and client IDs. Each tenant's client secret is stored separately in the owner-only secrets file as `ISC_TENANT_<ID>_SECRET`, is tested before it is saved and is never sent to the screen. Each tenant gets its own connection through the same read-only allow-list, its own history, and results are never mixed between tenants. Only https tenant addresses are accepted. Removing a tenant removes its secret. Ask customers for credentials of a read-only identity, and keep the computer that holds them as protected as the customers' own admin accounts. The scheduled summary carries customer names, counts and check statuses, never people's names. |
21
+ | Report packs | A pack contains report definitions only (no data, no credentials). Imports are validated, shown before they are added, never replace ready-made reports and only write to the reports folder. |
22
+ | Alerts | Chat messages (Teams, Slack, JSON) carry counts, check statuses and error causes with names, emails and IDs removed, never rows. Emails go only to active ISC identities, as before. |
23
+ | Saved secrets | The token, mail password, webhook addresses and partner-tenant secrets the screen saves for automatic runs are kept in `~/.identityscope/secrets.json`, encrypted with AES-256-GCM (each value bound to its name, so a changed or moved value is detected). The key is in `secrets.key`: on Windows it is protected by Windows data protection (DPAPI) for the signed-in user on that computer, so a copy of the folder, a backup or another user cannot read the secrets; on macOS and Linux it is protected by owner-only file permissions only. Files from earlier versions are encrypted on first use. Secrets that cannot be opened are never overwritten. Never in the schedules file, never sent to the page. Environment variables take precedence. The Health check shows how secrets are protected. |
24
+ | Sign in with SailPoint | Authorization code flow with PKCE (S256) and a random single-use `state` (expires after 10 minutes), so a sign-in started elsewhere or replayed is refused. The sign-in page address comes from the tenant's own `/oauth/info`. Tokens live only in memory, are refreshed while the screen runs and are never written to disk; only the tenant address and client ID are saved (`settings.json`). A sign-in cannot be saved for automatic runs. The user works with their own ISC permissions. |
25
+ | Support file | Built on this computer and only downloaded (Help → Download a support file). Versions, settings, schedules, recent errors and log lines, with tokens, secrets, email addresses, tenant addresses, URLs' hosts, IDs and user folder names removed. Job names you chose are kept, so read it before sending. |
26
+ | New version check | Only in builds that name a release address, and only when the user clicks **Check now** or turned on checking at start. It asks the release page for the latest version number; nothing about the user or the tenant is sent. |
27
+ | API credentials | Reads the list of personal access tokens and API clients (two GETs on the allow-list; nothing can be created, changed or deleted). ISC does not return token values; any field named like a secret, password or key is dropped before anything else sees it, so a client secret is never shown, saved or exported. |
28
+ | Warnings page | Only search and list reads already on the allow-list. Two small files are kept on this computer, owner-only: `identity-counts.json` (dates and two numbers per tenant) and `isc-admins-seen.json` (identity IDs of people with an ISC user level at the last look, to mark new ones). The end-date attribute name is checked to contain only letters, digits and `_` before it is used. The reminder email draft opens in your own mail program; IdentityScope sends nothing. |
29
+ | Accepted exceptions | Kept on this computer only, owner-only (`exceptions.json`): the check, the item's key (for example a person's name), the reason, who accepted it and until when. Nothing is written to ISC; an exception only hides that item in IdentityScope's own checks until its end date, and every one stays on record. |
30
+ | Demo tenant | A made-up tenant served by the program itself on 127.0.0.1, on a port chosen at start, only while the demo is in use; it is stopped on Disconnect, on connecting to a real tenant and when the program closes. It holds invented data only and answers reads only. The program talks to it through the same read-only allow-list as a real tenant. Its fixed sign-in is not a secret and opens nothing else. Demo results kept on this computer (history, snapshots) go under the name `demo-tenant`, apart from any real tenant, and the demo cannot be saved as the remembered connection. |
31
+ | Logs page | The connector log is read from a path you type or a file you choose, on this computer, line by line; nothing from it is written to disk, kept after the result is closed, or sent anywhere. Only lines in the ccg.log format (one JSON object per line) are ever shown; anything else in a file is counted and not displayed, so pointing it at some other file reveals nothing. Values named like passwords, tokens or keys are replaced before a line is kept. The route needs the same key as every other request. “What ISC recorded” uses only search and list reads already on the allow-list. Log lines can name people and systems: treat an export like the tenant's configuration. |
32
+ | Privileged access gained | One owner-only file per tenant under `privileged-seen/`: identity and entitlement IDs of who holds which privileged entitlement, and the findings of the last 90 days (names of people, entitlements and sources). |
33
+ | Threat signals | Only search and the access-request list, reads already on the allow-list. Results are signals for a person to look at; nothing is blocked, disabled or reported anywhere. Network addresses from sign-in events are shown on the screen and in its exports only. |
34
+ | Transform lab and Workflow lab | Transforms and workflows are evaluated on this computer; nothing is created, changed, tested or started in ISC. The only additions to the allow-list are two reads of a workflow run's history (`GET /workflow-executions/v1/{id}/history` and `history-v2`). Workflow definitions and histories pass through the secret filter before reaching the page; secret fields in a simulated step show as "(hidden)". Saved test cases (`lab-tests.json`, owner-only) hold the inputs and expected values you type. |
35
+ | Account create preview and transform impact | One more read on the allow-list: a source's provisioning policies (`GET /sources/v1/{id}/provisioning-policies`). The policy is worked out on this computer; nothing is created. Fields named like a password are never worked out or shown. |
36
+ | Workflow health | Reads runs and the history of failed runs (reads already on the allow-list). Error texts are shown on the screen and in its exports as ISC recorded them, with IDs, numbers, emails and quoted values replaced; they can still name systems, so treat exports like the tenant's configuration. |
37
+ | Drift check | The approved baseline is a copy of a configuration snapshot (same content and protection as the change history: secrets removed, owner-only file in `baselines/`). Checking for drift reads the configuration again; nothing is written to ISC. |
38
+ | Missed joiners | Reads each identity profile's lifecycle states (`GET /identity-profiles/v1/{id}/lifecycle-states`), and, for the people checked (at most 1,000), their accounts, account activities and audit events, all reads. The lifecycle mapping is worked out on this computer. |
39
+ | Compare tenants, change history and drift check | Read the configuration lists on the allow-list (connector rules, identity attributes, governance groups, segments, SOD and password policies, event trigger subscriptions, forms, email templates, provisioning policies and lifecycle states, besides sources, transforms, identity profiles, roles, access profiles and workflows). Secret-like fields are replaced before anything is compared, shown or stored. Cloud rule code is read only when the user turns on "Also compare cloud rule code" for one comparison: IdentityScope then starts an SP-Config export job of cloud rules (`POST /sp-config/v1/export` with `includeTypes: ["RULE"]` and nothing else; the guard refuses any other body, path or object type, and refuses it without the switch) and reads its status and result. The job changes no configuration. Change history and the drift check never start it. |
40
+ | Credential map | Reads workflow definitions and source connection settings already on the allow-list. Fields named like a secret, password, token or key only set "a secret is filled in"; their values are never kept, shown or exported. The map lists client IDs, user names and host names, so treat its export like the tenant's configuration. |
41
+ | Stopping a job | **Stop** ends a job at its next request to ISC. A stopped instant check saves nothing partial. |
42
+ | The local report screen | Listens on 127.0.0.1 only; every API call needs a random key from the address; other host names and origins are refused; strict content security policy; no secrets returned to the page. |
43
+ | Malicious values from source systems | HTML output escapes every value. Excel cells are written as inline text, never formulas. CSV cells that start with `=`, `+`, `-`, `@`, tab or carriage return get a leading apostrophe. Control characters that break XML are removed. |
44
+ | Report files accumulate | `output.keepDays` deletes the tool's own files (matched by exact name pattern) after the retention period. |
45
+ | Supply chain | Three runtime dependencies (`yaml`, `croner`, `nodemailer`), none of them with install scripts. The XLSX and ZIP writers are built in. |
46
+
47
+ ## What you should do
48
+
49
+ - People running reports by hand: use Sign in with SailPoint so each person has only their own access.
50
+ - Automatic runs: a personal access token of a dedicated reporting identity that has read permissions only.
51
+ - Keep the output folder and the email recipients as restricted as the data in the reports.
52
+ - Store secrets in a secret manager or CI secrets, not in files.
53
+
54
+ ## Reporting a vulnerability
55
+
56
+ Please open a private security advisory on the repository instead of a public issue.
package/dist/node/cli.js CHANGED
@@ -30,32 +30,32 @@ import { isSpecialJob, runOnce, startScheduler } from './runner.js';
30
30
  import { BUNDLE_VERSION, EXE_VERSION, IS_EXE, IS_NODE_BUNDLE } from './runtime.js';
31
31
  import { FORMATS, writeOutputs } from './write.js';
32
32
  const VERSION = EXE_VERSION ?? BUNDLE_VERSION ?? JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf8')).version;
33
- const HELP = `identityscope ${VERSION} - custom reports for SailPoint Identity Security Cloud (read-only)
34
-
35
- Usage:
36
- identityscope ui [--port <n>] [--no-open] Open the report screen in your browser
37
- identityscope ui --demo The same on a made-up tenant: try it without signing in
38
- identityscope doctor [--out <folder>] Check the connection, permissions and data; prints a summary safe to share
39
- identityscope list [--dir <folder>] Built-in and custom reports
40
- identityscope show <report> Print a report definition (YAML), to copy and customize
41
- identityscope fields [dataset] Datasets and the fields you can use
42
- identityscope validate <file...> Check report definition files
43
- identityscope run <report> [options] Run a report and save it
44
- --param name=value Report parameter (repeatable)
45
- --format xlsx,csv Output formats: ${FORMATS.join(', ')} (default xlsx)
46
- --out <path> Folder, or a file name when there is one format (default .)
47
- --preview <n> Read only the first n records (quick test)
48
- --group-by <field> Count rows per value instead of listing them (repeatable)
49
- --dir <folder> Folder with custom report definitions
50
- --tenant <url|name> Overrides ISC_BASE_URL
51
- identityscope schedule <config.yaml> Run the scheduler (keeps running)
52
- --once Run the jobs now and exit (for cron, CI, Task Scheduler)
53
- --job <name> Only this job (repeatable, with --once)
54
- identityscope check <config.yaml> Check a scheduler configuration
55
-
56
- Credentials (environment): ISC_BASE_URL (https://<tenant>.api.identitynow.com or the tenant name),
57
- ISC_CLIENT_ID, ISC_CLIENT_SECRET. Use a personal access token of a read-only reporting identity.
58
- The SailPoint CLI variables SAIL_BASE_URL, SAIL_CLIENT_ID and SAIL_CLIENT_SECRET also work.
33
+ const HELP = `identityscope ${VERSION} - custom reports for SailPoint Identity Security Cloud (read-only)
34
+
35
+ Usage:
36
+ identityscope ui [--port <n>] [--no-open] Open the report screen in your browser
37
+ identityscope ui --demo The same on a made-up tenant: try it without signing in
38
+ identityscope doctor [--out <folder>] Check the connection, permissions and data; prints a summary safe to share
39
+ identityscope list [--dir <folder>] Built-in and custom reports
40
+ identityscope show <report> Print a report definition (YAML), to copy and customize
41
+ identityscope fields [dataset] Datasets and the fields you can use
42
+ identityscope validate <file...> Check report definition files
43
+ identityscope run <report> [options] Run a report and save it
44
+ --param name=value Report parameter (repeatable)
45
+ --format xlsx,csv Output formats: ${FORMATS.join(', ')} (default xlsx)
46
+ --out <path> Folder, or a file name when there is one format (default .)
47
+ --preview <n> Read only the first n records (quick test)
48
+ --group-by <field> Count rows per value instead of listing them (repeatable)
49
+ --dir <folder> Folder with custom report definitions
50
+ --tenant <url|name> Overrides ISC_BASE_URL
51
+ identityscope schedule <config.yaml> Run the scheduler (keeps running)
52
+ --once Run the jobs now and exit (for cron, CI, Task Scheduler)
53
+ --job <name> Only this job (repeatable, with --once)
54
+ identityscope check <config.yaml> Check a scheduler configuration
55
+
56
+ Credentials (environment): ISC_BASE_URL (https://<tenant>.api.identitynow.com or the tenant name),
57
+ ISC_CLIENT_ID, ISC_CLIENT_SECRET. Use a personal access token of a read-only reporting identity.
58
+ The SailPoint CLI variables SAIL_BASE_URL, SAIL_CLIENT_ID and SAIL_CLIENT_SECRET also work.
59
59
  `;
60
60
  async function main(argv) {
61
61
  const { values, positionals } = parseArgs({
@@ -86,23 +86,23 @@ export function monthlyHtml(d) {
86
86
  const snap = d.snapshot?.length
87
87
  ? `<h2>The tenant today</h2><div class="grid">${d.snapshot.map((s) => `<div class="k"><b>${s.count === null ? '—' : fmt(s.count)}</b><span>${escapeHtml(s.label)}</span></div>`).join('')}</div>`
88
88
  : '';
89
- return `<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Identity operations report: ${escapeHtml(d.monthLabel)}</title>
90
- <style>
91
- body{font:14px/1.5 "Segoe UI",-apple-system,Roboto,Arial,sans-serif;color:#0f172a;max-width:1000px;margin:32px auto;padding:0 24px}
92
- h1{font-size:24px;margin:0 0 4px}h2{font-size:16px;margin:28px 0 10px}.sub{color:#64748b;margin:0 0 20px}
93
- ul.h{background:#f3f6fb;border-radius:10px;padding:14px 18px 14px 34px;margin:0}ul.h li{margin:4px 0}
94
- table{border-collapse:collapse;width:100%;font-size:13px}th,td{border-bottom:1px solid #e3e8ef;padding:8px 10px;text-align:left;vertical-align:middle}th{background:#f6f8fb;font-size:12px;color:#334155}
95
- td.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.u{color:#64748b;font-size:12px}.red{color:#b42318;font-weight:700}.amber{color:#8a5a00;font-weight:700}
96
- .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.k{border:1px solid #e3e8ef;border-radius:10px;padding:10px 12px}.k b{display:block;font-size:20px}.k span{color:#64748b;font-size:12px}
97
- .foot{color:#94a3b8;font-size:12px;margin-top:28px}@media print{body{margin:0}}
98
- </style></head><body>
99
- <h1>Identity operations report: ${escapeHtml(d.monthLabel)}</h1>
100
- <p class="sub">${escapeHtml(d.tenant)} · generated ${escapeHtml(d.generatedAt.slice(0, 16).replace('T', ' '))} UTC by identityscope</p>
101
- <h2>Highlights</h2><ul class="h">${d.highlights.map((h) => `<li>${escapeHtml(h)}</li>`).join('')}</ul>
102
- <h2>Daily checks during the month</h2>
103
- <table><thead><tr><th>Check</th><th>First day</th><th>Last day</th><th>Change</th><th>Days checked</th><th>Days red / amber</th><th>Trend</th></tr></thead><tbody>${rows}</tbody></table>
104
- ${snap}
105
- <p class="foot">Lower is better for every check. Numbers come from the instant checks recorded on the computer that runs identityscope (one value per day: the last check of the day). Read-only: nothing was changed in the tenant.</p>
89
+ return `<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Identity operations report: ${escapeHtml(d.monthLabel)}</title>
90
+ <style>
91
+ body{font:14px/1.5 "Segoe UI",-apple-system,Roboto,Arial,sans-serif;color:#0f172a;max-width:1000px;margin:32px auto;padding:0 24px}
92
+ h1{font-size:24px;margin:0 0 4px}h2{font-size:16px;margin:28px 0 10px}.sub{color:#64748b;margin:0 0 20px}
93
+ ul.h{background:#f3f6fb;border-radius:10px;padding:14px 18px 14px 34px;margin:0}ul.h li{margin:4px 0}
94
+ table{border-collapse:collapse;width:100%;font-size:13px}th,td{border-bottom:1px solid #e3e8ef;padding:8px 10px;text-align:left;vertical-align:middle}th{background:#f6f8fb;font-size:12px;color:#334155}
95
+ td.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.u{color:#64748b;font-size:12px}.red{color:#b42318;font-weight:700}.amber{color:#8a5a00;font-weight:700}
96
+ .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.k{border:1px solid #e3e8ef;border-radius:10px;padding:10px 12px}.k b{display:block;font-size:20px}.k span{color:#64748b;font-size:12px}
97
+ .foot{color:#94a3b8;font-size:12px;margin-top:28px}@media print{body{margin:0}}
98
+ </style></head><body>
99
+ <h1>Identity operations report: ${escapeHtml(d.monthLabel)}</h1>
100
+ <p class="sub">${escapeHtml(d.tenant)} · generated ${escapeHtml(d.generatedAt.slice(0, 16).replace('T', ' '))} UTC by identityscope</p>
101
+ <h2>Highlights</h2><ul class="h">${d.highlights.map((h) => `<li>${escapeHtml(h)}</li>`).join('')}</ul>
102
+ <h2>Daily checks during the month</h2>
103
+ <table><thead><tr><th>Check</th><th>First day</th><th>Last day</th><th>Change</th><th>Days checked</th><th>Days red / amber</th><th>Trend</th></tr></thead><tbody>${rows}</tbody></table>
104
+ ${snap}
105
+ <p class="foot">Lower is better for every check. Numbers come from the instant checks recorded on the computer that runs identityscope (one value per day: the last check of the day). Read-only: nothing was changed in the tenant.</p>
106
106
  </body></html>`;
107
107
  }
108
108
  //# sourceMappingURL=monthly.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identityscope",
3
- "version": "0.28.3",
3
+ "version": "0.28.5",
4
4
  "description": "IdentityScope: daily checks, investigations, reports, certifications and configuration insight for SailPoint Identity Security Cloud. Read-only.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "gen": "node scripts/embed-reports.mjs",
44
44
  "build": "npm run gen && tsc -p tsconfig.json",
45
45
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
46
- "test": "npm run clean && npm run build && node --test --test-reporter=spec \"dist/test/**/*.test.js\"",
46
+ "test": "npm run clean && npm run build && node --import ./dist/test/setup-clock.js --test --test-reporter=spec \"dist/test/**/*.test.js\"",
47
47
  "prepack": "npm run build",
48
48
  "check-ui": "node scripts/embed-reports.mjs && node --check build/page.js",
49
49
  "guide": "node scripts/build-guide.mjs",
@@ -1,29 +1,29 @@
1
- id: access-profile-members
2
- name: Who has an access profile
3
- description: Everyone who holds the access profiles you pick, one row per person and access profile.
4
- category: Access model
5
- tags: [review]
6
- params:
7
- accessProfiles:
8
- type: list
9
- pick: accessProfiles
10
- description: Access profiles
11
- required: true
12
- from:
13
- dataset: identities
14
- query: "@access(id:${accessProfiles|or})"
15
- expand:
16
- path: identity.access
17
- as: access
18
- where:
19
- all:
20
- - { field: access.type, op: eq, value: ACCESS_PROFILE }
21
- - { field: access.id, op: in, value: "${accessProfiles}" }
22
- columns:
23
- - { field: access.displayName, label: Access profile }
24
- - { field: access.source.name, label: Source }
25
- - { field: identity.displayName, label: Person }
26
- - { field: identity.email, label: Email }
27
- - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
28
- - { field: identity.manager.displayName, label: Manager }
29
- sort: [access.displayName, identity.displayName]
1
+ id: access-profile-members
2
+ name: Who has an access profile
3
+ description: Everyone who holds the access profiles you pick, one row per person and access profile.
4
+ category: Access model
5
+ tags: [review]
6
+ params:
7
+ accessProfiles:
8
+ type: list
9
+ pick: accessProfiles
10
+ description: Access profiles
11
+ required: true
12
+ from:
13
+ dataset: identities
14
+ query: "@access(id:${accessProfiles|or})"
15
+ expand:
16
+ path: identity.access
17
+ as: access
18
+ where:
19
+ all:
20
+ - { field: access.type, op: eq, value: ACCESS_PROFILE }
21
+ - { field: access.id, op: in, value: "${accessProfiles}" }
22
+ columns:
23
+ - { field: access.displayName, label: Access profile }
24
+ - { field: access.source.name, label: Source }
25
+ - { field: identity.displayName, label: Person }
26
+ - { field: identity.email, label: Email }
27
+ - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
28
+ - { field: identity.manager.displayName, label: Manager }
29
+ sort: [access.displayName, identity.displayName]
@@ -1,17 +1,17 @@
1
- id: access-profile-membership-counts
2
- name: Members per access profile
3
- description: How many people hold each access profile, by source. Access profiles nobody holds do not appear here.
4
- category: Access model
5
- tags: [overview]
6
- from:
7
- dataset: identities
8
- expand:
9
- path: identity.access
10
- as: access
11
- where: { field: access.type, op: eq, value: ACCESS_PROFILE }
12
- group:
13
- by: [access.displayName, access.source.name]
14
- countLabel: Members
15
- columns:
16
- - { field: access.displayName, label: Access profile }
17
- - { field: access.source.name, label: Source }
1
+ id: access-profile-membership-counts
2
+ name: Members per access profile
3
+ description: How many people hold each access profile, by source. Access profiles nobody holds do not appear here.
4
+ category: Access model
5
+ tags: [overview]
6
+ from:
7
+ dataset: identities
8
+ expand:
9
+ path: identity.access
10
+ as: access
11
+ where: { field: access.type, op: eq, value: ACCESS_PROFILE }
12
+ group:
13
+ by: [access.displayName, access.source.name]
14
+ countLabel: Members
15
+ columns:
16
+ - { field: access.displayName, label: Access profile }
17
+ - { field: access.source.name, label: Source }
@@ -1,16 +1,16 @@
1
- id: access-profiles-without-owner
2
- name: Access profiles without an owner
3
- description: Access profiles with no owner, so approvals and reviews have nobody to go to.
4
- category: Access model
5
- tags: [ownership, governance]
6
- from:
7
- dataset: accessProfiles
8
- where: { field: accessProfile.owner, op: missing }
9
- columns:
10
- - { field: accessProfile.source.name, label: Source }
11
- - { field: accessProfile.name, label: Access profile }
12
- - { field: accessProfile.enabled, label: Enabled, format: boolean }
13
- - { field: accessProfile.requestable, label: Requestable, format: boolean }
14
- - { field: accessProfile.entitlementCount, label: Entitlements, format: number }
15
- - { field: accessProfile.modified, label: Last changed, format: date }
16
- sort: [accessProfile.source.name, accessProfile.name]
1
+ id: access-profiles-without-owner
2
+ name: Access profiles without an owner
3
+ description: Access profiles with no owner, so approvals and reviews have nobody to go to.
4
+ category: Access model
5
+ tags: [ownership, governance]
6
+ from:
7
+ dataset: accessProfiles
8
+ where: { field: accessProfile.owner, op: missing }
9
+ columns:
10
+ - { field: accessProfile.source.name, label: Source }
11
+ - { field: accessProfile.name, label: Access profile }
12
+ - { field: accessProfile.enabled, label: Enabled, format: boolean }
13
+ - { field: accessProfile.requestable, label: Requestable, format: boolean }
14
+ - { field: accessProfile.entitlementCount, label: Entitlements, format: number }
15
+ - { field: accessProfile.modified, label: Last changed, format: date }
16
+ sort: [accessProfile.source.name, accessProfile.name]
@@ -1,36 +1,36 @@
1
- id: access-request-audit-trail
2
- name: Access request audit trail
3
- description: >-
4
- Every access request of the last days with each approval step: who decided, the decision,
5
- the approver's comment and when, and how the request ended. One row per approval step, so it
6
- can go to auditors as approval evidence. Needs an org admin's token.
7
- category: Requests
8
- tags: [audit, approvals, evidence]
9
- params:
10
- days:
11
- type: number
12
- description: Submitted in the last how many days
13
- default: 30
14
- from:
15
- dataset: accessRequests
16
- where: { field: request.created, op: newerThanDays, value: "${days}" }
17
- expand:
18
- path: request.approvalDetails
19
- as: approval
20
- keepEmpty: true
21
- columns:
22
- - { field: request.created, label: Submitted, format: date }
23
- - { field: request.requestedFor.name, label: Requested for }
24
- - { field: request.requester.name, label: Requested by }
25
- - { field: request.name, label: Access }
26
- - { field: request.type, label: Access type }
27
- - { field: request.requestType, label: Request type }
28
- - { field: request.requesterComment.comment, label: Requester comment }
29
- - { field: approval.currentOwner.name, label: Approver }
30
- - { field: approval.originalOwner.name, label: Original approver }
31
- - { field: approval.status, label: Decision }
32
- - { field: approval.modified, label: Decided, format: date }
33
- - { field: approval.comment, label: Approver comment }
34
- - { field: request.state, label: Final state }
35
- - { field: request.errorMessages, label: Errors, format: list }
36
- sort: [-request.created]
1
+ id: access-request-audit-trail
2
+ name: Access request audit trail
3
+ description: >-
4
+ Every access request of the last days with each approval step: who decided, the decision,
5
+ the approver's comment and when, and how the request ended. One row per approval step, so it
6
+ can go to auditors as approval evidence. Needs an org admin's token.
7
+ category: Requests
8
+ tags: [audit, approvals, evidence]
9
+ params:
10
+ days:
11
+ type: number
12
+ description: Submitted in the last how many days
13
+ default: 30
14
+ from:
15
+ dataset: accessRequests
16
+ where: { field: request.created, op: newerThanDays, value: "${days}" }
17
+ expand:
18
+ path: request.approvalDetails
19
+ as: approval
20
+ keepEmpty: true
21
+ columns:
22
+ - { field: request.created, label: Submitted, format: date }
23
+ - { field: request.requestedFor.name, label: Requested for }
24
+ - { field: request.requester.name, label: Requested by }
25
+ - { field: request.name, label: Access }
26
+ - { field: request.type, label: Access type }
27
+ - { field: request.requestType, label: Request type }
28
+ - { field: request.requesterComment.comment, label: Requester comment }
29
+ - { field: approval.currentOwner.name, label: Approver }
30
+ - { field: approval.originalOwner.name, label: Original approver }
31
+ - { field: approval.status, label: Decision }
32
+ - { field: approval.modified, label: Decided, format: date }
33
+ - { field: approval.comment, label: Approver comment }
34
+ - { field: request.state, label: Final state }
35
+ - { field: request.errorMessages, label: Errors, format: list }
36
+ sort: [-request.created]
@@ -1,19 +1,19 @@
1
- id: accounts-by-source
2
- name: Accounts and uncorrelated accounts by source
3
- description: >-
4
- For every source, how many accounts it has and how many are not linked to any person. Uses ISC's
5
- own totals, so it takes seconds even on tenants with millions of accounts.
6
- category: Hygiene
7
- tags: [orphan, inventory, data-quality]
8
- from:
9
- dataset: sourceAccountCounts
10
- columns:
11
- - { field: source.name, label: Source }
12
- - { field: source.id, label: Source ID }
13
- - { field: source.connectorName, label: Connector }
14
- - { field: source.authoritative, label: Authoritative, format: boolean }
15
- - { field: source.accountCount, label: Accounts, format: number }
16
- - { field: source.uncorrelatedCount, label: Uncorrelated, format: number }
17
- - { field: source.uncorrelatedPercent, label: Uncorrelated %, format: number }
18
- - { field: source.owner.name, label: Owner, default: None }
19
- sort: [-source.uncorrelatedCount, source.name]
1
+ id: accounts-by-source
2
+ name: Accounts and uncorrelated accounts by source
3
+ description: >-
4
+ For every source, how many accounts it has and how many are not linked to any person. Uses ISC's
5
+ own totals, so it takes seconds even on tenants with millions of accounts.
6
+ category: Hygiene
7
+ tags: [orphan, inventory, data-quality]
8
+ from:
9
+ dataset: sourceAccountCounts
10
+ columns:
11
+ - { field: source.name, label: Source }
12
+ - { field: source.id, label: Source ID }
13
+ - { field: source.connectorName, label: Connector }
14
+ - { field: source.authoritative, label: Authoritative, format: boolean }
15
+ - { field: source.accountCount, label: Accounts, format: number }
16
+ - { field: source.uncorrelatedCount, label: Uncorrelated, format: number }
17
+ - { field: source.uncorrelatedPercent, label: Uncorrelated %, format: number }
18
+ - { field: source.owner.name, label: Owner, default: None }
19
+ sort: [-source.uncorrelatedCount, source.name]
@@ -1,22 +1,22 @@
1
- id: active-identities-without-manager
2
- name: Active people without a manager
3
- description: >-
4
- Active identities with no manager. Manager approvals and manager certifications have no one
5
- to go to for them.
6
- category: Hygiene
7
- tags: [governance, data-quality]
8
- from:
9
- dataset: identities
10
- where:
11
- all:
12
- - { field: identity.inactive, op: isFalse }
13
- - { field: identity.manager, op: missing }
14
- columns:
15
- - { field: identity.displayName, label: Person }
16
- - { field: identity.name, label: Username }
17
- - { field: identity.email, label: Email }
18
- - { field: identity.attributes.department, label: Department }
19
- - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
20
- - { field: identity.identityProfile.name, label: Identity profile }
21
- - { field: identity.source.name, label: Authoritative source }
22
- sort: [identity.identityProfile.name, identity.displayName]
1
+ id: active-identities-without-manager
2
+ name: Active people without a manager
3
+ description: >-
4
+ Active identities with no manager. Manager approvals and manager certifications have no one
5
+ to go to for them.
6
+ category: Hygiene
7
+ tags: [governance, data-quality]
8
+ from:
9
+ dataset: identities
10
+ where:
11
+ all:
12
+ - { field: identity.inactive, op: isFalse }
13
+ - { field: identity.manager, op: missing }
14
+ columns:
15
+ - { field: identity.displayName, label: Person }
16
+ - { field: identity.name, label: Username }
17
+ - { field: identity.email, label: Email }
18
+ - { field: identity.attributes.department, label: Department }
19
+ - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
20
+ - { field: identity.identityProfile.name, label: Identity profile }
21
+ - { field: identity.source.name, label: Authoritative source }
22
+ sort: [identity.identityProfile.name, identity.displayName]
@@ -1,29 +1,29 @@
1
- id: aggregation-failures
2
- name: Aggregation failures (daily)
3
- description: >-
4
- Account and entitlement aggregations that failed in the last days, by source, with the details
5
- ISC recorded. A failed aggregation means ISC is working with old data for that source.
6
- category: Operations
7
- tags: [operations, daily, aggregation]
8
- params:
9
- days:
10
- type: number
11
- description: In the last how many days
12
- default: 1
13
- from:
14
- dataset: events
15
- query: "operation:AGGREGATE AND created:>=${daysAgo:days}"
16
- where:
17
- all:
18
- - { field: event.created, op: newerThanDays, value: "${days}" }
19
- - { field: event.status, op: eq, value: FAILED }
20
- - { field: event.technicalName, op: contains, value: _AGGREGATE_ }
21
- columns:
22
- - { field: event.created, label: Time, format: datetime }
23
- - { field: event.attributes.sourceName, label: Source }
24
- - { field: event.name, label: Event }
25
- - { field: event.attributes.errors, label: Errors }
26
- - { field: event.technicalName, label: Technical name }
27
- - { field: event.actor.name, label: Started by }
28
- - { field: event.attributes, label: Details, format: json }
29
- sort: [-event.created]
1
+ id: aggregation-failures
2
+ name: Aggregation failures (daily)
3
+ description: >-
4
+ Account and entitlement aggregations that failed in the last days, by source, with the details
5
+ ISC recorded. A failed aggregation means ISC is working with old data for that source.
6
+ category: Operations
7
+ tags: [operations, daily, aggregation]
8
+ params:
9
+ days:
10
+ type: number
11
+ description: In the last how many days
12
+ default: 1
13
+ from:
14
+ dataset: events
15
+ query: "operation:AGGREGATE AND created:>=${daysAgo:days}"
16
+ where:
17
+ all:
18
+ - { field: event.created, op: newerThanDays, value: "${days}" }
19
+ - { field: event.status, op: eq, value: FAILED }
20
+ - { field: event.technicalName, op: contains, value: _AGGREGATE_ }
21
+ columns:
22
+ - { field: event.created, label: Time, format: datetime }
23
+ - { field: event.attributes.sourceName, label: Source }
24
+ - { field: event.name, label: Event }
25
+ - { field: event.attributes.errors, label: Errors }
26
+ - { field: event.technicalName, label: Technical name }
27
+ - { field: event.actor.name, label: Started by }
28
+ - { field: event.attributes, label: Details, format: json }
29
+ sort: [-event.created]