alirezaaminzadeh commited on
Commit
5017259
·
verified ·
1 Parent(s): 672c874

Publish AriaAccessReview synthetic IAM lab grants and policies

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: AriaAccessReview laboratory IAM grants
4
+ task_categories:
5
+ - tabular-classification
6
+ - graph-ml
7
+ tags:
8
+ - cybersecurity
9
+ - iam
10
+ - least-privilege
11
+ - access-review
12
+ - synthetic
13
+ language:
14
+ - en
15
+ - fa
16
+ size_categories:
17
+ - n<1K
18
+ ---
19
+
20
+ # AriaAccessReview laboratory IAM grants
21
+
22
+ Synthetic identity–role–resource snapshot for the AriaAccessReview least-privilege demo.
23
+
24
+ Identities are lab aliases (`usr_*`, `svc_*`, `brk_*`). Roles and resources are named lab objects. No production emails, directories, or employee performance fields are included.
25
+
26
+ ## Files
27
+
28
+ - data/identities.csv
29
+ - data/roles.csv
30
+ - data/resources.csv
31
+ - data/grants.csv
32
+ - data/grants_preview.csv
33
+ - data/gold_events.json
34
+ - data/policies.json
35
+ - data/policies.md
36
+ - data/access_sample.json
37
+ - data/schema.json
38
+ - data/splits.json
39
+ - data/protocol.md
40
+ - data/evaluation.json
41
+ - data/sample_preview.json
42
+ - demo/ — runnable Gradio Space source
43
+ - showcase/ — organization static card
44
+
45
+ ## Split
46
+
47
+ Development identities are `usr_0001`–`usr_0100`, `svc_0001`–`svc_0010`, and `brk_0001`–`brk_0005`. Test identities are the remainder. Rows that belong to one authored gold event stay with that identity. Peer comparison uses the same department and identity type.
48
+
49
+ ## Gold policy
50
+
51
+ `unused_privileged`, `sod_conflict`, `ownerless`, `orphan_identity`, and `peer_excess` are review labels. `unused_break_glass`, `unused_service`, `unused_seasonal`, and `unused_inherited_base` are context. `unused_incomplete_log` is insufficient evidence: missing usage is not proof of no need.
52
+
53
+ ## License
54
+
55
+ CC-BY-4.0. Keep the synthetic-data label.
data/access_sample.json ADDED
The diff for this file is too large to render. See raw diff
 
data/evaluation.json ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 15,
3
+ "n_identities": 180,
4
+ "n_roles": 28,
5
+ "n_resources": 29,
6
+ "n_grants": 658,
7
+ "n_events": 18,
8
+ "kpis": {
9
+ "n_raw": 658,
10
+ "n_valid": 658,
11
+ "n_dropped": 0,
12
+ "n_grants": 658,
13
+ "n_identities": 180,
14
+ "n_security_review": 15,
15
+ "n_context": 15,
16
+ "n_insufficient": 2,
17
+ "n_sod": 4,
18
+ "n_ownerless": 3,
19
+ "parse_coverage": 1.0,
20
+ "event_recall": 1.0,
21
+ "precision": 0.8571,
22
+ "precision_at_k": 0.8571,
23
+ "protected_as_security": 0,
24
+ "seconds": 1.385,
25
+ "threshold": 90.0,
26
+ "model_names": "rules+peer+policy-bm25",
27
+ "review_capacity": 12
28
+ },
29
+ "comparison": [
30
+ {
31
+ "method": "unused_90d",
32
+ "split": "development",
33
+ "event_recall": 0.25,
34
+ "precision": 0.1111,
35
+ "precision_at_k": 0.1111,
36
+ "protected_as_security": 7,
37
+ "coverage_as_security": 1,
38
+ "n_security_alerts": 9,
39
+ "n_context_alerts": 0,
40
+ "n_insufficient": 0,
41
+ "n_review_events": 4,
42
+ "parse_coverage": 1.0
43
+ },
44
+ {
45
+ "method": "sod_only",
46
+ "split": "development",
47
+ "event_recall": 0.25,
48
+ "precision": 1.0,
49
+ "precision_at_k": 1.0,
50
+ "protected_as_security": 0,
51
+ "coverage_as_security": 0,
52
+ "n_security_alerts": 2,
53
+ "n_context_alerts": 0,
54
+ "n_insufficient": 0,
55
+ "n_review_events": 4,
56
+ "parse_coverage": 1.0
57
+ },
58
+ {
59
+ "method": "ownerless_only",
60
+ "split": "development",
61
+ "event_recall": 0.25,
62
+ "precision": 0.2,
63
+ "precision_at_k": 0.2,
64
+ "protected_as_security": 0,
65
+ "coverage_as_security": 0,
66
+ "n_security_alerts": 5,
67
+ "n_context_alerts": 0,
68
+ "n_insufficient": 0,
69
+ "n_review_events": 4,
70
+ "parse_coverage": 1.0
71
+ },
72
+ {
73
+ "method": "rules",
74
+ "split": "development",
75
+ "event_recall": 1.0,
76
+ "precision": 0.5556,
77
+ "precision_at_k": 0.5556,
78
+ "protected_as_security": 0,
79
+ "coverage_as_security": 1,
80
+ "n_security_alerts": 9,
81
+ "n_context_alerts": 0,
82
+ "n_insufficient": 0,
83
+ "n_review_events": 4,
84
+ "parse_coverage": 1.0
85
+ },
86
+ {
87
+ "method": "peer_jaccard",
88
+ "split": "development",
89
+ "event_recall": 0.75,
90
+ "precision": 0.5,
91
+ "precision_at_k": 0.5,
92
+ "protected_as_security": 0,
93
+ "coverage_as_security": 1,
94
+ "n_security_alerts": 8,
95
+ "n_context_alerts": 0,
96
+ "n_insufficient": 0,
97
+ "n_review_events": 4,
98
+ "parse_coverage": 1.0
99
+ },
100
+ {
101
+ "method": "ariaaccessreview",
102
+ "split": "development",
103
+ "event_recall": 1.0,
104
+ "precision": 0.625,
105
+ "precision_at_k": 0.625,
106
+ "protected_as_security": 0,
107
+ "coverage_as_security": 0,
108
+ "n_security_alerts": 8,
109
+ "n_context_alerts": 7,
110
+ "n_insufficient": 1,
111
+ "n_review_events": 4,
112
+ "parse_coverage": 1.0
113
+ },
114
+ {
115
+ "method": "unused_90d",
116
+ "split": "test",
117
+ "event_recall": 0.2,
118
+ "precision": 0.1,
119
+ "precision_at_k": 0.1,
120
+ "protected_as_security": 8,
121
+ "coverage_as_security": 1,
122
+ "n_security_alerts": 10,
123
+ "n_context_alerts": 0,
124
+ "n_insufficient": 0,
125
+ "n_review_events": 5,
126
+ "parse_coverage": 1.0
127
+ },
128
+ {
129
+ "method": "sod_only",
130
+ "split": "test",
131
+ "event_recall": 0.2,
132
+ "precision": 1.0,
133
+ "precision_at_k": 1.0,
134
+ "protected_as_security": 0,
135
+ "coverage_as_security": 0,
136
+ "n_security_alerts": 2,
137
+ "n_context_alerts": 0,
138
+ "n_insufficient": 0,
139
+ "n_review_events": 5,
140
+ "parse_coverage": 1.0
141
+ },
142
+ {
143
+ "method": "ownerless_only",
144
+ "split": "test",
145
+ "event_recall": 0.4,
146
+ "precision": 0.2,
147
+ "precision_at_k": 0.2,
148
+ "protected_as_security": 0,
149
+ "coverage_as_security": 0,
150
+ "n_security_alerts": 10,
151
+ "n_context_alerts": 0,
152
+ "n_insufficient": 0,
153
+ "n_review_events": 5,
154
+ "parse_coverage": 1.0
155
+ },
156
+ {
157
+ "method": "rules",
158
+ "split": "test",
159
+ "event_recall": 1.0,
160
+ "precision": 0.75,
161
+ "precision_at_k": 0.75,
162
+ "protected_as_security": 0,
163
+ "coverage_as_security": 1,
164
+ "n_security_alerts": 8,
165
+ "n_context_alerts": 0,
166
+ "n_insufficient": 0,
167
+ "n_review_events": 5,
168
+ "parse_coverage": 1.0
169
+ },
170
+ {
171
+ "method": "peer_jaccard",
172
+ "split": "test",
173
+ "event_recall": 0.8,
174
+ "precision": 0.7143,
175
+ "precision_at_k": 0.7143,
176
+ "protected_as_security": 0,
177
+ "coverage_as_security": 1,
178
+ "n_security_alerts": 7,
179
+ "n_context_alerts": 0,
180
+ "n_insufficient": 0,
181
+ "n_review_events": 5,
182
+ "parse_coverage": 1.0
183
+ },
184
+ {
185
+ "method": "ariaaccessreview",
186
+ "split": "test",
187
+ "event_recall": 1.0,
188
+ "precision": 0.8571,
189
+ "precision_at_k": 0.8571,
190
+ "protected_as_security": 0,
191
+ "coverage_as_security": 0,
192
+ "n_security_alerts": 7,
193
+ "n_context_alerts": 8,
194
+ "n_insufficient": 1,
195
+ "n_review_events": 5,
196
+ "parse_coverage": 1.0
197
+ },
198
+ {
199
+ "method": "unused_90d",
200
+ "split": "all",
201
+ "event_recall": 0.2222,
202
+ "precision": 0.1053,
203
+ "precision_at_k": 0.1667,
204
+ "protected_as_security": 15,
205
+ "coverage_as_security": 2,
206
+ "n_security_alerts": 19,
207
+ "n_context_alerts": 0,
208
+ "n_insufficient": 0,
209
+ "n_review_events": 9,
210
+ "parse_coverage": 1.0
211
+ },
212
+ {
213
+ "method": "sod_only",
214
+ "split": "all",
215
+ "event_recall": 0.2222,
216
+ "precision": 1.0,
217
+ "precision_at_k": 1.0,
218
+ "protected_as_security": 0,
219
+ "coverage_as_security": 0,
220
+ "n_security_alerts": 4,
221
+ "n_context_alerts": 0,
222
+ "n_insufficient": 0,
223
+ "n_review_events": 9,
224
+ "parse_coverage": 1.0
225
+ },
226
+ {
227
+ "method": "ownerless_only",
228
+ "split": "all",
229
+ "event_recall": 0.3333,
230
+ "precision": 0.2,
231
+ "precision_at_k": 0.25,
232
+ "protected_as_security": 0,
233
+ "coverage_as_security": 0,
234
+ "n_security_alerts": 15,
235
+ "n_context_alerts": 0,
236
+ "n_insufficient": 0,
237
+ "n_review_events": 9,
238
+ "parse_coverage": 1.0
239
+ },
240
+ {
241
+ "method": "rules",
242
+ "split": "all",
243
+ "event_recall": 1.0,
244
+ "precision": 0.6471,
245
+ "precision_at_k": 0.75,
246
+ "protected_as_security": 0,
247
+ "coverage_as_security": 2,
248
+ "n_security_alerts": 17,
249
+ "n_context_alerts": 0,
250
+ "n_insufficient": 0,
251
+ "n_review_events": 9,
252
+ "parse_coverage": 1.0
253
+ },
254
+ {
255
+ "method": "peer_jaccard",
256
+ "split": "all",
257
+ "event_recall": 0.7778,
258
+ "precision": 0.6,
259
+ "precision_at_k": 0.6667,
260
+ "protected_as_security": 0,
261
+ "coverage_as_security": 2,
262
+ "n_security_alerts": 15,
263
+ "n_context_alerts": 0,
264
+ "n_insufficient": 0,
265
+ "n_review_events": 9,
266
+ "parse_coverage": 1.0
267
+ },
268
+ {
269
+ "method": "ariaaccessreview",
270
+ "split": "all",
271
+ "event_recall": 1.0,
272
+ "precision": 0.7333,
273
+ "precision_at_k": 0.75,
274
+ "protected_as_security": 0,
275
+ "coverage_as_security": 0,
276
+ "n_security_alerts": 15,
277
+ "n_context_alerts": 15,
278
+ "n_insufficient": 2,
279
+ "n_review_events": 9,
280
+ "parse_coverage": 1.0
281
+ }
282
+ ],
283
+ "calibration": [
284
+ {
285
+ "threshold": 30.0,
286
+ "n_security_alerts": 7,
287
+ "event_recall": 1.0,
288
+ "precision": 0.8571,
289
+ "protected_as_security": 0
290
+ },
291
+ {
292
+ "threshold": 60.0,
293
+ "n_security_alerts": 7,
294
+ "event_recall": 1.0,
295
+ "precision": 0.8571,
296
+ "protected_as_security": 0
297
+ },
298
+ {
299
+ "threshold": 90.0,
300
+ "n_security_alerts": 7,
301
+ "event_recall": 1.0,
302
+ "precision": 0.8571,
303
+ "protected_as_security": 0
304
+ },
305
+ {
306
+ "threshold": 120.0,
307
+ "n_security_alerts": 7,
308
+ "event_recall": 1.0,
309
+ "precision": 0.8571,
310
+ "protected_as_security": 0
311
+ },
312
+ {
313
+ "threshold": 150.0,
314
+ "n_security_alerts": 7,
315
+ "event_recall": 1.0,
316
+ "precision": 0.8571,
317
+ "protected_as_security": 0
318
+ },
319
+ {
320
+ "threshold": 180.0,
321
+ "n_security_alerts": 7,
322
+ "event_recall": 1.0,
323
+ "precision": 0.8571,
324
+ "protected_as_security": 0
325
+ }
326
+ ]
327
+ }
data/gold_events.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "event_id":"GOLD-UNUSED-DEV-01",
4
+ "identity_id":"usr_0041",
5
+ "role_id":"role-payroll-export",
6
+ "start":"2026-01-02T00:00:00Z",
7
+ "end":"2026-07-01T00:00:00Z",
8
+ "family":"unused_privileged",
9
+ "split":"development",
10
+ "note":"Finance human holds unused payroll export with full logs."
11
+ },
12
+ {
13
+ "event_id":"GOLD-SOD-DEV-01",
14
+ "identity_id":"usr_0042",
15
+ "role_id":"role-finance-approver",
16
+ "start":"2025-12-13T00:00:00Z",
17
+ "end":"2026-07-01T00:00:00Z",
18
+ "family":"sod_conflict",
19
+ "split":"development",
20
+ "note":"Same human holds finance approver and payer."
21
+ },
22
+ {
23
+ "event_id":"GOLD-OWNERLESS-DEV-01",
24
+ "identity_id":"usr_0043",
25
+ "role_id":"role-customer-pii",
26
+ "start":"2026-03-03T00:00:00Z",
27
+ "end":"2026-07-01T00:00:00Z",
28
+ "family":"ownerless",
29
+ "split":"development",
30
+ "note":"Active human with empty owner still holds customer PII."
31
+ },
32
+ {
33
+ "event_id":"GOLD-PEER-DEV-01",
34
+ "identity_id":"usr_0050",
35
+ "role_id":"role-eng-prod-deploy",
36
+ "start":"2026-05-22T00:00:00Z",
37
+ "end":"2026-07-01T00:00:00Z",
38
+ "family":"peer_excess",
39
+ "split":"development",
40
+ "note":"Sales peer group does not hold prod deploy."
41
+ },
42
+ {
43
+ "event_id":"GOLD-COVERAGE-DEV-01",
44
+ "identity_id":"usr_0060",
45
+ "role_id":"role-hr-admin",
46
+ "start":"2025-12-13T00:00:00Z",
47
+ "end":"2026-07-01T00:00:00Z",
48
+ "family":"unused_incomplete_log",
49
+ "split":"development",
50
+ "note":"Unused HR admin but usage log coverage is none."
51
+ },
52
+ {
53
+ "event_id":"GOLD-BREAKGLASS-DEV-01",
54
+ "identity_id":"brk_0001",
55
+ "role_id":"role-break-glass-admin",
56
+ "start":"2025-05-27T00:00:00Z",
57
+ "end":"2026-07-01T00:00:00Z",
58
+ "family":"unused_break_glass",
59
+ "split":"development",
60
+ "note":"Break-glass idle time is expected."
61
+ },
62
+ {
63
+ "event_id":"GOLD-SERVICE-DEV-01",
64
+ "identity_id":"svc_0001",
65
+ "role_id":"role-svc-backup",
66
+ "start":"2025-12-13T00:00:00Z",
67
+ "end":"2026-07-01T00:00:00Z",
68
+ "family":"unused_service",
69
+ "split":"development",
70
+ "note":"Backup job may be idle longer than 90 days."
71
+ },
72
+ {
73
+ "event_id":"GOLD-SEASONAL-DEV-01",
74
+ "identity_id":"usr_0080",
75
+ "role_id":"role-contractor-seasonal",
76
+ "start":"2026-03-13T00:00:00Z",
77
+ "end":"2026-07-01T00:00:00Z",
78
+ "family":"unused_seasonal",
79
+ "split":"development",
80
+ "note":"Contractor seasonal role is idle off-season."
81
+ },
82
+ {
83
+ "event_id":"GOLD-UNUSED-01",
84
+ "identity_id":"usr_0121",
85
+ "role_id":"role-payroll-export",
86
+ "start":"2026-01-22T00:00:00Z",
87
+ "end":"2026-07-01T00:00:00Z",
88
+ "family":"unused_privileged",
89
+ "split":"test",
90
+ "note":"Held-out unused payroll export with full coverage."
91
+ },
92
+ {
93
+ "event_id":"GOLD-SOD-01",
94
+ "identity_id":"usr_0122",
95
+ "role_id":"role-finance-approver",
96
+ "start":"2025-12-03T00:00:00Z",
97
+ "end":"2026-07-01T00:00:00Z",
98
+ "family":"sod_conflict",
99
+ "split":"test",
100
+ "note":"Held-out SoD pair on one human."
101
+ },
102
+ {
103
+ "event_id":"GOLD-OWNERLESS-01",
104
+ "identity_id":"usr_0123",
105
+ "role_id":"role-iam-admin",
106
+ "start":"2026-04-02T00:00:00Z",
107
+ "end":"2026-07-01T00:00:00Z",
108
+ "family":"ownerless",
109
+ "split":"test",
110
+ "note":"Ownerless IAM admin grant."
111
+ },
112
+ {
113
+ "event_id":"GOLD-PEER-01",
114
+ "identity_id":"usr_0124",
115
+ "role_id":"role-eng-prod-deploy",
116
+ "start":"2026-06-11T00:00:00Z",
117
+ "end":"2026-07-01T00:00:00Z",
118
+ "family":"peer_excess",
119
+ "split":"test",
120
+ "note":"Sales identity with engineering prod deploy."
121
+ },
122
+ {
123
+ "event_id":"GOLD-ORPHAN-01",
124
+ "identity_id":"usr_0125",
125
+ "role_id":"role-customer-pii",
126
+ "start":"2026-04-22T00:00:00Z",
127
+ "end":"2026-07-01T00:00:00Z",
128
+ "family":"orphan_identity",
129
+ "split":"test",
130
+ "note":"Departed identity still holds customer PII."
131
+ },
132
+ {
133
+ "event_id":"GOLD-COVERAGE-01",
134
+ "identity_id":"usr_0126",
135
+ "role_id":"role-okta-app-admin",
136
+ "start":"2025-12-13T00:00:00Z",
137
+ "end":"2026-07-01T00:00:00Z",
138
+ "family":"unused_incomplete_log",
139
+ "split":"test",
140
+ "note":"Unused app admin with no usage log coverage."
141
+ },
142
+ {
143
+ "event_id":"GOLD-BREAKGLASS-01",
144
+ "identity_id":"brk_0008",
145
+ "role_id":"role-break-glass-admin",
146
+ "start":"2025-09-04T00:00:00Z",
147
+ "end":"2026-07-01T00:00:00Z",
148
+ "family":"unused_break_glass",
149
+ "split":"test",
150
+ "note":"Held-out break-glass unused account."
151
+ },
152
+ {
153
+ "event_id":"GOLD-SERVICE-01",
154
+ "identity_id":"svc_0015",
155
+ "role_id":"role-svc-ci",
156
+ "start":"2026-01-02T00:00:00Z",
157
+ "end":"2026-07-01T00:00:00Z",
158
+ "family":"unused_service",
159
+ "split":"test",
160
+ "note":"Held-out CI service account idle window."
161
+ },
162
+ {
163
+ "event_id":"GOLD-SEASONAL-01",
164
+ "identity_id":"usr_0127",
165
+ "role_id":"role-contractor-seasonal",
166
+ "start":"2026-03-23T00:00:00Z",
167
+ "end":"2026-07-01T00:00:00Z",
168
+ "family":"unused_seasonal",
169
+ "split":"test",
170
+ "note":"Held-out seasonal contractor idle off-season."
171
+ },
172
+ {
173
+ "event_id":"GOLD-INHERITED-01",
174
+ "identity_id":"usr_0128",
175
+ "role_id":"role-employee-base",
176
+ "start":"2026-02-11T00:00:00Z",
177
+ "end":"2026-07-01T00:00:00Z",
178
+ "family":"unused_inherited_base",
179
+ "split":"test",
180
+ "note":"Unused inherited employee-base grant is bundle context."
181
+ }
182
+ ]
data/grants.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/grants_preview.csv ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ grant_id,identity_id,identity_type,department,owner_id,status,seasonal_identity,role_id,resource_ids,grant_kind,inherited_from,created_at,expires_at,last_used_at,usage_count,usage_window_days,usage_log_coverage,sensitivity,privileged,seasonal,sod_group,break_glass,service,lab_event_id,lab_family,split
2
+ gnt_0001,usr_0001,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
3
+ gnt_0002,usr_0001,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
4
+ gnt_0003,usr_0001,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
5
+ gnt_0004,usr_0001,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,30,90,full,medium,False,False,,False,False,,,development
6
+ gnt_0005,usr_0001,human,finance,mgr_finance,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-16T00:00:00Z,9,90,full,low,False,False,,False,False,,,development
7
+ gnt_0006,usr_0002,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
8
+ gnt_0007,usr_0002,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,87,90,full,low,False,False,,False,False,,,development
9
+ gnt_0008,usr_0002,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,30,90,full,low,False,False,,False,False,,,development
10
+ gnt_0009,usr_0002,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,61,90,full,medium,False,False,,False,False,,,development
11
+ gnt_0010,usr_0003,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
12
+ gnt_0011,usr_0003,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,51,90,full,low,False,False,,False,False,,,development
13
+ gnt_0012,usr_0003,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
14
+ gnt_0013,usr_0003,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,29,90,full,medium,False,False,,False,False,,,development
15
+ gnt_0014,usr_0004,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
16
+ gnt_0015,usr_0004,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
17
+ gnt_0016,usr_0004,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
18
+ gnt_0017,usr_0004,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,76,90,full,medium,False,False,,False,False,,,development
19
+ gnt_0018,usr_0004,human,sales,mgr_sales,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-05-25T00:00:00Z,16,90,full,low,False,False,,False,False,,,development
20
+ gnt_0019,usr_0005,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
21
+ gnt_0020,usr_0005,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
22
+ gnt_0021,usr_0005,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
23
+ gnt_0022,usr_0005,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,29,90,full,medium,False,False,,False,False,,,development
24
+ gnt_0023,usr_0006,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,57,90,full,low,False,True,,False,False,,,development
25
+ gnt_0024,usr_0006,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,85,90,full,low,False,True,,False,False,,,development
26
+ gnt_0025,usr_0006,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,43,90,full,low,False,True,,False,False,,,development
27
+ gnt_0026,usr_0006,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,74,90,full,medium,False,True,,False,False,,,development
28
+ gnt_0027,usr_0007,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
29
+ gnt_0028,usr_0007,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,87,90,full,low,False,False,,False,False,,,development
30
+ gnt_0029,usr_0007,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,49,90,full,low,False,False,,False,False,,,development
31
+ gnt_0030,usr_0007,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-04T00:00:00Z,74,90,full,medium,False,False,,False,False,,,development
32
+ gnt_0031,usr_0008,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
33
+ gnt_0032,usr_0008,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
34
+ gnt_0033,usr_0008,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
35
+ gnt_0034,usr_0008,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,medium,False,False,,False,False,,,development
36
+ gnt_0035,usr_0009,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,25,90,full,low,False,False,,False,False,,,development
37
+ gnt_0036,usr_0009,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
38
+ gnt_0037,usr_0009,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,27,90,full,low,False,False,,False,False,,,development
39
+ gnt_0038,usr_0009,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,66,90,full,medium,False,False,,False,False,,,development
40
+ gnt_0039,usr_0010,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,25,90,full,low,False,False,,False,False,,,development
41
+ gnt_0040,usr_0010,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
42
+ gnt_0041,usr_0010,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,45,90,full,low,False,False,,False,False,,,development
43
+ gnt_0042,usr_0010,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,26,90,full,medium,False,False,,False,False,,,development
44
+ gnt_0043,usr_0011,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
45
+ gnt_0044,usr_0011,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
46
+ gnt_0045,usr_0011,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,66,90,full,low,False,False,,False,False,,,development
47
+ gnt_0046,usr_0011,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-26T00:00:00Z,57,90,full,medium,False,False,,False,False,,,development
48
+ gnt_0047,usr_0012,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,44,90,full,low,False,True,,False,False,,,development
49
+ gnt_0048,usr_0012,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,26,90,full,low,False,True,,False,False,,,development
50
+ gnt_0049,usr_0012,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,49,90,full,low,False,True,,False,False,,,development
51
+ gnt_0050,usr_0012,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,73,90,full,medium,False,True,,False,False,,,development
52
+ gnt_0051,usr_0012,human,contractors,mgr_vendor,active,True,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,11,90,full,low,False,True,,False,False,,,development
53
+ gnt_0052,usr_0013,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
54
+ gnt_0053,usr_0013,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
55
+ gnt_0054,usr_0013,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
56
+ gnt_0055,usr_0013,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,69,90,full,medium,False,False,,False,False,,,development
57
+ gnt_0056,usr_0013,human,finance,mgr_finance,active,False,role-finance-approver,res-erp-approve,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,18,90,full,high,True,False,finance-payment,False,False,,,development
58
+ gnt_0057,usr_0014,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,49,90,full,low,False,False,,False,False,,,development
59
+ gnt_0058,usr_0014,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,84,90,full,low,False,False,,False,False,,,development
60
+ gnt_0059,usr_0014,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
61
+ gnt_0060,usr_0014,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,71,90,full,medium,False,False,,False,False,,,development
62
+ gnt_0061,usr_0015,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,62,90,full,low,False,False,,False,False,,,development
63
+ gnt_0062,usr_0015,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
64
+ gnt_0063,usr_0015,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
65
+ gnt_0064,usr_0015,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,23,90,full,medium,False,False,,False,False,,,development
66
+ gnt_0065,usr_0016,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,48,90,full,low,False,False,,False,False,,,development
67
+ gnt_0066,usr_0016,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
68
+ gnt_0067,usr_0016,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
69
+ gnt_0068,usr_0016,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-05-29T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
70
+ gnt_0069,usr_0017,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,70,90,full,low,False,False,,False,False,,,development
71
+ gnt_0070,usr_0017,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,76,90,full,low,False,False,,False,False,,,development
72
+ gnt_0071,usr_0017,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
73
+ gnt_0072,usr_0017,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,48,90,full,medium,False,False,,False,False,,,development
74
+ gnt_0073,usr_0018,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,True,,False,False,,,development
75
+ gnt_0074,usr_0018,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,68,90,full,low,False,True,,False,False,,,development
76
+ gnt_0075,usr_0018,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,38,90,full,low,False,True,,False,False,,,development
77
+ gnt_0076,usr_0018,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,39,90,full,medium,False,True,,False,False,,,development
78
+ gnt_0077,usr_0018,human,contractors,mgr_vendor,active,True,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,13,90,full,low,False,True,,False,False,,,development
79
+ gnt_0078,usr_0019,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
80
+ gnt_0079,usr_0019,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
81
+ gnt_0080,usr_0019,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
82
+ gnt_0081,usr_0019,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,62,90,full,medium,False,False,,False,False,,,development
83
+ gnt_0082,usr_0020,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
84
+ gnt_0083,usr_0020,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
85
+ gnt_0084,usr_0020,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
86
+ gnt_0085,usr_0020,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,41,90,full,medium,False,False,,False,False,,,development
87
+ gnt_0086,usr_0021,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
88
+ gnt_0087,usr_0021,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
89
+ gnt_0088,usr_0021,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
90
+ gnt_0089,usr_0021,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-19T00:00:00Z,63,90,full,medium,False,False,,False,False,,,development
91
+ gnt_0090,usr_0022,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,41,90,full,low,False,False,,False,False,,,development
92
+ gnt_0091,usr_0022,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
93
+ gnt_0092,usr_0022,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
94
+ gnt_0093,usr_0022,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-24T00:00:00Z,56,90,full,medium,False,False,,False,False,,,development
95
+ gnt_0094,usr_0023,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
96
+ gnt_0095,usr_0023,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
97
+ gnt_0096,usr_0023,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
98
+ gnt_0097,usr_0023,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,23,90,full,medium,False,False,,False,False,,,development
99
+ gnt_0098,usr_0024,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,True,,False,False,,,development
100
+ gnt_0099,usr_0024,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,True,,False,False,,,development
101
+ gnt_0100,usr_0024,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,66,90,full,low,False,True,,False,False,,,development
102
+ gnt_0101,usr_0024,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,28,90,full,medium,False,True,,False,False,,,development
103
+ gnt_0102,usr_0025,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
104
+ gnt_0103,usr_0025,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
105
+ gnt_0104,usr_0025,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
106
+ gnt_0105,usr_0025,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,54,90,full,medium,False,False,,False,False,,,development
107
+ gnt_0106,usr_0026,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
108
+ gnt_0107,usr_0026,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,62,90,full,low,False,False,,False,False,,,development
109
+ gnt_0108,usr_0026,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,67,90,full,low,False,False,,False,False,,,development
110
+ gnt_0109,usr_0026,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,71,90,full,medium,False,False,,False,False,,,development
111
+ gnt_0110,usr_0027,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
112
+ gnt_0111,usr_0027,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
113
+ gnt_0112,usr_0027,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,79,90,full,low,False,False,,False,False,,,development
114
+ gnt_0113,usr_0027,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,51,90,full,medium,False,False,,False,False,,,development
115
+ gnt_0114,usr_0028,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
116
+ gnt_0115,usr_0028,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,20,90,full,low,False,False,,False,False,,,development
117
+ gnt_0116,usr_0028,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,67,90,full,low,False,False,,False,False,,,development
118
+ gnt_0117,usr_0028,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,62,90,full,medium,False,False,,False,False,,,development
119
+ gnt_0118,usr_0029,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,66,90,full,low,False,False,,False,False,,,development
120
+ gnt_0119,usr_0029,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
121
+ gnt_0120,usr_0029,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
122
+ gnt_0121,usr_0029,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,51,90,full,medium,False,False,,False,False,,,development
123
+ gnt_0122,usr_0030,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,True,,False,False,,,development
124
+ gnt_0123,usr_0030,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,71,90,full,low,False,True,,False,False,,,development
125
+ gnt_0124,usr_0030,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,72,90,full,low,False,True,,False,False,,,development
126
+ gnt_0125,usr_0030,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,16,90,full,medium,False,True,,False,False,,,development
127
+ gnt_0126,usr_0031,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
128
+ gnt_0127,usr_0031,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
129
+ gnt_0128,usr_0031,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
130
+ gnt_0129,usr_0031,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
131
+ gnt_0130,usr_0032,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
132
+ gnt_0131,usr_0032,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,27,90,full,low,False,False,,False,False,,,development
133
+ gnt_0132,usr_0032,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
134
+ gnt_0133,usr_0032,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,36,90,full,medium,False,False,,False,False,,,development
135
+ gnt_0134,usr_0033,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,79,90,full,low,False,False,,False,False,,,development
136
+ gnt_0135,usr_0033,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
137
+ gnt_0136,usr_0033,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,22,90,full,low,False,False,,False,False,,,development
138
+ gnt_0137,usr_0033,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
139
+ gnt_0138,usr_0034,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,84,90,full,low,False,False,,False,False,,,development
140
+ gnt_0139,usr_0034,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
141
+ gnt_0140,usr_0034,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
142
+ gnt_0141,usr_0034,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-18T00:00:00Z,16,90,full,medium,False,False,,False,False,,,development
143
+ gnt_0142,usr_0035,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
144
+ gnt_0143,usr_0035,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
145
+ gnt_0144,usr_0035,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
146
+ gnt_0145,usr_0035,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,73,90,full,medium,False,False,,False,False,,,development
147
+ gnt_0146,usr_0036,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,56,90,full,low,False,True,,False,False,,,development
148
+ gnt_0147,usr_0036,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,True,,False,False,,,development
149
+ gnt_0148,usr_0036,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,89,90,full,low,False,True,,False,False,,,development
150
+ gnt_0149,usr_0036,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-05-29T00:00:00Z,34,90,full,medium,False,True,,False,False,,,development
151
+ gnt_0150,usr_0037,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
152
+ gnt_0151,usr_0037,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
153
+ gnt_0152,usr_0037,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
154
+ gnt_0153,usr_0037,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,39,90,full,medium,False,False,,False,False,,,development
155
+ gnt_0154,usr_0038,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
156
+ gnt_0155,usr_0038,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
157
+ gnt_0156,usr_0038,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,51,90,full,low,False,False,,False,False,,,development
158
+ gnt_0157,usr_0038,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,75,90,full,medium,False,False,,False,False,,,development
159
+ gnt_0158,usr_0039,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,76,90,full,low,False,False,,False,False,,,development
160
+ gnt_0159,usr_0039,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
161
+ gnt_0160,usr_0039,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
162
+ gnt_0161,usr_0039,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
163
+ gnt_0162,usr_0040,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,32,90,full,low,False,False,,False,False,,,development
164
+ gnt_0163,usr_0040,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,30,90,full,low,False,False,,False,False,,,development
165
+ gnt_0164,usr_0040,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
166
+ gnt_0165,usr_0040,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,26,90,full,medium,False,False,,False,False,,,development
167
+ gnt_0166,usr_0041,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,28,90,full,low,False,False,,False,False,,,development
168
+ gnt_0167,usr_0041,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
169
+ gnt_0168,usr_0041,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,70,90,full,low,False,False,,False,False,,,development
170
+ gnt_0169,usr_0041,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
171
+ gnt_0170,usr_0042,human,finance,mgr_finance,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,True,,False,False,,,development
172
+ gnt_0171,usr_0042,human,finance,mgr_finance,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,True,,False,False,,,development
173
+ gnt_0172,usr_0042,human,finance,mgr_finance,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,60,90,full,low,False,True,,False,False,,,development
174
+ gnt_0173,usr_0042,human,finance,mgr_finance,active,True,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,21,90,full,medium,False,True,,False,False,,,development
175
+ gnt_0174,usr_0043,human,sales,,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
176
+ gnt_0175,usr_0043,human,sales,,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
177
+ gnt_0176,usr_0043,human,sales,,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
178
+ gnt_0177,usr_0043,human,sales,,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,49,90,full,medium,False,False,,False,False,,,development
179
+ gnt_0178,usr_0044,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
180
+ gnt_0179,usr_0044,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
181
+ gnt_0180,usr_0044,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,76,90,full,low,False,False,,False,False,,,development
182
+ gnt_0181,usr_0044,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,48,90,full,medium,False,False,,False,False,,,development
183
+ gnt_0182,usr_0044,human,engineering,mgr_eng,active,False,role-eng-prod-deploy,res-k8s-prod,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,17,90,full,high,True,False,,False,False,,,development
184
+ gnt_0183,usr_0045,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
185
+ gnt_0184,usr_0045,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
186
+ gnt_0185,usr_0045,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
187
+ gnt_0186,usr_0045,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,35,90,full,medium,False,False,,False,False,,,development
188
+ gnt_0187,usr_0046,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,40,90,full,low,False,False,,False,False,,,development
189
+ gnt_0188,usr_0046,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
190
+ gnt_0189,usr_0046,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
191
+ gnt_0190,usr_0046,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,62,90,full,medium,False,False,,False,False,,,development
192
+ gnt_0191,usr_0047,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
193
+ gnt_0192,usr_0047,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
194
+ gnt_0193,usr_0047,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,32,90,full,low,False,False,,False,False,,,development
195
+ gnt_0194,usr_0047,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,37,90,full,medium,False,False,,False,False,,,development
196
+ gnt_0195,usr_0048,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,84,90,full,low,False,True,,False,False,,,development
197
+ gnt_0196,usr_0048,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,True,,False,False,,,development
198
+ gnt_0197,usr_0048,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,87,90,full,low,False,True,,False,False,,,development
199
+ gnt_0198,usr_0048,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,25,90,full,medium,False,True,,False,False,,,development
200
+ gnt_0199,usr_0049,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
201
+ gnt_0200,usr_0049,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
202
+ gnt_0201,usr_0049,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
203
+ gnt_0202,usr_0049,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,73,90,full,medium,False,False,,False,False,,,development
204
+ gnt_0203,usr_0049,human,finance,mgr_finance,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,3,90,full,low,False,False,,False,False,,,development
205
+ gnt_0204,usr_0050,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
206
+ gnt_0205,usr_0050,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,35,90,full,low,False,False,,False,False,,,development
207
+ gnt_0206,usr_0050,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
208
+ gnt_0207,usr_0050,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,49,90,full,medium,False,False,,False,False,,,development
209
+ gnt_0208,usr_0051,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
210
+ gnt_0209,usr_0051,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
211
+ gnt_0210,usr_0051,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,22,90,full,low,False,False,,False,False,,,development
212
+ gnt_0211,usr_0051,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,77,90,full,medium,False,False,,False,False,,,development
213
+ gnt_0212,usr_0052,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
214
+ gnt_0213,usr_0052,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
215
+ gnt_0214,usr_0052,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
216
+ gnt_0215,usr_0052,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,44,90,full,medium,False,False,,False,False,,,development
217
+ gnt_0216,usr_0053,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
218
+ gnt_0217,usr_0053,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
219
+ gnt_0218,usr_0053,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
220
+ gnt_0219,usr_0053,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,67,90,full,medium,False,False,,False,False,,,development
221
+ gnt_0220,usr_0054,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,57,90,full,low,False,True,,False,False,,,development
222
+ gnt_0221,usr_0054,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,42,90,full,low,False,True,,False,False,,,development
223
+ gnt_0222,usr_0054,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,53,90,full,low,False,True,,False,False,,,development
224
+ gnt_0223,usr_0054,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-16T00:00:00Z,49,90,full,medium,False,True,,False,False,,,development
225
+ gnt_0224,usr_0055,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
226
+ gnt_0225,usr_0055,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
227
+ gnt_0226,usr_0055,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
228
+ gnt_0227,usr_0055,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,44,90,full,medium,False,False,,False,False,,,development
229
+ gnt_0228,usr_0056,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,45,90,full,low,False,False,,False,False,,,development
230
+ gnt_0229,usr_0056,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
231
+ gnt_0230,usr_0056,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
232
+ gnt_0231,usr_0056,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-05T00:00:00Z,29,90,full,medium,False,False,,False,False,,,development
233
+ gnt_0232,usr_0057,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,41,90,full,low,False,False,,False,False,,,development
234
+ gnt_0233,usr_0057,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
235
+ gnt_0234,usr_0057,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,53,90,full,low,False,False,,False,False,,,development
236
+ gnt_0235,usr_0057,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,66,90,full,medium,False,False,,False,False,,,development
237
+ gnt_0236,usr_0058,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
238
+ gnt_0237,usr_0058,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,False,,False,False,,,development
239
+ gnt_0238,usr_0058,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
240
+ gnt_0239,usr_0058,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,69,90,full,medium,False,False,,False,False,,,development
241
+ gnt_0240,usr_0059,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
242
+ gnt_0241,usr_0059,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,30,90,full,low,False,False,,False,False,,,development
243
+ gnt_0242,usr_0059,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
244
+ gnt_0243,usr_0059,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,78,90,full,medium,False,False,,False,False,,,development
245
+ gnt_0244,usr_0060,human,hr,mgr_hr,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,64,90,full,low,False,True,,False,False,,,development
246
+ gnt_0245,usr_0060,human,hr,mgr_hr,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,74,90,full,low,False,True,,False,False,,,development
247
+ gnt_0246,usr_0060,human,hr,mgr_hr,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,79,90,full,low,False,True,,False,False,,,development
248
+ gnt_0247,usr_0060,human,hr,mgr_hr,active,True,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-19T00:00:00Z,42,90,full,medium,False,True,,False,False,,,development
249
+ gnt_0248,usr_0061,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,24,90,full,low,False,False,,False,False,,,development
250
+ gnt_0249,usr_0061,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
251
+ gnt_0250,usr_0061,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
252
+ gnt_0251,usr_0061,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-03T00:00:00Z,33,90,full,medium,False,False,,False,False,,,development
253
+ gnt_0252,usr_0062,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,67,90,full,low,False,False,,False,False,,,development
254
+ gnt_0253,usr_0062,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
255
+ gnt_0254,usr_0062,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
256
+ gnt_0255,usr_0062,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
257
+ gnt_0256,usr_0063,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
258
+ gnt_0257,usr_0063,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
259
+ gnt_0258,usr_0063,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
260
+ gnt_0259,usr_0063,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,49,90,full,medium,False,False,,False,False,,,development
261
+ gnt_0260,usr_0064,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
262
+ gnt_0261,usr_0064,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
263
+ gnt_0262,usr_0064,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
264
+ gnt_0263,usr_0064,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-19T00:00:00Z,37,90,full,medium,False,False,,False,False,,,development
265
+ gnt_0264,usr_0065,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
266
+ gnt_0265,usr_0065,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
267
+ gnt_0266,usr_0065,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
268
+ gnt_0267,usr_0065,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,44,90,full,medium,False,False,,False,False,,,development
269
+ gnt_0268,usr_0066,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,54,90,full,low,False,True,,False,False,,,development
270
+ gnt_0269,usr_0066,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,True,,False,False,,,development
271
+ gnt_0270,usr_0066,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,24,90,full,low,False,True,,False,False,,,development
272
+ gnt_0271,usr_0066,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,38,90,full,medium,False,True,,False,False,,,development
273
+ gnt_0272,usr_0067,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
274
+ gnt_0273,usr_0067,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
275
+ gnt_0274,usr_0067,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
276
+ gnt_0275,usr_0067,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,65,90,full,medium,False,False,,False,False,,,development
277
+ gnt_0276,usr_0068,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
278
+ gnt_0277,usr_0068,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,78,90,full,low,False,False,,False,False,,,development
279
+ gnt_0278,usr_0068,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,28,90,full,low,False,False,,False,False,,,development
280
+ gnt_0279,usr_0068,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,34,90,full,medium,False,False,,False,False,,,development
281
+ gnt_0280,usr_0069,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
282
+ gnt_0281,usr_0069,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
283
+ gnt_0282,usr_0069,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
284
+ gnt_0283,usr_0069,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,74,90,full,medium,False,False,,False,False,,,development
285
+ gnt_0284,usr_0070,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
286
+ gnt_0285,usr_0070,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
287
+ gnt_0286,usr_0070,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
288
+ gnt_0287,usr_0070,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-16T00:00:00Z,46,90,full,medium,False,False,,False,False,,,development
289
+ gnt_0288,usr_0071,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,77,90,full,low,False,False,,False,False,,,development
290
+ gnt_0289,usr_0071,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,72,90,full,low,False,False,,False,False,,,development
291
+ gnt_0290,usr_0071,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
292
+ gnt_0291,usr_0071,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-05T00:00:00Z,64,90,full,medium,False,False,,False,False,,,development
293
+ gnt_0292,usr_0072,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,42,90,full,low,False,True,,False,False,,,development
294
+ gnt_0293,usr_0072,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,52,90,full,low,False,True,,False,False,,,development
295
+ gnt_0294,usr_0072,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,33,90,full,low,False,True,,False,False,,,development
296
+ gnt_0295,usr_0072,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,39,90,full,medium,False,True,,False,False,,,development
297
+ gnt_0296,usr_0073,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
298
+ gnt_0297,usr_0073,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,45,90,full,low,False,False,,False,False,,,development
299
+ gnt_0298,usr_0073,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
300
+ gnt_0299,usr_0073,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-03T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
301
+ gnt_0300,usr_0074,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
302
+ gnt_0301,usr_0074,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
303
+ gnt_0302,usr_0074,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,77,90,full,low,False,False,,False,False,,,development
304
+ gnt_0303,usr_0074,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,34,90,full,medium,False,False,,False,False,,,development
305
+ gnt_0304,usr_0075,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
306
+ gnt_0305,usr_0075,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,72,90,full,low,False,False,,False,False,,,development
307
+ gnt_0306,usr_0075,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
308
+ gnt_0307,usr_0075,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,53,90,full,medium,False,False,,False,False,,,development
309
+ gnt_0308,usr_0076,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
310
+ gnt_0309,usr_0076,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
311
+ gnt_0310,usr_0076,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
312
+ gnt_0311,usr_0076,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-14T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
313
+ gnt_0312,usr_0077,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
314
+ gnt_0313,usr_0077,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,71,90,full,low,False,False,,False,False,,,development
315
+ gnt_0314,usr_0077,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
316
+ gnt_0315,usr_0077,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,16,90,full,medium,False,False,,False,False,,,development
317
+ gnt_0316,usr_0078,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,True,,False,False,,,development
318
+ gnt_0317,usr_0078,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,49,90,full,low,False,True,,False,False,,,development
319
+ gnt_0318,usr_0078,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,48,90,full,low,False,True,,False,False,,,development
320
+ gnt_0319,usr_0078,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,25,90,full,medium,False,True,,False,False,,,development
321
+ gnt_0320,usr_0079,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
322
+ gnt_0321,usr_0079,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
323
+ gnt_0322,usr_0079,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,71,90,full,low,False,False,,False,False,,,development
324
+ gnt_0323,usr_0079,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
325
+ gnt_0324,usr_0080,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,True,,False,False,,,development
326
+ gnt_0325,usr_0080,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,True,,False,False,,,development
327
+ gnt_0326,usr_0080,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,True,,False,False,,,development
328
+ gnt_0327,usr_0081,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,66,90,full,low,False,False,,False,False,,,development
329
+ gnt_0328,usr_0081,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
330
+ gnt_0329,usr_0081,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,64,90,full,low,False,False,,False,False,,,development
331
+ gnt_0330,usr_0081,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-18T00:00:00Z,71,90,full,medium,False,False,,False,False,,,development
332
+ gnt_0331,usr_0082,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
333
+ gnt_0332,usr_0082,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
334
+ gnt_0333,usr_0082,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
335
+ gnt_0334,usr_0082,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,24,90,full,medium,False,False,,False,False,,,development
336
+ gnt_0335,usr_0083,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
337
+ gnt_0336,usr_0083,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,70,90,full,low,False,False,,False,False,,,development
338
+ gnt_0337,usr_0083,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,33,90,full,low,False,False,,False,False,,,development
339
+ gnt_0338,usr_0083,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-30T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
340
+ gnt_0339,usr_0084,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,72,90,full,low,False,True,,False,False,,,development
341
+ gnt_0340,usr_0084,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,42,90,full,low,False,True,,False,False,,,development
342
+ gnt_0341,usr_0084,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,27,90,full,low,False,True,,False,False,,,development
343
+ gnt_0342,usr_0084,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-12T00:00:00Z,15,90,full,medium,False,True,,False,False,,,development
344
+ gnt_0343,usr_0085,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
345
+ gnt_0344,usr_0085,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
346
+ gnt_0345,usr_0085,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
347
+ gnt_0346,usr_0085,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,21,90,full,medium,False,False,,False,False,,,development
348
+ gnt_0347,usr_0086,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
349
+ gnt_0348,usr_0086,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,False,,False,False,,,development
350
+ gnt_0349,usr_0086,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
351
+ gnt_0350,usr_0086,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,53,90,full,medium,False,False,,False,False,,,development
352
+ gnt_0351,usr_0087,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,64,90,full,low,False,False,,False,False,,,development
353
+ gnt_0352,usr_0087,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
354
+ gnt_0353,usr_0087,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
355
+ gnt_0354,usr_0087,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-05-30T00:00:00Z,67,90,full,medium,False,False,,False,False,,,development
356
+ gnt_0355,usr_0088,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
357
+ gnt_0356,usr_0088,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,77,90,full,low,False,False,,False,False,,,development
358
+ gnt_0357,usr_0088,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
359
+ gnt_0358,usr_0088,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-26T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
360
+ gnt_0359,usr_0089,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
361
+ gnt_0360,usr_0089,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
362
+ gnt_0361,usr_0089,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
363
+ gnt_0362,usr_0089,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
364
+ gnt_0363,usr_0090,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,30,90,full,low,False,True,,False,False,,,development
365
+ gnt_0364,usr_0090,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,84,90,full,low,False,True,,False,False,,,development
366
+ gnt_0365,usr_0090,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,54,90,full,low,False,True,,False,False,,,development
367
+ gnt_0366,usr_0090,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,16,90,full,medium,False,True,,False,False,,,development
368
+ gnt_0367,usr_0091,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
369
+ gnt_0368,usr_0091,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
370
+ gnt_0369,usr_0091,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,49,90,full,low,False,False,,False,False,,,development
371
+ gnt_0370,usr_0091,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,17,90,full,medium,False,False,,False,False,,,development
372
+ gnt_0371,usr_0091,human,finance,mgr_finance,active,False,role-finance-approver,res-erp-approve,direct,,2025-05-27T00:00:00Z,,2026-06-05T00:00:00Z,17,90,full,high,True,False,finance-payment,False,False,,,development
373
+ gnt_0372,usr_0091,human,finance,mgr_finance,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,13,90,full,low,False,False,,False,False,,,development
374
+ gnt_0373,usr_0092,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,48,90,full,low,False,False,,False,False,,,development
375
+ gnt_0374,usr_0092,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
376
+ gnt_0375,usr_0092,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,28,90,full,low,False,False,,False,False,,,development
377
+ gnt_0376,usr_0092,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,35,90,full,medium,False,False,,False,False,,,development
378
+ gnt_0377,usr_0093,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,20,90,full,low,False,False,,False,False,,,development
379
+ gnt_0378,usr_0093,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,73,90,full,low,False,False,,False,False,,,development
380
+ gnt_0379,usr_0093,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,53,90,full,low,False,False,,False,False,,,development
381
+ gnt_0380,usr_0093,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
382
+ gnt_0381,usr_0093,human,hr,mgr_hr,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,2,90,full,low,False,False,,False,False,,,development
383
+ gnt_0382,usr_0094,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
384
+ gnt_0383,usr_0094,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,False,,False,False,,,development
385
+ gnt_0384,usr_0094,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
386
+ gnt_0385,usr_0094,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-05-30T00:00:00Z,52,90,full,medium,False,False,,False,False,,,development
387
+ gnt_0386,usr_0095,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,22,90,full,low,False,False,,False,False,,,development
388
+ gnt_0387,usr_0095,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,62,90,full,low,False,False,,False,False,,,development
389
+ gnt_0388,usr_0095,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
390
+ gnt_0389,usr_0095,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-29T00:00:00Z,50,90,full,medium,False,False,,False,False,,,development
391
+ gnt_0390,usr_0096,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,True,,False,False,,,development
392
+ gnt_0391,usr_0096,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,75,90,full,low,False,True,,False,False,,,development
393
+ gnt_0392,usr_0096,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,38,90,full,low,False,True,,False,False,,,development
394
+ gnt_0393,usr_0096,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,24,90,full,medium,False,True,,False,False,,,development
395
+ gnt_0394,usr_0097,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,84,90,full,low,False,False,,False,False,,,development
396
+ gnt_0395,usr_0097,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,64,90,full,low,False,False,,False,False,,,development
397
+ gnt_0396,usr_0097,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,24,90,full,low,False,False,,False,False,,,development
398
+ gnt_0397,usr_0097,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,34,90,full,medium,False,False,,False,False,,,development
399
+ gnt_0398,usr_0098,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,82,90,full,low,False,False,,False,False,,,development
400
+ gnt_0399,usr_0098,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
401
+ gnt_0400,usr_0098,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
data/identities.csv ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ identity_id,display_name,identity_type,owner_id,department,status,seasonal,split
2
+ usr_0001,Human 0001,human,mgr_finance,finance,active,False,development
3
+ usr_0002,Human 0002,human,mgr_eng,engineering,active,False,development
4
+ usr_0003,Human 0003,human,mgr_hr,hr,active,False,development
5
+ usr_0004,Human 0004,human,mgr_sales,sales,active,False,development
6
+ usr_0005,Human 0005,human,mgr_ops,operations,active,False,development
7
+ usr_0006,Human 0006,human,mgr_vendor,contractors,active,True,development
8
+ usr_0007,Human 0007,human,mgr_finance,finance,active,False,development
9
+ usr_0008,Human 0008,human,mgr_eng,engineering,active,False,development
10
+ usr_0009,Human 0009,human,mgr_hr,hr,active,False,development
11
+ usr_0010,Human 0010,human,mgr_sales,sales,active,False,development
12
+ usr_0011,Human 0011,human,mgr_ops,operations,active,False,development
13
+ usr_0012,Human 0012,human,mgr_vendor,contractors,active,True,development
14
+ usr_0013,Human 0013,human,mgr_finance,finance,active,False,development
15
+ usr_0014,Human 0014,human,mgr_eng,engineering,active,False,development
16
+ usr_0015,Human 0015,human,mgr_hr,hr,active,False,development
17
+ usr_0016,Human 0016,human,mgr_sales,sales,active,False,development
18
+ usr_0017,Human 0017,human,mgr_ops,operations,active,False,development
19
+ usr_0018,Human 0018,human,mgr_vendor,contractors,active,True,development
20
+ usr_0019,Human 0019,human,mgr_finance,finance,active,False,development
21
+ usr_0020,Human 0020,human,mgr_eng,engineering,active,False,development
22
+ usr_0021,Human 0021,human,mgr_hr,hr,active,False,development
23
+ usr_0022,Human 0022,human,mgr_sales,sales,active,False,development
24
+ usr_0023,Human 0023,human,mgr_ops,operations,active,False,development
25
+ usr_0024,Human 0024,human,mgr_vendor,contractors,active,True,development
26
+ usr_0025,Human 0025,human,mgr_finance,finance,active,False,development
27
+ usr_0026,Human 0026,human,mgr_eng,engineering,active,False,development
28
+ usr_0027,Human 0027,human,mgr_hr,hr,active,False,development
29
+ usr_0028,Human 0028,human,mgr_sales,sales,active,False,development
30
+ usr_0029,Human 0029,human,mgr_ops,operations,active,False,development
31
+ usr_0030,Human 0030,human,mgr_vendor,contractors,active,True,development
32
+ usr_0031,Human 0031,human,mgr_finance,finance,active,False,development
33
+ usr_0032,Human 0032,human,mgr_eng,engineering,active,False,development
34
+ usr_0033,Human 0033,human,mgr_hr,hr,active,False,development
35
+ usr_0034,Human 0034,human,mgr_sales,sales,active,False,development
36
+ usr_0035,Human 0035,human,mgr_ops,operations,active,False,development
37
+ usr_0036,Human 0036,human,mgr_vendor,contractors,active,True,development
38
+ usr_0037,Human 0037,human,mgr_finance,finance,active,False,development
39
+ usr_0038,Human 0038,human,mgr_eng,engineering,active,False,development
40
+ usr_0039,Human 0039,human,mgr_hr,hr,active,False,development
41
+ usr_0040,Human 0040,human,mgr_sales,sales,active,False,development
42
+ usr_0041,Human 0041,human,mgr_finance,finance,active,False,development
43
+ usr_0042,Human 0042,human,mgr_finance,finance,active,True,development
44
+ usr_0043,Human 0043,human,,sales,active,False,development
45
+ usr_0044,Human 0044,human,mgr_eng,engineering,active,False,development
46
+ usr_0045,Human 0045,human,mgr_hr,hr,active,False,development
47
+ usr_0046,Human 0046,human,mgr_sales,sales,active,False,development
48
+ usr_0047,Human 0047,human,mgr_ops,operations,active,False,development
49
+ usr_0048,Human 0048,human,mgr_vendor,contractors,active,True,development
50
+ usr_0049,Human 0049,human,mgr_finance,finance,active,False,development
51
+ usr_0050,Human 0050,human,mgr_sales,sales,active,False,development
52
+ usr_0051,Human 0051,human,mgr_hr,hr,active,False,development
53
+ usr_0052,Human 0052,human,mgr_sales,sales,active,False,development
54
+ usr_0053,Human 0053,human,mgr_ops,operations,active,False,development
55
+ usr_0054,Human 0054,human,mgr_vendor,contractors,active,True,development
56
+ usr_0055,Human 0055,human,mgr_finance,finance,active,False,development
57
+ usr_0056,Human 0056,human,mgr_eng,engineering,active,False,development
58
+ usr_0057,Human 0057,human,mgr_hr,hr,active,False,development
59
+ usr_0058,Human 0058,human,mgr_sales,sales,active,False,development
60
+ usr_0059,Human 0059,human,mgr_ops,operations,active,False,development
61
+ usr_0060,Human 0060,human,mgr_hr,hr,active,True,development
62
+ usr_0061,Human 0061,human,mgr_finance,finance,active,False,development
63
+ usr_0062,Human 0062,human,mgr_eng,engineering,active,False,development
64
+ usr_0063,Human 0063,human,mgr_hr,hr,active,False,development
65
+ usr_0064,Human 0064,human,mgr_sales,sales,active,False,development
66
+ usr_0065,Human 0065,human,mgr_ops,operations,active,False,development
67
+ usr_0066,Human 0066,human,mgr_vendor,contractors,active,True,development
68
+ usr_0067,Human 0067,human,mgr_finance,finance,active,False,development
69
+ usr_0068,Human 0068,human,mgr_eng,engineering,active,False,development
70
+ usr_0069,Human 0069,human,mgr_hr,hr,active,False,development
71
+ usr_0070,Human 0070,human,mgr_sales,sales,active,False,development
72
+ usr_0071,Human 0071,human,mgr_ops,operations,active,False,development
73
+ usr_0072,Human 0072,human,mgr_vendor,contractors,active,True,development
74
+ usr_0073,Human 0073,human,mgr_finance,finance,active,False,development
75
+ usr_0074,Human 0074,human,mgr_eng,engineering,active,False,development
76
+ usr_0075,Human 0075,human,mgr_hr,hr,active,False,development
77
+ usr_0076,Human 0076,human,mgr_sales,sales,active,False,development
78
+ usr_0077,Human 0077,human,mgr_ops,operations,active,False,development
79
+ usr_0078,Human 0078,human,mgr_vendor,contractors,active,True,development
80
+ usr_0079,Human 0079,human,mgr_finance,finance,active,False,development
81
+ usr_0080,Human 0080,human,mgr_vendor,contractors,active,True,development
82
+ usr_0081,Human 0081,human,mgr_hr,hr,active,False,development
83
+ usr_0082,Human 0082,human,mgr_sales,sales,active,False,development
84
+ usr_0083,Human 0083,human,mgr_ops,operations,active,False,development
85
+ usr_0084,Human 0084,human,mgr_vendor,contractors,active,True,development
86
+ usr_0085,Human 0085,human,mgr_finance,finance,active,False,development
87
+ usr_0086,Human 0086,human,mgr_eng,engineering,active,False,development
88
+ usr_0087,Human 0087,human,mgr_hr,hr,active,False,development
89
+ usr_0088,Human 0088,human,mgr_sales,sales,active,False,development
90
+ usr_0089,Human 0089,human,mgr_ops,operations,active,False,development
91
+ usr_0090,Human 0090,human,mgr_vendor,contractors,active,True,development
92
+ usr_0091,Human 0091,human,mgr_finance,finance,active,False,development
93
+ usr_0092,Human 0092,human,mgr_eng,engineering,active,False,development
94
+ usr_0093,Human 0093,human,mgr_hr,hr,active,False,development
95
+ usr_0094,Human 0094,human,mgr_sales,sales,active,False,development
96
+ usr_0095,Human 0095,human,mgr_ops,operations,active,False,development
97
+ usr_0096,Human 0096,human,mgr_vendor,contractors,active,True,development
98
+ usr_0097,Human 0097,human,mgr_finance,finance,active,False,development
99
+ usr_0098,Human 0098,human,mgr_eng,engineering,active,False,development
100
+ usr_0099,Human 0099,human,mgr_hr,hr,active,False,development
101
+ usr_0100,Human 0100,human,mgr_sales,sales,active,False,development
102
+ usr_0101,Human 0101,human,mgr_ops,operations,active,False,test
103
+ usr_0102,Human 0102,human,mgr_vendor,contractors,active,True,test
104
+ usr_0103,Human 0103,human,mgr_finance,finance,active,False,test
105
+ usr_0104,Human 0104,human,mgr_eng,engineering,active,False,test
106
+ usr_0105,Human 0105,human,mgr_hr,hr,active,False,test
107
+ usr_0106,Human 0106,human,mgr_sales,sales,active,False,test
108
+ usr_0107,Human 0107,human,mgr_ops,operations,active,False,test
109
+ usr_0108,Human 0108,human,mgr_vendor,contractors,active,True,test
110
+ usr_0109,Human 0109,human,mgr_finance,finance,active,False,test
111
+ usr_0110,Human 0110,human,mgr_eng,engineering,active,False,test
112
+ usr_0111,Human 0111,human,mgr_hr,hr,active,False,test
113
+ usr_0112,Human 0112,human,mgr_sales,sales,active,False,test
114
+ usr_0113,Human 0113,human,mgr_ops,operations,active,False,test
115
+ usr_0114,Human 0114,human,mgr_vendor,contractors,active,True,test
116
+ usr_0115,Human 0115,human,mgr_finance,finance,active,False,test
117
+ usr_0116,Human 0116,human,mgr_eng,engineering,active,False,test
118
+ usr_0117,Human 0117,human,mgr_hr,hr,active,False,test
119
+ usr_0118,Human 0118,human,mgr_sales,sales,active,False,test
120
+ usr_0119,Human 0119,human,mgr_ops,operations,active,False,test
121
+ usr_0120,Human 0120,human,mgr_vendor,contractors,active,True,test
122
+ usr_0121,Human 0121,human,mgr_finance,finance,active,False,test
123
+ usr_0122,Human 0122,human,mgr_finance,finance,active,False,test
124
+ usr_0123,Human 0123,human,,engineering,active,False,test
125
+ usr_0124,Human 0124,human,mgr_sales,sales,active,False,test
126
+ usr_0125,Human 0125,human,,sales,departed,False,test
127
+ usr_0126,Human 0126,human,mgr_eng,engineering,active,True,test
128
+ usr_0127,Human 0127,human,mgr_vendor,contractors,active,True,test
129
+ usr_0128,Human 0128,human,mgr_ops,operations,active,False,test
130
+ usr_0129,Human 0129,human,mgr_hr,hr,active,False,test
131
+ usr_0130,Human 0130,human,mgr_sales,sales,active,False,test
132
+ usr_0131,Human 0131,human,mgr_ops,operations,active,False,test
133
+ usr_0132,Human 0132,human,mgr_vendor,contractors,active,True,test
134
+ usr_0133,Human 0133,human,mgr_finance,finance,active,False,test
135
+ usr_0134,Human 0134,human,mgr_eng,engineering,active,False,test
136
+ usr_0135,Human 0135,human,mgr_hr,hr,active,False,test
137
+ usr_0136,Human 0136,human,mgr_sales,sales,active,False,test
138
+ usr_0137,Human 0137,human,mgr_ops,operations,active,False,test
139
+ usr_0138,Human 0138,human,mgr_vendor,contractors,active,True,test
140
+ usr_0139,Human 0139,human,mgr_finance,finance,active,False,test
141
+ usr_0140,Human 0140,human,mgr_eng,engineering,active,False,test
142
+ usr_0141,Human 0141,human,mgr_hr,hr,active,False,test
143
+ usr_0142,Human 0142,human,mgr_sales,sales,active,False,test
144
+ usr_0143,Human 0143,human,mgr_ops,operations,active,False,test
145
+ usr_0144,Human 0144,human,mgr_vendor,contractors,active,True,test
146
+ usr_0145,Human 0145,human,mgr_finance,finance,active,False,test
147
+ usr_0146,Human 0146,human,mgr_eng,engineering,active,False,test
148
+ usr_0147,Human 0147,human,mgr_hr,hr,active,False,test
149
+ usr_0148,Human 0148,human,mgr_sales,sales,active,False,test
150
+ usr_0149,Human 0149,human,mgr_ops,operations,active,False,test
151
+ usr_0150,Human 0150,human,mgr_vendor,contractors,active,True,test
152
+ svc_0001,Service 0001,service,mgr_ops,operations,active,False,development
153
+ svc_0002,Service 0002,service,mgr_ops,operations,active,False,development
154
+ svc_0003,Service 0003,service,mgr_ops,operations,active,False,development
155
+ svc_0004,Service 0004,service,mgr_ops,operations,active,False,development
156
+ svc_0005,Service 0005,service,mgr_ops,operations,active,False,development
157
+ svc_0006,Service 0006,service,mgr_ops,operations,active,False,development
158
+ svc_0007,Service 0007,service,mgr_ops,operations,active,False,development
159
+ svc_0008,Service 0008,service,mgr_ops,operations,active,False,development
160
+ svc_0009,Service 0009,service,mgr_ops,operations,active,False,development
161
+ svc_0010,Service 0010,service,mgr_ops,operations,active,False,development
162
+ svc_0011,Service 0011,service,mgr_ops,operations,active,False,test
163
+ svc_0012,Service 0012,service,mgr_ops,operations,active,False,test
164
+ svc_0013,Service 0013,service,mgr_ops,operations,active,False,test
165
+ svc_0014,Service 0014,service,mgr_ops,operations,active,False,test
166
+ svc_0015,Service 0015,service,mgr_ops,operations,active,False,test
167
+ svc_0016,Service 0016,service,mgr_ops,operations,active,False,test
168
+ svc_0017,Service 0017,service,mgr_ops,operations,active,False,test
169
+ svc_0018,Service 0018,service,mgr_ops,operations,active,False,test
170
+ svc_0019,Service 0019,service,mgr_ops,operations,active,False,test
171
+ svc_0020,Service 0020,service,mgr_ops,operations,active,False,test
172
+ brk_0001,Break glass 0001,break_glass,mgr_iam,operations,active,False,development
173
+ brk_0002,Break glass 0002,break_glass,mgr_iam,operations,active,False,development
174
+ brk_0003,Break glass 0003,break_glass,mgr_iam,operations,active,False,development
175
+ brk_0004,Break glass 0004,break_glass,mgr_iam,operations,active,False,development
176
+ brk_0005,Break glass 0005,break_glass,mgr_iam,operations,active,False,development
177
+ brk_0006,Break glass 0006,break_glass,mgr_iam,operations,active,False,test
178
+ brk_0007,Break glass 0007,break_glass,mgr_iam,operations,active,False,test
179
+ brk_0008,Break glass 0008,break_glass,mgr_iam,operations,active,False,test
180
+ brk_0009,Break glass 0009,break_glass,mgr_iam,operations,active,False,test
181
+ brk_0010,Break glass 0010,break_glass,mgr_iam,operations,active,False,test
data/policies.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "policy_id":"POL-LP-01",
4
+ "title":"Least privilege",
5
+ "text":"A grant is a standing entitlement, not a personality inference. Privileged or high-sensitivity roles that a peer in the same department and identity type does not hold are review candidates. Employee performance and personal traits are out of scope. Do not revoke from this review; ask the owner to attest or reduce the grant."
6
+ },
7
+ {
8
+ "policy_id":"POL-SOD-01",
9
+ "title":"Finance segregation of duties",
10
+ "text":"role-finance-approver and role-finance-payer form a defined SoD pair. One human identity must not hold both. Service and break-glass identities are reviewed under their own policies, not this pair. A SoD finding cites both grant_id values."
11
+ },
12
+ {
13
+ "policy_id":"POL-UNUSED-01",
14
+ "title":"Unused access in the review window",
15
+ "text":"A privileged or high-sensitivity grant with full usage-log coverage and no observed use in the unused-days window is a human review item. Unused is not the same as unneeded. Partial or missing logs make unused status unknown."
16
+ },
17
+ {
18
+ "policy_id":"POL-COV-01",
19
+ "title":"Usage log coverage",
20
+ "text":"If usage_log_coverage is none or partial, missing last_used_at is insufficient evidence. Do not treat an incomplete telemetry window as proof the identity does not need the grant."
21
+ },
22
+ {
23
+ "policy_id":"POL-BG-01",
24
+ "title":"Break-glass accounts",
25
+ "text":"Break-glass roles are expected to stay unused. Long idle time is context, not a revoke suggestion. Confirm the owner and the emergency procedure instead of removing the grant."
26
+ },
27
+ {
28
+ "policy_id":"POL-SVC-01",
29
+ "title":"Service accounts",
30
+ "text":"Service identities may run on a schedule longer than ninety days. Idle human unused rules do not apply. Review ownership and the intended job, not last_used_at alone."
31
+ },
32
+ {
33
+ "policy_id":"POL-SEASON-01",
34
+ "title":"Seasonal and contractor roles",
35
+ "text":"Seasonal contractor roles are idle off-season by design. Flag them as context so an auditor can confirm the season window. Do not treat off-season idle time as excess standing access."
36
+ },
37
+ {
38
+ "policy_id":"POL-OWN-01",
39
+ "title":"Ownership and orphan grants",
40
+ "text":"Every standing grant needs an owner identity. Ownerless human grants and departed identities that still hold high-sensitivity roles are review items. The finding must keep the grant_id."
41
+ },
42
+ {
43
+ "policy_id":"POL-INH-01",
44
+ "title":"Inherited versus direct grants",
45
+ "text":"Inherited base staff roles are shown separately from direct grants. Unused inherited employee-base, email, or vpn membership is context for the bundle, not a surgical revoke."
46
+ }
47
+ ]
data/policies.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## POL-LP-01 — Least privilege
2
+
3
+ A grant is a standing entitlement, not a personality inference. Privileged or high-sensitivity roles that a peer in the same department and identity type does not hold are review candidates. Employee performance and personal traits are out of scope. Do not revoke from this review; ask the owner to attest or reduce the grant.
4
+
5
+ ## POL-SOD-01 — Finance segregation of duties
6
+
7
+ role-finance-approver and role-finance-payer form a defined SoD pair. One human identity must not hold both. Service and break-glass identities are reviewed under their own policies, not this pair. A SoD finding cites both grant_id values.
8
+
9
+ ## POL-UNUSED-01 — Unused access in the review window
10
+
11
+ A privileged or high-sensitivity grant with full usage-log coverage and no observed use in the unused-days window is a human review item. Unused is not the same as unneeded. Partial or missing logs make unused status unknown.
12
+
13
+ ## POL-COV-01 — Usage log coverage
14
+
15
+ If usage_log_coverage is none or partial, missing last_used_at is insufficient evidence. Do not treat an incomplete telemetry window as proof the identity does not need the grant.
16
+
17
+ ## POL-BG-01 — Break-glass accounts
18
+
19
+ Break-glass roles are expected to stay unused. Long idle time is context, not a revoke suggestion. Confirm the owner and the emergency procedure instead of removing the grant.
20
+
21
+ ## POL-SVC-01 — Service accounts
22
+
23
+ Service identities may run on a schedule longer than ninety days. Idle human unused rules do not apply. Review ownership and the intended job, not last_used_at alone.
24
+
25
+ ## POL-SEASON-01 — Seasonal and contractor roles
26
+
27
+ Seasonal contractor roles are idle off-season by design. Flag them as context so an auditor can confirm the season window. Do not treat off-season idle time as excess standing access.
28
+
29
+ ## POL-OWN-01 — Ownership and orphan grants
30
+
31
+ Every standing grant needs an owner identity. Ownerless human grants and departed identities that still hold high-sensitivity roles are review items. The finding must keep the grant_id.
32
+
33
+ ## POL-INH-01 — Inherited versus direct grants
34
+
35
+ Inherited base staff roles are shown separately from direct grants. Unused inherited employee-base, email, or vpn membership is context for the bundle, not a surgical revoke.
data/protocol.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # AriaAccessReview laboratory protocol
2
+
3
+ Seed 15. Synthetic IAM snapshot as of 2026-07-01T00:00:00Z. 180 identities, 28 roles, 45 resources. Unused privileged grants with full logs, SoD, ownerless, orphan, and peer-excess are review labels. Break-glass, service, seasonal, inherited base, and missing coverage are not revoke labels. This demo never revokes a grant.
data/resources.csv ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ resource_id,name,system,owner_id,sensitivity,role_id
2
+ res-hris-profile,hris profile,hris,mgr_iam,low,role-employee-base
3
+ res-mail-mailbox,mail mailbox,mail,mgr_iam,low,role-email-user
4
+ res-vpn-gateway,vpn gateway,vpn,mgr_iam,low,role-vpn-user
5
+ res-erp-read,erp read,erp,mgr_iam,medium,role-finance-reader
6
+ res-ledger-view,ledger view,ledger,mgr_iam,medium,role-finance-reader
7
+ res-erp-approve,erp approve,erp,mgr_iam,high,role-finance-approver
8
+ res-erp-pay,erp pay,erp,mgr_iam,high,role-finance-payer
9
+ res-hris-read,hris read,hris,mgr_iam,medium,role-hr-reader
10
+ res-hris-admin,hris admin,hris,mgr_iam,high,role-hr-admin
11
+ res-git-read,git read,git,mgr_iam,medium,role-eng-repo-read
12
+ res-k8s-prod,k8s prod,k8s,mgr_iam,high,role-eng-prod-deploy
13
+ res-git-admin,git admin,git,mgr_iam,high,role-eng-admin
14
+ res-crm-records,crm records,crm,mgr_iam,medium,role-sales-crm
15
+ res-crm-admin,crm admin,crm,mgr_iam,high,role-sales-admin
16
+ res-metrics,metrics,metrics,mgr_iam,medium,role-ops-monitor
17
+ res-pager,pager,pager,mgr_iam,high,role-ops-admin
18
+ res-contractor-portal,contractor portal,contractor,mgr_iam,medium,role-contractor-seasonal
19
+ res-root-console,root console,root,mgr_iam,critical,role-break-glass-admin
20
+ res-backup-vault,backup vault,backup,mgr_iam,medium,role-svc-backup
21
+ res-ci-runner,ci runner,ci,mgr_iam,medium,role-svc-ci
22
+ res-payroll-bucket,payroll bucket,payroll,mgr_iam,critical,role-payroll-export
23
+ res-idp-admin,idp admin,idp,mgr_iam,critical,role-iam-admin
24
+ res-siem-read,siem read,siem,mgr_iam,high,role-audit-reader
25
+ res-wiki,wiki,wiki,mgr_iam,low,role-wiki-editor
26
+ res-crm-pii,crm pii,crm,mgr_iam,high,role-customer-pii
27
+ res-billing,billing,billing,mgr_iam,high,role-billing-write
28
+ res-legal-vault,legal vault,legal,mgr_iam,high,role-legal-hold
29
+ res-warehouse,warehouse,warehouse,mgr_iam,medium,role-data-warehouse
30
+ res-okta-apps,okta apps,okta,mgr_iam,high,role-okta-app-admin
data/roles.csv ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ role_id,name,description,owner_id,sensitivity,privileged,seasonal,sod_group,break_glass,service
2
+ role-employee-base,Employee base,Employee base,mgr_iam,low,False,False,,False,False
3
+ role-email-user,Email user,Email user,mgr_iam,low,False,False,,False,False
4
+ role-vpn-user,VPN user,VPN user,mgr_iam,low,False,False,,False,False
5
+ role-finance-reader,Finance reader,Finance reader,mgr_iam,medium,False,False,,False,False
6
+ role-finance-approver,Finance approver,Finance approver,mgr_iam,high,True,False,finance-payment,False,False
7
+ role-finance-payer,Finance payer,Finance payer,mgr_iam,high,True,False,finance-payment,False,False
8
+ role-hr-reader,HR reader,HR reader,mgr_iam,medium,False,False,,False,False
9
+ role-hr-admin,HR admin,HR admin,mgr_iam,high,True,False,,False,False
10
+ role-eng-repo-read,Repo read,Repo read,mgr_iam,medium,False,False,,False,False
11
+ role-eng-prod-deploy,Prod deploy,Prod deploy,mgr_iam,high,True,False,,False,False
12
+ role-eng-admin,Eng admin,Eng admin,mgr_iam,high,True,False,,False,False
13
+ role-sales-crm,Sales CRM,Sales CRM,mgr_iam,medium,False,False,,False,False
14
+ role-sales-admin,Sales admin,Sales admin,mgr_iam,high,True,False,,False,False
15
+ role-ops-monitor,Ops monitor,Ops monitor,mgr_iam,medium,False,False,,False,False
16
+ role-ops-admin,Ops admin,Ops admin,mgr_iam,high,True,False,,False,False
17
+ role-contractor-seasonal,Seasonal contractor,Seasonal contractor,mgr_iam,medium,False,True,,False,False
18
+ role-break-glass-admin,Break-glass admin,Break-glass admin,mgr_iam,critical,True,False,,True,False
19
+ role-svc-backup,Backup job,Backup job,mgr_iam,medium,False,False,,False,True
20
+ role-svc-ci,CI deploy job,CI deploy job,mgr_iam,medium,False,False,,False,True
21
+ role-payroll-export,Payroll export,Payroll export,mgr_iam,critical,True,False,,False,False
22
+ role-iam-admin,IAM admin,IAM admin,mgr_iam,critical,True,False,,False,False
23
+ role-audit-reader,Audit reader,Audit reader,mgr_iam,high,False,False,,False,False
24
+ role-wiki-editor,Wiki editor,Wiki editor,mgr_iam,low,False,False,,False,False
25
+ role-customer-pii,Customer PII,Customer PII,mgr_iam,high,False,False,,False,False
26
+ role-billing-write,Billing write,Billing write,mgr_iam,high,True,False,,False,False
27
+ role-legal-hold,Legal hold,Legal hold,mgr_iam,high,False,False,,False,False
28
+ role-data-warehouse,Warehouse reader,Warehouse reader,mgr_iam,medium,False,False,,False,False
29
+ role-okta-app-admin,App admin,App admin,mgr_iam,high,True,False,,False,False
data/sample_preview.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_id": "ariaar-ec4def74f943f1d2",
3
+ "status": "ready",
4
+ "status_label": "Grants ready for review \u00b7 Live graph, SoD, peer comparison, and policy BM25",
5
+ "kpis": {
6
+ "n_raw": 658,
7
+ "n_valid": 658,
8
+ "n_dropped": 0,
9
+ "n_grants": 658,
10
+ "n_identities": 180,
11
+ "n_security_review": 15,
12
+ "n_context": 15,
13
+ "n_insufficient": 2,
14
+ "n_sod": 4,
15
+ "n_ownerless": 3,
16
+ "parse_coverage": 1.0,
17
+ "event_recall": 1.0,
18
+ "precision": 0.8571,
19
+ "precision_at_k": 0.8571,
20
+ "protected_as_security": 0,
21
+ "seconds": 1.385,
22
+ "threshold": 90.0,
23
+ "model_names": "rules+peer+policy-bm25",
24
+ "review_capacity": 12
25
+ },
26
+ "kpi_html": "<div class='kpi-grid'><article class='kpi-card'><p class='kpi-label'>Needs access review</p><p class='kpi-value'>15</p><p class='kpi-sub'>15 context grants</p></article><article class='kpi-card'><p class='kpi-label'>Parse coverage</p><p class='kpi-value'>100%</p><p class='kpi-sub'>658/658</p></article><article class='kpi-card'><p class='kpi-label'>Incomplete rows</p><p class='kpi-value'>0</p><p class='kpi-sub'>missing identity/role</p></article><article class='kpi-card'><p class='kpi-label'>Test event recall</p><p class='kpi-value'>100%</p><p class='kpi-sub'>unused-90d baseline: 0.2</p></article><article class='kpi-card'><p class='kpi-label'>Precision @ 12</p><p class='kpi-value'>86%</p><p class='kpi-sub'>held-out review capacity</p></article><article class='kpi-card'><p class='kpi-label'>Protected as review</p><p class='kpi-value'>0</p><p class='kpi-sub'>break-glass / service / seasonal</p></article><article class='kpi-card'><p class='kpi-label'>Analyze time</p><p class='kpi-value'>1.4s</p><p class='kpi-sub'>T=90</p></article></div>",
27
+ "validation_ok": true,
28
+ "precomputed": true
29
+ }
data/schema.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_id": "ariaaccess.grant_review.v1",
3
+ "as_of": "2026-07-01T00:00:00Z",
4
+ "required_grant_fields": [
5
+ "identity_id",
6
+ "role_id"
7
+ ],
8
+ "identity_types": [
9
+ "human",
10
+ "service",
11
+ "break_glass"
12
+ ],
13
+ "grant_kinds": [
14
+ "direct",
15
+ "inherited"
16
+ ],
17
+ "coverage": [
18
+ "full",
19
+ "partial",
20
+ "none"
21
+ ]
22
+ }
data/splits.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "development": "identities usr_0001-usr_0100, svc_0001-svc_0010, brk_0001-brk_0005",
3
+ "test": "identities usr_0101-usr_0150, svc_0011-svc_0020, brk_0006-brk_0010",
4
+ "note": "Gold cases stay with their identity. Peer comparison uses the same department and identity type."
5
+ }
demo/.gitattributes ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * text=auto eol=lf
2
+ *.py text eol=lf
3
+ *.md text eol=lf
4
+ *.csv text eol=lf
5
+ *.json text eol=lf
6
+ *.jsonl text eol=lf
7
+ *.yml text eol=lf
8
+ *.yaml text eol=lf
9
+ *.html text eol=lf
10
+ *.txt text eol=lf
11
+ *.log text eol=lf
demo/.gitignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ .venv/
2
+ .venv-access/
3
+ __pycache__/
4
+ .pytest_cache/
5
+ .mypy_cache/
6
+ reports/
7
+ *.pyc
demo/README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: AriaAccessReview Least Privilege
3
+ emoji: 🧾
4
+ colorFrom: green
5
+ colorTo: indigo
6
+ sdk: gradio
7
+ sdk_version: 6.15.1
8
+ app_file: app.py
9
+ fullWidth: true
10
+ python_version: "3.12"
11
+ short_description: Review unused and excess grants; no auto-revoke
12
+ pinned: true
13
+ license: apache-2.0
14
+ tags:
15
+ - cybersecurity
16
+ - iam
17
+ - least-privilege
18
+ - access-review
19
+ - data-visualization
20
+ datasets:
21
+ - AriaAICompany/access-review-lab
22
+ ---
23
+
24
+ # AriaAccessReview — Least-Privilege Access Review
25
+
26
+ **Aria AI** workstation for IAM and audit teams. The question is which standing grants are unused, ownerless, conflicting, or far from department peers — with enough evidence for a human to decide. Unused time in an incomplete log is not proof the grant is unnecessary. This Space never revokes access or writes back to a directory.
27
+
28
+ An item means **needs review**. It is not a certified “remove this.” Break-glass, service, and seasonal idle time stay context.
29
+
30
+ ## What you can do
31
+
32
+ 1. Run the 180-identity laboratory pack (seed 15, as-of 2026-07-01) or upload a JSON pack / grants CSV.
33
+ 2. Compare AriaAccessReview with unused-90d, SoD-only, ownerless-only, combined rules, and peer Jaccard.
34
+ 3. Move unused-days T and see **review count and held-out event recall together**.
35
+ 4. Open a finding for the `grant_id`, direct vs inherited, owner, coverage, and a BM25 policy excerpt. The graph is one identity, not the whole firm.
36
+ 5. Download a hashed CSV/JSON bundle for this run.
37
+
38
+ CPU only. No paid API. Roles come from grants, not inferred personality. Employee performance is out of scope.
39
+
40
+ ## Hosting
41
+
42
+ - Dataset: [AriaAICompany/access-review-lab](https://huggingface.co/datasets/AriaAICompany/access-review-lab)
43
+ - Collection: [Aria AI — Cybersecurity](https://huggingface.co/collections/AriaAICompany/aria-ai-cybersecurity-6ab01faa3995a3bb737b58a7)
44
+ - Live app: `alirezaaminzadeh/aria-access-review` when Gradio hosting is available
45
+ - Organization card: `AriaAICompany/aria-access-review` (static; org Gradio needs Team/Enterprise)
46
+
47
+ ## Persian
48
+
49
+ آریااکسس‌ریویو گراف هویت–نقش–منبع را می‌سازد و اعطای بلااستفاده، بدون مالک، نقض تفکیک وظیفه و نقش اضافه نسبت به همتایان را برای بازبینی انسان جدا می‌کند. لاگ ناقص یعنی شواهد ناکافی، نه بی‌نیازی. حساب اضطراری و سرویس زمینه هستند. این دمو دسترسی را حذف نمی‌کند.
50
+
51
+ ## Links
52
+
53
+ - [AriaAICompany](https://huggingface.co/AriaAICompany)
54
+ - [aria-ai.ir](https://aria-ai.ir/)
55
+ - Roadmap project 15 of 25
demo/app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ from src.ui import CSS, build_demo
4
+
5
+ demo = build_demo()
6
+
7
+ if __name__ == "__main__":
8
+ demo.launch(theme=gr.themes.Soft(primary_hue="teal", secondary_hue="indigo"), css=CSS)
demo/evaluations/evaluation.json ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 15,
3
+ "n_identities": 180,
4
+ "n_roles": 28,
5
+ "n_resources": 29,
6
+ "n_grants": 658,
7
+ "n_events": 18,
8
+ "kpis": {
9
+ "n_raw": 658,
10
+ "n_valid": 658,
11
+ "n_dropped": 0,
12
+ "n_grants": 658,
13
+ "n_identities": 180,
14
+ "n_security_review": 15,
15
+ "n_context": 15,
16
+ "n_insufficient": 2,
17
+ "n_sod": 4,
18
+ "n_ownerless": 3,
19
+ "parse_coverage": 1.0,
20
+ "event_recall": 1.0,
21
+ "precision": 0.8571,
22
+ "precision_at_k": 0.8571,
23
+ "protected_as_security": 0,
24
+ "seconds": 1.385,
25
+ "threshold": 90.0,
26
+ "model_names": "rules+peer+policy-bm25",
27
+ "review_capacity": 12
28
+ },
29
+ "comparison": [
30
+ {
31
+ "method": "unused_90d",
32
+ "split": "development",
33
+ "event_recall": 0.25,
34
+ "precision": 0.1111,
35
+ "precision_at_k": 0.1111,
36
+ "protected_as_security": 7,
37
+ "coverage_as_security": 1,
38
+ "n_security_alerts": 9,
39
+ "n_context_alerts": 0,
40
+ "n_insufficient": 0,
41
+ "n_review_events": 4,
42
+ "parse_coverage": 1.0
43
+ },
44
+ {
45
+ "method": "sod_only",
46
+ "split": "development",
47
+ "event_recall": 0.25,
48
+ "precision": 1.0,
49
+ "precision_at_k": 1.0,
50
+ "protected_as_security": 0,
51
+ "coverage_as_security": 0,
52
+ "n_security_alerts": 2,
53
+ "n_context_alerts": 0,
54
+ "n_insufficient": 0,
55
+ "n_review_events": 4,
56
+ "parse_coverage": 1.0
57
+ },
58
+ {
59
+ "method": "ownerless_only",
60
+ "split": "development",
61
+ "event_recall": 0.25,
62
+ "precision": 0.2,
63
+ "precision_at_k": 0.2,
64
+ "protected_as_security": 0,
65
+ "coverage_as_security": 0,
66
+ "n_security_alerts": 5,
67
+ "n_context_alerts": 0,
68
+ "n_insufficient": 0,
69
+ "n_review_events": 4,
70
+ "parse_coverage": 1.0
71
+ },
72
+ {
73
+ "method": "rules",
74
+ "split": "development",
75
+ "event_recall": 1.0,
76
+ "precision": 0.5556,
77
+ "precision_at_k": 0.5556,
78
+ "protected_as_security": 0,
79
+ "coverage_as_security": 1,
80
+ "n_security_alerts": 9,
81
+ "n_context_alerts": 0,
82
+ "n_insufficient": 0,
83
+ "n_review_events": 4,
84
+ "parse_coverage": 1.0
85
+ },
86
+ {
87
+ "method": "peer_jaccard",
88
+ "split": "development",
89
+ "event_recall": 0.75,
90
+ "precision": 0.5,
91
+ "precision_at_k": 0.5,
92
+ "protected_as_security": 0,
93
+ "coverage_as_security": 1,
94
+ "n_security_alerts": 8,
95
+ "n_context_alerts": 0,
96
+ "n_insufficient": 0,
97
+ "n_review_events": 4,
98
+ "parse_coverage": 1.0
99
+ },
100
+ {
101
+ "method": "ariaaccessreview",
102
+ "split": "development",
103
+ "event_recall": 1.0,
104
+ "precision": 0.625,
105
+ "precision_at_k": 0.625,
106
+ "protected_as_security": 0,
107
+ "coverage_as_security": 0,
108
+ "n_security_alerts": 8,
109
+ "n_context_alerts": 7,
110
+ "n_insufficient": 1,
111
+ "n_review_events": 4,
112
+ "parse_coverage": 1.0
113
+ },
114
+ {
115
+ "method": "unused_90d",
116
+ "split": "test",
117
+ "event_recall": 0.2,
118
+ "precision": 0.1,
119
+ "precision_at_k": 0.1,
120
+ "protected_as_security": 8,
121
+ "coverage_as_security": 1,
122
+ "n_security_alerts": 10,
123
+ "n_context_alerts": 0,
124
+ "n_insufficient": 0,
125
+ "n_review_events": 5,
126
+ "parse_coverage": 1.0
127
+ },
128
+ {
129
+ "method": "sod_only",
130
+ "split": "test",
131
+ "event_recall": 0.2,
132
+ "precision": 1.0,
133
+ "precision_at_k": 1.0,
134
+ "protected_as_security": 0,
135
+ "coverage_as_security": 0,
136
+ "n_security_alerts": 2,
137
+ "n_context_alerts": 0,
138
+ "n_insufficient": 0,
139
+ "n_review_events": 5,
140
+ "parse_coverage": 1.0
141
+ },
142
+ {
143
+ "method": "ownerless_only",
144
+ "split": "test",
145
+ "event_recall": 0.4,
146
+ "precision": 0.2,
147
+ "precision_at_k": 0.2,
148
+ "protected_as_security": 0,
149
+ "coverage_as_security": 0,
150
+ "n_security_alerts": 10,
151
+ "n_context_alerts": 0,
152
+ "n_insufficient": 0,
153
+ "n_review_events": 5,
154
+ "parse_coverage": 1.0
155
+ },
156
+ {
157
+ "method": "rules",
158
+ "split": "test",
159
+ "event_recall": 1.0,
160
+ "precision": 0.75,
161
+ "precision_at_k": 0.75,
162
+ "protected_as_security": 0,
163
+ "coverage_as_security": 1,
164
+ "n_security_alerts": 8,
165
+ "n_context_alerts": 0,
166
+ "n_insufficient": 0,
167
+ "n_review_events": 5,
168
+ "parse_coverage": 1.0
169
+ },
170
+ {
171
+ "method": "peer_jaccard",
172
+ "split": "test",
173
+ "event_recall": 0.8,
174
+ "precision": 0.7143,
175
+ "precision_at_k": 0.7143,
176
+ "protected_as_security": 0,
177
+ "coverage_as_security": 1,
178
+ "n_security_alerts": 7,
179
+ "n_context_alerts": 0,
180
+ "n_insufficient": 0,
181
+ "n_review_events": 5,
182
+ "parse_coverage": 1.0
183
+ },
184
+ {
185
+ "method": "ariaaccessreview",
186
+ "split": "test",
187
+ "event_recall": 1.0,
188
+ "precision": 0.8571,
189
+ "precision_at_k": 0.8571,
190
+ "protected_as_security": 0,
191
+ "coverage_as_security": 0,
192
+ "n_security_alerts": 7,
193
+ "n_context_alerts": 8,
194
+ "n_insufficient": 1,
195
+ "n_review_events": 5,
196
+ "parse_coverage": 1.0
197
+ },
198
+ {
199
+ "method": "unused_90d",
200
+ "split": "all",
201
+ "event_recall": 0.2222,
202
+ "precision": 0.1053,
203
+ "precision_at_k": 0.1667,
204
+ "protected_as_security": 15,
205
+ "coverage_as_security": 2,
206
+ "n_security_alerts": 19,
207
+ "n_context_alerts": 0,
208
+ "n_insufficient": 0,
209
+ "n_review_events": 9,
210
+ "parse_coverage": 1.0
211
+ },
212
+ {
213
+ "method": "sod_only",
214
+ "split": "all",
215
+ "event_recall": 0.2222,
216
+ "precision": 1.0,
217
+ "precision_at_k": 1.0,
218
+ "protected_as_security": 0,
219
+ "coverage_as_security": 0,
220
+ "n_security_alerts": 4,
221
+ "n_context_alerts": 0,
222
+ "n_insufficient": 0,
223
+ "n_review_events": 9,
224
+ "parse_coverage": 1.0
225
+ },
226
+ {
227
+ "method": "ownerless_only",
228
+ "split": "all",
229
+ "event_recall": 0.3333,
230
+ "precision": 0.2,
231
+ "precision_at_k": 0.25,
232
+ "protected_as_security": 0,
233
+ "coverage_as_security": 0,
234
+ "n_security_alerts": 15,
235
+ "n_context_alerts": 0,
236
+ "n_insufficient": 0,
237
+ "n_review_events": 9,
238
+ "parse_coverage": 1.0
239
+ },
240
+ {
241
+ "method": "rules",
242
+ "split": "all",
243
+ "event_recall": 1.0,
244
+ "precision": 0.6471,
245
+ "precision_at_k": 0.75,
246
+ "protected_as_security": 0,
247
+ "coverage_as_security": 2,
248
+ "n_security_alerts": 17,
249
+ "n_context_alerts": 0,
250
+ "n_insufficient": 0,
251
+ "n_review_events": 9,
252
+ "parse_coverage": 1.0
253
+ },
254
+ {
255
+ "method": "peer_jaccard",
256
+ "split": "all",
257
+ "event_recall": 0.7778,
258
+ "precision": 0.6,
259
+ "precision_at_k": 0.6667,
260
+ "protected_as_security": 0,
261
+ "coverage_as_security": 2,
262
+ "n_security_alerts": 15,
263
+ "n_context_alerts": 0,
264
+ "n_insufficient": 0,
265
+ "n_review_events": 9,
266
+ "parse_coverage": 1.0
267
+ },
268
+ {
269
+ "method": "ariaaccessreview",
270
+ "split": "all",
271
+ "event_recall": 1.0,
272
+ "precision": 0.7333,
273
+ "precision_at_k": 0.75,
274
+ "protected_as_security": 0,
275
+ "coverage_as_security": 0,
276
+ "n_security_alerts": 15,
277
+ "n_context_alerts": 15,
278
+ "n_insufficient": 2,
279
+ "n_review_events": 9,
280
+ "parse_coverage": 1.0
281
+ }
282
+ ],
283
+ "calibration": [
284
+ {
285
+ "threshold": 30.0,
286
+ "n_security_alerts": 7,
287
+ "event_recall": 1.0,
288
+ "precision": 0.8571,
289
+ "protected_as_security": 0
290
+ },
291
+ {
292
+ "threshold": 60.0,
293
+ "n_security_alerts": 7,
294
+ "event_recall": 1.0,
295
+ "precision": 0.8571,
296
+ "protected_as_security": 0
297
+ },
298
+ {
299
+ "threshold": 90.0,
300
+ "n_security_alerts": 7,
301
+ "event_recall": 1.0,
302
+ "precision": 0.8571,
303
+ "protected_as_security": 0
304
+ },
305
+ {
306
+ "threshold": 120.0,
307
+ "n_security_alerts": 7,
308
+ "event_recall": 1.0,
309
+ "precision": 0.8571,
310
+ "protected_as_security": 0
311
+ },
312
+ {
313
+ "threshold": 150.0,
314
+ "n_security_alerts": 7,
315
+ "event_recall": 1.0,
316
+ "precision": 0.8571,
317
+ "protected_as_security": 0
318
+ },
319
+ {
320
+ "threshold": 180.0,
321
+ "n_security_alerts": 7,
322
+ "event_recall": 1.0,
323
+ "precision": 0.8571,
324
+ "protected_as_security": 0
325
+ }
326
+ ]
327
+ }
demo/examples/access_sample.json ADDED
The diff for this file is too large to render. See raw diff
 
demo/examples/evaluation.json ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 15,
3
+ "n_identities": 180,
4
+ "n_roles": 28,
5
+ "n_resources": 29,
6
+ "n_grants": 658,
7
+ "n_events": 18,
8
+ "kpis": {
9
+ "n_raw": 658,
10
+ "n_valid": 658,
11
+ "n_dropped": 0,
12
+ "n_grants": 658,
13
+ "n_identities": 180,
14
+ "n_security_review": 15,
15
+ "n_context": 15,
16
+ "n_insufficient": 2,
17
+ "n_sod": 4,
18
+ "n_ownerless": 3,
19
+ "parse_coverage": 1.0,
20
+ "event_recall": 1.0,
21
+ "precision": 0.8571,
22
+ "precision_at_k": 0.8571,
23
+ "protected_as_security": 0,
24
+ "seconds": 1.385,
25
+ "threshold": 90.0,
26
+ "model_names": "rules+peer+policy-bm25",
27
+ "review_capacity": 12
28
+ },
29
+ "comparison": [
30
+ {
31
+ "method": "unused_90d",
32
+ "split": "development",
33
+ "event_recall": 0.25,
34
+ "precision": 0.1111,
35
+ "precision_at_k": 0.1111,
36
+ "protected_as_security": 7,
37
+ "coverage_as_security": 1,
38
+ "n_security_alerts": 9,
39
+ "n_context_alerts": 0,
40
+ "n_insufficient": 0,
41
+ "n_review_events": 4,
42
+ "parse_coverage": 1.0
43
+ },
44
+ {
45
+ "method": "sod_only",
46
+ "split": "development",
47
+ "event_recall": 0.25,
48
+ "precision": 1.0,
49
+ "precision_at_k": 1.0,
50
+ "protected_as_security": 0,
51
+ "coverage_as_security": 0,
52
+ "n_security_alerts": 2,
53
+ "n_context_alerts": 0,
54
+ "n_insufficient": 0,
55
+ "n_review_events": 4,
56
+ "parse_coverage": 1.0
57
+ },
58
+ {
59
+ "method": "ownerless_only",
60
+ "split": "development",
61
+ "event_recall": 0.25,
62
+ "precision": 0.2,
63
+ "precision_at_k": 0.2,
64
+ "protected_as_security": 0,
65
+ "coverage_as_security": 0,
66
+ "n_security_alerts": 5,
67
+ "n_context_alerts": 0,
68
+ "n_insufficient": 0,
69
+ "n_review_events": 4,
70
+ "parse_coverage": 1.0
71
+ },
72
+ {
73
+ "method": "rules",
74
+ "split": "development",
75
+ "event_recall": 1.0,
76
+ "precision": 0.5556,
77
+ "precision_at_k": 0.5556,
78
+ "protected_as_security": 0,
79
+ "coverage_as_security": 1,
80
+ "n_security_alerts": 9,
81
+ "n_context_alerts": 0,
82
+ "n_insufficient": 0,
83
+ "n_review_events": 4,
84
+ "parse_coverage": 1.0
85
+ },
86
+ {
87
+ "method": "peer_jaccard",
88
+ "split": "development",
89
+ "event_recall": 0.75,
90
+ "precision": 0.5,
91
+ "precision_at_k": 0.5,
92
+ "protected_as_security": 0,
93
+ "coverage_as_security": 1,
94
+ "n_security_alerts": 8,
95
+ "n_context_alerts": 0,
96
+ "n_insufficient": 0,
97
+ "n_review_events": 4,
98
+ "parse_coverage": 1.0
99
+ },
100
+ {
101
+ "method": "ariaaccessreview",
102
+ "split": "development",
103
+ "event_recall": 1.0,
104
+ "precision": 0.625,
105
+ "precision_at_k": 0.625,
106
+ "protected_as_security": 0,
107
+ "coverage_as_security": 0,
108
+ "n_security_alerts": 8,
109
+ "n_context_alerts": 7,
110
+ "n_insufficient": 1,
111
+ "n_review_events": 4,
112
+ "parse_coverage": 1.0
113
+ },
114
+ {
115
+ "method": "unused_90d",
116
+ "split": "test",
117
+ "event_recall": 0.2,
118
+ "precision": 0.1,
119
+ "precision_at_k": 0.1,
120
+ "protected_as_security": 8,
121
+ "coverage_as_security": 1,
122
+ "n_security_alerts": 10,
123
+ "n_context_alerts": 0,
124
+ "n_insufficient": 0,
125
+ "n_review_events": 5,
126
+ "parse_coverage": 1.0
127
+ },
128
+ {
129
+ "method": "sod_only",
130
+ "split": "test",
131
+ "event_recall": 0.2,
132
+ "precision": 1.0,
133
+ "precision_at_k": 1.0,
134
+ "protected_as_security": 0,
135
+ "coverage_as_security": 0,
136
+ "n_security_alerts": 2,
137
+ "n_context_alerts": 0,
138
+ "n_insufficient": 0,
139
+ "n_review_events": 5,
140
+ "parse_coverage": 1.0
141
+ },
142
+ {
143
+ "method": "ownerless_only",
144
+ "split": "test",
145
+ "event_recall": 0.4,
146
+ "precision": 0.2,
147
+ "precision_at_k": 0.2,
148
+ "protected_as_security": 0,
149
+ "coverage_as_security": 0,
150
+ "n_security_alerts": 10,
151
+ "n_context_alerts": 0,
152
+ "n_insufficient": 0,
153
+ "n_review_events": 5,
154
+ "parse_coverage": 1.0
155
+ },
156
+ {
157
+ "method": "rules",
158
+ "split": "test",
159
+ "event_recall": 1.0,
160
+ "precision": 0.75,
161
+ "precision_at_k": 0.75,
162
+ "protected_as_security": 0,
163
+ "coverage_as_security": 1,
164
+ "n_security_alerts": 8,
165
+ "n_context_alerts": 0,
166
+ "n_insufficient": 0,
167
+ "n_review_events": 5,
168
+ "parse_coverage": 1.0
169
+ },
170
+ {
171
+ "method": "peer_jaccard",
172
+ "split": "test",
173
+ "event_recall": 0.8,
174
+ "precision": 0.7143,
175
+ "precision_at_k": 0.7143,
176
+ "protected_as_security": 0,
177
+ "coverage_as_security": 1,
178
+ "n_security_alerts": 7,
179
+ "n_context_alerts": 0,
180
+ "n_insufficient": 0,
181
+ "n_review_events": 5,
182
+ "parse_coverage": 1.0
183
+ },
184
+ {
185
+ "method": "ariaaccessreview",
186
+ "split": "test",
187
+ "event_recall": 1.0,
188
+ "precision": 0.8571,
189
+ "precision_at_k": 0.8571,
190
+ "protected_as_security": 0,
191
+ "coverage_as_security": 0,
192
+ "n_security_alerts": 7,
193
+ "n_context_alerts": 8,
194
+ "n_insufficient": 1,
195
+ "n_review_events": 5,
196
+ "parse_coverage": 1.0
197
+ },
198
+ {
199
+ "method": "unused_90d",
200
+ "split": "all",
201
+ "event_recall": 0.2222,
202
+ "precision": 0.1053,
203
+ "precision_at_k": 0.1667,
204
+ "protected_as_security": 15,
205
+ "coverage_as_security": 2,
206
+ "n_security_alerts": 19,
207
+ "n_context_alerts": 0,
208
+ "n_insufficient": 0,
209
+ "n_review_events": 9,
210
+ "parse_coverage": 1.0
211
+ },
212
+ {
213
+ "method": "sod_only",
214
+ "split": "all",
215
+ "event_recall": 0.2222,
216
+ "precision": 1.0,
217
+ "precision_at_k": 1.0,
218
+ "protected_as_security": 0,
219
+ "coverage_as_security": 0,
220
+ "n_security_alerts": 4,
221
+ "n_context_alerts": 0,
222
+ "n_insufficient": 0,
223
+ "n_review_events": 9,
224
+ "parse_coverage": 1.0
225
+ },
226
+ {
227
+ "method": "ownerless_only",
228
+ "split": "all",
229
+ "event_recall": 0.3333,
230
+ "precision": 0.2,
231
+ "precision_at_k": 0.25,
232
+ "protected_as_security": 0,
233
+ "coverage_as_security": 0,
234
+ "n_security_alerts": 15,
235
+ "n_context_alerts": 0,
236
+ "n_insufficient": 0,
237
+ "n_review_events": 9,
238
+ "parse_coverage": 1.0
239
+ },
240
+ {
241
+ "method": "rules",
242
+ "split": "all",
243
+ "event_recall": 1.0,
244
+ "precision": 0.6471,
245
+ "precision_at_k": 0.75,
246
+ "protected_as_security": 0,
247
+ "coverage_as_security": 2,
248
+ "n_security_alerts": 17,
249
+ "n_context_alerts": 0,
250
+ "n_insufficient": 0,
251
+ "n_review_events": 9,
252
+ "parse_coverage": 1.0
253
+ },
254
+ {
255
+ "method": "peer_jaccard",
256
+ "split": "all",
257
+ "event_recall": 0.7778,
258
+ "precision": 0.6,
259
+ "precision_at_k": 0.6667,
260
+ "protected_as_security": 0,
261
+ "coverage_as_security": 2,
262
+ "n_security_alerts": 15,
263
+ "n_context_alerts": 0,
264
+ "n_insufficient": 0,
265
+ "n_review_events": 9,
266
+ "parse_coverage": 1.0
267
+ },
268
+ {
269
+ "method": "ariaaccessreview",
270
+ "split": "all",
271
+ "event_recall": 1.0,
272
+ "precision": 0.7333,
273
+ "precision_at_k": 0.75,
274
+ "protected_as_security": 0,
275
+ "coverage_as_security": 0,
276
+ "n_security_alerts": 15,
277
+ "n_context_alerts": 15,
278
+ "n_insufficient": 2,
279
+ "n_review_events": 9,
280
+ "parse_coverage": 1.0
281
+ }
282
+ ],
283
+ "calibration": [
284
+ {
285
+ "threshold": 30.0,
286
+ "n_security_alerts": 7,
287
+ "event_recall": 1.0,
288
+ "precision": 0.8571,
289
+ "protected_as_security": 0
290
+ },
291
+ {
292
+ "threshold": 60.0,
293
+ "n_security_alerts": 7,
294
+ "event_recall": 1.0,
295
+ "precision": 0.8571,
296
+ "protected_as_security": 0
297
+ },
298
+ {
299
+ "threshold": 90.0,
300
+ "n_security_alerts": 7,
301
+ "event_recall": 1.0,
302
+ "precision": 0.8571,
303
+ "protected_as_security": 0
304
+ },
305
+ {
306
+ "threshold": 120.0,
307
+ "n_security_alerts": 7,
308
+ "event_recall": 1.0,
309
+ "precision": 0.8571,
310
+ "protected_as_security": 0
311
+ },
312
+ {
313
+ "threshold": 150.0,
314
+ "n_security_alerts": 7,
315
+ "event_recall": 1.0,
316
+ "precision": 0.8571,
317
+ "protected_as_security": 0
318
+ },
319
+ {
320
+ "threshold": 180.0,
321
+ "n_security_alerts": 7,
322
+ "event_recall": 1.0,
323
+ "precision": 0.8571,
324
+ "protected_as_security": 0
325
+ }
326
+ ]
327
+ }
demo/examples/gold_events.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "event_id":"GOLD-UNUSED-DEV-01",
4
+ "identity_id":"usr_0041",
5
+ "role_id":"role-payroll-export",
6
+ "start":"2026-01-02T00:00:00Z",
7
+ "end":"2026-07-01T00:00:00Z",
8
+ "family":"unused_privileged",
9
+ "split":"development",
10
+ "note":"Finance human holds unused payroll export with full logs."
11
+ },
12
+ {
13
+ "event_id":"GOLD-SOD-DEV-01",
14
+ "identity_id":"usr_0042",
15
+ "role_id":"role-finance-approver",
16
+ "start":"2025-12-13T00:00:00Z",
17
+ "end":"2026-07-01T00:00:00Z",
18
+ "family":"sod_conflict",
19
+ "split":"development",
20
+ "note":"Same human holds finance approver and payer."
21
+ },
22
+ {
23
+ "event_id":"GOLD-OWNERLESS-DEV-01",
24
+ "identity_id":"usr_0043",
25
+ "role_id":"role-customer-pii",
26
+ "start":"2026-03-03T00:00:00Z",
27
+ "end":"2026-07-01T00:00:00Z",
28
+ "family":"ownerless",
29
+ "split":"development",
30
+ "note":"Active human with empty owner still holds customer PII."
31
+ },
32
+ {
33
+ "event_id":"GOLD-PEER-DEV-01",
34
+ "identity_id":"usr_0050",
35
+ "role_id":"role-eng-prod-deploy",
36
+ "start":"2026-05-22T00:00:00Z",
37
+ "end":"2026-07-01T00:00:00Z",
38
+ "family":"peer_excess",
39
+ "split":"development",
40
+ "note":"Sales peer group does not hold prod deploy."
41
+ },
42
+ {
43
+ "event_id":"GOLD-COVERAGE-DEV-01",
44
+ "identity_id":"usr_0060",
45
+ "role_id":"role-hr-admin",
46
+ "start":"2025-12-13T00:00:00Z",
47
+ "end":"2026-07-01T00:00:00Z",
48
+ "family":"unused_incomplete_log",
49
+ "split":"development",
50
+ "note":"Unused HR admin but usage log coverage is none."
51
+ },
52
+ {
53
+ "event_id":"GOLD-BREAKGLASS-DEV-01",
54
+ "identity_id":"brk_0001",
55
+ "role_id":"role-break-glass-admin",
56
+ "start":"2025-05-27T00:00:00Z",
57
+ "end":"2026-07-01T00:00:00Z",
58
+ "family":"unused_break_glass",
59
+ "split":"development",
60
+ "note":"Break-glass idle time is expected."
61
+ },
62
+ {
63
+ "event_id":"GOLD-SERVICE-DEV-01",
64
+ "identity_id":"svc_0001",
65
+ "role_id":"role-svc-backup",
66
+ "start":"2025-12-13T00:00:00Z",
67
+ "end":"2026-07-01T00:00:00Z",
68
+ "family":"unused_service",
69
+ "split":"development",
70
+ "note":"Backup job may be idle longer than 90 days."
71
+ },
72
+ {
73
+ "event_id":"GOLD-SEASONAL-DEV-01",
74
+ "identity_id":"usr_0080",
75
+ "role_id":"role-contractor-seasonal",
76
+ "start":"2026-03-13T00:00:00Z",
77
+ "end":"2026-07-01T00:00:00Z",
78
+ "family":"unused_seasonal",
79
+ "split":"development",
80
+ "note":"Contractor seasonal role is idle off-season."
81
+ },
82
+ {
83
+ "event_id":"GOLD-UNUSED-01",
84
+ "identity_id":"usr_0121",
85
+ "role_id":"role-payroll-export",
86
+ "start":"2026-01-22T00:00:00Z",
87
+ "end":"2026-07-01T00:00:00Z",
88
+ "family":"unused_privileged",
89
+ "split":"test",
90
+ "note":"Held-out unused payroll export with full coverage."
91
+ },
92
+ {
93
+ "event_id":"GOLD-SOD-01",
94
+ "identity_id":"usr_0122",
95
+ "role_id":"role-finance-approver",
96
+ "start":"2025-12-03T00:00:00Z",
97
+ "end":"2026-07-01T00:00:00Z",
98
+ "family":"sod_conflict",
99
+ "split":"test",
100
+ "note":"Held-out SoD pair on one human."
101
+ },
102
+ {
103
+ "event_id":"GOLD-OWNERLESS-01",
104
+ "identity_id":"usr_0123",
105
+ "role_id":"role-iam-admin",
106
+ "start":"2026-04-02T00:00:00Z",
107
+ "end":"2026-07-01T00:00:00Z",
108
+ "family":"ownerless",
109
+ "split":"test",
110
+ "note":"Ownerless IAM admin grant."
111
+ },
112
+ {
113
+ "event_id":"GOLD-PEER-01",
114
+ "identity_id":"usr_0124",
115
+ "role_id":"role-eng-prod-deploy",
116
+ "start":"2026-06-11T00:00:00Z",
117
+ "end":"2026-07-01T00:00:00Z",
118
+ "family":"peer_excess",
119
+ "split":"test",
120
+ "note":"Sales identity with engineering prod deploy."
121
+ },
122
+ {
123
+ "event_id":"GOLD-ORPHAN-01",
124
+ "identity_id":"usr_0125",
125
+ "role_id":"role-customer-pii",
126
+ "start":"2026-04-22T00:00:00Z",
127
+ "end":"2026-07-01T00:00:00Z",
128
+ "family":"orphan_identity",
129
+ "split":"test",
130
+ "note":"Departed identity still holds customer PII."
131
+ },
132
+ {
133
+ "event_id":"GOLD-COVERAGE-01",
134
+ "identity_id":"usr_0126",
135
+ "role_id":"role-okta-app-admin",
136
+ "start":"2025-12-13T00:00:00Z",
137
+ "end":"2026-07-01T00:00:00Z",
138
+ "family":"unused_incomplete_log",
139
+ "split":"test",
140
+ "note":"Unused app admin with no usage log coverage."
141
+ },
142
+ {
143
+ "event_id":"GOLD-BREAKGLASS-01",
144
+ "identity_id":"brk_0008",
145
+ "role_id":"role-break-glass-admin",
146
+ "start":"2025-09-04T00:00:00Z",
147
+ "end":"2026-07-01T00:00:00Z",
148
+ "family":"unused_break_glass",
149
+ "split":"test",
150
+ "note":"Held-out break-glass unused account."
151
+ },
152
+ {
153
+ "event_id":"GOLD-SERVICE-01",
154
+ "identity_id":"svc_0015",
155
+ "role_id":"role-svc-ci",
156
+ "start":"2026-01-02T00:00:00Z",
157
+ "end":"2026-07-01T00:00:00Z",
158
+ "family":"unused_service",
159
+ "split":"test",
160
+ "note":"Held-out CI service account idle window."
161
+ },
162
+ {
163
+ "event_id":"GOLD-SEASONAL-01",
164
+ "identity_id":"usr_0127",
165
+ "role_id":"role-contractor-seasonal",
166
+ "start":"2026-03-23T00:00:00Z",
167
+ "end":"2026-07-01T00:00:00Z",
168
+ "family":"unused_seasonal",
169
+ "split":"test",
170
+ "note":"Held-out seasonal contractor idle off-season."
171
+ },
172
+ {
173
+ "event_id":"GOLD-INHERITED-01",
174
+ "identity_id":"usr_0128",
175
+ "role_id":"role-employee-base",
176
+ "start":"2026-02-11T00:00:00Z",
177
+ "end":"2026-07-01T00:00:00Z",
178
+ "family":"unused_inherited_base",
179
+ "split":"test",
180
+ "note":"Unused inherited employee-base grant is bundle context."
181
+ }
182
+ ]
demo/examples/grants_preview.csv ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ grant_id,identity_id,identity_type,department,owner_id,status,seasonal_identity,role_id,resource_ids,grant_kind,inherited_from,created_at,expires_at,last_used_at,usage_count,usage_window_days,usage_log_coverage,sensitivity,privileged,seasonal,sod_group,break_glass,service,lab_event_id,lab_family,split
2
+ gnt_0001,usr_0001,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
3
+ gnt_0002,usr_0001,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
4
+ gnt_0003,usr_0001,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
5
+ gnt_0004,usr_0001,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,30,90,full,medium,False,False,,False,False,,,development
6
+ gnt_0005,usr_0001,human,finance,mgr_finance,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-16T00:00:00Z,9,90,full,low,False,False,,False,False,,,development
7
+ gnt_0006,usr_0002,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
8
+ gnt_0007,usr_0002,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,87,90,full,low,False,False,,False,False,,,development
9
+ gnt_0008,usr_0002,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,30,90,full,low,False,False,,False,False,,,development
10
+ gnt_0009,usr_0002,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,61,90,full,medium,False,False,,False,False,,,development
11
+ gnt_0010,usr_0003,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
12
+ gnt_0011,usr_0003,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,51,90,full,low,False,False,,False,False,,,development
13
+ gnt_0012,usr_0003,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
14
+ gnt_0013,usr_0003,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,29,90,full,medium,False,False,,False,False,,,development
15
+ gnt_0014,usr_0004,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
16
+ gnt_0015,usr_0004,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
17
+ gnt_0016,usr_0004,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
18
+ gnt_0017,usr_0004,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,76,90,full,medium,False,False,,False,False,,,development
19
+ gnt_0018,usr_0004,human,sales,mgr_sales,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-05-25T00:00:00Z,16,90,full,low,False,False,,False,False,,,development
20
+ gnt_0019,usr_0005,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
21
+ gnt_0020,usr_0005,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
22
+ gnt_0021,usr_0005,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
23
+ gnt_0022,usr_0005,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,29,90,full,medium,False,False,,False,False,,,development
24
+ gnt_0023,usr_0006,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,57,90,full,low,False,True,,False,False,,,development
25
+ gnt_0024,usr_0006,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,85,90,full,low,False,True,,False,False,,,development
26
+ gnt_0025,usr_0006,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,43,90,full,low,False,True,,False,False,,,development
27
+ gnt_0026,usr_0006,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,74,90,full,medium,False,True,,False,False,,,development
28
+ gnt_0027,usr_0007,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
29
+ gnt_0028,usr_0007,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,87,90,full,low,False,False,,False,False,,,development
30
+ gnt_0029,usr_0007,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,49,90,full,low,False,False,,False,False,,,development
31
+ gnt_0030,usr_0007,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-04T00:00:00Z,74,90,full,medium,False,False,,False,False,,,development
32
+ gnt_0031,usr_0008,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
33
+ gnt_0032,usr_0008,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
34
+ gnt_0033,usr_0008,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
35
+ gnt_0034,usr_0008,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,medium,False,False,,False,False,,,development
36
+ gnt_0035,usr_0009,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,25,90,full,low,False,False,,False,False,,,development
37
+ gnt_0036,usr_0009,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
38
+ gnt_0037,usr_0009,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,27,90,full,low,False,False,,False,False,,,development
39
+ gnt_0038,usr_0009,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,66,90,full,medium,False,False,,False,False,,,development
40
+ gnt_0039,usr_0010,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,25,90,full,low,False,False,,False,False,,,development
41
+ gnt_0040,usr_0010,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
42
+ gnt_0041,usr_0010,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,45,90,full,low,False,False,,False,False,,,development
43
+ gnt_0042,usr_0010,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,26,90,full,medium,False,False,,False,False,,,development
44
+ gnt_0043,usr_0011,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
45
+ gnt_0044,usr_0011,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
46
+ gnt_0045,usr_0011,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,66,90,full,low,False,False,,False,False,,,development
47
+ gnt_0046,usr_0011,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-26T00:00:00Z,57,90,full,medium,False,False,,False,False,,,development
48
+ gnt_0047,usr_0012,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,44,90,full,low,False,True,,False,False,,,development
49
+ gnt_0048,usr_0012,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,26,90,full,low,False,True,,False,False,,,development
50
+ gnt_0049,usr_0012,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,49,90,full,low,False,True,,False,False,,,development
51
+ gnt_0050,usr_0012,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,73,90,full,medium,False,True,,False,False,,,development
52
+ gnt_0051,usr_0012,human,contractors,mgr_vendor,active,True,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,11,90,full,low,False,True,,False,False,,,development
53
+ gnt_0052,usr_0013,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
54
+ gnt_0053,usr_0013,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
55
+ gnt_0054,usr_0013,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
56
+ gnt_0055,usr_0013,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,69,90,full,medium,False,False,,False,False,,,development
57
+ gnt_0056,usr_0013,human,finance,mgr_finance,active,False,role-finance-approver,res-erp-approve,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,18,90,full,high,True,False,finance-payment,False,False,,,development
58
+ gnt_0057,usr_0014,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,49,90,full,low,False,False,,False,False,,,development
59
+ gnt_0058,usr_0014,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,84,90,full,low,False,False,,False,False,,,development
60
+ gnt_0059,usr_0014,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
61
+ gnt_0060,usr_0014,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,71,90,full,medium,False,False,,False,False,,,development
62
+ gnt_0061,usr_0015,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,62,90,full,low,False,False,,False,False,,,development
63
+ gnt_0062,usr_0015,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
64
+ gnt_0063,usr_0015,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
65
+ gnt_0064,usr_0015,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,23,90,full,medium,False,False,,False,False,,,development
66
+ gnt_0065,usr_0016,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,48,90,full,low,False,False,,False,False,,,development
67
+ gnt_0066,usr_0016,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
68
+ gnt_0067,usr_0016,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
69
+ gnt_0068,usr_0016,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-05-29T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
70
+ gnt_0069,usr_0017,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,70,90,full,low,False,False,,False,False,,,development
71
+ gnt_0070,usr_0017,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,76,90,full,low,False,False,,False,False,,,development
72
+ gnt_0071,usr_0017,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
73
+ gnt_0072,usr_0017,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,48,90,full,medium,False,False,,False,False,,,development
74
+ gnt_0073,usr_0018,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,True,,False,False,,,development
75
+ gnt_0074,usr_0018,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,68,90,full,low,False,True,,False,False,,,development
76
+ gnt_0075,usr_0018,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,38,90,full,low,False,True,,False,False,,,development
77
+ gnt_0076,usr_0018,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,39,90,full,medium,False,True,,False,False,,,development
78
+ gnt_0077,usr_0018,human,contractors,mgr_vendor,active,True,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,13,90,full,low,False,True,,False,False,,,development
79
+ gnt_0078,usr_0019,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
80
+ gnt_0079,usr_0019,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
81
+ gnt_0080,usr_0019,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
82
+ gnt_0081,usr_0019,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,62,90,full,medium,False,False,,False,False,,,development
83
+ gnt_0082,usr_0020,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
84
+ gnt_0083,usr_0020,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
85
+ gnt_0084,usr_0020,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
86
+ gnt_0085,usr_0020,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,41,90,full,medium,False,False,,False,False,,,development
87
+ gnt_0086,usr_0021,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
88
+ gnt_0087,usr_0021,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
89
+ gnt_0088,usr_0021,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
90
+ gnt_0089,usr_0021,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-19T00:00:00Z,63,90,full,medium,False,False,,False,False,,,development
91
+ gnt_0090,usr_0022,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,41,90,full,low,False,False,,False,False,,,development
92
+ gnt_0091,usr_0022,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
93
+ gnt_0092,usr_0022,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
94
+ gnt_0093,usr_0022,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-24T00:00:00Z,56,90,full,medium,False,False,,False,False,,,development
95
+ gnt_0094,usr_0023,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
96
+ gnt_0095,usr_0023,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
97
+ gnt_0096,usr_0023,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
98
+ gnt_0097,usr_0023,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,23,90,full,medium,False,False,,False,False,,,development
99
+ gnt_0098,usr_0024,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,True,,False,False,,,development
100
+ gnt_0099,usr_0024,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,True,,False,False,,,development
101
+ gnt_0100,usr_0024,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,66,90,full,low,False,True,,False,False,,,development
102
+ gnt_0101,usr_0024,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,28,90,full,medium,False,True,,False,False,,,development
103
+ gnt_0102,usr_0025,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
104
+ gnt_0103,usr_0025,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
105
+ gnt_0104,usr_0025,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
106
+ gnt_0105,usr_0025,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,54,90,full,medium,False,False,,False,False,,,development
107
+ gnt_0106,usr_0026,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
108
+ gnt_0107,usr_0026,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,62,90,full,low,False,False,,False,False,,,development
109
+ gnt_0108,usr_0026,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,67,90,full,low,False,False,,False,False,,,development
110
+ gnt_0109,usr_0026,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,71,90,full,medium,False,False,,False,False,,,development
111
+ gnt_0110,usr_0027,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
112
+ gnt_0111,usr_0027,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
113
+ gnt_0112,usr_0027,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,79,90,full,low,False,False,,False,False,,,development
114
+ gnt_0113,usr_0027,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,51,90,full,medium,False,False,,False,False,,,development
115
+ gnt_0114,usr_0028,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
116
+ gnt_0115,usr_0028,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,20,90,full,low,False,False,,False,False,,,development
117
+ gnt_0116,usr_0028,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,67,90,full,low,False,False,,False,False,,,development
118
+ gnt_0117,usr_0028,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,62,90,full,medium,False,False,,False,False,,,development
119
+ gnt_0118,usr_0029,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,66,90,full,low,False,False,,False,False,,,development
120
+ gnt_0119,usr_0029,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
121
+ gnt_0120,usr_0029,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
122
+ gnt_0121,usr_0029,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,51,90,full,medium,False,False,,False,False,,,development
123
+ gnt_0122,usr_0030,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,True,,False,False,,,development
124
+ gnt_0123,usr_0030,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,71,90,full,low,False,True,,False,False,,,development
125
+ gnt_0124,usr_0030,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,72,90,full,low,False,True,,False,False,,,development
126
+ gnt_0125,usr_0030,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,16,90,full,medium,False,True,,False,False,,,development
127
+ gnt_0126,usr_0031,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
128
+ gnt_0127,usr_0031,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
129
+ gnt_0128,usr_0031,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
130
+ gnt_0129,usr_0031,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
131
+ gnt_0130,usr_0032,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
132
+ gnt_0131,usr_0032,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,27,90,full,low,False,False,,False,False,,,development
133
+ gnt_0132,usr_0032,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
134
+ gnt_0133,usr_0032,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,36,90,full,medium,False,False,,False,False,,,development
135
+ gnt_0134,usr_0033,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,79,90,full,low,False,False,,False,False,,,development
136
+ gnt_0135,usr_0033,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
137
+ gnt_0136,usr_0033,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,22,90,full,low,False,False,,False,False,,,development
138
+ gnt_0137,usr_0033,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
139
+ gnt_0138,usr_0034,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,84,90,full,low,False,False,,False,False,,,development
140
+ gnt_0139,usr_0034,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
141
+ gnt_0140,usr_0034,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
142
+ gnt_0141,usr_0034,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-18T00:00:00Z,16,90,full,medium,False,False,,False,False,,,development
143
+ gnt_0142,usr_0035,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
144
+ gnt_0143,usr_0035,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
145
+ gnt_0144,usr_0035,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
146
+ gnt_0145,usr_0035,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,73,90,full,medium,False,False,,False,False,,,development
147
+ gnt_0146,usr_0036,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,56,90,full,low,False,True,,False,False,,,development
148
+ gnt_0147,usr_0036,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,True,,False,False,,,development
149
+ gnt_0148,usr_0036,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,89,90,full,low,False,True,,False,False,,,development
150
+ gnt_0149,usr_0036,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-05-29T00:00:00Z,34,90,full,medium,False,True,,False,False,,,development
151
+ gnt_0150,usr_0037,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
152
+ gnt_0151,usr_0037,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
153
+ gnt_0152,usr_0037,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
154
+ gnt_0153,usr_0037,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,39,90,full,medium,False,False,,False,False,,,development
155
+ gnt_0154,usr_0038,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
156
+ gnt_0155,usr_0038,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
157
+ gnt_0156,usr_0038,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,51,90,full,low,False,False,,False,False,,,development
158
+ gnt_0157,usr_0038,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,75,90,full,medium,False,False,,False,False,,,development
159
+ gnt_0158,usr_0039,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,76,90,full,low,False,False,,False,False,,,development
160
+ gnt_0159,usr_0039,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
161
+ gnt_0160,usr_0039,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
162
+ gnt_0161,usr_0039,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
163
+ gnt_0162,usr_0040,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,32,90,full,low,False,False,,False,False,,,development
164
+ gnt_0163,usr_0040,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,30,90,full,low,False,False,,False,False,,,development
165
+ gnt_0164,usr_0040,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
166
+ gnt_0165,usr_0040,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-01T00:00:00Z,26,90,full,medium,False,False,,False,False,,,development
167
+ gnt_0166,usr_0041,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,28,90,full,low,False,False,,False,False,,,development
168
+ gnt_0167,usr_0041,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
169
+ gnt_0168,usr_0041,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,70,90,full,low,False,False,,False,False,,,development
170
+ gnt_0169,usr_0041,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
171
+ gnt_0170,usr_0042,human,finance,mgr_finance,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,True,,False,False,,,development
172
+ gnt_0171,usr_0042,human,finance,mgr_finance,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,True,,False,False,,,development
173
+ gnt_0172,usr_0042,human,finance,mgr_finance,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,60,90,full,low,False,True,,False,False,,,development
174
+ gnt_0173,usr_0042,human,finance,mgr_finance,active,True,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,21,90,full,medium,False,True,,False,False,,,development
175
+ gnt_0174,usr_0043,human,sales,,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
176
+ gnt_0175,usr_0043,human,sales,,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
177
+ gnt_0176,usr_0043,human,sales,,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,74,90,full,low,False,False,,False,False,,,development
178
+ gnt_0177,usr_0043,human,sales,,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,49,90,full,medium,False,False,,False,False,,,development
179
+ gnt_0178,usr_0044,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
180
+ gnt_0179,usr_0044,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
181
+ gnt_0180,usr_0044,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,76,90,full,low,False,False,,False,False,,,development
182
+ gnt_0181,usr_0044,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,48,90,full,medium,False,False,,False,False,,,development
183
+ gnt_0182,usr_0044,human,engineering,mgr_eng,active,False,role-eng-prod-deploy,res-k8s-prod,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,17,90,full,high,True,False,,False,False,,,development
184
+ gnt_0183,usr_0045,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,29,90,full,low,False,False,,False,False,,,development
185
+ gnt_0184,usr_0045,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
186
+ gnt_0185,usr_0045,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
187
+ gnt_0186,usr_0045,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,35,90,full,medium,False,False,,False,False,,,development
188
+ gnt_0187,usr_0046,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,40,90,full,low,False,False,,False,False,,,development
189
+ gnt_0188,usr_0046,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
190
+ gnt_0189,usr_0046,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
191
+ gnt_0190,usr_0046,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,62,90,full,medium,False,False,,False,False,,,development
192
+ gnt_0191,usr_0047,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
193
+ gnt_0192,usr_0047,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
194
+ gnt_0193,usr_0047,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,32,90,full,low,False,False,,False,False,,,development
195
+ gnt_0194,usr_0047,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-23T00:00:00Z,37,90,full,medium,False,False,,False,False,,,development
196
+ gnt_0195,usr_0048,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,84,90,full,low,False,True,,False,False,,,development
197
+ gnt_0196,usr_0048,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,True,,False,False,,,development
198
+ gnt_0197,usr_0048,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,87,90,full,low,False,True,,False,False,,,development
199
+ gnt_0198,usr_0048,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,25,90,full,medium,False,True,,False,False,,,development
200
+ gnt_0199,usr_0049,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,21,90,full,low,False,False,,False,False,,,development
201
+ gnt_0200,usr_0049,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
202
+ gnt_0201,usr_0049,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
203
+ gnt_0202,usr_0049,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,73,90,full,medium,False,False,,False,False,,,development
204
+ gnt_0203,usr_0049,human,finance,mgr_finance,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,3,90,full,low,False,False,,False,False,,,development
205
+ gnt_0204,usr_0050,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
206
+ gnt_0205,usr_0050,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,35,90,full,low,False,False,,False,False,,,development
207
+ gnt_0206,usr_0050,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
208
+ gnt_0207,usr_0050,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,49,90,full,medium,False,False,,False,False,,,development
209
+ gnt_0208,usr_0051,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
210
+ gnt_0209,usr_0051,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
211
+ gnt_0210,usr_0051,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,22,90,full,low,False,False,,False,False,,,development
212
+ gnt_0211,usr_0051,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,77,90,full,medium,False,False,,False,False,,,development
213
+ gnt_0212,usr_0052,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
214
+ gnt_0213,usr_0052,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
215
+ gnt_0214,usr_0052,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
216
+ gnt_0215,usr_0052,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,44,90,full,medium,False,False,,False,False,,,development
217
+ gnt_0216,usr_0053,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
218
+ gnt_0217,usr_0053,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
219
+ gnt_0218,usr_0053,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
220
+ gnt_0219,usr_0053,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,67,90,full,medium,False,False,,False,False,,,development
221
+ gnt_0220,usr_0054,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,57,90,full,low,False,True,,False,False,,,development
222
+ gnt_0221,usr_0054,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,42,90,full,low,False,True,,False,False,,,development
223
+ gnt_0222,usr_0054,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,53,90,full,low,False,True,,False,False,,,development
224
+ gnt_0223,usr_0054,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-16T00:00:00Z,49,90,full,medium,False,True,,False,False,,,development
225
+ gnt_0224,usr_0055,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
226
+ gnt_0225,usr_0055,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
227
+ gnt_0226,usr_0055,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
228
+ gnt_0227,usr_0055,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,44,90,full,medium,False,False,,False,False,,,development
229
+ gnt_0228,usr_0056,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,45,90,full,low,False,False,,False,False,,,development
230
+ gnt_0229,usr_0056,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,38,90,full,low,False,False,,False,False,,,development
231
+ gnt_0230,usr_0056,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
232
+ gnt_0231,usr_0056,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-05T00:00:00Z,29,90,full,medium,False,False,,False,False,,,development
233
+ gnt_0232,usr_0057,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,41,90,full,low,False,False,,False,False,,,development
234
+ gnt_0233,usr_0057,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
235
+ gnt_0234,usr_0057,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,53,90,full,low,False,False,,False,False,,,development
236
+ gnt_0235,usr_0057,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-05-28T00:00:00Z,66,90,full,medium,False,False,,False,False,,,development
237
+ gnt_0236,usr_0058,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
238
+ gnt_0237,usr_0058,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,False,,False,False,,,development
239
+ gnt_0238,usr_0058,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
240
+ gnt_0239,usr_0058,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,69,90,full,medium,False,False,,False,False,,,development
241
+ gnt_0240,usr_0059,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
242
+ gnt_0241,usr_0059,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,30,90,full,low,False,False,,False,False,,,development
243
+ gnt_0242,usr_0059,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
244
+ gnt_0243,usr_0059,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,78,90,full,medium,False,False,,False,False,,,development
245
+ gnt_0244,usr_0060,human,hr,mgr_hr,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,64,90,full,low,False,True,,False,False,,,development
246
+ gnt_0245,usr_0060,human,hr,mgr_hr,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,74,90,full,low,False,True,,False,False,,,development
247
+ gnt_0246,usr_0060,human,hr,mgr_hr,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,79,90,full,low,False,True,,False,False,,,development
248
+ gnt_0247,usr_0060,human,hr,mgr_hr,active,True,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-19T00:00:00Z,42,90,full,medium,False,True,,False,False,,,development
249
+ gnt_0248,usr_0061,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,24,90,full,low,False,False,,False,False,,,development
250
+ gnt_0249,usr_0061,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
251
+ gnt_0250,usr_0061,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
252
+ gnt_0251,usr_0061,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-03T00:00:00Z,33,90,full,medium,False,False,,False,False,,,development
253
+ gnt_0252,usr_0062,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,67,90,full,low,False,False,,False,False,,,development
254
+ gnt_0253,usr_0062,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
255
+ gnt_0254,usr_0062,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
256
+ gnt_0255,usr_0062,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-02T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
257
+ gnt_0256,usr_0063,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,83,90,full,low,False,False,,False,False,,,development
258
+ gnt_0257,usr_0063,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
259
+ gnt_0258,usr_0063,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
260
+ gnt_0259,usr_0063,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,49,90,full,medium,False,False,,False,False,,,development
261
+ gnt_0260,usr_0064,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
262
+ gnt_0261,usr_0064,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
263
+ gnt_0262,usr_0064,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
264
+ gnt_0263,usr_0064,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-19T00:00:00Z,37,90,full,medium,False,False,,False,False,,,development
265
+ gnt_0264,usr_0065,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
266
+ gnt_0265,usr_0065,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,56,90,full,low,False,False,,False,False,,,development
267
+ gnt_0266,usr_0065,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
268
+ gnt_0267,usr_0065,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-31T00:00:00Z,44,90,full,medium,False,False,,False,False,,,development
269
+ gnt_0268,usr_0066,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,54,90,full,low,False,True,,False,False,,,development
270
+ gnt_0269,usr_0066,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,True,,False,False,,,development
271
+ gnt_0270,usr_0066,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,24,90,full,low,False,True,,False,False,,,development
272
+ gnt_0271,usr_0066,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,38,90,full,medium,False,True,,False,False,,,development
273
+ gnt_0272,usr_0067,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,81,90,full,low,False,False,,False,False,,,development
274
+ gnt_0273,usr_0067,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
275
+ gnt_0274,usr_0067,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,37,90,full,low,False,False,,False,False,,,development
276
+ gnt_0275,usr_0067,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,65,90,full,medium,False,False,,False,False,,,development
277
+ gnt_0276,usr_0068,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
278
+ gnt_0277,usr_0068,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,78,90,full,low,False,False,,False,False,,,development
279
+ gnt_0278,usr_0068,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,28,90,full,low,False,False,,False,False,,,development
280
+ gnt_0279,usr_0068,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,34,90,full,medium,False,False,,False,False,,,development
281
+ gnt_0280,usr_0069,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
282
+ gnt_0281,usr_0069,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,False,,False,False,,,development
283
+ gnt_0282,usr_0069,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
284
+ gnt_0283,usr_0069,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-09T00:00:00Z,74,90,full,medium,False,False,,False,False,,,development
285
+ gnt_0284,usr_0070,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
286
+ gnt_0285,usr_0070,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
287
+ gnt_0286,usr_0070,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
288
+ gnt_0287,usr_0070,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-16T00:00:00Z,46,90,full,medium,False,False,,False,False,,,development
289
+ gnt_0288,usr_0071,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,77,90,full,low,False,False,,False,False,,,development
290
+ gnt_0289,usr_0071,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,72,90,full,low,False,False,,False,False,,,development
291
+ gnt_0290,usr_0071,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,59,90,full,low,False,False,,False,False,,,development
292
+ gnt_0291,usr_0071,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-05T00:00:00Z,64,90,full,medium,False,False,,False,False,,,development
293
+ gnt_0292,usr_0072,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,42,90,full,low,False,True,,False,False,,,development
294
+ gnt_0293,usr_0072,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,52,90,full,low,False,True,,False,False,,,development
295
+ gnt_0294,usr_0072,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,33,90,full,low,False,True,,False,False,,,development
296
+ gnt_0295,usr_0072,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,39,90,full,medium,False,True,,False,False,,,development
297
+ gnt_0296,usr_0073,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,60,90,full,low,False,False,,False,False,,,development
298
+ gnt_0297,usr_0073,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,45,90,full,low,False,False,,False,False,,,development
299
+ gnt_0298,usr_0073,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,63,90,full,low,False,False,,False,False,,,development
300
+ gnt_0299,usr_0073,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-03T00:00:00Z,38,90,full,medium,False,False,,False,False,,,development
301
+ gnt_0300,usr_0074,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,50,90,full,low,False,False,,False,False,,,development
302
+ gnt_0301,usr_0074,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
303
+ gnt_0302,usr_0074,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,77,90,full,low,False,False,,False,False,,,development
304
+ gnt_0303,usr_0074,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-11T00:00:00Z,34,90,full,medium,False,False,,False,False,,,development
305
+ gnt_0304,usr_0075,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
306
+ gnt_0305,usr_0075,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,72,90,full,low,False,False,,False,False,,,development
307
+ gnt_0306,usr_0075,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
308
+ gnt_0307,usr_0075,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,53,90,full,medium,False,False,,False,False,,,development
309
+ gnt_0308,usr_0076,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,43,90,full,low,False,False,,False,False,,,development
310
+ gnt_0309,usr_0076,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
311
+ gnt_0310,usr_0076,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,36,90,full,low,False,False,,False,False,,,development
312
+ gnt_0311,usr_0076,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-14T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
313
+ gnt_0312,usr_0077,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
314
+ gnt_0313,usr_0077,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,71,90,full,low,False,False,,False,False,,,development
315
+ gnt_0314,usr_0077,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
316
+ gnt_0315,usr_0077,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,16,90,full,medium,False,False,,False,False,,,development
317
+ gnt_0316,usr_0078,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,True,,False,False,,,development
318
+ gnt_0317,usr_0078,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,49,90,full,low,False,True,,False,False,,,development
319
+ gnt_0318,usr_0078,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,48,90,full,low,False,True,,False,False,,,development
320
+ gnt_0319,usr_0078,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,25,90,full,medium,False,True,,False,False,,,development
321
+ gnt_0320,usr_0079,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
322
+ gnt_0321,usr_0079,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,86,90,full,low,False,False,,False,False,,,development
323
+ gnt_0322,usr_0079,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,71,90,full,low,False,False,,False,False,,,development
324
+ gnt_0323,usr_0079,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
325
+ gnt_0324,usr_0080,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,63,90,full,low,False,True,,False,False,,,development
326
+ gnt_0325,usr_0080,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,69,90,full,low,False,True,,False,False,,,development
327
+ gnt_0326,usr_0080,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,True,,False,False,,,development
328
+ gnt_0327,usr_0081,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,66,90,full,low,False,False,,False,False,,,development
329
+ gnt_0328,usr_0081,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,47,90,full,low,False,False,,False,False,,,development
330
+ gnt_0329,usr_0081,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,64,90,full,low,False,False,,False,False,,,development
331
+ gnt_0330,usr_0081,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-18T00:00:00Z,71,90,full,medium,False,False,,False,False,,,development
332
+ gnt_0331,usr_0082,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
333
+ gnt_0332,usr_0082,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
334
+ gnt_0333,usr_0082,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
335
+ gnt_0334,usr_0082,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-20T00:00:00Z,24,90,full,medium,False,False,,False,False,,,development
336
+ gnt_0335,usr_0083,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
337
+ gnt_0336,usr_0083,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,70,90,full,low,False,False,,False,False,,,development
338
+ gnt_0337,usr_0083,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,33,90,full,low,False,False,,False,False,,,development
339
+ gnt_0338,usr_0083,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-30T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
340
+ gnt_0339,usr_0084,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,72,90,full,low,False,True,,False,False,,,development
341
+ gnt_0340,usr_0084,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,42,90,full,low,False,True,,False,False,,,development
342
+ gnt_0341,usr_0084,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,27,90,full,low,False,True,,False,False,,,development
343
+ gnt_0342,usr_0084,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-12T00:00:00Z,15,90,full,medium,False,True,,False,False,,,development
344
+ gnt_0343,usr_0085,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,False,,False,False,,,development
345
+ gnt_0344,usr_0085,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,54,90,full,low,False,False,,False,False,,,development
346
+ gnt_0345,usr_0085,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,46,90,full,low,False,False,,False,False,,,development
347
+ gnt_0346,usr_0085,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,21,90,full,medium,False,False,,False,False,,,development
348
+ gnt_0347,usr_0086,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
349
+ gnt_0348,usr_0086,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,False,,False,False,,,development
350
+ gnt_0349,usr_0086,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,85,90,full,low,False,False,,False,False,,,development
351
+ gnt_0350,usr_0086,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,53,90,full,medium,False,False,,False,False,,,development
352
+ gnt_0351,usr_0087,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,64,90,full,low,False,False,,False,False,,,development
353
+ gnt_0352,usr_0087,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
354
+ gnt_0353,usr_0087,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,42,90,full,low,False,False,,False,False,,,development
355
+ gnt_0354,usr_0087,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-05-30T00:00:00Z,67,90,full,medium,False,False,,False,False,,,development
356
+ gnt_0355,usr_0088,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,44,90,full,low,False,False,,False,False,,,development
357
+ gnt_0356,usr_0088,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,77,90,full,low,False,False,,False,False,,,development
358
+ gnt_0357,usr_0088,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,75,90,full,low,False,False,,False,False,,,development
359
+ gnt_0358,usr_0088,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-06-26T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
360
+ gnt_0359,usr_0089,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,58,90,full,low,False,False,,False,False,,,development
361
+ gnt_0360,usr_0089,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,61,90,full,low,False,False,,False,False,,,development
362
+ gnt_0361,usr_0089,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,88,90,full,low,False,False,,False,False,,,development
363
+ gnt_0362,usr_0089,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-06-10T00:00:00Z,79,90,full,medium,False,False,,False,False,,,development
364
+ gnt_0363,usr_0090,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,30,90,full,low,False,True,,False,False,,,development
365
+ gnt_0364,usr_0090,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,84,90,full,low,False,True,,False,False,,,development
366
+ gnt_0365,usr_0090,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,54,90,full,low,False,True,,False,False,,,development
367
+ gnt_0366,usr_0090,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-07T00:00:00Z,16,90,full,medium,False,True,,False,False,,,development
368
+ gnt_0367,usr_0091,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,39,90,full,low,False,False,,False,False,,,development
369
+ gnt_0368,usr_0091,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,34,90,full,low,False,False,,False,False,,,development
370
+ gnt_0369,usr_0091,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,49,90,full,low,False,False,,False,False,,,development
371
+ gnt_0370,usr_0091,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,17,90,full,medium,False,False,,False,False,,,development
372
+ gnt_0371,usr_0091,human,finance,mgr_finance,active,False,role-finance-approver,res-erp-approve,direct,,2025-05-27T00:00:00Z,,2026-06-05T00:00:00Z,17,90,full,high,True,False,finance-payment,False,False,,,development
373
+ gnt_0372,usr_0091,human,finance,mgr_finance,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,13,90,full,low,False,False,,False,False,,,development
374
+ gnt_0373,usr_0092,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,48,90,full,low,False,False,,False,False,,,development
375
+ gnt_0374,usr_0092,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,80,90,full,low,False,False,,False,False,,,development
376
+ gnt_0375,usr_0092,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,28,90,full,low,False,False,,False,False,,,development
377
+ gnt_0376,usr_0092,human,engineering,mgr_eng,active,False,role-eng-repo-read,res-git-read,direct,,2025-05-27T00:00:00Z,,2026-06-06T00:00:00Z,35,90,full,medium,False,False,,False,False,,,development
378
+ gnt_0377,usr_0093,human,hr,mgr_hr,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,20,90,full,low,False,False,,False,False,,,development
379
+ gnt_0378,usr_0093,human,hr,mgr_hr,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,73,90,full,low,False,False,,False,False,,,development
380
+ gnt_0379,usr_0093,human,hr,mgr_hr,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,53,90,full,low,False,False,,False,False,,,development
381
+ gnt_0380,usr_0093,human,hr,mgr_hr,active,False,role-hr-reader,res-hris-read,direct,,2025-05-27T00:00:00Z,,2026-06-15T00:00:00Z,55,90,full,medium,False,False,,False,False,,,development
382
+ gnt_0381,usr_0093,human,hr,mgr_hr,active,False,role-wiki-editor,res-wiki,direct,,2025-05-27T00:00:00Z,,2026-06-22T00:00:00Z,2,90,full,low,False,False,,False,False,,,development
383
+ gnt_0382,usr_0094,human,sales,mgr_sales,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,68,90,full,low,False,False,,False,False,,,development
384
+ gnt_0383,usr_0094,human,sales,mgr_sales,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,65,90,full,low,False,False,,False,False,,,development
385
+ gnt_0384,usr_0094,human,sales,mgr_sales,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,89,90,full,low,False,False,,False,False,,,development
386
+ gnt_0385,usr_0094,human,sales,mgr_sales,active,False,role-sales-crm,res-crm-records,direct,,2025-05-27T00:00:00Z,,2026-05-30T00:00:00Z,52,90,full,medium,False,False,,False,False,,,development
387
+ gnt_0386,usr_0095,human,operations,mgr_ops,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,22,90,full,low,False,False,,False,False,,,development
388
+ gnt_0387,usr_0095,human,operations,mgr_ops,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,62,90,full,low,False,False,,False,False,,,development
389
+ gnt_0388,usr_0095,human,operations,mgr_ops,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,23,90,full,low,False,False,,False,False,,,development
390
+ gnt_0389,usr_0095,human,operations,mgr_ops,active,False,role-ops-monitor,res-metrics,direct,,2025-05-27T00:00:00Z,,2026-05-29T00:00:00Z,50,90,full,medium,False,False,,False,False,,,development
391
+ gnt_0390,usr_0096,human,contractors,mgr_vendor,active,True,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,31,90,full,low,False,True,,False,False,,,development
392
+ gnt_0391,usr_0096,human,contractors,mgr_vendor,active,True,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,75,90,full,low,False,True,,False,False,,,development
393
+ gnt_0392,usr_0096,human,contractors,mgr_vendor,active,True,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,38,90,full,low,False,True,,False,False,,,development
394
+ gnt_0393,usr_0096,human,contractors,mgr_vendor,active,True,role-contractor-seasonal,res-contractor-portal,direct,,2025-05-27T00:00:00Z,,2026-06-08T00:00:00Z,24,90,full,medium,False,True,,False,False,,,development
395
+ gnt_0394,usr_0097,human,finance,mgr_finance,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,84,90,full,low,False,False,,False,False,,,development
396
+ gnt_0395,usr_0097,human,finance,mgr_finance,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,64,90,full,low,False,False,,False,False,,,development
397
+ gnt_0396,usr_0097,human,finance,mgr_finance,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,24,90,full,low,False,False,,False,False,,,development
398
+ gnt_0397,usr_0097,human,finance,mgr_finance,active,False,role-finance-reader,"res-erp-read,res-ledger-view",direct,,2025-05-27T00:00:00Z,,2026-06-27T00:00:00Z,34,90,full,medium,False,False,,False,False,,,development
399
+ gnt_0398,usr_0098,human,engineering,mgr_eng,active,False,role-employee-base,res-hris-profile,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-13T00:00:00Z,82,90,full,low,False,False,,False,False,,,development
400
+ gnt_0399,usr_0098,human,engineering,mgr_eng,active,False,role-email-user,res-mail-mailbox,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-21T00:00:00Z,26,90,full,low,False,False,,False,False,,,development
401
+ gnt_0400,usr_0098,human,engineering,mgr_eng,active,False,role-vpn-user,res-vpn-gateway,inherited,bundle-staff,2025-05-27T00:00:00Z,,2026-06-17T00:00:00Z,52,90,full,low,False,False,,False,False,,,development
demo/examples/identities.csv ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ identity_id,display_name,identity_type,owner_id,department,status,seasonal,split
2
+ usr_0001,Human 0001,human,mgr_finance,finance,active,False,development
3
+ usr_0002,Human 0002,human,mgr_eng,engineering,active,False,development
4
+ usr_0003,Human 0003,human,mgr_hr,hr,active,False,development
5
+ usr_0004,Human 0004,human,mgr_sales,sales,active,False,development
6
+ usr_0005,Human 0005,human,mgr_ops,operations,active,False,development
7
+ usr_0006,Human 0006,human,mgr_vendor,contractors,active,True,development
8
+ usr_0007,Human 0007,human,mgr_finance,finance,active,False,development
9
+ usr_0008,Human 0008,human,mgr_eng,engineering,active,False,development
10
+ usr_0009,Human 0009,human,mgr_hr,hr,active,False,development
11
+ usr_0010,Human 0010,human,mgr_sales,sales,active,False,development
12
+ usr_0011,Human 0011,human,mgr_ops,operations,active,False,development
13
+ usr_0012,Human 0012,human,mgr_vendor,contractors,active,True,development
14
+ usr_0013,Human 0013,human,mgr_finance,finance,active,False,development
15
+ usr_0014,Human 0014,human,mgr_eng,engineering,active,False,development
16
+ usr_0015,Human 0015,human,mgr_hr,hr,active,False,development
17
+ usr_0016,Human 0016,human,mgr_sales,sales,active,False,development
18
+ usr_0017,Human 0017,human,mgr_ops,operations,active,False,development
19
+ usr_0018,Human 0018,human,mgr_vendor,contractors,active,True,development
20
+ usr_0019,Human 0019,human,mgr_finance,finance,active,False,development
21
+ usr_0020,Human 0020,human,mgr_eng,engineering,active,False,development
22
+ usr_0021,Human 0021,human,mgr_hr,hr,active,False,development
23
+ usr_0022,Human 0022,human,mgr_sales,sales,active,False,development
24
+ usr_0023,Human 0023,human,mgr_ops,operations,active,False,development
25
+ usr_0024,Human 0024,human,mgr_vendor,contractors,active,True,development
26
+ usr_0025,Human 0025,human,mgr_finance,finance,active,False,development
27
+ usr_0026,Human 0026,human,mgr_eng,engineering,active,False,development
28
+ usr_0027,Human 0027,human,mgr_hr,hr,active,False,development
29
+ usr_0028,Human 0028,human,mgr_sales,sales,active,False,development
30
+ usr_0029,Human 0029,human,mgr_ops,operations,active,False,development
31
+ usr_0030,Human 0030,human,mgr_vendor,contractors,active,True,development
32
+ usr_0031,Human 0031,human,mgr_finance,finance,active,False,development
33
+ usr_0032,Human 0032,human,mgr_eng,engineering,active,False,development
34
+ usr_0033,Human 0033,human,mgr_hr,hr,active,False,development
35
+ usr_0034,Human 0034,human,mgr_sales,sales,active,False,development
36
+ usr_0035,Human 0035,human,mgr_ops,operations,active,False,development
37
+ usr_0036,Human 0036,human,mgr_vendor,contractors,active,True,development
38
+ usr_0037,Human 0037,human,mgr_finance,finance,active,False,development
39
+ usr_0038,Human 0038,human,mgr_eng,engineering,active,False,development
40
+ usr_0039,Human 0039,human,mgr_hr,hr,active,False,development
41
+ usr_0040,Human 0040,human,mgr_sales,sales,active,False,development
42
+ usr_0041,Human 0041,human,mgr_finance,finance,active,False,development
43
+ usr_0042,Human 0042,human,mgr_finance,finance,active,True,development
44
+ usr_0043,Human 0043,human,,sales,active,False,development
45
+ usr_0044,Human 0044,human,mgr_eng,engineering,active,False,development
46
+ usr_0045,Human 0045,human,mgr_hr,hr,active,False,development
47
+ usr_0046,Human 0046,human,mgr_sales,sales,active,False,development
48
+ usr_0047,Human 0047,human,mgr_ops,operations,active,False,development
49
+ usr_0048,Human 0048,human,mgr_vendor,contractors,active,True,development
50
+ usr_0049,Human 0049,human,mgr_finance,finance,active,False,development
51
+ usr_0050,Human 0050,human,mgr_sales,sales,active,False,development
52
+ usr_0051,Human 0051,human,mgr_hr,hr,active,False,development
53
+ usr_0052,Human 0052,human,mgr_sales,sales,active,False,development
54
+ usr_0053,Human 0053,human,mgr_ops,operations,active,False,development
55
+ usr_0054,Human 0054,human,mgr_vendor,contractors,active,True,development
56
+ usr_0055,Human 0055,human,mgr_finance,finance,active,False,development
57
+ usr_0056,Human 0056,human,mgr_eng,engineering,active,False,development
58
+ usr_0057,Human 0057,human,mgr_hr,hr,active,False,development
59
+ usr_0058,Human 0058,human,mgr_sales,sales,active,False,development
60
+ usr_0059,Human 0059,human,mgr_ops,operations,active,False,development
61
+ usr_0060,Human 0060,human,mgr_hr,hr,active,True,development
62
+ usr_0061,Human 0061,human,mgr_finance,finance,active,False,development
63
+ usr_0062,Human 0062,human,mgr_eng,engineering,active,False,development
64
+ usr_0063,Human 0063,human,mgr_hr,hr,active,False,development
65
+ usr_0064,Human 0064,human,mgr_sales,sales,active,False,development
66
+ usr_0065,Human 0065,human,mgr_ops,operations,active,False,development
67
+ usr_0066,Human 0066,human,mgr_vendor,contractors,active,True,development
68
+ usr_0067,Human 0067,human,mgr_finance,finance,active,False,development
69
+ usr_0068,Human 0068,human,mgr_eng,engineering,active,False,development
70
+ usr_0069,Human 0069,human,mgr_hr,hr,active,False,development
71
+ usr_0070,Human 0070,human,mgr_sales,sales,active,False,development
72
+ usr_0071,Human 0071,human,mgr_ops,operations,active,False,development
73
+ usr_0072,Human 0072,human,mgr_vendor,contractors,active,True,development
74
+ usr_0073,Human 0073,human,mgr_finance,finance,active,False,development
75
+ usr_0074,Human 0074,human,mgr_eng,engineering,active,False,development
76
+ usr_0075,Human 0075,human,mgr_hr,hr,active,False,development
77
+ usr_0076,Human 0076,human,mgr_sales,sales,active,False,development
78
+ usr_0077,Human 0077,human,mgr_ops,operations,active,False,development
79
+ usr_0078,Human 0078,human,mgr_vendor,contractors,active,True,development
80
+ usr_0079,Human 0079,human,mgr_finance,finance,active,False,development
81
+ usr_0080,Human 0080,human,mgr_vendor,contractors,active,True,development
82
+ usr_0081,Human 0081,human,mgr_hr,hr,active,False,development
83
+ usr_0082,Human 0082,human,mgr_sales,sales,active,False,development
84
+ usr_0083,Human 0083,human,mgr_ops,operations,active,False,development
85
+ usr_0084,Human 0084,human,mgr_vendor,contractors,active,True,development
86
+ usr_0085,Human 0085,human,mgr_finance,finance,active,False,development
87
+ usr_0086,Human 0086,human,mgr_eng,engineering,active,False,development
88
+ usr_0087,Human 0087,human,mgr_hr,hr,active,False,development
89
+ usr_0088,Human 0088,human,mgr_sales,sales,active,False,development
90
+ usr_0089,Human 0089,human,mgr_ops,operations,active,False,development
91
+ usr_0090,Human 0090,human,mgr_vendor,contractors,active,True,development
92
+ usr_0091,Human 0091,human,mgr_finance,finance,active,False,development
93
+ usr_0092,Human 0092,human,mgr_eng,engineering,active,False,development
94
+ usr_0093,Human 0093,human,mgr_hr,hr,active,False,development
95
+ usr_0094,Human 0094,human,mgr_sales,sales,active,False,development
96
+ usr_0095,Human 0095,human,mgr_ops,operations,active,False,development
97
+ usr_0096,Human 0096,human,mgr_vendor,contractors,active,True,development
98
+ usr_0097,Human 0097,human,mgr_finance,finance,active,False,development
99
+ usr_0098,Human 0098,human,mgr_eng,engineering,active,False,development
100
+ usr_0099,Human 0099,human,mgr_hr,hr,active,False,development
101
+ usr_0100,Human 0100,human,mgr_sales,sales,active,False,development
102
+ usr_0101,Human 0101,human,mgr_ops,operations,active,False,test
103
+ usr_0102,Human 0102,human,mgr_vendor,contractors,active,True,test
104
+ usr_0103,Human 0103,human,mgr_finance,finance,active,False,test
105
+ usr_0104,Human 0104,human,mgr_eng,engineering,active,False,test
106
+ usr_0105,Human 0105,human,mgr_hr,hr,active,False,test
107
+ usr_0106,Human 0106,human,mgr_sales,sales,active,False,test
108
+ usr_0107,Human 0107,human,mgr_ops,operations,active,False,test
109
+ usr_0108,Human 0108,human,mgr_vendor,contractors,active,True,test
110
+ usr_0109,Human 0109,human,mgr_finance,finance,active,False,test
111
+ usr_0110,Human 0110,human,mgr_eng,engineering,active,False,test
112
+ usr_0111,Human 0111,human,mgr_hr,hr,active,False,test
113
+ usr_0112,Human 0112,human,mgr_sales,sales,active,False,test
114
+ usr_0113,Human 0113,human,mgr_ops,operations,active,False,test
115
+ usr_0114,Human 0114,human,mgr_vendor,contractors,active,True,test
116
+ usr_0115,Human 0115,human,mgr_finance,finance,active,False,test
117
+ usr_0116,Human 0116,human,mgr_eng,engineering,active,False,test
118
+ usr_0117,Human 0117,human,mgr_hr,hr,active,False,test
119
+ usr_0118,Human 0118,human,mgr_sales,sales,active,False,test
120
+ usr_0119,Human 0119,human,mgr_ops,operations,active,False,test
121
+ usr_0120,Human 0120,human,mgr_vendor,contractors,active,True,test
122
+ usr_0121,Human 0121,human,mgr_finance,finance,active,False,test
123
+ usr_0122,Human 0122,human,mgr_finance,finance,active,False,test
124
+ usr_0123,Human 0123,human,,engineering,active,False,test
125
+ usr_0124,Human 0124,human,mgr_sales,sales,active,False,test
126
+ usr_0125,Human 0125,human,,sales,departed,False,test
127
+ usr_0126,Human 0126,human,mgr_eng,engineering,active,True,test
128
+ usr_0127,Human 0127,human,mgr_vendor,contractors,active,True,test
129
+ usr_0128,Human 0128,human,mgr_ops,operations,active,False,test
130
+ usr_0129,Human 0129,human,mgr_hr,hr,active,False,test
131
+ usr_0130,Human 0130,human,mgr_sales,sales,active,False,test
132
+ usr_0131,Human 0131,human,mgr_ops,operations,active,False,test
133
+ usr_0132,Human 0132,human,mgr_vendor,contractors,active,True,test
134
+ usr_0133,Human 0133,human,mgr_finance,finance,active,False,test
135
+ usr_0134,Human 0134,human,mgr_eng,engineering,active,False,test
136
+ usr_0135,Human 0135,human,mgr_hr,hr,active,False,test
137
+ usr_0136,Human 0136,human,mgr_sales,sales,active,False,test
138
+ usr_0137,Human 0137,human,mgr_ops,operations,active,False,test
139
+ usr_0138,Human 0138,human,mgr_vendor,contractors,active,True,test
140
+ usr_0139,Human 0139,human,mgr_finance,finance,active,False,test
141
+ usr_0140,Human 0140,human,mgr_eng,engineering,active,False,test
142
+ usr_0141,Human 0141,human,mgr_hr,hr,active,False,test
143
+ usr_0142,Human 0142,human,mgr_sales,sales,active,False,test
144
+ usr_0143,Human 0143,human,mgr_ops,operations,active,False,test
145
+ usr_0144,Human 0144,human,mgr_vendor,contractors,active,True,test
146
+ usr_0145,Human 0145,human,mgr_finance,finance,active,False,test
147
+ usr_0146,Human 0146,human,mgr_eng,engineering,active,False,test
148
+ usr_0147,Human 0147,human,mgr_hr,hr,active,False,test
149
+ usr_0148,Human 0148,human,mgr_sales,sales,active,False,test
150
+ usr_0149,Human 0149,human,mgr_ops,operations,active,False,test
151
+ usr_0150,Human 0150,human,mgr_vendor,contractors,active,True,test
152
+ svc_0001,Service 0001,service,mgr_ops,operations,active,False,development
153
+ svc_0002,Service 0002,service,mgr_ops,operations,active,False,development
154
+ svc_0003,Service 0003,service,mgr_ops,operations,active,False,development
155
+ svc_0004,Service 0004,service,mgr_ops,operations,active,False,development
156
+ svc_0005,Service 0005,service,mgr_ops,operations,active,False,development
157
+ svc_0006,Service 0006,service,mgr_ops,operations,active,False,development
158
+ svc_0007,Service 0007,service,mgr_ops,operations,active,False,development
159
+ svc_0008,Service 0008,service,mgr_ops,operations,active,False,development
160
+ svc_0009,Service 0009,service,mgr_ops,operations,active,False,development
161
+ svc_0010,Service 0010,service,mgr_ops,operations,active,False,development
162
+ svc_0011,Service 0011,service,mgr_ops,operations,active,False,test
163
+ svc_0012,Service 0012,service,mgr_ops,operations,active,False,test
164
+ svc_0013,Service 0013,service,mgr_ops,operations,active,False,test
165
+ svc_0014,Service 0014,service,mgr_ops,operations,active,False,test
166
+ svc_0015,Service 0015,service,mgr_ops,operations,active,False,test
167
+ svc_0016,Service 0016,service,mgr_ops,operations,active,False,test
168
+ svc_0017,Service 0017,service,mgr_ops,operations,active,False,test
169
+ svc_0018,Service 0018,service,mgr_ops,operations,active,False,test
170
+ svc_0019,Service 0019,service,mgr_ops,operations,active,False,test
171
+ svc_0020,Service 0020,service,mgr_ops,operations,active,False,test
172
+ brk_0001,Break glass 0001,break_glass,mgr_iam,operations,active,False,development
173
+ brk_0002,Break glass 0002,break_glass,mgr_iam,operations,active,False,development
174
+ brk_0003,Break glass 0003,break_glass,mgr_iam,operations,active,False,development
175
+ brk_0004,Break glass 0004,break_glass,mgr_iam,operations,active,False,development
176
+ brk_0005,Break glass 0005,break_glass,mgr_iam,operations,active,False,development
177
+ brk_0006,Break glass 0006,break_glass,mgr_iam,operations,active,False,test
178
+ brk_0007,Break glass 0007,break_glass,mgr_iam,operations,active,False,test
179
+ brk_0008,Break glass 0008,break_glass,mgr_iam,operations,active,False,test
180
+ brk_0009,Break glass 0009,break_glass,mgr_iam,operations,active,False,test
181
+ brk_0010,Break glass 0010,break_glass,mgr_iam,operations,active,False,test
demo/examples/policies.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "policy_id":"POL-LP-01",
4
+ "title":"Least privilege",
5
+ "text":"A grant is a standing entitlement, not a personality inference. Privileged or high-sensitivity roles that a peer in the same department and identity type does not hold are review candidates. Employee performance and personal traits are out of scope. Do not revoke from this review; ask the owner to attest or reduce the grant."
6
+ },
7
+ {
8
+ "policy_id":"POL-SOD-01",
9
+ "title":"Finance segregation of duties",
10
+ "text":"role-finance-approver and role-finance-payer form a defined SoD pair. One human identity must not hold both. Service and break-glass identities are reviewed under their own policies, not this pair. A SoD finding cites both grant_id values."
11
+ },
12
+ {
13
+ "policy_id":"POL-UNUSED-01",
14
+ "title":"Unused access in the review window",
15
+ "text":"A privileged or high-sensitivity grant with full usage-log coverage and no observed use in the unused-days window is a human review item. Unused is not the same as unneeded. Partial or missing logs make unused status unknown."
16
+ },
17
+ {
18
+ "policy_id":"POL-COV-01",
19
+ "title":"Usage log coverage",
20
+ "text":"If usage_log_coverage is none or partial, missing last_used_at is insufficient evidence. Do not treat an incomplete telemetry window as proof the identity does not need the grant."
21
+ },
22
+ {
23
+ "policy_id":"POL-BG-01",
24
+ "title":"Break-glass accounts",
25
+ "text":"Break-glass roles are expected to stay unused. Long idle time is context, not a revoke suggestion. Confirm the owner and the emergency procedure instead of removing the grant."
26
+ },
27
+ {
28
+ "policy_id":"POL-SVC-01",
29
+ "title":"Service accounts",
30
+ "text":"Service identities may run on a schedule longer than ninety days. Idle human unused rules do not apply. Review ownership and the intended job, not last_used_at alone."
31
+ },
32
+ {
33
+ "policy_id":"POL-SEASON-01",
34
+ "title":"Seasonal and contractor roles",
35
+ "text":"Seasonal contractor roles are idle off-season by design. Flag them as context so an auditor can confirm the season window. Do not treat off-season idle time as excess standing access."
36
+ },
37
+ {
38
+ "policy_id":"POL-OWN-01",
39
+ "title":"Ownership and orphan grants",
40
+ "text":"Every standing grant needs an owner identity. Ownerless human grants and departed identities that still hold high-sensitivity roles are review items. The finding must keep the grant_id."
41
+ },
42
+ {
43
+ "policy_id":"POL-INH-01",
44
+ "title":"Inherited versus direct grants",
45
+ "text":"Inherited base staff roles are shown separately from direct grants. Unused inherited employee-base, email, or vpn membership is context for the bundle, not a surgical revoke."
46
+ }
47
+ ]
demo/examples/policies.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## POL-LP-01 — Least privilege
2
+
3
+ A grant is a standing entitlement, not a personality inference. Privileged or high-sensitivity roles that a peer in the same department and identity type does not hold are review candidates. Employee performance and personal traits are out of scope. Do not revoke from this review; ask the owner to attest or reduce the grant.
4
+
5
+ ## POL-SOD-01 — Finance segregation of duties
6
+
7
+ role-finance-approver and role-finance-payer form a defined SoD pair. One human identity must not hold both. Service and break-glass identities are reviewed under their own policies, not this pair. A SoD finding cites both grant_id values.
8
+
9
+ ## POL-UNUSED-01 — Unused access in the review window
10
+
11
+ A privileged or high-sensitivity grant with full usage-log coverage and no observed use in the unused-days window is a human review item. Unused is not the same as unneeded. Partial or missing logs make unused status unknown.
12
+
13
+ ## POL-COV-01 — Usage log coverage
14
+
15
+ If usage_log_coverage is none or partial, missing last_used_at is insufficient evidence. Do not treat an incomplete telemetry window as proof the identity does not need the grant.
16
+
17
+ ## POL-BG-01 — Break-glass accounts
18
+
19
+ Break-glass roles are expected to stay unused. Long idle time is context, not a revoke suggestion. Confirm the owner and the emergency procedure instead of removing the grant.
20
+
21
+ ## POL-SVC-01 — Service accounts
22
+
23
+ Service identities may run on a schedule longer than ninety days. Idle human unused rules do not apply. Review ownership and the intended job, not last_used_at alone.
24
+
25
+ ## POL-SEASON-01 — Seasonal and contractor roles
26
+
27
+ Seasonal contractor roles are idle off-season by design. Flag them as context so an auditor can confirm the season window. Do not treat off-season idle time as excess standing access.
28
+
29
+ ## POL-OWN-01 — Ownership and orphan grants
30
+
31
+ Every standing grant needs an owner identity. Ownerless human grants and departed identities that still hold high-sensitivity roles are review items. The finding must keep the grant_id.
32
+
33
+ ## POL-INH-01 — Inherited versus direct grants
34
+
35
+ Inherited base staff roles are shown separately from direct grants. Unused inherited employee-base, email, or vpn membership is context for the bundle, not a surgical revoke.
demo/examples/protocol.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # AriaAccessReview laboratory protocol
2
+
3
+ Seed 15. Synthetic IAM snapshot as of 2026-07-01T00:00:00Z. 180 identities, 28 roles, 45 resources. Unused privileged grants with full logs, SoD, ownerless, orphan, and peer-excess are review labels. Break-glass, service, seasonal, inherited base, and missing coverage are not revoke labels. This demo never revokes a grant.
demo/examples/resources.csv ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ resource_id,name,system,owner_id,sensitivity,role_id
2
+ res-hris-profile,hris profile,hris,mgr_iam,low,role-employee-base
3
+ res-mail-mailbox,mail mailbox,mail,mgr_iam,low,role-email-user
4
+ res-vpn-gateway,vpn gateway,vpn,mgr_iam,low,role-vpn-user
5
+ res-erp-read,erp read,erp,mgr_iam,medium,role-finance-reader
6
+ res-ledger-view,ledger view,ledger,mgr_iam,medium,role-finance-reader
7
+ res-erp-approve,erp approve,erp,mgr_iam,high,role-finance-approver
8
+ res-erp-pay,erp pay,erp,mgr_iam,high,role-finance-payer
9
+ res-hris-read,hris read,hris,mgr_iam,medium,role-hr-reader
10
+ res-hris-admin,hris admin,hris,mgr_iam,high,role-hr-admin
11
+ res-git-read,git read,git,mgr_iam,medium,role-eng-repo-read
12
+ res-k8s-prod,k8s prod,k8s,mgr_iam,high,role-eng-prod-deploy
13
+ res-git-admin,git admin,git,mgr_iam,high,role-eng-admin
14
+ res-crm-records,crm records,crm,mgr_iam,medium,role-sales-crm
15
+ res-crm-admin,crm admin,crm,mgr_iam,high,role-sales-admin
16
+ res-metrics,metrics,metrics,mgr_iam,medium,role-ops-monitor
17
+ res-pager,pager,pager,mgr_iam,high,role-ops-admin
18
+ res-contractor-portal,contractor portal,contractor,mgr_iam,medium,role-contractor-seasonal
19
+ res-root-console,root console,root,mgr_iam,critical,role-break-glass-admin
20
+ res-backup-vault,backup vault,backup,mgr_iam,medium,role-svc-backup
21
+ res-ci-runner,ci runner,ci,mgr_iam,medium,role-svc-ci
22
+ res-payroll-bucket,payroll bucket,payroll,mgr_iam,critical,role-payroll-export
23
+ res-idp-admin,idp admin,idp,mgr_iam,critical,role-iam-admin
24
+ res-siem-read,siem read,siem,mgr_iam,high,role-audit-reader
25
+ res-wiki,wiki,wiki,mgr_iam,low,role-wiki-editor
26
+ res-crm-pii,crm pii,crm,mgr_iam,high,role-customer-pii
27
+ res-billing,billing,billing,mgr_iam,high,role-billing-write
28
+ res-legal-vault,legal vault,legal,mgr_iam,high,role-legal-hold
29
+ res-warehouse,warehouse,warehouse,mgr_iam,medium,role-data-warehouse
30
+ res-okta-apps,okta apps,okta,mgr_iam,high,role-okta-app-admin
demo/examples/roles.csv ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ role_id,name,description,owner_id,sensitivity,privileged,seasonal,sod_group,break_glass,service
2
+ role-employee-base,Employee base,Employee base,mgr_iam,low,False,False,,False,False
3
+ role-email-user,Email user,Email user,mgr_iam,low,False,False,,False,False
4
+ role-vpn-user,VPN user,VPN user,mgr_iam,low,False,False,,False,False
5
+ role-finance-reader,Finance reader,Finance reader,mgr_iam,medium,False,False,,False,False
6
+ role-finance-approver,Finance approver,Finance approver,mgr_iam,high,True,False,finance-payment,False,False
7
+ role-finance-payer,Finance payer,Finance payer,mgr_iam,high,True,False,finance-payment,False,False
8
+ role-hr-reader,HR reader,HR reader,mgr_iam,medium,False,False,,False,False
9
+ role-hr-admin,HR admin,HR admin,mgr_iam,high,True,False,,False,False
10
+ role-eng-repo-read,Repo read,Repo read,mgr_iam,medium,False,False,,False,False
11
+ role-eng-prod-deploy,Prod deploy,Prod deploy,mgr_iam,high,True,False,,False,False
12
+ role-eng-admin,Eng admin,Eng admin,mgr_iam,high,True,False,,False,False
13
+ role-sales-crm,Sales CRM,Sales CRM,mgr_iam,medium,False,False,,False,False
14
+ role-sales-admin,Sales admin,Sales admin,mgr_iam,high,True,False,,False,False
15
+ role-ops-monitor,Ops monitor,Ops monitor,mgr_iam,medium,False,False,,False,False
16
+ role-ops-admin,Ops admin,Ops admin,mgr_iam,high,True,False,,False,False
17
+ role-contractor-seasonal,Seasonal contractor,Seasonal contractor,mgr_iam,medium,False,True,,False,False
18
+ role-break-glass-admin,Break-glass admin,Break-glass admin,mgr_iam,critical,True,False,,True,False
19
+ role-svc-backup,Backup job,Backup job,mgr_iam,medium,False,False,,False,True
20
+ role-svc-ci,CI deploy job,CI deploy job,mgr_iam,medium,False,False,,False,True
21
+ role-payroll-export,Payroll export,Payroll export,mgr_iam,critical,True,False,,False,False
22
+ role-iam-admin,IAM admin,IAM admin,mgr_iam,critical,True,False,,False,False
23
+ role-audit-reader,Audit reader,Audit reader,mgr_iam,high,False,False,,False,False
24
+ role-wiki-editor,Wiki editor,Wiki editor,mgr_iam,low,False,False,,False,False
25
+ role-customer-pii,Customer PII,Customer PII,mgr_iam,high,False,False,,False,False
26
+ role-billing-write,Billing write,Billing write,mgr_iam,high,True,False,,False,False
27
+ role-legal-hold,Legal hold,Legal hold,mgr_iam,high,False,False,,False,False
28
+ role-data-warehouse,Warehouse reader,Warehouse reader,mgr_iam,medium,False,False,,False,False
29
+ role-okta-app-admin,App admin,App admin,mgr_iam,high,True,False,,False,False
demo/examples/sample_preview.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_id": "ariaar-ec4def74f943f1d2",
3
+ "status": "ready",
4
+ "status_label": "Grants ready for review \u00b7 Live graph, SoD, peer comparison, and policy BM25",
5
+ "kpis": {
6
+ "n_raw": 658,
7
+ "n_valid": 658,
8
+ "n_dropped": 0,
9
+ "n_grants": 658,
10
+ "n_identities": 180,
11
+ "n_security_review": 15,
12
+ "n_context": 15,
13
+ "n_insufficient": 2,
14
+ "n_sod": 4,
15
+ "n_ownerless": 3,
16
+ "parse_coverage": 1.0,
17
+ "event_recall": 1.0,
18
+ "precision": 0.8571,
19
+ "precision_at_k": 0.8571,
20
+ "protected_as_security": 0,
21
+ "seconds": 1.385,
22
+ "threshold": 90.0,
23
+ "model_names": "rules+peer+policy-bm25",
24
+ "review_capacity": 12
25
+ },
26
+ "kpi_html": "<div class='kpi-grid'><article class='kpi-card'><p class='kpi-label'>Needs access review</p><p class='kpi-value'>15</p><p class='kpi-sub'>15 context grants</p></article><article class='kpi-card'><p class='kpi-label'>Parse coverage</p><p class='kpi-value'>100%</p><p class='kpi-sub'>658/658</p></article><article class='kpi-card'><p class='kpi-label'>Incomplete rows</p><p class='kpi-value'>0</p><p class='kpi-sub'>missing identity/role</p></article><article class='kpi-card'><p class='kpi-label'>Test event recall</p><p class='kpi-value'>100%</p><p class='kpi-sub'>unused-90d baseline: 0.2</p></article><article class='kpi-card'><p class='kpi-label'>Precision @ 12</p><p class='kpi-value'>86%</p><p class='kpi-sub'>held-out review capacity</p></article><article class='kpi-card'><p class='kpi-label'>Protected as review</p><p class='kpi-value'>0</p><p class='kpi-sub'>break-glass / service / seasonal</p></article><article class='kpi-card'><p class='kpi-label'>Analyze time</p><p class='kpi-value'>1.4s</p><p class='kpi-sub'>T=90</p></article></div>",
27
+ "validation_ok": true,
28
+ "precomputed": true
29
+ }
demo/examples/schema.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_id": "ariaaccess.grant_review.v1",
3
+ "as_of": "2026-07-01T00:00:00Z",
4
+ "required_grant_fields": [
5
+ "identity_id",
6
+ "role_id"
7
+ ],
8
+ "identity_types": [
9
+ "human",
10
+ "service",
11
+ "break_glass"
12
+ ],
13
+ "grant_kinds": [
14
+ "direct",
15
+ "inherited"
16
+ ],
17
+ "coverage": [
18
+ "full",
19
+ "partial",
20
+ "none"
21
+ ]
22
+ }
demo/examples/splits.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "development": "identities usr_0001-usr_0100, svc_0001-svc_0010, brk_0001-brk_0005",
3
+ "test": "identities usr_0101-usr_0150, svc_0011-svc_0020, brk_0006-brk_0010",
4
+ "note": "Gold cases stay with their identity. Peer comparison uses the same department and identity type."
5
+ }
demo/requirements.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ pandas>=2.2.0,<3
2
+ pydantic>=2.6.0,<3
3
+ plotly>=5.24.0,<7
4
+ numpy>=1.26.0,<3
5
+ networkx>=3.2,<4
6
+ scikit-learn>=1.4.0,<2
demo/src/__init__.py ADDED
@@ -0,0 +1 @@
 
 
1
+ """AriaAccessReview — least-privilege and unused-grant review for IAM auditors."""
demo/src/detectors.py ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ import pandas as pd
6
+
7
+ from src.domain import (
8
+ AlertClass,
9
+ Confidence,
10
+ Method,
11
+ Severity,
12
+ Tag,
13
+ Workflow,
14
+ )
15
+ from src.retrieval import policies_for_tag
16
+
17
+
18
+ def _high_value(row: pd.Series) -> bool:
19
+ return bool(row.get("privileged")) or int(row.get("sensitivity_rank") or 0) >= 3
20
+
21
+
22
+ def _days_value(row: pd.Series) -> float | None:
23
+ days = row.get("days_unused")
24
+ if days is None or (isinstance(days, float) and pd.isna(days)):
25
+ return None
26
+ return float(days)
27
+
28
+
29
+ def _unused(row: pd.Series, unused_days: float) -> bool:
30
+ days = _days_value(row)
31
+ return days is not None and days >= float(unused_days)
32
+
33
+
34
+ def _unknown_unused(row: pd.Series) -> bool:
35
+ coverage = str(row.get("usage_log_coverage") or "full")
36
+ return _days_value(row) is None and coverage in {"none", "partial"}
37
+
38
+
39
+ def classify_row(row: pd.Series, unused_days: float) -> dict[str, Any]:
40
+ methods: list[str] = []
41
+ unused = _unused(row, unused_days)
42
+ unknown = _unknown_unused(row)
43
+ coverage = str(row.get("usage_log_coverage") or "full")
44
+ break_glass = bool(row.get("is_break_glass"))
45
+ service = bool(row.get("is_service"))
46
+ seasonal = bool(row.get("is_seasonal"))
47
+ inherited_base = bool(row.get("is_inherited")) and bool(row.get("is_base_role"))
48
+ ownerless = not bool(row.get("has_owner")) and str(row.get("identity_type") or "") == "human"
49
+ orphan = str(row.get("status") or "") == "departed"
50
+ sod = int(row.get("sod_conflict") or 0) == 1
51
+ peer = int(row.get("extra_privileged") or 0) >= 1 and str(row.get("identity_type") or "") == "human"
52
+
53
+ tag = Tag.NONE
54
+ alert = AlertClass.NONE
55
+ severity = Severity.LOW
56
+ confidence = Confidence.LOW
57
+ workflow = Workflow.CLEAR
58
+ score = 0.0
59
+
60
+ if sod:
61
+ tag, alert, severity, confidence, workflow, score = (
62
+ Tag.SOD,
63
+ AlertClass.SECURITY_REVIEW,
64
+ Severity.HIGH,
65
+ Confidence.HIGH,
66
+ Workflow.NEEDS_REVIEW,
67
+ 5.0,
68
+ )
69
+ methods.append(Method.SOD_ONLY.value)
70
+ elif orphan and _high_value(row):
71
+ tag, alert, severity, confidence, workflow, score = (
72
+ Tag.ORPHAN,
73
+ AlertClass.SECURITY_REVIEW,
74
+ Severity.HIGH,
75
+ Confidence.HIGH,
76
+ Workflow.NEEDS_REVIEW,
77
+ 4.6,
78
+ )
79
+ methods.append(Method.OWNERLESS_ONLY.value)
80
+ elif ownerless and _high_value(row):
81
+ tag, alert, severity, confidence, workflow, score = (
82
+ Tag.OWNERLESS,
83
+ AlertClass.SECURITY_REVIEW,
84
+ Severity.HIGH,
85
+ Confidence.MEDIUM,
86
+ Workflow.NEEDS_REVIEW,
87
+ 4.2,
88
+ )
89
+ methods.append(Method.OWNERLESS_ONLY.value)
90
+ elif unused and break_glass:
91
+ tag, alert, severity, confidence, workflow, score = (
92
+ Tag.BREAK_GLASS,
93
+ AlertClass.CONTEXT,
94
+ Severity.LOW,
95
+ Confidence.HIGH,
96
+ Workflow.CONTEXT_ONLY,
97
+ 1.0,
98
+ )
99
+ methods.append(Method.UNUSED_90D.value)
100
+ elif unused and service:
101
+ tag, alert, severity, confidence, workflow, score = (
102
+ Tag.SERVICE,
103
+ AlertClass.CONTEXT,
104
+ Severity.LOW,
105
+ Confidence.HIGH,
106
+ Workflow.CONTEXT_ONLY,
107
+ 1.0,
108
+ )
109
+ methods.append(Method.UNUSED_90D.value)
110
+ elif unused and seasonal:
111
+ tag, alert, severity, confidence, workflow, score = (
112
+ Tag.SEASONAL,
113
+ AlertClass.CONTEXT,
114
+ Severity.LOW,
115
+ Confidence.MEDIUM,
116
+ Workflow.CONTEXT_ONLY,
117
+ 1.2,
118
+ )
119
+ methods.append(Method.UNUSED_90D.value)
120
+ elif unused and inherited_base:
121
+ tag, alert, severity, confidence, workflow, score = (
122
+ Tag.INHERITED,
123
+ AlertClass.CONTEXT,
124
+ Severity.LOW,
125
+ Confidence.MEDIUM,
126
+ Workflow.CONTEXT_ONLY,
127
+ 1.1,
128
+ )
129
+ methods.append(Method.UNUSED_90D.value)
130
+ elif (unused or unknown) and coverage in {"none", "partial"} and _high_value(row):
131
+ tag, alert, severity, confidence, workflow, score = (
132
+ Tag.COVERAGE,
133
+ AlertClass.INSUFFICIENT,
134
+ Severity.MEDIUM,
135
+ Confidence.LOW,
136
+ Workflow.INSUFFICIENT,
137
+ 2.0,
138
+ )
139
+ methods.append(Method.UNUSED_90D.value)
140
+ elif unused and coverage == "full" and _high_value(row):
141
+ tag, alert, severity, confidence, workflow, score = (
142
+ Tag.UNUSED,
143
+ AlertClass.SECURITY_REVIEW,
144
+ Severity.HIGH if bool(row.get("privileged")) else Severity.MEDIUM,
145
+ Confidence.MEDIUM,
146
+ Workflow.NEEDS_REVIEW,
147
+ 4.0,
148
+ )
149
+ methods.append(Method.UNUSED_90D.value)
150
+ elif peer:
151
+ tag, alert, severity, confidence, workflow, score = (
152
+ Tag.PEER,
153
+ AlertClass.SECURITY_REVIEW,
154
+ Severity.MEDIUM,
155
+ Confidence.MEDIUM,
156
+ Workflow.NEEDS_REVIEW,
157
+ 3.6,
158
+ )
159
+ methods.append(Method.PEER_JACCARD.value)
160
+ elif unknown:
161
+ tag, alert, severity, confidence, workflow, score = (
162
+ Tag.COVERAGE,
163
+ AlertClass.INSUFFICIENT,
164
+ Severity.LOW,
165
+ Confidence.LOW,
166
+ Workflow.INSUFFICIENT,
167
+ 1.4,
168
+ )
169
+ methods.append(Method.UNUSED_90D.value)
170
+
171
+ if methods:
172
+ methods.append(Method.RULES.value)
173
+ methods.append(Method.ARIAACCESS.value)
174
+ citations = policies_for_tag(tag.value, f"{row.get('role_id')} {row.get('identity_type')} {coverage}")
175
+ return {
176
+ "tag": tag.value,
177
+ "alert_class": alert.value,
178
+ "severity": severity.value,
179
+ "confidence": confidence.value,
180
+ "workflow": workflow.value,
181
+ "methods_fired": methods,
182
+ "review_score": score,
183
+ "policy_ids": [item.policy_id for item in citations],
184
+ "citations": [item.model_dump() for item in citations],
185
+ }
186
+
187
+
188
+ def apply_detectors(grants: pd.DataFrame, unused_days: float = 90.0) -> pd.DataFrame:
189
+ if grants.empty:
190
+ return grants
191
+ scored = grants.copy()
192
+ applied = [classify_row(pd.Series(row), unused_days) for row in scored.to_dict(orient="records")]
193
+ extra = pd.DataFrame(applied)
194
+ for column in extra.columns:
195
+ scored[column] = extra[column].to_numpy()
196
+ scored["finding_id"] = [f"fnd_{grant_id}" for grant_id in scored["grant_id"].astype(str)]
197
+ return scored
198
+
199
+
200
+ def method_flags(grants: pd.DataFrame, method: str, unused_days: float) -> pd.Series:
201
+ if grants.empty:
202
+ return pd.Series(dtype=bool)
203
+ unused = grants["days_unused"].isna() | (grants["days_unused"].fillna(-1) >= float(unused_days))
204
+ if method == Method.UNUSED_90D.value:
205
+ return unused.fillna(False)
206
+ if method == Method.SOD_ONLY.value:
207
+ return grants["sod_conflict"].fillna(0).astype(int).eq(1)
208
+ if method == Method.OWNERLESS_ONLY.value:
209
+ return grants["has_owner"].fillna(0).astype(float).eq(0) & grants["identity_type"].eq("human")
210
+ if method == Method.PEER_JACCARD.value:
211
+ return grants["extra_privileged"].fillna(0).astype(int).ge(1) & grants["identity_type"].eq("human")
212
+ if method == Method.RULES.value:
213
+ return grants["alert_class"].isin({AlertClass.SECURITY_REVIEW.value, AlertClass.INSUFFICIENT.value})
214
+ if method == Method.ARIAACCESS.value:
215
+ return grants["alert_class"].eq(AlertClass.SECURITY_REVIEW.value)
216
+ return pd.Series(False, index=grants.index)
demo/src/domain.py ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from enum import Enum
4
+
5
+ PRODUCT = "AriaAccessReview"
6
+ CODE_VERSION = "1.0.0"
7
+ SCHEMA_ID = "ariaaccess.grant_review.v1"
8
+ SNAPSHOT_ID = "lab-access-2026-07-01"
9
+ DEFAULT_SEED = 15
10
+ MAX_IDENTITIES = 200
11
+ MAX_ROLES = 30
12
+ MAX_RESOURCES = 50
13
+ MAX_GRANTS = 8_000
14
+ MAX_BYTES = 10 * 1024 * 1024
15
+ MAX_UI_ROWS = 400
16
+ MIN_VALID_GRANTS = 40
17
+ DEFAULT_UNUSED_DAYS = 90
18
+ REVIEW_CAPACITY = 12
19
+ AS_OF_ISO = "2026-07-01T00:00:00Z"
20
+ USAGE_WINDOW_DAYS = 90
21
+
22
+ REQUIRED_GRANT_FIELDS = ("identity_id", "role_id")
23
+ ID_FIELDS = ("grant_id", "identity_id", "role_id", "resource_id", "owner_id")
24
+
25
+
26
+ class Split(str, Enum):
27
+ DEVELOPMENT = "development"
28
+ TEST = "test"
29
+
30
+
31
+ class Method(str, Enum):
32
+ UNUSED_90D = "unused_90d"
33
+ SOD_ONLY = "sod_only"
34
+ OWNERLESS_ONLY = "ownerless_only"
35
+ RULES = "rules"
36
+ PEER_JACCARD = "peer_jaccard"
37
+ ARIAACCESS = "ariaaccessreview"
38
+
39
+
40
+ class IdentityType(str, Enum):
41
+ HUMAN = "human"
42
+ SERVICE = "service"
43
+ BREAK_GLASS = "break_glass"
44
+
45
+
46
+ class GrantKind(str, Enum):
47
+ DIRECT = "direct"
48
+ INHERITED = "inherited"
49
+
50
+
51
+ class Coverage(str, Enum):
52
+ FULL = "full"
53
+ PARTIAL = "partial"
54
+ NONE = "none"
55
+
56
+
57
+ class Sensitivity(str, Enum):
58
+ LOW = "low"
59
+ MEDIUM = "medium"
60
+ HIGH = "high"
61
+ CRITICAL = "critical"
62
+
63
+
64
+ class Family(str, Enum):
65
+ BACKGROUND = "background"
66
+ UNUSED_PRIVILEGED = "unused_privileged"
67
+ SOD_CONFLICT = "sod_conflict"
68
+ OWNERLESS = "ownerless"
69
+ ORPHAN_IDENTITY = "orphan_identity"
70
+ PEER_EXCESS = "peer_excess"
71
+ UNUSED_INCOMPLETE_LOG = "unused_incomplete_log"
72
+ UNUSED_BREAK_GLASS = "unused_break_glass"
73
+ UNUSED_SERVICE = "unused_service"
74
+ UNUSED_SEASONAL = "unused_seasonal"
75
+ UNUSED_INHERITED_BASE = "unused_inherited_base"
76
+
77
+
78
+ class AlertClass(str, Enum):
79
+ SECURITY_REVIEW = "security_review"
80
+ CONTEXT = "context"
81
+ INSUFFICIENT = "insufficient_evidence"
82
+ NONE = "none"
83
+
84
+
85
+ class Tag(str, Enum):
86
+ UNUSED = "unused_privileged"
87
+ SOD = "sod_conflict"
88
+ OWNERLESS = "ownerless"
89
+ ORPHAN = "orphan_identity"
90
+ PEER = "peer_excess"
91
+ COVERAGE = "incomplete_usage_log"
92
+ BREAK_GLASS = "break_glass_unused"
93
+ SERVICE = "service_unused"
94
+ SEASONAL = "seasonal_unused"
95
+ INHERITED = "inherited_base_unused"
96
+ NONE = "none"
97
+
98
+
99
+ class Severity(str, Enum):
100
+ LOW = "low"
101
+ MEDIUM = "medium"
102
+ HIGH = "high"
103
+
104
+
105
+ class Confidence(str, Enum):
106
+ LOW = "low"
107
+ MEDIUM = "medium"
108
+ HIGH = "high"
109
+
110
+
111
+ class Workflow(str, Enum):
112
+ NEEDS_REVIEW = "needs_review"
113
+ CONTEXT_ONLY = "context_only"
114
+ INSUFFICIENT = "insufficient_evidence"
115
+ CLEAR = "no_alert"
116
+
117
+
118
+ class Verdict(str, Enum):
119
+ READY = "ready"
120
+ INSUFFICIENT = "insufficient_evidence"
121
+ INVALID = "invalid_input"
122
+
123
+
124
+ class Feedback(str, Enum):
125
+ CORRECT = "correct"
126
+ FALSE_POSITIVE = "false_positive"
127
+ INSUFFICIENT = "insufficient_evidence"
128
+ NEEDS_REVIEW = "needs_review"
129
+
130
+
131
+ class ClaimKind(str, Enum):
132
+ OBSERVED = "observed"
133
+ INFERRED = "inferred"
134
+ ACTION = "action"
135
+ UNKNOWN = "unknown"
136
+
137
+
138
+ REVIEW_FAMILIES = {
139
+ Family.UNUSED_PRIVILEGED.value,
140
+ Family.SOD_CONFLICT.value,
141
+ Family.OWNERLESS.value,
142
+ Family.ORPHAN_IDENTITY.value,
143
+ Family.PEER_EXCESS.value,
144
+ }
145
+ CONTEXT_FAMILIES = {
146
+ Family.UNUSED_BREAK_GLASS.value,
147
+ Family.UNUSED_SERVICE.value,
148
+ Family.UNUSED_SEASONAL.value,
149
+ Family.UNUSED_INHERITED_BASE.value,
150
+ }
151
+ INSUFFICIENT_FAMILIES = {
152
+ Family.UNUSED_INCOMPLETE_LOG.value,
153
+ }
154
+ PROTECTED_FAMILIES = CONTEXT_FAMILIES
155
+ SENSITIVITY_RANK = {
156
+ Sensitivity.LOW.value: 1,
157
+ Sensitivity.MEDIUM.value: 2,
158
+ Sensitivity.HIGH.value: 3,
159
+ Sensitivity.CRITICAL.value: 4,
160
+ }
161
+ BASE_ROLES = {"role-employee-base", "role-email-user", "role-vpn-user"}
162
+ SOD_PAIRS = (("role-finance-approver", "role-finance-payer"),)
163
+ FEATURE_COLUMNS = (
164
+ "days_unused",
165
+ "coverage_score",
166
+ "is_privileged",
167
+ "is_seasonal",
168
+ "is_service",
169
+ "is_break_glass",
170
+ "is_inherited",
171
+ "has_owner",
172
+ "peer_jaccard",
173
+ "extra_privileged",
174
+ "sod_conflict",
175
+ "sensitivity_rank",
176
+ )
demo/src/explain.py ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from src.domain import MIN_VALID_GRANTS, AlertClass, ClaimKind, Tag, Verdict
4
+ from src.i18n import t
5
+ from src.schemas import Claim, GrantFinding, PipelineResult, PolicyHit, ValidationReport
6
+
7
+
8
+ def status_label(lang: str, verdict: Verdict, live: bool) -> str:
9
+ suffix = t(lang, "live_note") if live else t(lang, "cached_note")
10
+ return f"{t(lang, f'verdict_{verdict.value}')} · {suffix}"
11
+
12
+
13
+ def decide_verdict(n_valid: int, report: ValidationReport) -> Verdict:
14
+ if not report.ok:
15
+ return Verdict.INVALID
16
+ if n_valid < MIN_VALID_GRANTS:
17
+ return Verdict.INSUFFICIENT
18
+ return Verdict.READY
19
+
20
+
21
+ def reasons(lang: str, result: PipelineResult) -> list[str]:
22
+ kpis = result.kpis
23
+ lines = [
24
+ t(lang, "reason_counts").format(
25
+ valid=kpis.n_valid,
26
+ raw=kpis.n_raw,
27
+ dropped=kpis.n_dropped,
28
+ grants=kpis.n_grants,
29
+ identities=kpis.n_identities,
30
+ ),
31
+ t(lang, "reason_alerts").format(
32
+ security=kpis.n_security_review,
33
+ context=kpis.n_context,
34
+ insufficient=kpis.n_insufficient,
35
+ threshold=int(kpis.threshold),
36
+ ),
37
+ t(lang, "reason_eval").format(
38
+ recall="—" if kpis.event_recall is None else f"{100 * kpis.event_recall:.0f}%",
39
+ precision="—" if kpis.precision is None else f"{100 * kpis.precision:.0f}%",
40
+ protected=kpis.protected_as_security,
41
+ ),
42
+ t(lang, "reason_protected"),
43
+ t(lang, "reason_score"),
44
+ ]
45
+ for issue in result.validation.issues[:6]:
46
+ lines.append(f"{issue.severity}: {issue.message}")
47
+ return lines
48
+
49
+
50
+ def annotate_finding(row: GrantFinding) -> GrantFinding:
51
+ resources = ", ".join(row.resource_ids) or "—"
52
+ days = "unknown" if row.days_unused is None else f"{row.days_unused:.0f}"
53
+ row.observed = [
54
+ f"grant `{row.grant_id}` assigns `{row.role_id}` to `{row.identity_id}` ({row.identity_type}, {row.department})",
55
+ f"kind={row.grant_kind}"
56
+ + (f" inherited_from=`{row.inherited_from}`" if row.inherited_from else "")
57
+ + f"; owner=`{row.owner_id or 'missing'}`; last_used=`{row.last_used_at or 'none'}`",
58
+ f"coverage={row.usage_log_coverage}; days_unused={days}; usage_count={row.usage_count}; resources={resources}",
59
+ f"privileged={row.privileged}; seasonal={row.seasonal}; sensitivity={row.sensitivity}",
60
+ ]
61
+ cites = ", ".join(item.policy_id for item in row.citations) or ", ".join(row.policy_ids) or "—"
62
+ row.inferred = [
63
+ f"tag `{row.tag.value}` is a review hint, not a revoke decision",
64
+ f"peer_jaccard={row.peer_jaccard:.2f}; extra_privileged={row.extra_privileged}; sod_conflict={row.sod_conflict}",
65
+ f"methods: {', '.join(row.methods_fired) or 'none'}; policies: {cites}",
66
+ ]
67
+ if row.gold_event_ids:
68
+ row.inferred.append(f"overlaps lab event {', '.join(row.gold_event_ids)} ({row.gold_family or 'unlabeled'})")
69
+ actions = {
70
+ Tag.SOD: "Two finance payment roles sit on one human. Ask the owner to split the grants. This demo never revokes access.",
71
+ Tag.UNUSED: "Privileged grant looks idle under full logs. Confirm business need before any removal. Unused is not unneeded.",
72
+ Tag.OWNERLESS: "The standing grant has no owner. Assign an owner, then decide. Do not auto-revoke.",
73
+ Tag.ORPHAN: "A departed identity still holds a sensitive grant. Review for removal with the last manager. No automatic revoke.",
74
+ Tag.PEER: "This privileged role is not held by department peers. Confirm the exception; do not infer it from job title.",
75
+ Tag.COVERAGE: "Usage logs are missing or partial. Idle time is unknown, not proof the grant is unnecessary.",
76
+ Tag.BREAK_GLASS: "Break-glass idle time is expected. Confirm the emergency owner; do not remove the grant from this screen.",
77
+ Tag.SERVICE: "Service accounts may stay idle between jobs. Review the owner and schedule, not last_used_at alone.",
78
+ Tag.SEASONAL: "Seasonal contractor access is idle off-season by design. Confirm the season window.",
79
+ Tag.INHERITED: "Unused inherited base membership is bundle context, not a surgical revoke of one role.",
80
+ }
81
+ row.action = actions.get(row.tag, "No standing-access review item. Keep as background.")
82
+ row.claims = [
83
+ Claim(kind=ClaimKind.OBSERVED, text=row.observed[0], locator=row.grant_id, field="grant"),
84
+ Claim(kind=ClaimKind.INFERRED, text=row.inferred[0], locator=row.finding_id, field="tag"),
85
+ Claim(kind=ClaimKind.ACTION, text=row.action, locator=row.finding_id, field="action"),
86
+ ]
87
+ if row.alert_class == AlertClass.NONE and not row.gold_event_ids:
88
+ row.claims.append(
89
+ Claim(kind=ClaimKind.UNKNOWN, text="No authored lab event overlaps this grant.", locator=row.finding_id, field="gold")
90
+ )
91
+ return row
92
+
93
+
94
+ def finding_markdown(lang: str, row: GrantFinding | None) -> str:
95
+ if row is None:
96
+ return t(lang, "empty_card")
97
+ observed = "\n".join(f"- {text}" for text in row.observed) or "- —"
98
+ inferred = "\n".join(f"- {text}" for text in row.inferred) or "- —"
99
+ cites = "\n".join(f"- `{item.policy_id}` {item.title}: {item.excerpt}" for item in row.citations) or "- —"
100
+ return (
101
+ f"### `{row.finding_id}`\n\n"
102
+ f"**{t(lang, 'observed')}**\n{observed}\n\n"
103
+ f"**{t(lang, 'inferred')}**\n{inferred}\n\n"
104
+ f"**{t(lang, 'action')}**\n- {row.action}\n\n"
105
+ f"**{t(lang, 'policy')}**\n{cites}\n\n"
106
+ f"{t(lang, 'severity')} `{row.severity.value}` · {t(lang, 'confidence')} `{row.confidence.value}` · "
107
+ f"{t(lang, 'workflow')} `{row.workflow.value}` · gold `{row.gold_family or '—'}`"
108
+ )
109
+
110
+
111
+ def policy_markdown(lang: str, row: GrantFinding | None) -> str:
112
+ if row is None:
113
+ return t(lang, "empty_policy")
114
+ if not row.citations:
115
+ return f"**{t(lang, 'policy')}**\n\n- {t(lang, 'no_policy')}"
116
+ lines = [f"**{t(lang, 'policy')}** `{row.grant_id}`\n"]
117
+ for item in row.citations:
118
+ lines.append(f"- `{item.policy_id}` **{item.title}** (BM25 {item.score:.2f})")
119
+ lines.append(f" - {item.excerpt}")
120
+ lines.append(f"\n- {t(lang, 'policy_note')}")
121
+ return "\n".join(lines)
122
+
123
+
124
+ def citation_hits(raw: list[dict] | list[PolicyHit]) -> list[PolicyHit]:
125
+ hits: list[PolicyHit] = []
126
+ for item in raw or []:
127
+ if isinstance(item, PolicyHit):
128
+ hits.append(item)
129
+ else:
130
+ hits.append(PolicyHit(**item))
131
+ return hits
demo/src/features.py ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from datetime import datetime, timezone
4
+ from typing import Any
5
+
6
+ import pandas as pd
7
+
8
+ from src.domain import (
9
+ AS_OF_ISO,
10
+ BASE_ROLES,
11
+ SENSITIVITY_RANK,
12
+ SOD_PAIRS,
13
+ )
14
+ from src.parsers import parse_timestamp
15
+ from src.redaction import redact_grant, redact_identity, redact_resource, redact_role
16
+
17
+ UTC = timezone.utc
18
+ AS_OF = datetime(2026, 7, 1, tzinfo=UTC)
19
+
20
+
21
+ def _as_list(value: Any) -> list[str]:
22
+ if isinstance(value, list):
23
+ return [str(item) for item in value if item]
24
+ return [part.strip() for part in str(value or "").split(",") if part.strip()]
25
+
26
+
27
+ def grants_frame(rows: list[dict[str, Any]]) -> pd.DataFrame:
28
+ cleaned = [redact_grant(row) for row in rows]
29
+ frame = pd.DataFrame(cleaned)
30
+ if frame.empty:
31
+ return frame
32
+ if "grant_id" in frame.columns:
33
+ missing = frame["grant_id"].eq("")
34
+ if missing.any():
35
+ frame.loc[missing, "grant_id"] = [f"gnt_uploaded_{index:04d}" for index in range(int(missing.sum()))]
36
+ return frame
37
+
38
+
39
+ def identities_frame(rows: list[dict[str, Any]]) -> pd.DataFrame:
40
+ return pd.DataFrame([redact_identity(row) for row in rows]) if rows else pd.DataFrame()
41
+
42
+
43
+ def roles_frame(rows: list[dict[str, Any]]) -> pd.DataFrame:
44
+ return pd.DataFrame([redact_role(row) for row in rows]) if rows else pd.DataFrame()
45
+
46
+
47
+ def resources_frame(rows: list[dict[str, Any]]) -> pd.DataFrame:
48
+ return pd.DataFrame([redact_resource(row) for row in rows]) if rows else pd.DataFrame()
49
+
50
+
51
+ def _days_unused(last_used_at: str, coverage: str, unused_days: float) -> float | None:
52
+ if coverage in {"none", "partial"} and not last_used_at:
53
+ return None
54
+ parsed = parse_timestamp(last_used_at)
55
+ if parsed is None:
56
+ return float(unused_days) if coverage == "full" else None
57
+ return max(0.0, (AS_OF - parsed).total_seconds() / 86400.0)
58
+
59
+
60
+ def _peer_maps(frame: pd.DataFrame) -> tuple[dict[str, set[str]], dict[str, list[str]]]:
61
+ roles_by_identity: dict[str, set[str]] = {}
62
+ peers: dict[str, list[str]] = {}
63
+ if frame.empty:
64
+ return roles_by_identity, peers
65
+ for identity_id, chunk in frame.groupby("identity_id"):
66
+ roles_by_identity[str(identity_id)] = set(chunk["role_id"].astype(str))
67
+ people = frame.loc[frame["identity_type"].eq("human"), ["identity_id", "department"]].drop_duplicates()
68
+ for department, chunk in people.groupby("department"):
69
+ members = [str(item) for item in chunk["identity_id"]]
70
+ for identity_id in members:
71
+ peers[identity_id] = [item for item in members if item != identity_id]
72
+ _ = department
73
+ return roles_by_identity, peers
74
+
75
+
76
+ def _jaccard(left: set[str], right: set[str]) -> float:
77
+ if not left and not right:
78
+ return 1.0
79
+ union = left | right
80
+ if not union:
81
+ return 0.0
82
+ return len(left & right) / len(union)
83
+
84
+
85
+ def attach_features(grants: pd.DataFrame, unused_days: float = 90.0) -> pd.DataFrame:
86
+ frame = grants.copy()
87
+ if frame.empty:
88
+ return frame
89
+ frame["resource_ids"] = frame["resource_ids"].map(_as_list)
90
+ role_sets, peers = _peer_maps(frame)
91
+ sod_left, sod_right = SOD_PAIRS[0]
92
+ rows = []
93
+ for row in frame.to_dict(orient="records"):
94
+ identity_id = str(row["identity_id"])
95
+ held = role_sets.get(identity_id, set())
96
+ peer_ids = peers.get(identity_id, [])
97
+ peer_roles: list[set[str]] = [role_sets.get(peer, set()) for peer in peer_ids]
98
+ majority: set[str] = set()
99
+ if peer_roles:
100
+ for role_id in held:
101
+ share = sum(role_id in item for item in peer_roles) / len(peer_roles)
102
+ if share >= 0.5:
103
+ majority.add(role_id)
104
+ extra = held - majority if peer_roles else set()
105
+ extra_privileged = 0
106
+ if bool(row.get("privileged")) and row["role_id"] in extra:
107
+ extra_privileged = 1
108
+ jaccards = [_jaccard(held, item) for item in peer_roles] if peer_roles else [1.0]
109
+ sod = int(
110
+ row["identity_type"] == "human"
111
+ and sod_left in held
112
+ and sod_right in held
113
+ and row["role_id"] in {sod_left, sod_right}
114
+ )
115
+ days = _days_unused(str(row.get("last_used_at") or ""), str(row.get("usage_log_coverage") or "full"), unused_days)
116
+ coverage = str(row.get("usage_log_coverage") or "full")
117
+ coverage_score = {"full": 1.0, "partial": 0.5, "none": 0.0}.get(coverage, 0.0)
118
+ rows.append(
119
+ {
120
+ **row,
121
+ "days_unused": days,
122
+ "coverage_score": coverage_score,
123
+ "is_privileged": float(bool(row.get("privileged"))),
124
+ "is_seasonal": float(bool(row.get("seasonal") or row.get("seasonal_identity"))),
125
+ "is_service": float(row.get("identity_type") == "service" or row.get("service")),
126
+ "is_break_glass": float(row.get("identity_type") == "break_glass" or row.get("break_glass")),
127
+ "is_inherited": float(str(row.get("grant_kind") or "") == "inherited"),
128
+ "has_owner": float(bool(str(row.get("owner_id") or "").strip())),
129
+ "peer_jaccard": round(float(sum(jaccards) / len(jaccards)), 4),
130
+ "extra_privileged": extra_privileged,
131
+ "sod_conflict": sod,
132
+ "sensitivity_rank": SENSITIVITY_RANK.get(str(row.get("sensitivity") or "low"), 1),
133
+ "is_base_role": float(str(row.get("role_id") or "") in BASE_ROLES),
134
+ "as_of": AS_OF_ISO,
135
+ }
136
+ )
137
+ return pd.DataFrame(rows)
138
+
139
+
140
+ def attach_gold(grants: pd.DataFrame, gold: pd.DataFrame | None) -> pd.DataFrame:
141
+ frame = grants.copy()
142
+ if frame.empty:
143
+ return frame
144
+ frame["gold_event_ids"] = frame.get("lab_event_id", "").fillna("").astype(str)
145
+ frame["gold_family"] = frame.get("lab_family", "").fillna("").astype(str)
146
+ if gold is None or gold.empty:
147
+ return frame
148
+ by_identity: dict[str, list[dict[str, Any]]] = {}
149
+ for event in gold.to_dict(orient="records"):
150
+ by_identity.setdefault(str(event.get("identity_id") or ""), []).append(event)
151
+ event_ids = []
152
+ families = []
153
+ for row in frame.to_dict(orient="records"):
154
+ current_ids = [part for part in str(row.get("gold_event_ids") or "").split(",") if part]
155
+ current_family = str(row.get("gold_family") or "")
156
+ for event in by_identity.get(str(row["identity_id"]), []):
157
+ role_id = str(event.get("role_id") or "")
158
+ if role_id and role_id != str(row.get("role_id") or "") and str(event.get("family") or "") != "sod_conflict":
159
+ continue
160
+ if event["event_id"] not in current_ids:
161
+ current_ids.append(event["event_id"])
162
+ current_family = current_family or str(event.get("family") or "")
163
+ event_ids.append(current_ids)
164
+ families.append(current_family)
165
+ frame["gold_event_ids"] = event_ids
166
+ frame["gold_family"] = families
167
+ return frame
demo/src/generator.py ADDED
@@ -0,0 +1,731 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import json
4
+ from datetime import datetime, timedelta, timezone
5
+ from pathlib import Path
6
+ from typing import Any
7
+
8
+ import numpy as np
9
+ import pandas as pd
10
+
11
+ from src.domain import AS_OF_ISO, DEFAULT_SEED, Family, Split, USAGE_WINDOW_DAYS
12
+ from src.policies import policy_records
13
+ from src.schemas import LabEvent
14
+
15
+ UTC = timezone.utc
16
+ AS_OF = datetime(2026, 7, 1, tzinfo=UTC)
17
+ N_HUMANS = 150
18
+ N_SERVICE = 20
19
+ N_BREAK = 10
20
+ DEPARTMENTS = ("finance", "engineering", "hr", "sales", "operations", "contractors")
21
+ DEPT_OWNERS = {
22
+ "finance": "mgr_finance",
23
+ "engineering": "mgr_eng",
24
+ "hr": "mgr_hr",
25
+ "sales": "mgr_sales",
26
+ "operations": "mgr_ops",
27
+ "contractors": "mgr_vendor",
28
+ }
29
+ DEPT_ROLE = {
30
+ "finance": "role-finance-reader",
31
+ "engineering": "role-eng-repo-read",
32
+ "hr": "role-hr-reader",
33
+ "sales": "role-sales-crm",
34
+ "operations": "role-ops-monitor",
35
+ "contractors": "role-contractor-seasonal",
36
+ }
37
+
38
+ ROLES: list[dict[str, Any]] = [
39
+ {"role_id": "role-employee-base", "name": "Employee base", "sensitivity": "low", "privileged": False},
40
+ {"role_id": "role-email-user", "name": "Email user", "sensitivity": "low", "privileged": False},
41
+ {"role_id": "role-vpn-user", "name": "VPN user", "sensitivity": "low", "privileged": False},
42
+ {"role_id": "role-finance-reader", "name": "Finance reader", "sensitivity": "medium", "privileged": False},
43
+ {
44
+ "role_id": "role-finance-approver",
45
+ "name": "Finance approver",
46
+ "sensitivity": "high",
47
+ "privileged": True,
48
+ "sod_group": "finance-payment",
49
+ },
50
+ {
51
+ "role_id": "role-finance-payer",
52
+ "name": "Finance payer",
53
+ "sensitivity": "high",
54
+ "privileged": True,
55
+ "sod_group": "finance-payment",
56
+ },
57
+ {"role_id": "role-hr-reader", "name": "HR reader", "sensitivity": "medium", "privileged": False},
58
+ {"role_id": "role-hr-admin", "name": "HR admin", "sensitivity": "high", "privileged": True},
59
+ {"role_id": "role-eng-repo-read", "name": "Repo read", "sensitivity": "medium", "privileged": False},
60
+ {"role_id": "role-eng-prod-deploy", "name": "Prod deploy", "sensitivity": "high", "privileged": True},
61
+ {"role_id": "role-eng-admin", "name": "Eng admin", "sensitivity": "high", "privileged": True},
62
+ {"role_id": "role-sales-crm", "name": "Sales CRM", "sensitivity": "medium", "privileged": False},
63
+ {"role_id": "role-sales-admin", "name": "Sales admin", "sensitivity": "high", "privileged": True},
64
+ {"role_id": "role-ops-monitor", "name": "Ops monitor", "sensitivity": "medium", "privileged": False},
65
+ {"role_id": "role-ops-admin", "name": "Ops admin", "sensitivity": "high", "privileged": True},
66
+ {"role_id": "role-contractor-seasonal", "name": "Seasonal contractor", "sensitivity": "medium", "seasonal": True},
67
+ {
68
+ "role_id": "role-break-glass-admin",
69
+ "name": "Break-glass admin",
70
+ "sensitivity": "critical",
71
+ "privileged": True,
72
+ "break_glass": True,
73
+ },
74
+ {"role_id": "role-svc-backup", "name": "Backup job", "sensitivity": "medium", "service": True},
75
+ {"role_id": "role-svc-ci", "name": "CI deploy job", "sensitivity": "medium", "service": True},
76
+ {"role_id": "role-payroll-export", "name": "Payroll export", "sensitivity": "critical", "privileged": True},
77
+ {"role_id": "role-iam-admin", "name": "IAM admin", "sensitivity": "critical", "privileged": True},
78
+ {"role_id": "role-audit-reader", "name": "Audit reader", "sensitivity": "high", "privileged": False},
79
+ {"role_id": "role-wiki-editor", "name": "Wiki editor", "sensitivity": "low", "privileged": False},
80
+ {"role_id": "role-customer-pii", "name": "Customer PII", "sensitivity": "high", "privileged": False},
81
+ {"role_id": "role-billing-write", "name": "Billing write", "sensitivity": "high", "privileged": True},
82
+ {"role_id": "role-legal-hold", "name": "Legal hold", "sensitivity": "high", "privileged": False},
83
+ {"role_id": "role-data-warehouse", "name": "Warehouse reader", "sensitivity": "medium", "privileged": False},
84
+ {"role_id": "role-okta-app-admin", "name": "App admin", "sensitivity": "high", "privileged": True},
85
+ ]
86
+
87
+
88
+ def iso(ts: datetime | None) -> str:
89
+ if ts is None:
90
+ return ""
91
+ return ts.astimezone(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
92
+
93
+
94
+ def _role_map() -> dict[str, dict[str, Any]]:
95
+ mapped: dict[str, dict[str, Any]] = {}
96
+ for item in ROLES:
97
+ row = {
98
+ "role_id": item["role_id"],
99
+ "name": item["name"],
100
+ "description": item.get("description") or item["name"],
101
+ "owner_id": "mgr_iam",
102
+ "sensitivity": item.get("sensitivity") or "low",
103
+ "privileged": bool(item.get("privileged")),
104
+ "seasonal": bool(item.get("seasonal")),
105
+ "sod_group": item.get("sod_group") or "",
106
+ "break_glass": bool(item.get("break_glass")),
107
+ "service": bool(item.get("service")),
108
+ }
109
+ mapped[row["role_id"]] = row
110
+ return mapped
111
+
112
+
113
+ def _resources() -> list[dict[str, Any]]:
114
+ rows: list[dict[str, Any]] = []
115
+ extras = {
116
+ "role-employee-base": ("res-hris-profile",),
117
+ "role-email-user": ("res-mail-mailbox",),
118
+ "role-vpn-user": ("res-vpn-gateway",),
119
+ "role-finance-reader": ("res-erp-read", "res-ledger-view"),
120
+ "role-finance-approver": ("res-erp-approve",),
121
+ "role-finance-payer": ("res-erp-pay",),
122
+ "role-hr-reader": ("res-hris-read",),
123
+ "role-hr-admin": ("res-hris-admin",),
124
+ "role-eng-repo-read": ("res-git-read",),
125
+ "role-eng-prod-deploy": ("res-k8s-prod",),
126
+ "role-eng-admin": ("res-git-admin",),
127
+ "role-sales-crm": ("res-crm-records",),
128
+ "role-sales-admin": ("res-crm-admin",),
129
+ "role-ops-monitor": ("res-metrics",),
130
+ "role-ops-admin": ("res-pager",),
131
+ "role-contractor-seasonal": ("res-contractor-portal",),
132
+ "role-break-glass-admin": ("res-root-console",),
133
+ "role-svc-backup": ("res-backup-vault",),
134
+ "role-svc-ci": ("res-ci-runner",),
135
+ "role-payroll-export": ("res-payroll-bucket",),
136
+ "role-iam-admin": ("res-idp-admin",),
137
+ "role-audit-reader": ("res-siem-read",),
138
+ "role-wiki-editor": ("res-wiki",),
139
+ "role-customer-pii": ("res-crm-pii",),
140
+ "role-billing-write": ("res-billing",),
141
+ "role-legal-hold": ("res-legal-vault",),
142
+ "role-data-warehouse": ("res-warehouse",),
143
+ "role-okta-app-admin": ("res-okta-apps",),
144
+ }
145
+ for role_id, names in extras.items():
146
+ role = _role_map()[role_id]
147
+ for resource_id in names:
148
+ rows.append(
149
+ {
150
+ "resource_id": resource_id,
151
+ "name": resource_id.replace("res-", "").replace("-", " "),
152
+ "system": resource_id.split("-")[1] if "-" in resource_id else "lab",
153
+ "owner_id": role["owner_id"],
154
+ "sensitivity": role["sensitivity"],
155
+ "role_id": role_id,
156
+ }
157
+ )
158
+ return rows
159
+
160
+
161
+ def _human_split(index: int) -> str:
162
+ return Split.DEVELOPMENT.value if index <= 100 else Split.TEST.value
163
+
164
+
165
+ def _department(index: int) -> str:
166
+ return DEPARTMENTS[(index - 1) % len(DEPARTMENTS)]
167
+
168
+
169
+ def lab_events() -> list[LabEvent]:
170
+ return [
171
+ LabEvent(
172
+ event_id="GOLD-UNUSED-DEV-01",
173
+ identity_id="usr_0041",
174
+ role_id="role-payroll-export",
175
+ start=iso(AS_OF - timedelta(days=180)),
176
+ end=AS_OF_ISO,
177
+ family=Family.UNUSED_PRIVILEGED.value,
178
+ split=Split.DEVELOPMENT.value,
179
+ note="Finance human holds unused payroll export with full logs.",
180
+ ),
181
+ LabEvent(
182
+ event_id="GOLD-SOD-DEV-01",
183
+ identity_id="usr_0042",
184
+ role_id="role-finance-approver",
185
+ start=iso(AS_OF - timedelta(days=200)),
186
+ end=AS_OF_ISO,
187
+ family=Family.SOD_CONFLICT.value,
188
+ split=Split.DEVELOPMENT.value,
189
+ note="Same human holds finance approver and payer.",
190
+ ),
191
+ LabEvent(
192
+ event_id="GOLD-OWNERLESS-DEV-01",
193
+ identity_id="usr_0043",
194
+ role_id="role-customer-pii",
195
+ start=iso(AS_OF - timedelta(days=120)),
196
+ end=AS_OF_ISO,
197
+ family=Family.OWNERLESS.value,
198
+ split=Split.DEVELOPMENT.value,
199
+ note="Active human with empty owner still holds customer PII.",
200
+ ),
201
+ LabEvent(
202
+ event_id="GOLD-PEER-DEV-01",
203
+ identity_id="usr_0050",
204
+ role_id="role-eng-prod-deploy",
205
+ start=iso(AS_OF - timedelta(days=40)),
206
+ end=AS_OF_ISO,
207
+ family=Family.PEER_EXCESS.value,
208
+ split=Split.DEVELOPMENT.value,
209
+ note="Sales peer group does not hold prod deploy.",
210
+ ),
211
+ LabEvent(
212
+ event_id="GOLD-COVERAGE-DEV-01",
213
+ identity_id="usr_0060",
214
+ role_id="role-hr-admin",
215
+ start=iso(AS_OF - timedelta(days=200)),
216
+ end=AS_OF_ISO,
217
+ family=Family.UNUSED_INCOMPLETE_LOG.value,
218
+ split=Split.DEVELOPMENT.value,
219
+ note="Unused HR admin but usage log coverage is none.",
220
+ ),
221
+ LabEvent(
222
+ event_id="GOLD-BREAKGLASS-DEV-01",
223
+ identity_id="brk_0001",
224
+ role_id="role-break-glass-admin",
225
+ start=iso(AS_OF - timedelta(days=400)),
226
+ end=AS_OF_ISO,
227
+ family=Family.UNUSED_BREAK_GLASS.value,
228
+ split=Split.DEVELOPMENT.value,
229
+ note="Break-glass idle time is expected.",
230
+ ),
231
+ LabEvent(
232
+ event_id="GOLD-SERVICE-DEV-01",
233
+ identity_id="svc_0001",
234
+ role_id="role-svc-backup",
235
+ start=iso(AS_OF - timedelta(days=200)),
236
+ end=AS_OF_ISO,
237
+ family=Family.UNUSED_SERVICE.value,
238
+ split=Split.DEVELOPMENT.value,
239
+ note="Backup job may be idle longer than 90 days.",
240
+ ),
241
+ LabEvent(
242
+ event_id="GOLD-SEASONAL-DEV-01",
243
+ identity_id="usr_0080",
244
+ role_id="role-contractor-seasonal",
245
+ start=iso(AS_OF - timedelta(days=110)),
246
+ end=AS_OF_ISO,
247
+ family=Family.UNUSED_SEASONAL.value,
248
+ split=Split.DEVELOPMENT.value,
249
+ note="Contractor seasonal role is idle off-season.",
250
+ ),
251
+ LabEvent(
252
+ event_id="GOLD-UNUSED-01",
253
+ identity_id="usr_0121",
254
+ role_id="role-payroll-export",
255
+ start=iso(AS_OF - timedelta(days=160)),
256
+ end=AS_OF_ISO,
257
+ family=Family.UNUSED_PRIVILEGED.value,
258
+ split=Split.TEST.value,
259
+ note="Held-out unused payroll export with full coverage.",
260
+ ),
261
+ LabEvent(
262
+ event_id="GOLD-SOD-01",
263
+ identity_id="usr_0122",
264
+ role_id="role-finance-approver",
265
+ start=iso(AS_OF - timedelta(days=210)),
266
+ end=AS_OF_ISO,
267
+ family=Family.SOD_CONFLICT.value,
268
+ split=Split.TEST.value,
269
+ note="Held-out SoD pair on one human.",
270
+ ),
271
+ LabEvent(
272
+ event_id="GOLD-OWNERLESS-01",
273
+ identity_id="usr_0123",
274
+ role_id="role-iam-admin",
275
+ start=iso(AS_OF - timedelta(days=90)),
276
+ end=AS_OF_ISO,
277
+ family=Family.OWNERLESS.value,
278
+ split=Split.TEST.value,
279
+ note="Ownerless IAM admin grant.",
280
+ ),
281
+ LabEvent(
282
+ event_id="GOLD-PEER-01",
283
+ identity_id="usr_0124",
284
+ role_id="role-eng-prod-deploy",
285
+ start=iso(AS_OF - timedelta(days=20)),
286
+ end=AS_OF_ISO,
287
+ family=Family.PEER_EXCESS.value,
288
+ split=Split.TEST.value,
289
+ note="Sales identity with engineering prod deploy.",
290
+ ),
291
+ LabEvent(
292
+ event_id="GOLD-ORPHAN-01",
293
+ identity_id="usr_0125",
294
+ role_id="role-customer-pii",
295
+ start=iso(AS_OF - timedelta(days=70)),
296
+ end=AS_OF_ISO,
297
+ family=Family.ORPHAN_IDENTITY.value,
298
+ split=Split.TEST.value,
299
+ note="Departed identity still holds customer PII.",
300
+ ),
301
+ LabEvent(
302
+ event_id="GOLD-COVERAGE-01",
303
+ identity_id="usr_0126",
304
+ role_id="role-okta-app-admin",
305
+ start=iso(AS_OF - timedelta(days=200)),
306
+ end=AS_OF_ISO,
307
+ family=Family.UNUSED_INCOMPLETE_LOG.value,
308
+ split=Split.TEST.value,
309
+ note="Unused app admin with no usage log coverage.",
310
+ ),
311
+ LabEvent(
312
+ event_id="GOLD-BREAKGLASS-01",
313
+ identity_id="brk_0008",
314
+ role_id="role-break-glass-admin",
315
+ start=iso(AS_OF - timedelta(days=300)),
316
+ end=AS_OF_ISO,
317
+ family=Family.UNUSED_BREAK_GLASS.value,
318
+ split=Split.TEST.value,
319
+ note="Held-out break-glass unused account.",
320
+ ),
321
+ LabEvent(
322
+ event_id="GOLD-SERVICE-01",
323
+ identity_id="svc_0015",
324
+ role_id="role-svc-ci",
325
+ start=iso(AS_OF - timedelta(days=180)),
326
+ end=AS_OF_ISO,
327
+ family=Family.UNUSED_SERVICE.value,
328
+ split=Split.TEST.value,
329
+ note="Held-out CI service account idle window.",
330
+ ),
331
+ LabEvent(
332
+ event_id="GOLD-SEASONAL-01",
333
+ identity_id="usr_0127",
334
+ role_id="role-contractor-seasonal",
335
+ start=iso(AS_OF - timedelta(days=100)),
336
+ end=AS_OF_ISO,
337
+ family=Family.UNUSED_SEASONAL.value,
338
+ split=Split.TEST.value,
339
+ note="Held-out seasonal contractor idle off-season.",
340
+ ),
341
+ LabEvent(
342
+ event_id="GOLD-INHERITED-01",
343
+ identity_id="usr_0128",
344
+ role_id="role-employee-base",
345
+ start=iso(AS_OF - timedelta(days=140)),
346
+ end=AS_OF_ISO,
347
+ family=Family.UNUSED_INHERITED_BASE.value,
348
+ split=Split.TEST.value,
349
+ note="Unused inherited employee-base grant is bundle context.",
350
+ ),
351
+ ]
352
+
353
+
354
+ def _identity_overrides() -> dict[str, dict[str, Any]]:
355
+ return {
356
+ "usr_0041": {"department": "finance", "owner_id": "mgr_finance", "status": "active"},
357
+ "usr_0042": {"department": "finance", "owner_id": "mgr_finance", "status": "active"},
358
+ "usr_0043": {"department": "sales", "owner_id": "", "status": "active"},
359
+ "usr_0050": {"department": "sales", "owner_id": "mgr_sales", "status": "active"},
360
+ "usr_0060": {"department": "hr", "owner_id": "mgr_hr", "status": "active"},
361
+ "usr_0080": {"department": "contractors", "owner_id": "mgr_vendor", "status": "active", "seasonal": True},
362
+ "usr_0121": {"department": "finance", "owner_id": "mgr_finance", "status": "active"},
363
+ "usr_0122": {"department": "finance", "owner_id": "mgr_finance", "status": "active"},
364
+ "usr_0123": {"department": "engineering", "owner_id": "", "status": "active"},
365
+ "usr_0124": {"department": "sales", "owner_id": "mgr_sales", "status": "active"},
366
+ "usr_0125": {"department": "sales", "owner_id": "", "status": "departed"},
367
+ "usr_0126": {"department": "engineering", "owner_id": "mgr_eng", "status": "active"},
368
+ "usr_0127": {"department": "contractors", "owner_id": "mgr_vendor", "status": "active", "seasonal": True},
369
+ "usr_0128": {"department": "operations", "owner_id": "mgr_ops", "status": "active"},
370
+ }
371
+
372
+
373
+ def _identities() -> list[dict[str, Any]]:
374
+ rows: list[dict[str, Any]] = []
375
+ overrides = _identity_overrides()
376
+ for index in range(1, N_HUMANS + 1):
377
+ identity_id = f"usr_{index:04d}"
378
+ department = _department(index)
379
+ base = {
380
+ "identity_id": identity_id,
381
+ "display_name": f"Human {index:04d}",
382
+ "identity_type": "human",
383
+ "owner_id": DEPT_OWNERS[department],
384
+ "department": department,
385
+ "status": "active",
386
+ "seasonal": department == "contractors",
387
+ "split": _human_split(index),
388
+ }
389
+ base.update(overrides.get(identity_id, {}))
390
+ rows.append(base)
391
+ for index in range(1, N_SERVICE + 1):
392
+ rows.append(
393
+ {
394
+ "identity_id": f"svc_{index:04d}",
395
+ "display_name": f"Service {index:04d}",
396
+ "identity_type": "service",
397
+ "owner_id": "mgr_ops",
398
+ "department": "operations",
399
+ "status": "active",
400
+ "seasonal": False,
401
+ "split": Split.DEVELOPMENT.value if index <= 10 else Split.TEST.value,
402
+ }
403
+ )
404
+ for index in range(1, N_BREAK + 1):
405
+ rows.append(
406
+ {
407
+ "identity_id": f"brk_{index:04d}",
408
+ "display_name": f"Break glass {index:04d}",
409
+ "identity_type": "break_glass",
410
+ "owner_id": "mgr_iam",
411
+ "department": "operations",
412
+ "status": "active",
413
+ "seasonal": False,
414
+ "split": Split.DEVELOPMENT.value if index <= 5 else Split.TEST.value,
415
+ }
416
+ )
417
+ return rows
418
+
419
+
420
+ def _grant(
421
+ grant_id: str,
422
+ identity: dict[str, Any],
423
+ role: dict[str, Any],
424
+ resources: list[str],
425
+ *,
426
+ kind: str = "direct",
427
+ inherited_from: str = "",
428
+ created_days: int = 400,
429
+ last_used_days: int | None = 12,
430
+ usage_count: int = 40,
431
+ coverage: str = "full",
432
+ lab_event_id: str = "",
433
+ lab_family: str = "",
434
+ expires: str = "",
435
+ ) -> dict[str, Any]:
436
+ last_used = None if last_used_days is None else AS_OF - timedelta(days=last_used_days)
437
+ return {
438
+ "grant_id": grant_id,
439
+ "identity_id": identity["identity_id"],
440
+ "identity_type": identity["identity_type"],
441
+ "department": identity["department"],
442
+ "owner_id": identity.get("owner_id") or "",
443
+ "status": identity.get("status") or "active",
444
+ "seasonal_identity": bool(identity.get("seasonal")),
445
+ "role_id": role["role_id"],
446
+ "resource_ids": resources,
447
+ "grant_kind": kind,
448
+ "inherited_from": inherited_from,
449
+ "created_at": iso(AS_OF - timedelta(days=created_days)),
450
+ "expires_at": expires,
451
+ "last_used_at": iso(last_used),
452
+ "usage_count": usage_count,
453
+ "usage_window_days": USAGE_WINDOW_DAYS,
454
+ "usage_log_coverage": coverage,
455
+ "sensitivity": role["sensitivity"],
456
+ "privileged": bool(role.get("privileged")),
457
+ "seasonal": bool(role.get("seasonal") or identity.get("seasonal")),
458
+ "sod_group": role.get("sod_group") or "",
459
+ "break_glass": bool(role.get("break_glass") or identity["identity_type"] == "break_glass"),
460
+ "service": bool(role.get("service") or identity["identity_type"] == "service"),
461
+ "lab_event_id": lab_event_id,
462
+ "lab_family": lab_family,
463
+ "split": identity["split"],
464
+ }
465
+
466
+
467
+ def _resource_ids_for(role_id: str, catalog: list[dict[str, Any]]) -> list[str]:
468
+ return [item["resource_id"] for item in catalog if item["role_id"] == role_id]
469
+
470
+
471
+ def build_lab(seed: int = DEFAULT_SEED) -> dict[str, Any]:
472
+ rng = np.random.default_rng(seed)
473
+ roles = list(_role_map().values())
474
+ role_by_id = {item["role_id"]: item for item in roles}
475
+ resources = _resources()
476
+ identities = _identities()
477
+ identity_by_id = {item["identity_id"]: item for item in identities}
478
+ events = {item.event_id: item for item in lab_events()}
479
+ grants: list[dict[str, Any]] = []
480
+ counter = 1
481
+
482
+ def next_id() -> str:
483
+ nonlocal counter
484
+ grant_id = f"gnt_{counter:04d}"
485
+ counter += 1
486
+ return grant_id
487
+
488
+ gold_identities = {event.identity_id for event in events.values()}
489
+ for identity in identities:
490
+ if identity["identity_type"] == "service":
491
+ role_id = "role-svc-backup" if int(identity["identity_id"].split("_")[1]) % 2 else "role-svc-ci"
492
+ event = next((item for item in events.values() if item.identity_id == identity["identity_id"]), None)
493
+ grants.append(
494
+ _grant(
495
+ next_id(),
496
+ identity,
497
+ role_by_id[role_id],
498
+ _resource_ids_for(role_id, resources),
499
+ last_used_days=180 if event else int(rng.integers(20, 80)),
500
+ usage_count=0 if event else int(rng.integers(8, 40)),
501
+ lab_event_id=event.event_id if event else "",
502
+ lab_family=event.family if event else "",
503
+ )
504
+ )
505
+ continue
506
+ if identity["identity_type"] == "break_glass":
507
+ event = next((item for item in events.values() if item.identity_id == identity["identity_id"]), None)
508
+ grants.append(
509
+ _grant(
510
+ next_id(),
511
+ identity,
512
+ role_by_id["role-break-glass-admin"],
513
+ _resource_ids_for("role-break-glass-admin", resources),
514
+ last_used_days=320,
515
+ usage_count=0,
516
+ lab_event_id=event.event_id if event else "",
517
+ lab_family=event.family if event else Family.UNUSED_BREAK_GLASS.value,
518
+ )
519
+ )
520
+ continue
521
+ for role_id, kind, inherited_from, last_used in (
522
+ ("role-employee-base", "inherited", "bundle-staff", 18 if identity["identity_id"] != "usr_0128" else 140),
523
+ ("role-email-user", "inherited", "bundle-staff", 10),
524
+ ("role-vpn-user", "inherited", "bundle-staff", 14),
525
+ ):
526
+ event_id = ""
527
+ family = ""
528
+ if identity["identity_id"] == "usr_0128" and role_id == "role-employee-base":
529
+ event_id = "GOLD-INHERITED-01"
530
+ family = Family.UNUSED_INHERITED_BASE.value
531
+ grants.append(
532
+ _grant(
533
+ next_id(),
534
+ identity,
535
+ role_by_id[role_id],
536
+ _resource_ids_for(role_id, resources),
537
+ kind=kind,
538
+ inherited_from=inherited_from,
539
+ last_used_days=last_used,
540
+ usage_count=0 if last_used >= 90 else int(rng.integers(20, 90)),
541
+ lab_event_id=event_id,
542
+ lab_family=family,
543
+ )
544
+ )
545
+ dept_role = DEPT_ROLE[identity["department"]]
546
+ skip_default = identity["identity_id"] in {"usr_0080", "usr_0127"} and dept_role == "role-contractor-seasonal"
547
+ if not skip_default:
548
+ grants.append(
549
+ _grant(
550
+ next_id(),
551
+ identity,
552
+ role_by_id[dept_role],
553
+ _resource_ids_for(dept_role, resources),
554
+ last_used_days=int(rng.integers(4, 35)),
555
+ usage_count=int(rng.integers(15, 80)),
556
+ )
557
+ )
558
+ if identity["department"] == "engineering" and int(identity["identity_id"].split("_")[1]) % 11 == 0:
559
+ grants.append(
560
+ _grant(
561
+ next_id(),
562
+ identity,
563
+ role_by_id["role-eng-prod-deploy"],
564
+ _resource_ids_for("role-eng-prod-deploy", resources),
565
+ last_used_days=int(rng.integers(3, 25)),
566
+ usage_count=int(rng.integers(6, 30)),
567
+ )
568
+ )
569
+ if identity["department"] == "finance" and int(identity["identity_id"].split("_")[1]) % 13 == 0:
570
+ grants.append(
571
+ _grant(
572
+ next_id(),
573
+ identity,
574
+ role_by_id["role-finance-approver"],
575
+ _resource_ids_for("role-finance-approver", resources),
576
+ last_used_days=int(rng.integers(5, 28)),
577
+ usage_count=int(rng.integers(4, 20)),
578
+ )
579
+ )
580
+ if identity["identity_id"] not in gold_identities and rng.random() < 0.12:
581
+ grants.append(
582
+ _grant(
583
+ next_id(),
584
+ identity,
585
+ role_by_id["role-wiki-editor"],
586
+ _resource_ids_for("role-wiki-editor", resources),
587
+ last_used_days=int(rng.integers(2, 40)),
588
+ usage_count=int(rng.integers(2, 18)),
589
+ )
590
+ )
591
+
592
+ extras = [
593
+ ("GOLD-UNUSED-DEV-01", "usr_0041", "role-payroll-export", 160, 0, "full"),
594
+ ("GOLD-SOD-DEV-01", "usr_0042", "role-finance-approver", 12, 18, "full"),
595
+ ("GOLD-SOD-DEV-01", "usr_0042", "role-finance-payer", 15, 11, "full"),
596
+ ("GOLD-OWNERLESS-DEV-01", "usr_0043", "role-customer-pii", 20, 9, "full"),
597
+ ("GOLD-PEER-DEV-01", "usr_0050", "role-eng-prod-deploy", 16, 7, "full"),
598
+ ("GOLD-COVERAGE-DEV-01", "usr_0060", "role-hr-admin", None, 0, "none"),
599
+ ("GOLD-SEASONAL-DEV-01", "usr_0080", "role-contractor-seasonal", 110, 0, "full"),
600
+ ("GOLD-UNUSED-01", "usr_0121", "role-payroll-export", 150, 0, "full"),
601
+ ("GOLD-SOD-01", "usr_0122", "role-finance-approver", 10, 22, "full"),
602
+ ("GOLD-SOD-01", "usr_0122", "role-finance-payer", 11, 19, "full"),
603
+ ("GOLD-OWNERLESS-01", "usr_0123", "role-iam-admin", 25, 6, "full"),
604
+ ("GOLD-PEER-01", "usr_0124", "role-eng-prod-deploy", 14, 8, "full"),
605
+ ("GOLD-ORPHAN-01", "usr_0125", "role-customer-pii", 40, 3, "full"),
606
+ ("GOLD-COVERAGE-01", "usr_0126", "role-okta-app-admin", None, 0, "none"),
607
+ ("GOLD-SEASONAL-01", "usr_0127", "role-contractor-seasonal", 105, 0, "full"),
608
+ ]
609
+ for event_id, identity_id, role_id, last_used, usage, coverage in extras:
610
+ event = events[event_id]
611
+ grants.append(
612
+ _grant(
613
+ next_id(),
614
+ identity_by_id[identity_id],
615
+ role_by_id[role_id],
616
+ _resource_ids_for(role_id, resources),
617
+ last_used_days=last_used,
618
+ usage_count=usage,
619
+ coverage=coverage,
620
+ lab_event_id=event_id,
621
+ lab_family=event.family,
622
+ expires=iso(AS_OF + timedelta(days=90)) if "SEASONAL" in event_id else "",
623
+ )
624
+ )
625
+
626
+ grant_frame = pd.DataFrame(grants)
627
+ identity_frame = pd.DataFrame(identities)
628
+ role_frame = pd.DataFrame(roles)
629
+ resource_frame = pd.DataFrame(resources)
630
+ gold = pd.DataFrame([item.model_dump() for item in events.values()])
631
+ return {
632
+ "identities": identity_frame,
633
+ "roles": role_frame,
634
+ "resources": resource_frame,
635
+ "grants": grant_frame,
636
+ "gold": gold,
637
+ "policies": pd.DataFrame(policy_records()),
638
+ "n_identities": len(identity_frame),
639
+ "n_roles": len(role_frame),
640
+ "n_resources": len(resource_frame),
641
+ "n_grants": len(grant_frame),
642
+ "n_events": len(gold),
643
+ "seed": seed,
644
+ }
645
+
646
+
647
+ def filter_lab(pack: dict[str, Any], scenario: str) -> dict[str, Any]:
648
+ grants = pack["grants"].copy()
649
+ gold = pack["gold"].copy()
650
+ if scenario == "unused":
651
+ keep = gold["family"].isin({Family.UNUSED_PRIVILEGED.value, Family.UNUSED_INCOMPLETE_LOG.value})
652
+ gold = gold.loc[keep]
653
+ grants = grants.loc[grants["identity_id"].isin(set(gold["identity_id"]))]
654
+ elif scenario == "sod":
655
+ gold = gold.loc[gold["family"].eq(Family.SOD_CONFLICT.value)]
656
+ grants = grants.loc[grants["identity_id"].isin(set(gold["identity_id"]))]
657
+ elif scenario == "protected":
658
+ gold = gold.loc[gold["family"].isin({Family.UNUSED_BREAK_GLASS.value, Family.UNUSED_SERVICE.value, Family.UNUSED_SEASONAL.value})]
659
+ grants = grants.loc[grants["identity_id"].isin(set(gold["identity_id"]))]
660
+ elif scenario == "broken":
661
+ broken = grants.head(25).copy()
662
+ broken["identity_id"] = ""
663
+ broken["role_id"] = ""
664
+ grants = broken
665
+ gold = gold.iloc[0:0]
666
+ return {
667
+ **pack,
668
+ "grants": grants.reset_index(drop=True),
669
+ "gold": gold.reset_index(drop=True),
670
+ "n_grants": len(grants),
671
+ }
672
+
673
+
674
+ def write_examples(folder: Path, seed: int = DEFAULT_SEED) -> dict[str, Any]:
675
+ folder.mkdir(parents=True, exist_ok=True)
676
+ pack = build_lab(seed)
677
+ grants = pack["grants"].copy()
678
+ grants["resource_ids"] = grants["resource_ids"].map(lambda items: ",".join(items) if isinstance(items, list) else items)
679
+ grants.to_csv(folder / "grants.csv", index=False)
680
+ grants.head(400).to_csv(folder / "grants_preview.csv", index=False)
681
+ pack["identities"].to_csv(folder / "identities.csv", index=False)
682
+ pack["roles"].to_csv(folder / "roles.csv", index=False)
683
+ pack["resources"].to_csv(folder / "resources.csv", index=False)
684
+ pack["gold"].to_json(folder / "gold_events.json", orient="records", indent=2)
685
+ pack["policies"].to_json(folder / "policies.json", orient="records", indent=2)
686
+ payload = {
687
+ "identities": pack["identities"].to_dict(orient="records"),
688
+ "roles": pack["roles"].to_dict(orient="records"),
689
+ "resources": pack["resources"].to_dict(orient="records"),
690
+ "grants": pack["grants"].to_dict(orient="records"),
691
+ "gold": pack["gold"].to_dict(orient="records"),
692
+ }
693
+ (folder / "access_sample.json").write_text(json.dumps(payload, indent=2, default=str), encoding="utf-8")
694
+ schema = {
695
+ "schema_id": "ariaaccess.grant_review.v1",
696
+ "as_of": AS_OF_ISO,
697
+ "required_grant_fields": ["identity_id", "role_id"],
698
+ "identity_types": ["human", "service", "break_glass"],
699
+ "grant_kinds": ["direct", "inherited"],
700
+ "coverage": ["full", "partial", "none"],
701
+ }
702
+ (folder / "schema.json").write_text(json.dumps(schema, indent=2), encoding="utf-8")
703
+ splits = {
704
+ "development": "identities usr_0001-usr_0100, svc_0001-svc_0010, brk_0001-brk_0005",
705
+ "test": "identities usr_0101-usr_0150, svc_0011-svc_0020, brk_0006-brk_0010",
706
+ "note": "Gold cases stay with their identity. Peer comparison uses the same department and identity type.",
707
+ }
708
+ (folder / "splits.json").write_text(json.dumps(splits, indent=2), encoding="utf-8")
709
+ (folder / "protocol.md").write_text(
710
+ (
711
+ "# AriaAccessReview laboratory protocol\n\n"
712
+ f"Seed {seed}. Synthetic IAM snapshot as of {AS_OF_ISO}. "
713
+ "180 identities, 28 roles, 45 resources. "
714
+ "Unused privileged grants with full logs, SoD, ownerless, orphan, and peer-excess are review labels. "
715
+ "Break-glass, service, seasonal, inherited base, and missing coverage are not revoke labels. "
716
+ "This demo never revokes a grant.\n"
717
+ ),
718
+ encoding="utf-8",
719
+ )
720
+ (folder / "policies.md").write_text(
721
+ "\n\n".join(f"## {row['policy_id']} — {row['title']}\n\n{row['text']}" for row in policy_records()),
722
+ encoding="utf-8",
723
+ )
724
+ return {
725
+ "n_identities": pack["n_identities"],
726
+ "n_roles": pack["n_roles"],
727
+ "n_resources": pack["n_resources"],
728
+ "n_grants": pack["n_grants"],
729
+ "n_events": pack["n_events"],
730
+ "seed": seed,
731
+ }
demo/src/graph.py ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ import networkx as nx
6
+ import pandas as pd
7
+
8
+
9
+ def _as_list(value: Any) -> list[str]:
10
+ if isinstance(value, list):
11
+ return [str(item) for item in value if item]
12
+ return [part for part in str(value or "").split(",") if part]
13
+
14
+
15
+ def build_graph(
16
+ identities: pd.DataFrame,
17
+ roles: pd.DataFrame,
18
+ resources: pd.DataFrame,
19
+ grants: pd.DataFrame,
20
+ ) -> nx.DiGraph:
21
+ graph = nx.DiGraph()
22
+ if identities is not None and not identities.empty:
23
+ for row in identities.to_dict(orient="records"):
24
+ graph.add_node(
25
+ str(row["identity_id"]),
26
+ kind="identity",
27
+ identity_type=str(row.get("identity_type") or "human"),
28
+ department=str(row.get("department") or ""),
29
+ )
30
+ if roles is not None and not roles.empty:
31
+ for row in roles.to_dict(orient="records"):
32
+ graph.add_node(str(row["role_id"]), kind="role", privileged=bool(row.get("privileged")))
33
+ if resources is not None and not resources.empty:
34
+ for row in resources.to_dict(orient="records"):
35
+ resource_id = str(row["resource_id"])
36
+ graph.add_node(resource_id, kind="resource", sensitivity=str(row.get("sensitivity") or "low"))
37
+ role_id = str(row.get("role_id") or "")
38
+ if role_id:
39
+ graph.add_edge(role_id, resource_id, kind="implies")
40
+ if grants is not None and not grants.empty:
41
+ for row in grants.to_dict(orient="records"):
42
+ identity_id = str(row.get("identity_id") or "")
43
+ role_id = str(row.get("role_id") or "")
44
+ if identity_id and role_id:
45
+ graph.add_node(identity_id, kind=graph.nodes[identity_id]["kind"] if identity_id in graph else "identity")
46
+ graph.add_node(role_id, kind=graph.nodes[role_id]["kind"] if role_id in graph else "role")
47
+ graph.add_edge(
48
+ identity_id,
49
+ role_id,
50
+ kind=str(row.get("grant_kind") or "direct"),
51
+ grant_id=str(row.get("grant_id") or ""),
52
+ )
53
+ for resource_id in _as_list(row.get("resource_ids")):
54
+ graph.add_node(resource_id, kind=graph.nodes[resource_id]["kind"] if resource_id in graph else "resource")
55
+ if role_id:
56
+ graph.add_edge(role_id, resource_id, kind="implies")
57
+ return graph
58
+
59
+
60
+ def ego_nodes(graph: nx.DiGraph, identity_id: str) -> nx.DiGraph:
61
+ if not identity_id or identity_id not in graph:
62
+ return nx.DiGraph()
63
+ nodes = {identity_id}
64
+ roles = list(graph.successors(identity_id))
65
+ nodes.update(roles)
66
+ for role_id in roles:
67
+ nodes.update(graph.successors(role_id))
68
+ return graph.subgraph(nodes).copy()
demo/src/i18n.py ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ TEXTS = {
4
+ "en": {
5
+ "title": "AriaAccessReview — Least-Privilege Access Review",
6
+ "subtitle": "Find unused, ownerless, SoD, and peer-excess grants. Missing logs are not proof of no need. This demo never revokes access.",
7
+ "kind": "IAM / audit workstation · CPU · synthetic identity graph · no auto-revoke",
8
+ "run_sample": "Run sample",
9
+ "cancel": "Cancel run",
10
+ "reset": "Reset defaults",
11
+ "load_sample": "Load IAM lab pack",
12
+ "language": "Language",
13
+ "scenario": "Scenario",
14
+ "scenario_full": "Full lab (180 identities)",
15
+ "scenario_unused": "Unused privileged / incomplete logs",
16
+ "scenario_sod": "Finance SoD pair",
17
+ "scenario_protected": "Break-glass / service / seasonal",
18
+ "scenario_broken": "Broken grants (insufficient)",
19
+ "threshold": "Unused-days window T",
20
+ "hide_context": "Hide break-glass / service / seasonal context",
21
+ "identity_filter": "Identity id contains",
22
+ "sample_note": "Synthetic IAM snapshot, seed 15, as-of 2026-07-01. Roles come from grants, not personality. Unused with missing logs stays unknown. Break-glass idle time is expected. This demo never revokes a grant.",
23
+ "live_note": "Live graph, SoD, peer comparison, and policy BM25",
24
+ "cached_note": "Recorded preview",
25
+ "kpi_review": "Needs access review",
26
+ "kpi_context_sub": "context grants",
27
+ "kpi_coverage": "Parse coverage",
28
+ "kpi_dropped": "Incomplete rows",
29
+ "kpi_dropped_sub": "missing identity/role",
30
+ "kpi_recall": "Test event recall",
31
+ "kpi_precision": "Precision @ 12",
32
+ "kpi_precision_sub": "held-out review capacity",
33
+ "kpi_protected": "Protected as review",
34
+ "kpi_protected_sub": "break-glass / service / seasonal",
35
+ "kpi_time": "Analyze time",
36
+ "optimized": "AriaAccessReview",
37
+ "baseline": "unused-90d baseline",
38
+ "empty": "No live result yet. Load the lab pack or upload a JSON/CSV grant pack, then run.",
39
+ "empty_card": "Select a finding to open the grant, owner, coverage, and cited policy. One click reaches the grant_id.",
40
+ "empty_policy": "Select a finding to open the retrieved access-policy excerpt.",
41
+ "no_policy": "No policy excerpt retrieved.",
42
+ "policy_note": "Citations are extractive BM25 over the lab policy pack. The model does not invent a role from a person.",
43
+ "status": "Run status",
44
+ "upload_hint": "JSON pack (identities, roles, resources, grants) or a grants CSV. Required after parse: identity_id and role_id. Emails are aliased. No live directory is contacted.",
45
+ "advanced": "Advanced / paste extra rows",
46
+ "custom_logs": "Extra grants (JSON pack or CSV)",
47
+ "logs_file": "Grant pack file",
48
+ "feedback": "Analyst note (not used to retrain)",
49
+ "correct": "Correct",
50
+ "false_positive": "False positive",
51
+ "insufficient": "Insufficient evidence",
52
+ "needs_review": "Needs review",
53
+ "matrix_plot": "Role × department grant counts",
54
+ "graph_plot": "Selected identity: roles and resources",
55
+ "cmp_plot": "Held-out review recall and protected-account flags",
56
+ "cal_plot": "Unused-days T versus review count and test recall",
57
+ "tab_data": "Data",
58
+ "tab_findings": "Findings",
59
+ "tab_evidence": "Evidence",
60
+ "tab_compare": "Compare",
61
+ "tab_method": "Method and limits",
62
+ "observed": "Observed fact",
63
+ "inferred": "Model inference",
64
+ "unknown": "Unknown / missing",
65
+ "action": "Suggested action",
66
+ "policy": "Cited policy",
67
+ "severity": "Severity",
68
+ "confidence": "Confidence",
69
+ "workflow": "Workflow",
70
+ "verdict_ready": "Grants ready for review",
71
+ "verdict_insufficient_evidence": "Insufficient evidence",
72
+ "verdict_invalid_input": "Invalid input",
73
+ "reason_counts": "Parsed {valid} of {raw} grants ({dropped} dropped) across {identities} identities.",
74
+ "reason_alerts": "Review={security}, context={context}, insufficient={insufficient} at unused-days T={threshold}.",
75
+ "reason_eval": "Held-out event recall {recall}; precision@12 {precision}; protected accounts marked review: {protected}.",
76
+ "reason_protected": "Break-glass, service, and seasonal idle grants stay context. AriaAccessReview should keep protected-as-review at zero.",
77
+ "reason_score": "A score ranks grants for a human. It is not a revoke order, and this demo never writes back to an IdP.",
78
+ "method_body": """
79
+ AriaAccessReview is a laboratory **IAM access-review** bench.
80
+
81
+ **What it decides.** Standing grants that *need a human look*: unused privileged access with full logs, defined SoD pairs, ownerless or departed identities, and privileged roles that department peers do not hold. It does not revoke, disable, or push a change to a directory.
82
+
83
+ **Graph.** Identity → role → resource with NetworkX. Direct and inherited grants stay separate. The UI draws only the selected identity, not the whole organization.
84
+
85
+ **Coverage.** `usage_log_coverage=none|partial` makes unused status **unknown**. Missing last_used_at is not proof the identity does not need the grant.
86
+
87
+ **Protected cases.** Break-glass, service, seasonal contractor, and unused inherited base staff roles are context. The 90-day unused baseline flags them; AriaAccessReview should not.
88
+
89
+ **Policy retrieval (profile B, CPU).** BM25 over a small least-privilege / SoD / coverage corpus. Citations are extractive. No paid LLM and no personality inference.
90
+
91
+ **Limits.** Synthetic snapshot, 200 identities / 30 roles / 50 resources / 10MB. A suggestion is not a certified audit opinion.
92
+ """,
93
+ },
94
+ "fa": {
95
+ "title": "آریااکسس‌ریویو — بازبینی حداقل دسترسی",
96
+ "subtitle": "مجوز بلااستفاده، بدون مالک، نقض تفکیک وظیفه و نقش اضافه نسبت به همتایان را ببینید. لاگ ناقص دلیل بی‌نیازی نیست. این دمو دسترسی را حذف نمی‌کند.",
97
+ "kind": "میز کار IAM/ممیزی · CPU · گراف ساختگی · بدون revoke خودکار",
98
+ "run_sample": "اجرای نمونه",
99
+ "cancel": "لغو اجرا",
100
+ "reset": "بازگشت به پیش‌فرض",
101
+ "load_sample": "بارگذاری بسته IAM",
102
+ "language": "زبان",
103
+ "scenario": "سناریو",
104
+ "scenario_full": "آزمایش کامل (۱۸۰ هویت)",
105
+ "scenario_unused": "مجوز بلااستفاده / لاگ ناقص",
106
+ "scenario_sod": "زوج تفکیک وظیفه مالی",
107
+ "scenario_protected": "حساب اضطراری / سرویس / فصلی",
108
+ "scenario_broken": "اعطاهای خراب (شواهد ناکافی)",
109
+ "threshold": "پنجره روزهای بلااستفاده T",
110
+ "hide_context": "پنهان کردن اضطراری / سرویس / فصلی",
111
+ "identity_filter": "شناسه هویت شامل",
112
+ "sample_note": "اسنپ‌شات ساختگی IAM با بذر ۱۵ و تاریخ مرجع ۱ ژوئیه ۲۰۲۶. نقش از داده اعطا می‌آید نه از شخصیت. بلااستفاده با لاگ ناقص نامعلوم است. بیکاری حساب اضطراری انتظار می‌رود. این دمو دسترسی را حذف نمی‌کند.",
113
+ "live_note": "گراف زنده، SoD، مقایسه همتا و BM25 سیاست",
114
+ "cached_note": "پیش‌نمایش ثبت‌شده",
115
+ "kpi_review": "نیازمند بازبینی دسترسی",
116
+ "kpi_context_sub": "اعطا زمینه‌ای",
117
+ "kpi_coverage": "پوشش تجزیه",
118
+ "kpi_dropped": "ردیف ناقص",
119
+ "kpi_dropped_sub": "هویت/نقش خالی",
120
+ "kpi_recall": "یادآوری رخداد آزمون",
121
+ "kpi_precision": "دقت در ظرفیت ۱۲",
122
+ "kpi_precision_sub": "ظرفیت بازبینی آزمون",
123
+ "kpi_protected": "حساب محافظت‌شده به‌عنوان بازبینی",
124
+ "kpi_protected_sub": "اضطراری / سرویس / فصلی",
125
+ "kpi_time": "زمان تحلیل",
126
+ "optimized": "آریااکسس‌ریویو",
127
+ "baseline": "خط مبنای ۹۰روز بلااستفاده",
128
+ "empty": "هنوز نتیجه زنده‌ای نیست. بسته آزمایشی را بارگذاری یا فایل را آپلود کنید و اجرا کنید.",
129
+ "empty_card": "یک یافته را انتخاب کنید تا اعطا، مالک، پوشش لاگ و سیاست استنادشده باز شود.",
130
+ "empty_policy": "برای بند سیاست یک یافته را انتخاب کنید.",
131
+ "no_policy": "بند سیاستی بازیابی نشد.",
132
+ "policy_note": "استنادها استخراجی از بسته سیاست آزمایشگاهی‌اند. مدل از شخصیت فرد نقش نمی‌سازد.",
133
+ "status": "وضعیت اجرا",
134
+ "upload_hint": "بسته JSON یا CSV اعطا. پس از تجزیه identity_id و role_id لازم است. ایمیل مستعار می‌شود.",
135
+ "advanced": "پیشرفته / چسباندن ردیف اضافه",
136
+ "custom_logs": "اعطاهای اضافه",
137
+ "logs_file": "فایل بسته اعطا",
138
+ "feedback": "یادداشت تحلیل‌گر (آموزش مجدد نمی‌شود)",
139
+ "correct": "صحیح",
140
+ "false_positive": "خطای مثبت",
141
+ "insufficient": "شواهد ناکافی",
142
+ "needs_review": "نیازمند بررسی",
143
+ "matrix_plot": "شمار اعطا نقش در برابر واحد",
144
+ "graph_plot": "هویت منتخب: نقش‌ها و منابع",
145
+ "cmp_plot": "یادآوری رخداد آزمون و پرچم حساب محافظت‌شده",
146
+ "cal_plot": "آستانه روز بلااستفاده در برابر شمار بازبینی و یادآوری",
147
+ "tab_data": "داده",
148
+ "tab_findings": "یافته‌ها",
149
+ "tab_evidence": "شواهد",
150
+ "tab_compare": "مقایسه",
151
+ "tab_method": "روش و محدودیت",
152
+ "observed": "واقعیت مشاهده‌شده",
153
+ "inferred": "استنباط مدل",
154
+ "unknown": "نامعلوم / مفقود",
155
+ "action": "اقدام پیشنهادی",
156
+ "policy": "سیاست استنادشده",
157
+ "severity": "شدت",
158
+ "confidence": "اطمینان",
159
+ "workflow": "وضعیت کار",
160
+ "verdict_ready": "اعطاها آماده بازبینی",
161
+ "verdict_insufficient_evidence": "شواهد ناکافی",
162
+ "verdict_invalid_input": "ورودی نامعتبر",
163
+ "reason_counts": "از {raw} اعطا، {valid} معتبر ماند ({dropped} حذف) در {identities} هویت.",
164
+ "reason_alerts": "بازبینی={security}، زمینه={context}، ناکافی={insufficient} در آستانه T={threshold} روز.",
165
+ "reason_eval": "یادآوری رخداد نگه‌داشته {recall}؛ دقت ظرفیت ۱۲ {precision}؛ حساب محافظت‌شده به‌عنوان بازبینی: {protected}.",
166
+ "reason_protected": "بیکاری حساب اضطراری، سرویس و فصلی زمینه است. این عدد باید صفر بماند.",
167
+ "reason_score": "امتیاز فقط رتبه‌بندی بازبینی است نه دستور حذف، و این دمو به IdP چیزی نمی‌نویسد.",
168
+ "method_body": """
169
+ آریااکسس‌ریویو یک میز بازبینی آزمایشگاهی برای **دسترسی IAM** است.
170
+
171
+ **تصمیم.** اعطاهایی که *باید دیده شوند*: مجوز دارای امتیاز بلااستفاده با لاگ کامل، زوج تعریف‌شده تفکیک وظیفه، هویت بدون مالک یا جداشده، و نقش دارای امتیازی که همتایان واحد ندارند. دسترسی را حذف نمی‌کند.
172
+
173
+ **گراف.** هویت → نقش → منبع. اعطای مستقیم و ارثی جدا می‌مانند. رابط فقط هویت منتخب را رسم می‌کند.
174
+
175
+ **پوشش لاگ.** پوشش none یا partial یعنی وضعیت بلااستفاده **نامعلوم** است. نبود last_used_at اثبات بی‌نیازی نیست.
176
+
177
+ **موارد محافظت‌شده.** حساب اضطراری، سرویس، پیمانکار فصلی و نقش پایه ارثی زمینه هستند.
178
+
179
+ **بازیابی سیاست.** BM25 روی بسته سیاست حداقل دسترسی. استناد استخراجی است. مدل زبانی پولی و استنباط شخصیت وجود ندارد.
180
+
181
+ **محدودیت.** اسنپ‌شات ساختگی. پیشنهاد معادل نظر ممیزی تأییدشده نیست.
182
+ """,
183
+ },
184
+ }
185
+
186
+
187
+ def t(lang: str, key: str) -> str:
188
+ pack = TEXTS.get(lang) or TEXTS["en"]
189
+ return pack.get(key) or TEXTS["en"].get(key, key)
demo/src/metrics.py ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import pandas as pd
4
+
5
+ from src.domain import (
6
+ INSUFFICIENT_FAMILIES,
7
+ PROTECTED_FAMILIES,
8
+ REVIEW_CAPACITY,
9
+ REVIEW_FAMILIES,
10
+ AlertClass,
11
+ Method,
12
+ Split,
13
+ )
14
+ from src.detectors import method_flags
15
+ from src.schemas import EvaluationRow, Kpis, ThresholdPoint
16
+
17
+
18
+ def _as_ids(value) -> list[str]:
19
+ if isinstance(value, list):
20
+ return [str(item) for item in value if item]
21
+ return [part for part in str(value or "").split(",") if part]
22
+
23
+
24
+ def _event_hits(grants: pd.DataFrame, flagged: pd.Series, gold: pd.DataFrame, split: str) -> tuple[float | None, int]:
25
+ if gold is None or gold.empty:
26
+ return None, 0
27
+ events = gold.loc[gold["family"].isin(REVIEW_FAMILIES)]
28
+ if split != "all":
29
+ events = events.loc[events["split"].eq(split)]
30
+ if events.empty:
31
+ return None, 0
32
+ view = grants.loc[grants["split"].eq(split)] if split != "all" else grants
33
+ flags = flagged.loc[view.index] if split != "all" else flagged
34
+ detected: set[str] = set()
35
+ for event in events.itertuples(index=False):
36
+ overlap = view["gold_event_ids"].map(_as_ids).map(lambda items, event_id=event.event_id: event_id in items)
37
+ if not view.loc[overlap & flags].empty:
38
+ detected.add(event.event_id)
39
+ return round(len(detected) / len(events), 4), len(events)
40
+
41
+
42
+ def _precision(grants: pd.DataFrame, flagged: pd.Series, split: str) -> float | None:
43
+ view = grants.loc[grants["split"].eq(split)] if split != "all" else grants
44
+ flags = flagged.loc[view.index] if split != "all" else flagged
45
+ chosen = view.loc[flags]
46
+ if chosen.empty:
47
+ return 0.0
48
+ hits = chosen["gold_family"].isin(REVIEW_FAMILIES)
49
+ return round(float(hits.mean()), 4)
50
+
51
+
52
+ def _precision_at_k(grants: pd.DataFrame, flagged: pd.Series, split: str, k: int = REVIEW_CAPACITY) -> float | None:
53
+ view = grants.loc[grants["split"].eq(split)].copy() if split != "all" else grants.copy()
54
+ if view.empty:
55
+ return None
56
+ flags = flagged.loc[view.index]
57
+ scored = view.loc[flags].copy()
58
+ if scored.empty:
59
+ return 0.0
60
+ score = scored["review_score"] if "review_score" in scored.columns else pd.Series(0.0, index=scored.index)
61
+ top = scored.assign(_score=score).sort_values("_score", ascending=False).head(k)
62
+ return round(float(top["gold_family"].isin(REVIEW_FAMILIES).mean()), 4)
63
+
64
+
65
+ def _count_family(grants: pd.DataFrame, flagged: pd.Series, split: str, families: set[str]) -> int:
66
+ view = grants.loc[grants["split"].eq(split)] if split != "all" else grants
67
+ flags = flagged.loc[view.index] if split != "all" else flagged
68
+ if view.empty:
69
+ return 0
70
+ return int((view["gold_family"].isin(families) & flags).sum())
71
+
72
+
73
+ def method_rows(grants: pd.DataFrame, gold: pd.DataFrame, unused_days: float, parse_coverage: float) -> list[EvaluationRow]:
74
+ rows: list[EvaluationRow] = []
75
+ for split in (Split.DEVELOPMENT.value, Split.TEST.value, "all"):
76
+ for method in Method:
77
+ if method == Method.ARIAACCESS:
78
+ flagged = grants["alert_class"].eq(AlertClass.SECURITY_REVIEW.value)
79
+ else:
80
+ flagged = method_flags(grants, method.value, unused_days)
81
+ recall, n_events = _event_hits(grants, flagged, gold, split)
82
+ view = grants if split == "all" else grants.loc[grants["split"].eq(split)]
83
+ flags = flagged if split == "all" else flagged.loc[view.index]
84
+ if method == Method.ARIAACCESS:
85
+ n_sec = int(view["alert_class"].eq(AlertClass.SECURITY_REVIEW.value).sum()) if not view.empty else 0
86
+ n_ctx = int(view["alert_class"].eq(AlertClass.CONTEXT.value).sum()) if not view.empty else 0
87
+ n_ins = int(view["alert_class"].eq(AlertClass.INSUFFICIENT.value).sum()) if not view.empty else 0
88
+ protected = _count_family(
89
+ grants, view["alert_class"].eq(AlertClass.SECURITY_REVIEW.value) if not view.empty else flagged, split, PROTECTED_FAMILIES
90
+ )
91
+ coverage = _count_family(
92
+ grants, view["alert_class"].eq(AlertClass.SECURITY_REVIEW.value) if not view.empty else flagged, split, INSUFFICIENT_FAMILIES
93
+ )
94
+ else:
95
+ n_sec = int(flags.sum()) if not view.empty else 0
96
+ n_ctx = 0
97
+ n_ins = 0
98
+ protected = _count_family(grants, flagged, split, PROTECTED_FAMILIES)
99
+ coverage = _count_family(grants, flagged, split, INSUFFICIENT_FAMILIES)
100
+ rows.append(
101
+ EvaluationRow(
102
+ method=method.value,
103
+ split=split,
104
+ event_recall=recall,
105
+ precision=_precision(grants, flagged, split),
106
+ precision_at_k=_precision_at_k(grants, flagged, split),
107
+ protected_as_security=protected,
108
+ coverage_as_security=coverage,
109
+ n_security_alerts=n_sec,
110
+ n_context_alerts=n_ctx,
111
+ n_insufficient=n_ins,
112
+ n_review_events=n_events,
113
+ parse_coverage=parse_coverage,
114
+ )
115
+ )
116
+ return rows
117
+
118
+
119
+ def calibration_curve(grants: pd.DataFrame, gold: pd.DataFrame, apply_fn) -> list[ThresholdPoint]:
120
+ points = []
121
+ for threshold in (30, 60, 90, 120, 150, 180):
122
+ scored = apply_fn(grants, float(threshold))
123
+ flagged = scored["alert_class"].eq(AlertClass.SECURITY_REVIEW.value)
124
+ test = scored.loc[scored["split"].eq(Split.TEST.value)]
125
+ flags = flagged.loc[test.index] if not test.empty else flagged
126
+ recall, _ = _event_hits(scored, flagged, gold, Split.TEST.value)
127
+ points.append(
128
+ ThresholdPoint(
129
+ threshold=float(threshold),
130
+ n_security_alerts=int(flags.sum()) if not test.empty else int(flagged.sum()),
131
+ event_recall=recall,
132
+ precision=_precision(scored, flagged, Split.TEST.value),
133
+ protected_as_security=_count_family(scored, flagged, Split.TEST.value, PROTECTED_FAMILIES),
134
+ )
135
+ )
136
+ return points
137
+
138
+
139
+ def kpis(grants: pd.DataFrame, validation, seconds: float, unused_days: float, comparison: list[EvaluationRow]) -> Kpis:
140
+ test = next((row for row in comparison if row.method == Method.ARIAACCESS.value and row.split == Split.TEST.value), None)
141
+ return Kpis(
142
+ n_raw=validation.n_raw,
143
+ n_valid=validation.n_valid,
144
+ n_dropped=validation.n_dropped,
145
+ n_grants=len(grants),
146
+ n_identities=int(grants["identity_id"].nunique()) if not grants.empty else 0,
147
+ n_security_review=int(grants["alert_class"].eq(AlertClass.SECURITY_REVIEW.value).sum()) if not grants.empty else 0,
148
+ n_context=int(grants["alert_class"].eq(AlertClass.CONTEXT.value).sum()) if not grants.empty else 0,
149
+ n_insufficient=int(grants["alert_class"].eq(AlertClass.INSUFFICIENT.value).sum()) if not grants.empty else 0,
150
+ n_sod=int(grants["tag"].eq("sod_conflict").sum()) if not grants.empty else 0,
151
+ n_ownerless=int(grants["tag"].isin({"ownerless", "orphan_identity"}).sum()) if not grants.empty else 0,
152
+ parse_coverage=round(validation.n_valid / validation.n_raw, 4) if validation.n_raw else 0.0,
153
+ event_recall=test.event_recall if test else None,
154
+ precision=test.precision if test else None,
155
+ precision_at_k=test.precision_at_k if test else None,
156
+ protected_as_security=test.protected_as_security if test else 0,
157
+ seconds=round(seconds, 3),
158
+ threshold=unused_days,
159
+ model_names="rules+peer+policy-bm25",
160
+ review_capacity=REVIEW_CAPACITY,
161
+ )
demo/src/parsers.py ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import csv
4
+ import io
5
+ import json
6
+ from datetime import datetime, timezone
7
+ from pathlib import Path
8
+ from typing import Any
9
+
10
+ from src.domain import MAX_BYTES
11
+ from src.schemas import ValidationReport
12
+
13
+ TIME_FORMATS = (
14
+ "%Y-%m-%dT%H:%M:%S%z",
15
+ "%Y-%m-%dT%H:%M:%SZ",
16
+ "%Y-%m-%dT%H:%M:%S",
17
+ "%Y-%m-%d %H:%M:%S",
18
+ "%Y-%m-%d",
19
+ )
20
+
21
+
22
+ def _read_text(value: str | Path) -> str:
23
+ if isinstance(value, Path) or (isinstance(value, str) and Path(value).exists() and Path(value).is_file()):
24
+ return Path(value).read_text(encoding="utf-8")
25
+ return value
26
+
27
+
28
+ def parse_timestamp(value: Any) -> datetime | None:
29
+ text = str(value or "").strip()
30
+ if not text:
31
+ return None
32
+ if text.endswith("Z"):
33
+ try:
34
+ return datetime.fromisoformat(text.replace("Z", "+00:00")).astimezone(timezone.utc)
35
+ except ValueError:
36
+ pass
37
+ for fmt in TIME_FORMATS:
38
+ try:
39
+ parsed = datetime.strptime(text, fmt)
40
+ if parsed.tzinfo is None:
41
+ parsed = parsed.replace(tzinfo=timezone.utc)
42
+ return parsed.astimezone(timezone.utc)
43
+ except ValueError:
44
+ continue
45
+ try:
46
+ parsed = datetime.fromisoformat(text)
47
+ if parsed.tzinfo is None:
48
+ parsed = parsed.replace(tzinfo=timezone.utc)
49
+ return parsed.astimezone(timezone.utc)
50
+ except ValueError:
51
+ return None
52
+
53
+
54
+ def _csv_rows(text: str) -> list[dict[str, Any]]:
55
+ sample = text.lstrip()
56
+ if not sample:
57
+ return []
58
+ reader = csv.DictReader(io.StringIO(text))
59
+ return [dict(row) for row in reader]
60
+
61
+
62
+ def _json_payload(text: str) -> Any:
63
+ return json.loads(text)
64
+
65
+
66
+ def _as_row_list(value: Any) -> list[dict[str, Any]]:
67
+ if value is None:
68
+ return []
69
+ if isinstance(value, list):
70
+ return [dict(item) for item in value if isinstance(item, dict)]
71
+ if isinstance(value, dict):
72
+ return [value]
73
+ return []
74
+
75
+
76
+ def parse_pack(text: str, report: ValidationReport) -> dict[str, list[dict[str, Any]]]:
77
+ pack = {"identities": [], "roles": [], "resources": [], "grants": [], "gold": []}
78
+ raw = (text or "").strip()
79
+ if not raw:
80
+ report.add("empty", "No access-review rows provided.", severity="warning")
81
+ return pack
82
+ if len(raw.encode("utf-8")) > MAX_BYTES:
83
+ report.add("size", f"Upload exceeds {MAX_BYTES} bytes.")
84
+ return pack
85
+ if raw.startswith("{") or raw.startswith("["):
86
+ try:
87
+ payload = _json_payload(raw)
88
+ except json.JSONDecodeError:
89
+ report.add("parse", "JSON is not valid.")
90
+ return pack
91
+ if isinstance(payload, list):
92
+ pack["grants"] = _as_row_list(payload)
93
+ return pack
94
+ if isinstance(payload, dict):
95
+ pack["identities"] = _as_row_list(payload.get("identities"))
96
+ pack["roles"] = _as_row_list(payload.get("roles"))
97
+ pack["resources"] = _as_row_list(payload.get("resources"))
98
+ pack["grants"] = _as_row_list(payload.get("grants") or payload.get("rows"))
99
+ pack["gold"] = _as_row_list(payload.get("gold") or payload.get("gold_events"))
100
+ return pack
101
+ report.add("parse", "JSON must be an object or a list of grants.")
102
+ return pack
103
+ if raw.lstrip().startswith("grant_id") or "," in raw.splitlines()[0]:
104
+ pack["grants"] = _csv_rows(raw)
105
+ if not pack["grants"]:
106
+ report.add("parse", "CSV header was read but no grant rows followed.", severity="warning")
107
+ return pack
108
+ report.add("parse", "Use a JSON pack or a grants CSV with identity_id and role_id.")
109
+ return pack
110
+
111
+
112
+ def parse_table(text: str, kind: str = "pack") -> tuple[dict[str, list[dict[str, Any]]], ValidationReport]:
113
+ report = ValidationReport(ok=True)
114
+ _ = kind
115
+ return parse_pack(text, report), report
116
+
117
+
118
+ def parse_file(path: str | None, kind: str = "pack") -> tuple[dict[str, list[dict[str, Any]]], ValidationReport]:
119
+ report = ValidationReport(ok=True)
120
+ if not path:
121
+ return {"identities": [], "roles": [], "resources": [], "grants": [], "gold": []}, report
122
+ try:
123
+ text = _read_text(path)
124
+ except OSError as exc:
125
+ report.add("io", f"Could not read upload: {exc}")
126
+ return {"identities": [], "roles": [], "resources": [], "grants": [], "gold": []}, report
127
+ return parse_pack(text, report), report
demo/src/pipeline.py ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import time
4
+ from pathlib import Path
5
+ from typing import Any
6
+
7
+ import pandas as pd
8
+
9
+ from src.detectors import apply_detectors
10
+ from src.domain import (
11
+ CODE_VERSION,
12
+ DEFAULT_SEED,
13
+ DEFAULT_UNUSED_DAYS,
14
+ MIN_VALID_GRANTS,
15
+ AlertClass,
16
+ Confidence,
17
+ Severity,
18
+ Tag,
19
+ Verdict,
20
+ Workflow,
21
+ )
22
+ from src.explain import annotate_finding, citation_hits, decide_verdict, reasons, status_label
23
+ from src.features import attach_features, attach_gold, grants_frame, identities_frame, resources_frame, roles_frame
24
+ from src.generator import build_lab, filter_lab
25
+ from src.graph import build_graph
26
+ from src.metrics import calibration_curve, kpis, method_rows
27
+ from src.parsers import parse_file, parse_table
28
+ from src.reporting import input_hash, report_payload, write_downloads
29
+ from src.schemas import GrantFinding
30
+ from src.validation import _as_rows, validate_grants
31
+
32
+ ROOT = Path(__file__).resolve().parents[1]
33
+
34
+
35
+ def load_sample(scenario: str = "full", seed: int = DEFAULT_SEED) -> dict[str, Any]:
36
+ pack = build_lab(seed)
37
+ if scenario and scenario != "full":
38
+ pack = filter_lab(pack, scenario)
39
+ preview = pack["grants"].head(400).copy()
40
+ preview["resource_ids"] = preview["resource_ids"].map(lambda items: ",".join(items) if isinstance(items, list) else items)
41
+ return {
42
+ "grants": preview,
43
+ "full_grants": pack["grants"],
44
+ "identities": pack["identities"],
45
+ "roles": pack["roles"],
46
+ "resources": pack["resources"],
47
+ "gold": pack["gold"],
48
+ "policies": pack["policies"],
49
+ "n_grants": pack["n_grants"],
50
+ "seed": seed,
51
+ "scenario": scenario,
52
+ }
53
+
54
+
55
+ def load_uploaded(path: str | None) -> tuple[dict[str, Any], list[str]]:
56
+ pack, report = parse_file(path, "pack")
57
+ messages = [item.message for item in report.issues[:8]]
58
+ return pack, messages
59
+
60
+
61
+ def _split_list(value: Any) -> list[str]:
62
+ if isinstance(value, list):
63
+ return [str(item) for item in value if item]
64
+ return [part for part in str(value or "").split(",") if part]
65
+
66
+
67
+ def _grants_to_findings(grants: pd.DataFrame) -> list[GrantFinding]:
68
+ findings: list[GrantFinding] = []
69
+ if grants.empty:
70
+ return findings
71
+ for row in grants.to_dict(orient="records"):
72
+ item = GrantFinding(
73
+ finding_id=str(row.get("finding_id") or ""),
74
+ grant_id=str(row.get("grant_id") or ""),
75
+ identity_id=str(row.get("identity_id") or ""),
76
+ identity_type=str(row.get("identity_type") or "human"),
77
+ department=str(row.get("department") or ""),
78
+ owner_id=str(row.get("owner_id") or ""),
79
+ role_id=str(row.get("role_id") or ""),
80
+ resource_ids=_split_list(row.get("resource_ids")),
81
+ grant_kind=str(row.get("grant_kind") or "direct"),
82
+ inherited_from=str(row.get("inherited_from") or ""),
83
+ created_at=str(row.get("created_at") or ""),
84
+ last_used_at=str(row.get("last_used_at") or ""),
85
+ usage_count=int(row.get("usage_count") or 0),
86
+ usage_log_coverage=str(row.get("usage_log_coverage") or "none"),
87
+ days_unused=None if row.get("days_unused") is None or pd.isna(row.get("days_unused")) else float(row.get("days_unused")),
88
+ privileged=bool(row.get("privileged")),
89
+ seasonal=bool(row.get("seasonal")),
90
+ sensitivity=str(row.get("sensitivity") or "low"),
91
+ sod_group=str(row.get("sod_group") or ""),
92
+ split=str(row.get("split") or ""),
93
+ tag=Tag(row.get("tag") or Tag.NONE.value),
94
+ alert_class=AlertClass(row.get("alert_class") or AlertClass.NONE.value),
95
+ severity=Severity(row.get("severity") or Severity.LOW.value),
96
+ confidence=Confidence(row.get("confidence") or Confidence.LOW.value),
97
+ workflow=Workflow(row.get("workflow") or Workflow.CLEAR.value),
98
+ methods_fired=_split_list(row.get("methods_fired")),
99
+ gold_event_ids=_split_list(row.get("gold_event_ids")),
100
+ gold_family=str(row.get("gold_family") or ""),
101
+ policy_ids=_split_list(row.get("policy_ids")),
102
+ citations=citation_hits(row.get("citations") or []),
103
+ peer_jaccard=float(row.get("peer_jaccard") or 0),
104
+ extra_privileged=int(row.get("extra_privileged") or 0),
105
+ sod_conflict=int(row.get("sod_conflict") or 0),
106
+ review_score=float(row.get("review_score") or 0),
107
+ )
108
+ findings.append(annotate_finding(item))
109
+ return findings
110
+
111
+
112
+ def run_pipeline(
113
+ grants: pd.DataFrame | list[dict[str, Any]] | None,
114
+ gold: pd.DataFrame | list[dict[str, Any]] | None = None,
115
+ *,
116
+ identities: pd.DataFrame | list[dict[str, Any]] | None = None,
117
+ roles: pd.DataFrame | list[dict[str, Any]] | None = None,
118
+ resources: pd.DataFrame | list[dict[str, Any]] | None = None,
119
+ unused_days: float = DEFAULT_UNUSED_DAYS,
120
+ lang: str = "en",
121
+ extra_text: str = "",
122
+ hide_context: bool = False,
123
+ identity_filter: str = "",
124
+ seed: int = DEFAULT_SEED,
125
+ calibrate: bool = True,
126
+ ) -> dict[str, Any]:
127
+ started = time.perf_counter()
128
+ rows = _as_rows(grants)
129
+ extra_report = None
130
+ if extra_text.strip():
131
+ extra_pack, extra_report = parse_table(extra_text, "pack")
132
+ rows.extend(extra_pack.get("grants") or [])
133
+ if extra_pack.get("identities") and identities is None:
134
+ identities = extra_pack["identities"]
135
+ if extra_pack.get("gold") and gold is None:
136
+ gold = extra_pack["gold"]
137
+ validation = validate_grants(rows)
138
+ if extra_report:
139
+ validation.issues.extend(extra_report.issues)
140
+ if not extra_report.ok:
141
+ validation.ok = False
142
+ frame = grants_frame(rows) if (validation.ok or validation.n_valid) else pd.DataFrame()
143
+ validation.n_valid = int(len(frame))
144
+ validation.n_dropped = max(validation.n_raw - validation.n_valid, validation.n_dropped)
145
+ validation.n_redacted = int(frame["redacted"].sum()) if not frame.empty and "redacted" in frame.columns else 0
146
+ gold_frame = gold if isinstance(gold, pd.DataFrame) else pd.DataFrame(gold or [])
147
+ identity_frame = identities if isinstance(identities, pd.DataFrame) else identities_frame(_as_rows(identities))
148
+ role_frame = roles if isinstance(roles, pd.DataFrame) else roles_frame(_as_rows(roles))
149
+ resource_frame = resources if isinstance(resources, pd.DataFrame) else resources_frame(_as_rows(resources))
150
+ verdict = decide_verdict(validation.n_valid, validation)
151
+ empty_kpis = kpis(pd.DataFrame(), validation, time.perf_counter() - started, unused_days, [])
152
+ if verdict == Verdict.INVALID:
153
+ return {
154
+ "run_id": f"ariaar-{input_hash({'error': 'invalid'})}",
155
+ "verdict": verdict,
156
+ "status_label": status_label(lang, verdict, True),
157
+ "kpis": empty_kpis,
158
+ "findings": [],
159
+ "grants": frame,
160
+ "comparison": [],
161
+ "calibration": [],
162
+ "reasons": [issue.message for issue in validation.issues[:8]],
163
+ "validation": validation,
164
+ "report": {"disclaimer": "Invalid input."},
165
+ "seconds": empty_kpis.seconds,
166
+ "error": validation.issues[0].message if validation.issues else "Invalid input",
167
+ "graph": None,
168
+ "code_version": CODE_VERSION,
169
+ }
170
+ if verdict == Verdict.INSUFFICIENT:
171
+ result = {
172
+ "run_id": f"ariaar-{input_hash({'n': validation.n_valid, 'seed': seed})}",
173
+ "verdict": verdict,
174
+ "status_label": status_label(lang, verdict, True),
175
+ "kpis": empty_kpis,
176
+ "findings": [],
177
+ "grants": frame,
178
+ "comparison": [],
179
+ "calibration": [],
180
+ "reasons": [f"Valid grants={validation.n_valid}; need at least {MIN_VALID_GRANTS}."],
181
+ "validation": validation,
182
+ "report": {"disclaimer": "Insufficient evidence after parse and redaction."},
183
+ "seconds": empty_kpis.seconds,
184
+ "error": None,
185
+ "graph": None,
186
+ "code_version": CODE_VERSION,
187
+ }
188
+ result["report"] = report_payload(result)
189
+ return result
190
+
191
+ featured = attach_gold(attach_features(frame, unused_days), gold_frame)
192
+ scored = apply_detectors(featured, unused_days)
193
+ filtered = scored
194
+ if hide_context:
195
+ filtered = filtered.loc[filtered["alert_class"].ne(AlertClass.CONTEXT.value)].copy()
196
+ if identity_filter:
197
+ filtered = filtered.loc[filtered["identity_id"].astype(str).str.contains(identity_filter, regex=False)].copy()
198
+ alert_view = filtered.loc[filtered["alert_class"].ne(AlertClass.NONE.value)]
199
+ if not alert_view.empty:
200
+ alert_view = alert_view.sort_values(["alert_class", "review_score", "identity_id"], ascending=[True, False, True])
201
+ findings = _grants_to_findings(alert_view)
202
+ parse_coverage = round(validation.n_valid / max(validation.n_raw, 1), 4)
203
+ comparison = method_rows(scored, gold_frame, unused_days, parse_coverage)
204
+ calibration = calibration_curve(featured, gold_frame, apply_detectors) if calibrate else []
205
+ seconds = time.perf_counter() - started
206
+ digest = input_hash(
207
+ {
208
+ "n": validation.n_valid,
209
+ "unused_days": unused_days,
210
+ "dropped": validation.n_dropped,
211
+ "version": CODE_VERSION,
212
+ "seed": seed,
213
+ }
214
+ )
215
+ graph = build_graph(identity_frame, role_frame, resource_frame, scored)
216
+ payload = {
217
+ "run_id": f"ariaar-{digest}",
218
+ "verdict": Verdict.READY,
219
+ "status_label": status_label(lang, Verdict.READY, True),
220
+ "kpis": kpis(filtered, validation, seconds, unused_days, comparison),
221
+ "findings": findings,
222
+ "grants": filtered,
223
+ "grants_base": featured,
224
+ "comparison": comparison,
225
+ "calibration": calibration,
226
+ "validation": validation,
227
+ "seconds": seconds,
228
+ "error": None,
229
+ "identities": identity_frame,
230
+ "roles": role_frame,
231
+ "resources": resource_frame,
232
+ "graph": graph,
233
+ "code_version": CODE_VERSION,
234
+ "gold": gold_frame,
235
+ "threshold": unused_days,
236
+ "parse_coverage": parse_coverage,
237
+ }
238
+ payload["report"] = report_payload(payload)
239
+ from src.schemas import PipelineResult
240
+
241
+ modeled = PipelineResult(
242
+ run_id=payload["run_id"],
243
+ verdict=Verdict.READY,
244
+ status_label=payload["status_label"],
245
+ kpis=payload["kpis"],
246
+ findings=findings,
247
+ comparison=comparison,
248
+ calibration=calibration,
249
+ reasons=[],
250
+ validation=validation,
251
+ report=payload["report"],
252
+ seconds=seconds,
253
+ code_version=CODE_VERSION,
254
+ )
255
+ payload["reasons"] = reasons(lang, modeled)
256
+ return payload
257
+
258
+
259
+ def findings_table(result: dict[str, Any]) -> pd.DataFrame:
260
+ rows = []
261
+ for item in result.get("findings") or []:
262
+ rows.append(
263
+ {
264
+ "finding_id": item.finding_id,
265
+ "grant_id": item.grant_id,
266
+ "identity_id": item.identity_id,
267
+ "identity_type": item.identity_type,
268
+ "department": item.department,
269
+ "owner_id": item.owner_id or "missing",
270
+ "role_id": item.role_id,
271
+ "grant_kind": item.grant_kind,
272
+ "tag": item.tag.value,
273
+ "alert_class": item.alert_class.value,
274
+ "severity": item.severity.value,
275
+ "confidence": item.confidence.value,
276
+ "workflow": item.workflow.value,
277
+ "days_unused": item.days_unused,
278
+ "coverage": item.usage_log_coverage,
279
+ "gold_family": item.gold_family,
280
+ "policies": ",".join(item.policy_ids),
281
+ }
282
+ )
283
+ return pd.DataFrame(rows)
284
+
285
+
286
+ def evidence_table(result: dict[str, Any], finding_id: str) -> pd.DataFrame:
287
+ grants = result.get("grants")
288
+ findings = {item.finding_id: item for item in result.get("findings") or []}
289
+ item = findings.get(finding_id)
290
+ if item is None or grants is None or getattr(grants, "empty", True):
291
+ return pd.DataFrame()
292
+ frame = grants.copy()
293
+ view = frame.loc[frame["grant_id"].eq(item.grant_id)]
294
+ if view.empty and item.identity_id:
295
+ view = frame.loc[frame["identity_id"].eq(item.identity_id)]
296
+ cols = [
297
+ col
298
+ for col in (
299
+ "grant_id",
300
+ "identity_id",
301
+ "owner_id",
302
+ "role_id",
303
+ "grant_kind",
304
+ "inherited_from",
305
+ "last_used_at",
306
+ "usage_log_coverage",
307
+ "days_unused",
308
+ "privileged",
309
+ "lab_event_id",
310
+ )
311
+ if col in view.columns
312
+ ]
313
+ return view[cols] if cols else view
314
+
315
+
316
+ def result_to_downloads(result: dict[str, Any], folder: Path) -> dict[str, str]:
317
+ return write_downloads(result, folder)
demo/src/plots.py ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ import networkx as nx
6
+ import pandas as pd
7
+ import plotly.graph_objects as go
8
+ from plotly.subplots import make_subplots
9
+
10
+ from src.domain import AlertClass
11
+ from src.graph import ego_nodes
12
+ from src.i18n import t
13
+ from src.schemas import GrantFinding, Kpis, ThresholdPoint
14
+
15
+
16
+ def empty_plot(title: str = "—") -> go.Figure:
17
+ fig = go.Figure()
18
+ fig.update_layout(template="plotly_white", height=380, title=title)
19
+ return fig
20
+
21
+
22
+ def kpi_html(kpis: dict[str, Any] | Kpis | None, baseline: dict[str, Any] | None, lang: str) -> str:
23
+ if kpis is None:
24
+ return "<div class='kpi-grid'></div>"
25
+ data = kpis.model_dump() if isinstance(kpis, Kpis) else kpis
26
+ base = baseline or {}
27
+
28
+ def card(label: str, value: str, sub: str) -> str:
29
+ return (
30
+ f"<article class='kpi-card'><p class='kpi-label'>{label}</p>"
31
+ f"<p class='kpi-value'>{value}</p><p class='kpi-sub'>{sub}</p></article>"
32
+ )
33
+
34
+ recall = data.get("event_recall")
35
+ precision = data.get("precision_at_k")
36
+ return (
37
+ "<div class='kpi-grid'>"
38
+ + card(t(lang, "kpi_review"), str(data.get("n_security_review") or 0), f"{data.get('n_context') or 0} {t(lang, 'kpi_context_sub')}")
39
+ + card(t(lang, "kpi_coverage"), f"{100 * (data.get('parse_coverage') or 0):.0f}%", f"{data.get('n_valid') or 0}/{data.get('n_raw') or 0}")
40
+ + card(t(lang, "kpi_dropped"), str(data.get("n_dropped") or 0), t(lang, "kpi_dropped_sub"))
41
+ + card(t(lang, "kpi_recall"), "—" if recall is None else f"{100 * recall:.0f}%", f"{t(lang, 'baseline')}: {base.get('event_recall', '—')}")
42
+ + card(t(lang, "kpi_precision"), "—" if precision is None else f"{100 * precision:.0f}%", t(lang, "kpi_precision_sub"))
43
+ + card(t(lang, "kpi_protected"), str(data.get("protected_as_security") or 0), t(lang, "kpi_protected_sub"))
44
+ + card(t(lang, "kpi_time"), f"{data.get('seconds') or 0:.1f}s", f"T={int(data.get('threshold') or 0)}")
45
+ + "</div>"
46
+ )
47
+
48
+
49
+ def matrix_figure(grants: pd.DataFrame | None, title: str) -> go.Figure:
50
+ if grants is None or getattr(grants, "empty", True):
51
+ return empty_plot(title)
52
+ frame = grants.copy()
53
+ if "role_id" not in frame.columns or "department" not in frame.columns:
54
+ return empty_plot(title)
55
+ table = pd.crosstab(frame["role_id"], frame["department"])
56
+ fig = go.Figure(
57
+ go.Heatmap(
58
+ z=table.to_numpy(),
59
+ x=list(table.columns),
60
+ y=list(table.index),
61
+ colorscale="Teal",
62
+ hoverongaps=False,
63
+ )
64
+ )
65
+ fig.update_layout(template="plotly_white", height=520, title=title, xaxis_title="department", yaxis_title="role")
66
+ return fig
67
+
68
+
69
+ def identity_graph_figure(graph: nx.DiGraph | None, identity_id: str, title: str) -> go.Figure:
70
+ if graph is None or not identity_id:
71
+ return empty_plot(title)
72
+ ego = ego_nodes(graph, identity_id)
73
+ if ego.number_of_nodes() == 0:
74
+ return empty_plot(title)
75
+ layout = nx.spring_layout(ego, seed=15, k=1.2)
76
+ edge_x: list[float | None] = []
77
+ edge_y: list[float | None] = []
78
+ for source, target in ego.edges():
79
+ x0, y0 = layout[source]
80
+ x1, y1 = layout[target]
81
+ edge_x.extend([x0, x1, None])
82
+ edge_y.extend([y0, y1, None])
83
+ colors = []
84
+ labels = []
85
+ xs = []
86
+ ys = []
87
+ palette = {"identity": "#0f766e", "role": "#4338ca", "resource": "#b45309"}
88
+ for node, data in ego.nodes(data=True):
89
+ xs.append(layout[node][0])
90
+ ys.append(layout[node][1])
91
+ colors.append(palette.get(str(data.get("kind") or "resource"), "#334155"))
92
+ labels.append(str(node))
93
+ fig = go.Figure()
94
+ fig.add_trace(go.Scatter(x=edge_x, y=edge_y, mode="lines", line=dict(color="#cbd5e1", width=1), hoverinfo="none"))
95
+ fig.add_trace(
96
+ go.Scatter(
97
+ x=xs,
98
+ y=ys,
99
+ mode="markers+text",
100
+ text=labels,
101
+ textposition="top center",
102
+ marker=dict(color=colors, size=14),
103
+ hoverinfo="text",
104
+ )
105
+ )
106
+ fig.update_layout(template="plotly_white", height=420, title=f"{title} · {identity_id}", showlegend=False, xaxis=dict(visible=False), yaxis=dict(visible=False))
107
+ return fig
108
+
109
+
110
+ def compare_figure(rows: list[dict[str, Any]], title: str) -> go.Figure:
111
+ frame = pd.DataFrame(rows)
112
+ if frame.empty:
113
+ return empty_plot(title)
114
+ view = frame.loc[frame["split"] == "test"] if "test" in set(frame.get("split", [])) else frame
115
+ fig = go.Figure(go.Bar(x=view["method"], y=view["event_recall"].fillna(0), marker_color="#0f766e", name="event recall"))
116
+ fig.add_trace(go.Bar(x=view["method"], y=view["protected_as_security"].fillna(0), name="protected as review", marker_color="#94a3b8"))
117
+ fig.update_layout(template="plotly_white", height=380, title=title, barmode="group")
118
+ return fig
119
+
120
+
121
+ def calibration_figure(points: list[ThresholdPoint] | list[dict[str, Any]], title: str) -> go.Figure:
122
+ if not points:
123
+ return empty_plot(title)
124
+ frame = pd.DataFrame([item.model_dump() if hasattr(item, "model_dump") else item for item in points])
125
+ fig = make_subplots(specs=[[{"secondary_y": True}]])
126
+ fig.add_trace(go.Scatter(x=frame["threshold"], y=frame["n_security_alerts"], mode="lines+markers", name="review items"), secondary_y=False)
127
+ fig.add_trace(go.Scatter(x=frame["threshold"], y=frame["event_recall"].fillna(0), mode="lines+markers", name="test recall"), secondary_y=True)
128
+ fig.update_layout(template="plotly_white", height=360, title=title)
129
+ fig.update_yaxes(title_text="security-review items", secondary_y=False)
130
+ fig.update_yaxes(title_text="event recall", secondary_y=True, range=[0, 1])
131
+ return fig
132
+
133
+
134
+ def finding_scatter(rows: list[GrantFinding], title: str) -> go.Figure:
135
+ if not rows:
136
+ return empty_plot(title)
137
+ colors = []
138
+ for item in rows:
139
+ if item.alert_class == AlertClass.CONTEXT:
140
+ colors.append("#4338ca")
141
+ elif item.alert_class == AlertClass.INSUFFICIENT:
142
+ colors.append("#64748b")
143
+ elif item.tag.value in {"sod_conflict", "unused_privileged", "orphan_identity"}:
144
+ colors.append("#b45309")
145
+ else:
146
+ colors.append("#0f766e")
147
+ fig = go.Figure(
148
+ go.Scatter(
149
+ x=[item.peer_jaccard for item in rows],
150
+ y=[0 if item.days_unused is None else item.days_unused for item in rows],
151
+ mode="markers",
152
+ marker=dict(color=colors, size=10),
153
+ text=[f"{item.finding_id} {item.tag.value} {item.identity_id} {item.role_id}" for item in rows],
154
+ hoverinfo="text",
155
+ )
156
+ )
157
+ fig.update_layout(template="plotly_white", height=380, title=title, xaxis_title="peer jaccard", yaxis_title="days unused")
158
+ return fig
demo/src/policies.py ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from dataclasses import dataclass
4
+
5
+
6
+ @dataclass(frozen=True)
7
+ class PolicyDoc:
8
+ policy_id: str
9
+ title: str
10
+ text: str
11
+
12
+
13
+ POLICIES: tuple[PolicyDoc, ...] = (
14
+ PolicyDoc(
15
+ "POL-LP-01",
16
+ "Least privilege",
17
+ (
18
+ "A grant is a standing entitlement, not a personality inference. "
19
+ "Privileged or high-sensitivity roles that a peer in the same department and identity type "
20
+ "does not hold are review candidates. Employee performance and personal traits are out of scope. "
21
+ "Do not revoke from this review; ask the owner to attest or reduce the grant."
22
+ ),
23
+ ),
24
+ PolicyDoc(
25
+ "POL-SOD-01",
26
+ "Finance segregation of duties",
27
+ (
28
+ "role-finance-approver and role-finance-payer form a defined SoD pair. "
29
+ "One human identity must not hold both. Service and break-glass identities are reviewed "
30
+ "under their own policies, not this pair. A SoD finding cites both grant_id values."
31
+ ),
32
+ ),
33
+ PolicyDoc(
34
+ "POL-UNUSED-01",
35
+ "Unused access in the review window",
36
+ (
37
+ "A privileged or high-sensitivity grant with full usage-log coverage and no observed use "
38
+ "in the unused-days window is a human review item. Unused is not the same as unneeded. "
39
+ "Partial or missing logs make unused status unknown."
40
+ ),
41
+ ),
42
+ PolicyDoc(
43
+ "POL-COV-01",
44
+ "Usage log coverage",
45
+ (
46
+ "If usage_log_coverage is none or partial, missing last_used_at is insufficient evidence. "
47
+ "Do not treat an incomplete telemetry window as proof the identity does not need the grant."
48
+ ),
49
+ ),
50
+ PolicyDoc(
51
+ "POL-BG-01",
52
+ "Break-glass accounts",
53
+ (
54
+ "Break-glass roles are expected to stay unused. Long idle time is context, not a revoke "
55
+ "suggestion. Confirm the owner and the emergency procedure instead of removing the grant."
56
+ ),
57
+ ),
58
+ PolicyDoc(
59
+ "POL-SVC-01",
60
+ "Service accounts",
61
+ (
62
+ "Service identities may run on a schedule longer than ninety days. Idle human unused rules "
63
+ "do not apply. Review ownership and the intended job, not last_used_at alone."
64
+ ),
65
+ ),
66
+ PolicyDoc(
67
+ "POL-SEASON-01",
68
+ "Seasonal and contractor roles",
69
+ (
70
+ "Seasonal contractor roles are idle off-season by design. Flag them as context so an auditor "
71
+ "can confirm the season window. Do not treat off-season idle time as excess standing access."
72
+ ),
73
+ ),
74
+ PolicyDoc(
75
+ "POL-OWN-01",
76
+ "Ownership and orphan grants",
77
+ (
78
+ "Every standing grant needs an owner identity. Ownerless human grants and departed identities "
79
+ "that still hold high-sensitivity roles are review items. The finding must keep the grant_id."
80
+ ),
81
+ ),
82
+ PolicyDoc(
83
+ "POL-INH-01",
84
+ "Inherited versus direct grants",
85
+ (
86
+ "Inherited base staff roles are shown separately from direct grants. Unused inherited "
87
+ "employee-base, email, or vpn membership is context for the bundle, not a surgical revoke."
88
+ ),
89
+ ),
90
+ )
91
+
92
+
93
+ def policy_by_id() -> dict[str, PolicyDoc]:
94
+ return {item.policy_id: item for item in POLICIES}
95
+
96
+
97
+ def policy_records() -> list[dict[str, str]]:
98
+ return [{"policy_id": item.policy_id, "title": item.title, "text": item.text} for item in POLICIES]
demo/src/redaction.py ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import hashlib
4
+ import re
5
+ from typing import Any
6
+
7
+ EMAIL_RE = re.compile(r"(?i)\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b")
8
+ JWT_RE = re.compile(r"\beyJ[A-Za-z0-9_-]+\.[A-Za-z0-9._-]+\.[A-Za-z0-9._-]+\b")
9
+ TOKENISH_RE = re.compile(r"(?i)(password|passwd|secret|token|authorization|cookie|api[_-]?key)")
10
+
11
+
12
+ def normalize_id(value: Any) -> str:
13
+ return str(value or "").strip()
14
+
15
+
16
+ def _hash8(value: str) -> str:
17
+ return hashlib.sha256(value.encode("utf-8")).hexdigest()[:8]
18
+
19
+
20
+ def alias_identity(value: Any) -> str:
21
+ text = normalize_id(value)
22
+ if not text:
23
+ return ""
24
+ if EMAIL_RE.search(text):
25
+ return f"idn_uploaded_{_hash8(text.lower())}"
26
+ return text
27
+
28
+
29
+ def redact_text(value: Any) -> str:
30
+ text = normalize_id(value)
31
+ text = JWT_RE.sub("[REDACTED_TOKEN]", text)
32
+ text = EMAIL_RE.sub("[REDACTED_EMAIL]", text)
33
+ return text
34
+
35
+
36
+ def _truthy(value: Any) -> bool:
37
+ if isinstance(value, bool):
38
+ return value
39
+ return str(value or "").strip().lower() in {"1", "true", "yes", "y"}
40
+
41
+
42
+ def _flagged(row: dict[str, Any]) -> bool:
43
+ blob = " ".join(str(value) for value in row.values())
44
+ return bool(EMAIL_RE.search(blob) or TOKENISH_RE.search(blob) or JWT_RE.search(blob))
45
+
46
+
47
+ def redact_identity(row: dict[str, Any]) -> dict[str, Any]:
48
+ identity_id = alias_identity(row.get("identity_id") or row.get("user_id") or row.get("account"))
49
+ return {
50
+ "identity_id": identity_id,
51
+ "display_name": redact_text(row.get("display_name") or identity_id),
52
+ "identity_type": normalize_id(row.get("identity_type") or "human").lower() or "human",
53
+ "owner_id": alias_identity(row.get("owner_id") or row.get("manager_id") or ""),
54
+ "department": normalize_id(row.get("department") or "unknown").lower() or "unknown",
55
+ "status": normalize_id(row.get("status") or "active").lower() or "active",
56
+ "seasonal": _truthy(row.get("seasonal")),
57
+ "split": normalize_id(row.get("split") or ""),
58
+ "redacted": _flagged(row),
59
+ }
60
+
61
+
62
+ def redact_role(row: dict[str, Any]) -> dict[str, Any]:
63
+ return {
64
+ "role_id": normalize_id(row.get("role_id") or row.get("role")),
65
+ "name": redact_text(row.get("name") or row.get("role_id") or ""),
66
+ "description": redact_text(row.get("description") or ""),
67
+ "owner_id": alias_identity(row.get("owner_id") or ""),
68
+ "sensitivity": normalize_id(row.get("sensitivity") or "low").lower() or "low",
69
+ "privileged": _truthy(row.get("privileged")),
70
+ "seasonal": _truthy(row.get("seasonal")),
71
+ "sod_group": normalize_id(row.get("sod_group") or ""),
72
+ "break_glass": _truthy(row.get("break_glass")),
73
+ "service": _truthy(row.get("service")),
74
+ }
75
+
76
+
77
+ def redact_resource(row: dict[str, Any]) -> dict[str, Any]:
78
+ return {
79
+ "resource_id": normalize_id(row.get("resource_id") or row.get("resource")),
80
+ "name": redact_text(row.get("name") or row.get("resource_id") or ""),
81
+ "system": normalize_id(row.get("system") or "lab"),
82
+ "owner_id": alias_identity(row.get("owner_id") or ""),
83
+ "sensitivity": normalize_id(row.get("sensitivity") or "low").lower() or "low",
84
+ "role_id": normalize_id(row.get("role_id") or ""),
85
+ }
86
+
87
+
88
+ def redact_grant(row: dict[str, Any]) -> dict[str, Any]:
89
+ identity_id = alias_identity(row.get("identity_id") or row.get("user_id") or row.get("account"))
90
+ resources = row.get("resource_ids") or row.get("resources") or row.get("resource_id") or ""
91
+ if isinstance(resources, list):
92
+ resource_ids = [normalize_id(item) for item in resources if normalize_id(item)]
93
+ else:
94
+ resource_ids = [part.strip() for part in str(resources).split(",") if part.strip()]
95
+ return {
96
+ "grant_id": normalize_id(row.get("grant_id") or ""),
97
+ "identity_id": identity_id,
98
+ "identity_type": normalize_id(row.get("identity_type") or "human").lower() or "human",
99
+ "department": normalize_id(row.get("department") or "unknown").lower() or "unknown",
100
+ "owner_id": alias_identity(row.get("owner_id") or ""),
101
+ "status": normalize_id(row.get("status") or "active").lower() or "active",
102
+ "seasonal_identity": _truthy(row.get("seasonal_identity") or row.get("seasonal")),
103
+ "role_id": normalize_id(row.get("role_id") or row.get("role")),
104
+ "resource_ids": resource_ids,
105
+ "grant_kind": normalize_id(row.get("grant_kind") or row.get("kind") or "direct").lower() or "direct",
106
+ "inherited_from": normalize_id(row.get("inherited_from") or ""),
107
+ "created_at": normalize_id(row.get("created_at") or ""),
108
+ "expires_at": normalize_id(row.get("expires_at") or ""),
109
+ "last_used_at": normalize_id(row.get("last_used_at") or ""),
110
+ "usage_count": int(row.get("usage_count") or 0),
111
+ "usage_window_days": int(row.get("usage_window_days") or 90),
112
+ "usage_log_coverage": normalize_id(row.get("usage_log_coverage") or row.get("coverage") or "full").lower()
113
+ or "full",
114
+ "sensitivity": normalize_id(row.get("sensitivity") or "low").lower() or "low",
115
+ "privileged": _truthy(row.get("privileged")),
116
+ "seasonal": _truthy(row.get("seasonal")),
117
+ "sod_group": normalize_id(row.get("sod_group") or ""),
118
+ "break_glass": _truthy(row.get("break_glass")),
119
+ "service": _truthy(row.get("service")),
120
+ "lab_event_id": normalize_id(row.get("lab_event_id") or ""),
121
+ "lab_family": normalize_id(row.get("lab_family") or ""),
122
+ "split": normalize_id(row.get("split") or ""),
123
+ "redacted": _flagged(row),
124
+ }
demo/src/reporting.py ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import hashlib
4
+ import json
5
+ from pathlib import Path
6
+ from typing import Any
7
+
8
+ import pandas as pd
9
+
10
+ from src.domain import CODE_VERSION, PRODUCT, SCHEMA_ID, SNAPSHOT_ID
11
+ from src.schemas import GrantFinding
12
+
13
+
14
+ def input_hash(payload: dict[str, Any]) -> str:
15
+ raw = json.dumps(payload, sort_keys=True, ensure_ascii=False, default=str)
16
+ return hashlib.sha256(raw.encode("utf-8")).hexdigest()[:16]
17
+
18
+
19
+ def findings_frame(rows: list[GrantFinding]) -> pd.DataFrame:
20
+ records = []
21
+ for item in rows:
22
+ data = item.model_dump()
23
+ data["observed"] = " | ".join(item.observed)
24
+ data["inferred"] = " | ".join(item.inferred)
25
+ data["gold_event_ids"] = ",".join(item.gold_event_ids)
26
+ data["resource_ids"] = ",".join(item.resource_ids)
27
+ data["methods_fired"] = ",".join(item.methods_fired)
28
+ data["policy_ids"] = ",".join(item.policy_ids)
29
+ data["citations"] = " | ".join(hit.policy_id for hit in item.citations)
30
+ data["tag"] = item.tag.value
31
+ data["alert_class"] = item.alert_class.value
32
+ data["severity"] = item.severity.value
33
+ data["confidence"] = item.confidence.value
34
+ data["workflow"] = item.workflow.value
35
+ records.append(data)
36
+ return pd.DataFrame(records)
37
+
38
+
39
+ def report_payload(result: dict[str, Any]) -> dict[str, Any]:
40
+ return {
41
+ "product": PRODUCT,
42
+ "code_version": CODE_VERSION,
43
+ "schema_id": SCHEMA_ID,
44
+ "snapshot_id": SNAPSHOT_ID,
45
+ "run_id": result["run_id"],
46
+ "verdict": result["verdict"].value if hasattr(result["verdict"], "value") else result["verdict"],
47
+ "kpis": result["kpis"].model_dump() if hasattr(result["kpis"], "model_dump") else result["kpis"],
48
+ "comparison": [row.model_dump() if hasattr(row, "model_dump") else row for row in result.get("comparison") or []],
49
+ "calibration": [row.model_dump() if hasattr(row, "model_dump") else row for row in result.get("calibration") or []],
50
+ "input_hash": result["run_id"].split("-")[-1],
51
+ "live": True,
52
+ "disclaimer": (
53
+ "A suggestion is a human review item, not a revoke. "
54
+ "Missing usage logs are insufficient evidence, not proof of no need. "
55
+ "Break-glass, service, and seasonal idle time stay context. "
56
+ "This demo never revokes a grant or writes back to an identity provider."
57
+ ),
58
+ }
59
+
60
+
61
+ def write_downloads(result: dict[str, Any], folder: Path) -> dict[str, str]:
62
+ folder.mkdir(parents=True, exist_ok=True)
63
+ run_id = result["run_id"]
64
+ files = {
65
+ "findings": folder / f"{run_id}_findings.csv",
66
+ "comparison": folder / f"{run_id}_comparison.csv",
67
+ "calibration": folder / f"{run_id}_calibration.csv",
68
+ "report": folder / f"{run_id}_report.json",
69
+ }
70
+ findings_frame(result["findings"]).to_csv(files["findings"], index=False)
71
+ pd.DataFrame([row.model_dump() if hasattr(row, "model_dump") else row for row in result.get("comparison") or []]).to_csv(
72
+ files["comparison"], index=False
73
+ )
74
+ pd.DataFrame([row.model_dump() if hasattr(row, "model_dump") else row for row in result.get("calibration") or []]).to_csv(
75
+ files["calibration"], index=False
76
+ )
77
+ files["report"].write_text(json.dumps(result["report"], indent=2, ensure_ascii=False, default=str), encoding="utf-8")
78
+ return {key: str(path) for key, path in files.items()}
demo/src/retrieval.py ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import math
4
+ import re
5
+
6
+ from src.policies import POLICIES, PolicyDoc
7
+ from src.schemas import PolicyHit
8
+
9
+ _TOKEN = re.compile(r"[a-z0-9][a-z0-9_-]+")
10
+
11
+
12
+ def tokens(text: str) -> list[str]:
13
+ return _TOKEN.findall(text.lower())
14
+
15
+
16
+ def _bm25(query: list[str], docs: list[list[str]], k1: float = 1.5, b: float = 0.75) -> list[float]:
17
+ n = len(docs)
18
+ if n == 0:
19
+ return []
20
+ df: dict[str, int] = {}
21
+ for doc in docs:
22
+ for term in set(doc):
23
+ df[term] = df.get(term, 0) + 1
24
+ avgdl = sum(len(doc) for doc in docs) / n
25
+ scores: list[float] = []
26
+ for doc in docs:
27
+ tf: dict[str, int] = {}
28
+ for term in doc:
29
+ tf[term] = tf.get(term, 0) + 1
30
+ score = 0.0
31
+ length = len(doc) or 1
32
+ for term in query:
33
+ if term not in tf:
34
+ continue
35
+ idf = math.log(1 + (n - df.get(term, 0) + 0.5) / (df.get(term, 0) + 0.5))
36
+ freq = tf[term]
37
+ score += idf * (freq * (k1 + 1)) / (freq + k1 * (1 - b + b * length / avgdl))
38
+ scores.append(score)
39
+ return scores
40
+
41
+
42
+ def retrieve_policies(query: str, limit: int = 2) -> list[PolicyHit]:
43
+ query_tokens = tokens(query)
44
+ if not query_tokens:
45
+ return []
46
+ docs = [tokens(f"{item.policy_id} {item.title} {item.text}") for item in POLICIES]
47
+ scores = _bm25(query_tokens, docs)
48
+ ranked = sorted(zip(POLICIES, scores, strict=True), key=lambda pair: pair[1], reverse=True)
49
+ hits: list[PolicyHit] = []
50
+ for doc, score in ranked[:limit]:
51
+ if score <= 0:
52
+ continue
53
+ hits.append(
54
+ PolicyHit(
55
+ policy_id=doc.policy_id,
56
+ title=doc.title,
57
+ excerpt=doc.text[:220],
58
+ score=round(float(score), 4),
59
+ )
60
+ )
61
+ return hits
62
+
63
+
64
+ def policies_for_tag(tag: str, extra: str = "") -> list[PolicyHit]:
65
+ mapping = {
66
+ "unused_privileged": "unused privileged grant full usage log coverage least privilege",
67
+ "sod_conflict": "finance segregation of duties approver payer",
68
+ "ownerless": "ownerless grant ownership orphan",
69
+ "orphan_identity": "departed orphan identity ownerless grant",
70
+ "peer_excess": "least privilege peer department extra privileged role",
71
+ "incomplete_usage_log": "usage log coverage none partial insufficient unused",
72
+ "break_glass_unused": "break-glass unused emergency account",
73
+ "service_unused": "service account unused schedule",
74
+ "seasonal_unused": "seasonal contractor off-season unused",
75
+ "inherited_base_unused": "inherited base staff email vpn unused",
76
+ }
77
+ query = f"{mapping.get(tag, tag)} {extra}"
78
+ hits = retrieve_policies(query, limit=2)
79
+ if hits:
80
+ return hits
81
+ fallback = POLICIES[0]
82
+ return [PolicyHit(policy_id=fallback.policy_id, title=fallback.title, excerpt=fallback.text[:220], score=0.0)]
83
+
84
+
85
+ def excerpt(doc: PolicyDoc, limit: int = 220) -> str:
86
+ return doc.text[:limit]