identityscope 0.28.3 → 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 (91) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +917 -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
@@ -1,27 +1,27 @@
1
- id: aggregation-history
2
- name: Aggregations by source
3
- description: >-
4
- How many aggregations ran per source in the last days and how many passed or failed. Sources that
5
- are missing from the list did not aggregate at all in that time.
6
- category: Operations
7
- tags: [operations, aggregation]
8
- params:
9
- days:
10
- type: number
11
- description: In the last how many days
12
- default: 7
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.technicalName, op: contains, value: _AGGREGATE_ }
20
- group:
21
- by: [event.attributes.sourceName, event.name, event.status]
22
- countLabel: Times
23
- columns:
24
- - { field: event.attributes.sourceName, label: Source }
25
- - { field: event.name, label: Event }
26
- - { field: event.status, label: Status }
27
- sort: [event.attributes.sourceName, -count]
1
+ id: aggregation-history
2
+ name: Aggregations by source
3
+ description: >-
4
+ How many aggregations ran per source in the last days and how many passed or failed. Sources that
5
+ are missing from the list did not aggregate at all in that time.
6
+ category: Operations
7
+ tags: [operations, aggregation]
8
+ params:
9
+ days:
10
+ type: number
11
+ description: In the last how many days
12
+ default: 7
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.technicalName, op: contains, value: _AGGREGATE_ }
20
+ group:
21
+ by: [event.attributes.sourceName, event.name, event.status]
22
+ countLabel: Times
23
+ columns:
24
+ - { field: event.attributes.sourceName, label: Source }
25
+ - { field: event.name, label: Event }
26
+ - { field: event.status, label: Status }
27
+ sort: [event.attributes.sourceName, -count]
@@ -1,16 +1,16 @@
1
- id: all-sources
2
- name: All sources
3
- description: Every source with its ID, connector, owner and health status. Use the IDs to narrow other reports.
4
- category: Hygiene
5
- tags: [inventory]
6
- from:
7
- dataset: sources
8
- columns:
9
- - { field: source.name, label: Source }
10
- - { field: source.id, label: Source ID }
11
- - { field: source.connectorName, label: Connector }
12
- - { field: source.owner.name, label: Owner, default: None }
13
- - { field: source.status, label: Status }
14
- - { field: source.authoritative, label: Authoritative, format: boolean }
15
- - { field: source.modified, label: Last changed, format: date }
16
- sort: [source.name]
1
+ id: all-sources
2
+ name: All sources
3
+ description: Every source with its ID, connector, owner and health status. Use the IDs to narrow other reports.
4
+ category: Hygiene
5
+ tags: [inventory]
6
+ from:
7
+ dataset: sources
8
+ columns:
9
+ - { field: source.name, label: Source }
10
+ - { field: source.id, label: Source ID }
11
+ - { field: source.connectorName, label: Connector }
12
+ - { field: source.owner.name, label: Owner, default: None }
13
+ - { field: source.status, label: Status }
14
+ - { field: source.authoritative, label: Authoritative, format: boolean }
15
+ - { field: source.modified, label: Last changed, format: date }
16
+ sort: [source.name]
@@ -1,32 +1,32 @@
1
- id: application-accounts
2
- name: Everyone with an account on an application
3
- description: >-
4
- All accounts on the sources you pick, with the person behind each account. Meant for application
5
- owners; the scheduled runner can lock each owner to their own source.
6
- category: Application owners
7
- tags: [owner, audit]
8
- params:
9
- sources:
10
- type: list
11
- pick: sources
12
- description: Sources
13
- required: true
14
- from:
15
- dataset: identities
16
- query: "@accounts(source.id:${sources|or})"
17
- expand:
18
- path: identity.accounts
19
- as: account
20
- where: { field: account.source.id, op: in, value: "${sources}" }
21
- columns:
22
- - { field: account.source.name, label: Source }
23
- - { field: identity.displayName, label: Person }
24
- - { field: identity.email, label: Email }
25
- - { field: identity.attributes.department, label: Department }
26
- - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
27
- - { field: identity.manager.displayName, label: Manager }
28
- - { field: account.name, label: Account }
29
- - { field: account.disabled, label: Disabled, format: boolean }
30
- - { field: account.privileged, label: Privileged, format: boolean }
31
- - { field: account.passwordLastSet, label: Password last set, format: date }
32
- sort: [account.source.name, identity.displayName]
1
+ id: application-accounts
2
+ name: Everyone with an account on an application
3
+ description: >-
4
+ All accounts on the sources you pick, with the person behind each account. Meant for application
5
+ owners; the scheduled runner can lock each owner to their own source.
6
+ category: Application owners
7
+ tags: [owner, audit]
8
+ params:
9
+ sources:
10
+ type: list
11
+ pick: sources
12
+ description: Sources
13
+ required: true
14
+ from:
15
+ dataset: identities
16
+ query: "@accounts(source.id:${sources|or})"
17
+ expand:
18
+ path: identity.accounts
19
+ as: account
20
+ where: { field: account.source.id, op: in, value: "${sources}" }
21
+ columns:
22
+ - { field: account.source.name, label: Source }
23
+ - { field: identity.displayName, label: Person }
24
+ - { field: identity.email, label: Email }
25
+ - { field: identity.attributes.department, label: Department }
26
+ - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
27
+ - { field: identity.manager.displayName, label: Manager }
28
+ - { field: account.name, label: Account }
29
+ - { field: account.disabled, label: Disabled, format: boolean }
30
+ - { field: account.privileged, label: Privileged, format: boolean }
31
+ - { field: account.passwordLastSet, label: Password last set, format: date }
32
+ sort: [account.source.name, identity.displayName]
@@ -1,31 +1,31 @@
1
- id: application-entitlements
2
- name: Who has which entitlement on an application
3
- description: One row per person and entitlement on the sources you pick, with how it was granted.
4
- category: Application owners
5
- tags: [owner, audit]
6
- params:
7
- sources:
8
- type: list
9
- pick: sources
10
- description: Sources
11
- required: true
12
- from:
13
- dataset: identities
14
- query: "@access(source.id:${sources|or})"
15
- expand:
16
- path: identity.access
17
- as: access
18
- where:
19
- all:
20
- - { field: access.type, op: eq, value: ENTITLEMENT }
21
- - { field: access.source.id, op: in, value: "${sources}" }
22
- columns:
23
- - { field: access.source.name, label: Source }
24
- - { field: identity.displayName, label: Person }
25
- - { field: identity.email, label: Email }
26
- - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
27
- - { field: access.displayName, label: Entitlement }
28
- - { field: access.value, label: Value }
29
- - { field: access.privileged, label: Privileged, format: boolean }
30
- - { field: access.standalone, label: Assigned directly, format: boolean }
31
- sort: [access.displayName, identity.displayName]
1
+ id: application-entitlements
2
+ name: Who has which entitlement on an application
3
+ description: One row per person and entitlement on the sources you pick, with how it was granted.
4
+ category: Application owners
5
+ tags: [owner, audit]
6
+ params:
7
+ sources:
8
+ type: list
9
+ pick: sources
10
+ description: Sources
11
+ required: true
12
+ from:
13
+ dataset: identities
14
+ query: "@access(source.id:${sources|or})"
15
+ expand:
16
+ path: identity.access
17
+ as: access
18
+ where:
19
+ all:
20
+ - { field: access.type, op: eq, value: ENTITLEMENT }
21
+ - { field: access.source.id, op: in, value: "${sources}" }
22
+ columns:
23
+ - { field: access.source.name, label: Source }
24
+ - { field: identity.displayName, label: Person }
25
+ - { field: identity.email, label: Email }
26
+ - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
27
+ - { field: access.displayName, label: Entitlement }
28
+ - { field: access.value, label: Value }
29
+ - { field: access.privileged, label: Privileged, format: boolean }
30
+ - { field: access.standalone, label: Assigned directly, format: boolean }
31
+ sort: [access.displayName, identity.displayName]
@@ -1,23 +1,23 @@
1
- id: campaign-progress
2
- name: Certification campaign progress
3
- description: Open campaigns with their deadline and how many certifications are done.
4
- category: Certifications
5
- tags: [certification]
6
- params:
7
- statuses:
8
- type: list
9
- description: Campaign statuses to include
10
- default: [ACTIVE, STAGED]
11
- from:
12
- dataset: campaigns
13
- where:
14
- { field: campaign.status, op: in, value: "${statuses}" }
15
- columns:
16
- - { field: campaign.name, label: Campaign }
17
- - { field: campaign.type, label: Type }
18
- - { field: campaign.status, label: Status }
19
- - { field: campaign.deadline, label: Deadline, format: date }
20
- - { field: campaign.completedCertifications, label: Certifications done, format: number }
21
- - { field: campaign.totalCertifications, label: Certifications total, format: number }
22
- - { field: campaign.created, label: Started, format: date }
23
- sort: [campaign.deadline]
1
+ id: campaign-progress
2
+ name: Certification campaign progress
3
+ description: Open campaigns with their deadline and how many certifications are done.
4
+ category: Certifications
5
+ tags: [certification]
6
+ params:
7
+ statuses:
8
+ type: list
9
+ description: Campaign statuses to include
10
+ default: [ACTIVE, STAGED]
11
+ from:
12
+ dataset: campaigns
13
+ where:
14
+ { field: campaign.status, op: in, value: "${statuses}" }
15
+ columns:
16
+ - { field: campaign.name, label: Campaign }
17
+ - { field: campaign.type, label: Type }
18
+ - { field: campaign.status, label: Status }
19
+ - { field: campaign.deadline, label: Deadline, format: date }
20
+ - { field: campaign.completedCertifications, label: Certifications done, format: number }
21
+ - { field: campaign.totalCertifications, label: Certifications total, format: number }
22
+ - { field: campaign.created, label: Started, format: date }
23
+ sort: [campaign.deadline]
@@ -1,31 +1,31 @@
1
- id: certification-decisions
2
- name: Certification decisions
3
- description: >-
4
- Every decision in the selected campaigns: who reviewed what, the decision and the comment.
5
- ISC only returns certifications the credential may review, so run it with a certification admin's token.
6
- category: Certifications
7
- tags: [audit, certification, sox]
8
- params:
9
- campaignFilter:
10
- type: string
11
- description: Campaigns to include, as an API filter
12
- default: status eq "COMPLETED"
13
- campaignName:
14
- type: string
15
- description: Only campaigns whose name contains this text (leave empty for all)
16
- from:
17
- dataset: certificationItems
18
- filter: "${campaignFilter}"
19
- where:
20
- { field: item.campaign.name, op: contains, value: "${campaignName}" }
21
- columns:
22
- - { field: item.campaign.name, label: Campaign }
23
- - { field: item.certification.reviewer.name, label: Reviewer }
24
- - { field: item.identitySummary.name, label: Person reviewed }
25
- - { field: item.accessSummary.access.type, label: Access type }
26
- - { field: item.accessSummary.access.name, label: Access }
27
- - { field: item.accessSummary.entitlement.sourceName, label: Source }
28
- - { field: item.decision, label: Decision, default: No decision }
29
- - { field: item.comments, label: Comment }
30
- - { field: item.certification.signed, label: Signed off, format: datetime }
31
- sort: [item.campaign.name, item.certification.reviewer.name, item.identitySummary.name]
1
+ id: certification-decisions
2
+ name: Certification decisions
3
+ description: >-
4
+ Every decision in the selected campaigns: who reviewed what, the decision and the comment.
5
+ ISC only returns certifications the credential may review, so run it with a certification admin's token.
6
+ category: Certifications
7
+ tags: [audit, certification, sox]
8
+ params:
9
+ campaignFilter:
10
+ type: string
11
+ description: Campaigns to include, as an API filter
12
+ default: status eq "COMPLETED"
13
+ campaignName:
14
+ type: string
15
+ description: Only campaigns whose name contains this text (leave empty for all)
16
+ from:
17
+ dataset: certificationItems
18
+ filter: "${campaignFilter}"
19
+ where:
20
+ { field: item.campaign.name, op: contains, value: "${campaignName}" }
21
+ columns:
22
+ - { field: item.campaign.name, label: Campaign }
23
+ - { field: item.certification.reviewer.name, label: Reviewer }
24
+ - { field: item.identitySummary.name, label: Person reviewed }
25
+ - { field: item.accessSummary.access.type, label: Access type }
26
+ - { field: item.accessSummary.access.name, label: Access }
27
+ - { field: item.accessSummary.entitlement.sourceName, label: Source }
28
+ - { field: item.decision, label: Decision, default: No decision }
29
+ - { field: item.comments, label: Comment }
30
+ - { field: item.certification.signed, label: Signed off, format: datetime }
31
+ sort: [item.campaign.name, item.certification.reviewer.name, item.identitySummary.name]
@@ -1,20 +1,20 @@
1
- id: direct-reports-per-manager
2
- name: Direct reports per manager
3
- description: >-
4
- How many active people report to each manager, largest teams first. Managers with very large
5
- teams are slow reviewers in manager certifications.
6
- category: People
7
- tags: [manager, organisation, overview]
8
- from:
9
- dataset: identities
10
- where:
11
- all:
12
- - { field: identity.inactive, op: isFalse }
13
- - { field: identity.manager, op: exists }
14
- group:
15
- by: [identity.manager.displayName, identity.manager.name]
16
- countLabel: Direct reports
17
- columns:
18
- - { field: identity.manager.displayName, label: Manager }
19
- - { field: identity.manager.name, label: Manager username }
20
- sort: [-count, identity.manager.displayName]
1
+ id: direct-reports-per-manager
2
+ name: Direct reports per manager
3
+ description: >-
4
+ How many active people report to each manager, largest teams first. Managers with very large
5
+ teams are slow reviewers in manager certifications.
6
+ category: People
7
+ tags: [manager, organisation, overview]
8
+ from:
9
+ dataset: identities
10
+ where:
11
+ all:
12
+ - { field: identity.inactive, op: isFalse }
13
+ - { field: identity.manager, op: exists }
14
+ group:
15
+ by: [identity.manager.displayName, identity.manager.name]
16
+ countLabel: Direct reports
17
+ columns:
18
+ - { field: identity.manager.displayName, label: Manager }
19
+ - { field: identity.manager.name, label: Manager username }
20
+ sort: [-count, identity.manager.displayName]
@@ -1,33 +1,33 @@
1
- id: disabled-accounts-of-active-people
2
- name: Disabled accounts of active people
3
- description: >-
4
- Accounts that are disabled although the person is active. Often a missed re-hire, a leave of
5
- absence that ended, or a manual change in the application.
6
- category: Hygiene
7
- tags: [lifecycle, helpdesk]
8
- params:
9
- sources:
10
- type: list
11
- pick: sources
12
- description: Sources (leave empty for all)
13
- from:
14
- dataset: identities
15
- where:
16
- all:
17
- - { field: identity.inactive, op: isFalse }
18
- - { field: identity.attributes.cloudLifecycleState, op: in, value: [active, Active] }
19
- expand:
20
- path: identity.accounts
21
- as: account
22
- where:
23
- all:
24
- - { field: account.disabled, op: isTrue }
25
- - { field: account.source.id, op: in, value: "${sources}" }
26
- columns:
27
- - { field: account.source.name, label: Source }
28
- - { field: account.name, label: Account }
29
- - { field: identity.displayName, label: Person }
30
- - { field: identity.email, label: Email }
31
- - { field: identity.attributes.department, label: Department }
32
- - { field: identity.manager.displayName, label: Manager }
33
- sort: [account.source.name, identity.displayName]
1
+ id: disabled-accounts-of-active-people
2
+ name: Disabled accounts of active people
3
+ description: >-
4
+ Accounts that are disabled although the person is active. Often a missed re-hire, a leave of
5
+ absence that ended, or a manual change in the application.
6
+ category: Hygiene
7
+ tags: [lifecycle, helpdesk]
8
+ params:
9
+ sources:
10
+ type: list
11
+ pick: sources
12
+ description: Sources (leave empty for all)
13
+ from:
14
+ dataset: identities
15
+ where:
16
+ all:
17
+ - { field: identity.inactive, op: isFalse }
18
+ - { field: identity.attributes.cloudLifecycleState, op: in, value: [active, Active] }
19
+ expand:
20
+ path: identity.accounts
21
+ as: account
22
+ where:
23
+ all:
24
+ - { field: account.disabled, op: isTrue }
25
+ - { field: account.source.id, op: in, value: "${sources}" }
26
+ columns:
27
+ - { field: account.source.name, label: Source }
28
+ - { field: account.name, label: Account }
29
+ - { field: identity.displayName, label: Person }
30
+ - { field: identity.email, label: Email }
31
+ - { field: identity.attributes.department, label: Department }
32
+ - { field: identity.manager.displayName, label: Manager }
33
+ sort: [account.source.name, identity.displayName]
@@ -1,16 +1,16 @@
1
- id: duplicate-emails
2
- name: Email addresses used by more than one identity
3
- description: >-
4
- Email addresses shared by two or more identities: often duplicates created by a second
5
- authoritative source or a re-hire. Duplicates confuse correlation, notifications and reviews.
6
- category: People
7
- tags: [data quality, duplicates]
8
- from:
9
- dataset: identities
10
- where: { field: identity.email, op: exists }
11
- group:
12
- by: [identity.email]
13
- countLabel: Identities
14
- minCount: 2
15
- columns:
16
- - { field: identity.email, label: Email }
1
+ id: duplicate-emails
2
+ name: Email addresses used by more than one identity
3
+ description: >-
4
+ Email addresses shared by two or more identities: often duplicates created by a second
5
+ authoritative source or a re-hire. Duplicates confuse correlation, notifications and reviews.
6
+ category: People
7
+ tags: [data quality, duplicates]
8
+ from:
9
+ dataset: identities
10
+ where: { field: identity.email, op: exists }
11
+ group:
12
+ by: [identity.email]
13
+ countLabel: Identities
14
+ minCount: 2
15
+ columns:
16
+ - { field: identity.email, label: Email }
@@ -1,35 +1,35 @@
1
- id: entitlement-holders
2
- name: Who has an entitlement
3
- description: >-
4
- Everyone holding an entitlement whose name contains the text you give, optionally only on some
5
- sources, and whether it was assigned directly or through a role or access profile.
6
- category: Access model
7
- tags: [review, investigation]
8
- params:
9
- entitlement:
10
- type: string
11
- description: Entitlement name contains
12
- required: true
13
- sources:
14
- type: list
15
- pick: sources
16
- description: Sources (leave empty for all)
17
- from:
18
- dataset: identities
19
- expand:
20
- path: identity.access
21
- as: access
22
- where:
23
- all:
24
- - { field: access.type, op: eq, value: ENTITLEMENT }
25
- - { field: access.displayName, op: contains, value: "${entitlement}" }
26
- - { field: access.source.id, op: in, value: "${sources}" }
27
- columns:
28
- - { field: access.source.name, label: Source }
29
- - { field: access.displayName, label: Entitlement }
30
- - { field: identity.displayName, label: Person }
31
- - { field: identity.email, label: Email }
32
- - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
33
- - { field: access.standalone, label: Assigned directly, format: boolean }
34
- - { field: access.privileged, label: Privileged, format: boolean }
35
- sort: [access.source.name, access.displayName, identity.displayName]
1
+ id: entitlement-holders
2
+ name: Who has an entitlement
3
+ description: >-
4
+ Everyone holding an entitlement whose name contains the text you give, optionally only on some
5
+ sources, and whether it was assigned directly or through a role or access profile.
6
+ category: Access model
7
+ tags: [review, investigation]
8
+ params:
9
+ entitlement:
10
+ type: string
11
+ description: Entitlement name contains
12
+ required: true
13
+ sources:
14
+ type: list
15
+ pick: sources
16
+ description: Sources (leave empty for all)
17
+ from:
18
+ dataset: identities
19
+ expand:
20
+ path: identity.access
21
+ as: access
22
+ where:
23
+ all:
24
+ - { field: access.type, op: eq, value: ENTITLEMENT }
25
+ - { field: access.displayName, op: contains, value: "${entitlement}" }
26
+ - { field: access.source.id, op: in, value: "${sources}" }
27
+ columns:
28
+ - { field: access.source.name, label: Source }
29
+ - { field: access.displayName, label: Entitlement }
30
+ - { field: identity.displayName, label: Person }
31
+ - { field: identity.email, label: Email }
32
+ - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
33
+ - { field: access.standalone, label: Assigned directly, format: boolean }
34
+ - { field: access.privileged, label: Privileged, format: boolean }
35
+ sort: [access.source.name, access.displayName, identity.displayName]
@@ -1,31 +1,31 @@
1
- id: entitlements-held-by-inactive-identities
2
- name: Entitlements still held by people who have left
3
- description: >-
4
- Every entitlement that an inactive identity still holds, with whether it was assigned directly
5
- or through a role or access profile.
6
- category: Lifecycle
7
- tags: [audit, leaver]
8
- params:
9
- lifecycleStates:
10
- type: list
11
- description: Lifecycle states that mean the person has left
12
- default: [inactive, terminated]
13
- from:
14
- dataset: identities
15
- where:
16
- any:
17
- - { field: identity.inactive, op: isTrue }
18
- - { field: identity.attributes.cloudLifecycleState, op: in, value: "${lifecycleStates}" }
19
- expand:
20
- path: identity.access
21
- as: access
22
- where: { field: access.type, op: eq, value: ENTITLEMENT }
23
- columns:
24
- - { field: identity.displayName, label: Person }
25
- - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
26
- - { field: access.source.name, label: Source }
27
- - { field: access.displayName, label: Entitlement }
28
- - { field: access.value, label: Value }
29
- - { field: access.privileged, label: Privileged, format: boolean }
30
- - { field: access.standalone, label: Assigned directly, format: boolean }
31
- sort: [identity.displayName, access.source.name]
1
+ id: entitlements-held-by-inactive-identities
2
+ name: Entitlements still held by people who have left
3
+ description: >-
4
+ Every entitlement that an inactive identity still holds, with whether it was assigned directly
5
+ or through a role or access profile.
6
+ category: Lifecycle
7
+ tags: [audit, leaver]
8
+ params:
9
+ lifecycleStates:
10
+ type: list
11
+ description: Lifecycle states that mean the person has left
12
+ default: [inactive, terminated]
13
+ from:
14
+ dataset: identities
15
+ where:
16
+ any:
17
+ - { field: identity.inactive, op: isTrue }
18
+ - { field: identity.attributes.cloudLifecycleState, op: in, value: "${lifecycleStates}" }
19
+ expand:
20
+ path: identity.access
21
+ as: access
22
+ where: { field: access.type, op: eq, value: ENTITLEMENT }
23
+ columns:
24
+ - { field: identity.displayName, label: Person }
25
+ - { field: identity.attributes.cloudLifecycleState, label: Lifecycle state }
26
+ - { field: access.source.name, label: Source }
27
+ - { field: access.displayName, label: Entitlement }
28
+ - { field: access.value, label: Value }
29
+ - { field: access.privileged, label: Privileged, format: boolean }
30
+ - { field: access.standalone, label: Assigned directly, format: boolean }
31
+ sort: [identity.displayName, access.source.name]