opal-security 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,64 +11,126 @@ export var AccessChangeType;
11
11
  AccessChangeType["Other"] = "OTHER";
12
12
  AccessChangeType["Revoked"] = "REVOKED";
13
13
  })(AccessChangeType || (AccessChangeType = {}));
14
+ /** Possible filter values for access levels */
15
+ export var AccessLevelFilter;
16
+ (function (AccessLevelFilter) {
17
+ /** All access levels */
18
+ AccessLevelFilter["All"] = "ALL";
19
+ /** Access levels that are requestable to users */
20
+ AccessLevelFilter["Requestable"] = "REQUESTABLE";
21
+ /** Access levels that are not requestable */
22
+ AccessLevelFilter["Unrequestable"] = "UNREQUESTABLE";
23
+ })(AccessLevelFilter || (AccessLevelFilter = {}));
24
+ /** Access filtering options for catalog items. */
14
25
  export var AccessOption;
15
26
  (function (AccessOption) {
27
+ /** All items regardless of access. */
16
28
  AccessOption["All"] = "ALL";
29
+ /** Items that can be managed by the current user. */
17
30
  AccessOption["Manageable"] = "MANAGEABLE";
31
+ /** Items the current user has access to. */
18
32
  AccessOption["Mine"] = "MINE";
33
+ /** Items that can be requested. */
19
34
  AccessOption["Requestable"] = "REQUESTABLE";
20
- /** @deprecated no longer supported */
35
+ /**
36
+ * Unmanaged items (deprecated).
37
+ * @deprecated no longer supported
38
+ */
21
39
  AccessOption["Unmanaged"] = "UNMANAGED";
22
40
  })(AccessOption || (AccessOption = {}));
41
+ /** Actions that can be taken on an access during review. */
23
42
  export var AccessReviewAction;
24
43
  (function (AccessReviewAction) {
44
+ /** Accept/approve the access as-is. */
25
45
  AccessReviewAction["Accept"] = "ACCEPT";
46
+ /** Admin-initiated revocation (bypassing normal approval flow). */
26
47
  AccessReviewAction["AdminRevoke"] = "ADMIN_REVOKE";
48
+ /** No action taken yet. */
27
49
  AccessReviewAction["NoAction"] = "NO_ACTION";
50
+ /** Revoke the access. */
28
51
  AccessReviewAction["Revoke"] = "REVOKE";
52
+ /** Update/modify the access (e.g., change access level). */
29
53
  AccessReviewAction["Update"] = "UPDATE";
30
54
  })(AccessReviewAction || (AccessReviewAction = {}));
55
+ /** Status indicating whether a review item has been assigned to reviewers */
31
56
  export var AccessReviewAssignedStatus;
32
57
  (function (AccessReviewAssignedStatus) {
58
+ /** The review item has been assigned to one or more reviewers */
33
59
  AccessReviewAssignedStatus["Assigned"] = "ASSIGNED";
60
+ /** The review item has not been assigned to any reviewers */
34
61
  AccessReviewAssignedStatus["Unassigned"] = "UNASSIGNED";
35
62
  })(AccessReviewAssignedStatus || (AccessReviewAssignedStatus = {}));
63
+ /** The default view for end users performing reviews. */
36
64
  export var AccessReviewEndUserView;
37
65
  (function (AccessReviewEndUserView) {
66
+ /** Resource-centric view (show resources first, then users with access). */
38
67
  AccessReviewEndUserView["ResourceFirst"] = "RESOURCE_FIRST";
68
+ /** User-centric view (show users first, then their access). */
39
69
  AccessReviewEndUserView["UserFirst"] = "USER_FIRST";
40
70
  })(AccessReviewEndUserView || (AccessReviewEndUserView = {}));
71
+ /** The kind of item being reviewed in a group access review (either a resource or another group) */
41
72
  export var AccessReviewGroupItemKind;
42
73
  (function (AccessReviewGroupItemKind) {
74
+ /** The item is a group */
43
75
  AccessReviewGroupItemKind["Group"] = "GROUP";
76
+ /** The item is a resource */
44
77
  AccessReviewGroupItemKind["Resource"] = "RESOURCE";
45
78
  })(AccessReviewGroupItemKind || (AccessReviewGroupItemKind = {}));
79
+ /** Policy controlling which group resources are visible to reviewers. */
46
80
  export var AccessReviewGroupResourceVisibilityPolicy;
47
81
  (function (AccessReviewGroupResourceVisibilityPolicy) {
82
+ /** Only show group resources that are visible to the reviewer. */
48
83
  AccessReviewGroupResourceVisibilityPolicy["Strict"] = "STRICT";
84
+ /** Show all group resources regardless of reviewer visibility. */
49
85
  AccessReviewGroupResourceVisibilityPolicy["ViewAll"] = "VIEW_ALL";
86
+ /** Also show assigned group resources even if not normally visible. */
50
87
  AccessReviewGroupResourceVisibilityPolicy["ViewVisibleAndAssigned"] = "VIEW_VISIBLE_AND_ASSIGNED";
51
88
  })(AccessReviewGroupResourceVisibilityPolicy || (AccessReviewGroupResourceVisibilityPolicy = {}));
89
+ /** The outcome/decision made on an access item after review. */
52
90
  export var AccessReviewItemOutcome;
53
91
  (function (AccessReviewItemOutcome) {
92
+ /** Item accepted. */
54
93
  AccessReviewItemOutcome["Accepted"] = "ACCEPTED";
94
+ /** No outcome yet. */
55
95
  AccessReviewItemOutcome["None"] = "NONE";
96
+ /** Item revoked. */
56
97
  AccessReviewItemOutcome["Revoked"] = "REVOKED";
98
+ /** Item updated. */
57
99
  AccessReviewItemOutcome["Updated"] = "UPDATED";
58
100
  })(AccessReviewItemOutcome || (AccessReviewItemOutcome = {}));
101
+ /**
102
+ * Aggregates the ReviewerUserStatus of multiple reviewers, at the item level.
103
+ * For example: AccessReviewResourceUser (item level) has multiple AccessReviewResourceUserReviewer (reviewer level).
104
+ */
59
105
  export var AccessReviewItemStatus;
60
106
  (function (AccessReviewItemStatus) {
107
+ /** All reviewers have completed their reviews. */
61
108
  AccessReviewItemStatus["Completed"] = "COMPLETED";
109
+ /** This item has warnings. Takes precedence over all other statuses. */
62
110
  AccessReviewItemStatus["NeedsAttention"] = "NEEDS_ATTENTION";
111
+ /**
112
+ * This item was revoked in Opal and is awaiting end-system revocation. Takes
113
+ * precedence over all other statuses besides NEEDS_ATTENTION.
114
+ */
63
115
  AccessReviewItemStatus["NeedsEndSystemRevocation"] = "NEEDS_END_SYSTEM_REVOCATION";
116
+ /**
117
+ * This item was updated in Opal and the resulting access request needs to be
118
+ * approved. Takes precedence over all other statuses besides NEEDS_ATTENTION.
119
+ */
64
120
  AccessReviewItemStatus["NeedsUpdateRequestApproval"] = "NEEDS_UPDATE_REQUEST_APPROVAL";
121
+ /** No reviewers have completed any reviews yet. */
65
122
  AccessReviewItemStatus["NotStarted"] = "NOT_STARTED";
123
+ /** There are no items to review. */
66
124
  AccessReviewItemStatus["NoReviewNeeded"] = "NO_REVIEW_NEEDED";
125
+ /** Some reviewers have completed their reviews. */
67
126
  AccessReviewItemStatus["PartiallyCompleted"] = "PARTIALLY_COMPLETED";
68
127
  })(AccessReviewItemStatus || (AccessReviewItemStatus = {}));
128
+ /** Fields that access review items can be sorted by. */
69
129
  export var AccessReviewItemsSortByField;
70
130
  (function (AccessReviewItemsSortByField) {
131
+ /** Sort by name. */
71
132
  AccessReviewItemsSortByField["Name"] = "NAME";
133
+ /** Sort by review status. */
72
134
  AccessReviewItemsSortByField["Status"] = "STATUS";
73
135
  })(AccessReviewItemsSortByField || (AccessReviewItemsSortByField = {}));
74
136
  export var AccessReviewPreviewSortByField;
@@ -76,64 +138,117 @@ export var AccessReviewPreviewSortByField;
76
138
  AccessReviewPreviewSortByField["EntityName"] = "ENTITY_NAME";
77
139
  AccessReviewPreviewSortByField["ReviewCount"] = "REVIEW_COUNT";
78
140
  })(AccessReviewPreviewSortByField || (AccessReviewPreviewSortByField = {}));
141
+ /** Policy for automatically assigning reviewers to access. */
79
142
  export var AccessReviewReviewerAssignmentPolicy;
80
143
  (function (AccessReviewReviewerAssignmentPolicy) {
144
+ /** Assign to the access approvers. */
81
145
  AccessReviewReviewerAssignmentPolicy["ByApprovers"] = "BY_APPROVERS";
146
+ /** Assign to all access approvers. */
82
147
  AccessReviewReviewerAssignmentPolicy["ByApproversAll"] = "BY_APPROVERS_ALL";
148
+ /** Assign to the user's manager. */
83
149
  AccessReviewReviewerAssignmentPolicy["ByManager"] = "BY_MANAGER";
150
+ /** Assign to admins of the owning team. */
84
151
  AccessReviewReviewerAssignmentPolicy["ByOwningTeamAdmin"] = "BY_OWNING_TEAM_ADMIN";
152
+ /** Assign to all admins of the owning team. */
85
153
  AccessReviewReviewerAssignmentPolicy["ByOwningTeamAdminAll"] = "BY_OWNING_TEAM_ADMIN_ALL";
154
+ /** Reviewers are assigned manually. */
86
155
  AccessReviewReviewerAssignmentPolicy["Manually"] = "MANUALLY";
87
156
  })(AccessReviewReviewerAssignmentPolicy || (AccessReviewReviewerAssignmentPolicy = {}));
157
+ /** The status of an access review. */
88
158
  export var AccessReviewStatus;
89
159
  (function (AccessReviewStatus) {
160
+ /** The access review has been completed/stopped. */
90
161
  AccessReviewStatus["Completed"] = "COMPLETED";
162
+ /** The access review is currently in progress. */
91
163
  AccessReviewStatus["Started"] = "STARTED";
92
164
  })(AccessReviewStatus || (AccessReviewStatus = {}));
165
+ /**
166
+ * Aggregates the AccessReviewItemStatus of multiple items at the summary level.
167
+ * For example: AccessReviewResource (summary level) has multiple AccessReviewResourceUser (item level).
168
+ */
93
169
  export var AccessReviewSummaryStatus;
94
170
  (function (AccessReviewSummaryStatus) {
171
+ /** All items' reviews are complete. */
95
172
  AccessReviewSummaryStatus["Completed"] = "COMPLETED";
173
+ /** Some item(s) have warnings. Takes precedence over all other statuses. */
96
174
  AccessReviewSummaryStatus["NeedsAttention"] = "NEEDS_ATTENTION";
175
+ /**
176
+ * Some item(s) were revoked in Opal and are awaiting end-system revocation.
177
+ * Takes precedence over all other statuses besides NEEDS_ATTENTION.
178
+ */
97
179
  AccessReviewSummaryStatus["NeedsEndSystemRevocation"] = "NEEDS_END_SYSTEM_REVOCATION";
180
+ /**
181
+ * This item was updated in Opal and the resulting access request needs to be
182
+ * approved. Takes precedence over all other statuses besides NEEDS_ATTENTION.
183
+ */
98
184
  AccessReviewSummaryStatus["NeedsUpdateRequestApproval"] = "NEEDS_UPDATE_REQUEST_APPROVAL";
185
+ /** No items' reviews are complete yet. */
99
186
  AccessReviewSummaryStatus["NotStarted"] = "NOT_STARTED";
187
+ /** There are no items to review. */
100
188
  AccessReviewSummaryStatus["NoReviewNeeded"] = "NO_REVIEW_NEEDED";
189
+ /** Some items' reviews are complete. */
101
190
  AccessReviewSummaryStatus["PartiallyCompleted"] = "PARTIALLY_COMPLETED";
102
191
  })(AccessReviewSummaryStatus || (AccessReviewSummaryStatus = {}));
192
+ /** Enum representing the different tabs in an access review interface. */
103
193
  export var AccessReviewTab;
104
194
  (function (AccessReviewTab) {
195
+ /** App/connection-centric view. */
105
196
  AccessReviewTab["AppsTab"] = "APPS_TAB";
197
+ /** Group-centric view. */
106
198
  AccessReviewTab["GroupsTab"] = "GROUPS_TAB";
199
+ /** Resource-centric view. */
107
200
  AccessReviewTab["ResourceTab"] = "RESOURCE_TAB";
201
+ /** User-centric view. */
108
202
  AccessReviewTab["UsersTab"] = "USERS_TAB";
109
203
  })(AccessReviewTab || (AccessReviewTab = {}));
204
+ /** The type of access being reviewed. */
110
205
  export var AccessReviewType;
111
206
  (function (AccessReviewType) {
207
+ /** User access to a connection/app. */
112
208
  AccessReviewType["ConnectionUser"] = "CONNECTION_USER";
209
+ /** Group membership in another group. */
113
210
  AccessReviewType["GroupGroup"] = "GROUP_GROUP";
211
+ /** Group access to a resource. */
114
212
  AccessReviewType["GroupResource"] = "GROUP_RESOURCE";
213
+ /** User membership in a group. */
115
214
  AccessReviewType["GroupUser"] = "GROUP_USER";
215
+ /** Resource (NHI) access to another resource. */
116
216
  AccessReviewType["ResourceResource"] = "RESOURCE_RESOURCE";
217
+ /** User access to a resource. */
117
218
  AccessReviewType["ResourceUser"] = "RESOURCE_USER";
118
219
  })(AccessReviewType || (AccessReviewType = {}));
220
+ /** Types of warnings that can occur during access review. */
119
221
  export var AccessReviewUserWarningType;
120
222
  (function (AccessReviewUserWarningType) {
223
+ /** The assigned reviewer has been deleted. */
121
224
  AccessReviewUserWarningType["ReviewerDeleted"] = "REVIEWER_DELETED";
225
+ /** The reviewer does not have visibility to the item being reviewed. */
122
226
  AccessReviewUserWarningType["ReviewerNoVisibility"] = "REVIEWER_NO_VISIBILITY";
227
+ /** The reviewer is reviewing their own access, which may not be allowed. */
123
228
  AccessReviewUserWarningType["SelfReviewNotAllowed"] = "SELF_REVIEW_NOT_ALLOWED";
124
229
  })(AccessReviewUserWarningType || (AccessReviewUserWarningType = {}));
230
+ /** Status of an access rule indicating whether it is actively enforcing access conditions. */
125
231
  export var AccessRuleStatus;
126
232
  (function (AccessRuleStatus) {
233
+ /** Rule is actively enforcing access conditions. */
127
234
  AccessRuleStatus["Active"] = "ACTIVE";
235
+ /** Rule is forced to active state and will be set back to active after first sync to prevent triggering the failsafe. */
128
236
  AccessRuleStatus["ActiveForced"] = "ACTIVE_FORCED";
237
+ /** Rule is temporarily paused and not enforcing conditions. */
129
238
  AccessRuleStatus["Paused"] = "PAUSED";
239
+ /** Rule was automatically paused by the failsafe mechanism. */
130
240
  AccessRuleStatus["PausedByFailsafe"] = "PAUSED_BY_FAILSAFE";
131
241
  })(AccessRuleStatus || (AccessRuleStatus = {}));
242
+ /** Internal admin roles that can be assigned to users for testing and development purposes. */
132
243
  export var AldwinRole;
133
244
  (function (AldwinRole) {
245
+ /** Full administrative access. */
134
246
  AldwinRole["Admin"] = "ADMIN";
247
+ /** Auditor access for reviewing access patterns. */
135
248
  AldwinRole["Auditor"] = "AUDITOR";
249
+ /** Global requester role allowing requests across all resources. */
136
250
  AldwinRole["GlobalRequester"] = "GLOBAL_REQUESTER";
251
+ /** Read-only administrative access. */
137
252
  AldwinRole["ReadOnlyAdmin"] = "READ_ONLY_ADMIN";
138
253
  })(AldwinRole || (AldwinRole = {}));
139
254
  export var ApiAccessLevel;
@@ -144,7 +259,6 @@ export var ApiAccessLevel;
144
259
  export var ApiAuthType;
145
260
  (function (ApiAuthType) {
146
261
  ApiAuthType["Admin"] = "ADMIN";
147
- ApiAuthType["AdminDangerouslyAllowImpersonation"] = "ADMIN_DANGEROUSLY_ALLOW_IMPERSONATION";
148
262
  ApiAuthType["Auth"] = "AUTH";
149
263
  ApiAuthType["InternalMaybeAuth"] = "INTERNAL_MAYBE_AUTH";
150
264
  ApiAuthType["NonAdminDangerouslyAllowImpersonation"] = "NON_ADMIN_DANGEROUSLY_ALLOW_IMPERSONATION";
@@ -153,42 +267,70 @@ export var ApiAuthType;
153
267
  ApiAuthType["ReadOnlyAdmin"] = "READ_ONLY_ADMIN";
154
268
  ApiAuthType["Unauth"] = "UNAUTH";
155
269
  })(ApiAuthType || (ApiAuthType = {}));
270
+ /** Categories for organizing and filtering applications in the catalog. */
156
271
  export var AppCategory;
157
272
  (function (AppCategory) {
273
+ /** All applications regardless of category. */
158
274
  AppCategory["All"] = "ALL";
275
+ /** Applications synced from Azure AD. */
159
276
  AppCategory["AzureApp"] = "AZURE_APP";
277
+ /** Cloud infrastructure providers (AWS, GCP, Azure). */
160
278
  AppCategory["CloudProviders"] = "CLOUD_PROVIDERS";
279
+ /** Custom applications and integrations. */
161
280
  AppCategory["Custom"] = "CUSTOM";
281
+ /** Database systems and services. */
162
282
  AppCategory["Databases"] = "DATABASES";
283
+ /** Developer tools and platforms. */
163
284
  AppCategory["DeveloperTools"] = "DEVELOPER_TOOLS";
285
+ /** Human resources systems. */
164
286
  AppCategory["HrSystems"] = "HR_SYSTEMS";
287
+ /** Identity and access management systems. */
165
288
  AppCategory["Identity"] = "IDENTITY";
289
+ /** Applications synced from Okta. */
166
290
  AppCategory["OktaApp"] = "OKTA_APP";
291
+ /** Software-as-a-Service applications. */
167
292
  AppCategory["SaasApps"] = "SAAS_APPS";
168
293
  })(AppCategory || (AppCategory = {}));
294
+ /** Fields by which app items can be sorted. */
169
295
  export var AppItemsSortByField;
170
296
  (function (AppItemsSortByField) {
297
+ /** Sort by creation timestamp. */
171
298
  AppItemsSortByField["CreatedAt"] = "CREATED_AT";
299
+ /** Sort by item name. */
172
300
  AppItemsSortByField["Name"] = "NAME";
301
+ /** Sort by remote ID in the source system. */
173
302
  AppItemsSortByField["RemoteId"] = "REMOTE_ID";
174
303
  })(AppItemsSortByField || (AppItemsSortByField = {}));
304
+ /** Type of application. */
175
305
  export var AppType;
176
306
  (function (AppType) {
307
+ /** Native Opal connection-based app. */
177
308
  AppType["Native"] = "NATIVE";
309
+ /** Okta-synced application. */
178
310
  AppType["Okta"] = "OKTA";
179
311
  })(AppType || (AppType = {}));
312
+ /** Fields by which applications can be sorted. */
180
313
  export var AppsSortByField;
181
314
  (function (AppsSortByField) {
315
+ /** Sort by application name. */
182
316
  AppsSortByField["Name"] = "NAME";
317
+ /** Sort by number of resources in the application. */
183
318
  AppsSortByField["ResourceCount"] = "RESOURCE_COUNT";
319
+ /** Sort by application source/type. */
184
320
  AppsSortByField["Source"] = "SOURCE";
321
+ /** Sort by visibility setting. */
185
322
  AppsSortByField["Visiblity"] = "VISIBLITY";
186
323
  })(AppsSortByField || (AppsSortByField = {}));
324
+ /** Fields available for sorting access review assignments */
187
325
  export var AssignmentsSortByField;
188
326
  (function (AssignmentsSortByField) {
327
+ /** Sort by the name of the entity being reviewed */
189
328
  AssignmentsSortByField["EntityName"] = "ENTITY_NAME";
329
+ /** Sort by the name of the principal (user, group, or resource) */
190
330
  AssignmentsSortByField["PrincipalName"] = "PRINCIPAL_NAME";
331
+ /** Sort by the name of the assigned reviewer */
191
332
  AssignmentsSortByField["ReviewerName"] = "REVIEWER_NAME";
333
+ /** Sort by the type of the entity */
192
334
  AssignmentsSortByField["Type"] = "TYPE";
193
335
  })(AssignmentsSortByField || (AssignmentsSortByField = {}));
194
336
  export var AssociatedItemsSortByField;
@@ -198,10 +340,14 @@ export var AssociatedItemsSortByField;
198
340
  AssociatedItemsSortByField["Name"] = "NAME";
199
341
  AssociatedItemsSortByField["Visibility"] = "VISIBILITY";
200
342
  })(AssociatedItemsSortByField || (AssociatedItemsSortByField = {}));
343
+ /** The authentication flow type used to establish a third-party integration. */
201
344
  export var AuthFlowType;
202
345
  (function (AuthFlowType) {
346
+ /** OAuth code flow requiring user authorization. */
203
347
  AuthFlowType["Code"] = "CODE";
348
+ /** Link-based authentication flow. */
204
349
  AuthFlowType["Link"] = "LINK";
350
+ /** Manual authentication using provided credentials or tokens. */
205
351
  AuthFlowType["Manual"] = "MANUAL";
206
352
  })(AuthFlowType || (AuthFlowType = {}));
207
353
  export var AuthSessionStatus;
@@ -244,6 +390,7 @@ export var ConnectionType;
244
390
  ConnectionType["CustomConnector"] = "CUSTOM_CONNECTOR";
245
391
  ConnectionType["Databricks"] = "DATABRICKS";
246
392
  ConnectionType["DatastaxAstra"] = "DATASTAX_ASTRA";
393
+ ConnectionType["Devin"] = "DEVIN";
247
394
  ConnectionType["Duo"] = "DUO";
248
395
  ConnectionType["Gcp"] = "GCP";
249
396
  ConnectionType["GitHub"] = "GIT_HUB";
@@ -251,11 +398,13 @@ export var ConnectionType;
251
398
  ConnectionType["GoogleGroups"] = "GOOGLE_GROUPS";
252
399
  ConnectionType["GoogleWorkspace"] = "GOOGLE_WORKSPACE";
253
400
  ConnectionType["Ilevel"] = "ILEVEL";
401
+ ConnectionType["Incidentio"] = "INCIDENTIO";
254
402
  ConnectionType["Ldap"] = "LDAP";
255
403
  ConnectionType["Mariadb"] = "MARIADB";
256
404
  ConnectionType["Mongo"] = "MONGO";
257
405
  ConnectionType["MongoAtlas"] = "MONGO_ATLAS";
258
406
  ConnectionType["Mysql"] = "MYSQL";
407
+ ConnectionType["OktaCiam"] = "OKTA_CIAM";
259
408
  ConnectionType["OktaDirectory"] = "OKTA_DIRECTORY";
260
409
  ConnectionType["Opal"] = "OPAL";
261
410
  ConnectionType["OpenaiPlatform"] = "OPENAI_PLATFORM";
@@ -266,6 +415,7 @@ export var ConnectionType;
266
415
  ConnectionType["Snowflake"] = "SNOWFLAKE";
267
416
  ConnectionType["Tailscale"] = "TAILSCALE";
268
417
  ConnectionType["Teleport"] = "TELEPORT";
418
+ ConnectionType["Vault"] = "VAULT";
269
419
  ConnectionType["Workday"] = "WORKDAY";
270
420
  })(ConnectionType || (ConnectionType = {}));
271
421
  export var ConnectionValidationSeverity;
@@ -280,9 +430,12 @@ export var ConnectionValidationStatus;
280
430
  ConnectionValidationStatus["Failed"] = "FAILED";
281
431
  ConnectionValidationStatus["Success"] = "SUCCESS";
282
432
  })(ConnectionValidationStatus || (ConnectionValidationStatus = {}));
433
+ /** Field to sort entity permissions by. */
283
434
  export var EntityPermissionsSortByField;
284
435
  (function (EntityPermissionsSortByField) {
436
+ /** Sort by access level name. */
285
437
  EntityPermissionsSortByField["AccessLevelName"] = "ACCESS_LEVEL_NAME";
438
+ /** Sort by entity name. */
286
439
  EntityPermissionsSortByField["Name"] = "NAME";
287
440
  })(EntityPermissionsSortByField || (EntityPermissionsSortByField = {}));
288
441
  export var EntityType;
@@ -325,24 +478,34 @@ export var EntityType;
325
478
  EntityType["ResourceFolder"] = "RESOURCE_FOLDER";
326
479
  EntityType["ResourceProposal"] = "RESOURCE_PROPOSAL";
327
480
  EntityType["ReviewerStage"] = "REVIEWER_STAGE";
481
+ EntityType["SavedQuery"] = "SAVED_QUERY";
328
482
  EntityType["SearchQuery"] = "SEARCH_QUERY";
329
483
  EntityType["Session"] = "SESSION";
330
484
  EntityType["SupportTicket"] = "SUPPORT_TICKET";
331
485
  EntityType["Tag"] = "TAG";
332
486
  EntityType["User"] = "USER";
333
487
  })(EntityType || (EntityType = {}));
488
+ /** Determines how error notifications are sent within the organization. */
334
489
  export var ErrorNotificationSettingType;
335
490
  (function (ErrorNotificationSettingType) {
491
+ /** Disable error notifications. */
336
492
  ErrorNotificationSettingType["Disabled"] = "DISABLED";
493
+ /** Send error notifications to all admins. */
337
494
  ErrorNotificationSettingType["NotifyAdmins"] = "NOTIFY_ADMINS";
495
+ /** Send error notifications to the owner of the affected resource. */
338
496
  ErrorNotificationSettingType["NotifyOwner"] = "NOTIFY_OWNER";
339
497
  })(ErrorNotificationSettingType || (ErrorNotificationSettingType = {}));
498
+ /** Severity level for events in the system. */
340
499
  export var EventSeverity;
341
500
  (function (EventSeverity) {
501
+ /** Alert event that requires immediate attention. */
342
502
  EventSeverity["Alert"] = "ALERT";
503
+ /** Informational event. */
343
504
  EventSeverity["Info"] = "INFO";
505
+ /** Warning event that requires attention. */
344
506
  EventSeverity["Warning"] = "WARNING";
345
507
  })(EventSeverity || (EventSeverity = {}));
508
+ /** Types of events that can occur in the system, tracking all changes and activities. */
346
509
  export var EventType;
347
510
  (function (EventType) {
348
511
  EventType["AccessExtended"] = "ACCESS_EXTENDED";
@@ -399,6 +562,7 @@ export var EventType;
399
562
  EventType["AccessReviewUserAccessToResourceRevoked"] = "ACCESS_REVIEW_USER_ACCESS_TO_RESOURCE_REVOKED";
400
563
  EventType["AccessReviewUserAccessToResourceRevokedDecision"] = "ACCESS_REVIEW_USER_ACCESS_TO_RESOURCE_REVOKED_DECISION";
401
564
  EventType["AccessReviewUserAccessToResourceRevokedFromEndSystem"] = "ACCESS_REVIEW_USER_ACCESS_TO_RESOURCE_REVOKED_FROM_END_SYSTEM";
565
+ EventType["AccessRuleFailsafeTriggered"] = "ACCESS_RULE_FAILSAFE_TRIGGERED";
402
566
  EventType["ApiTokenCreated"] = "API_TOKEN_CREATED";
403
567
  EventType["ApiTokenDeleted"] = "API_TOKEN_DELETED";
404
568
  EventType["BreakGlassUsed"] = "BREAK_GLASS_USED";
@@ -519,6 +683,9 @@ export var EventType;
519
683
  EventType["IdpStatusNotFound"] = "IDP_STATUS_NOT_FOUND";
520
684
  EventType["ImpersonationSessionStarted"] = "IMPERSONATION_SESSION_STARTED";
521
685
  EventType["ImpersonationSessionStopped"] = "IMPERSONATION_SESSION_STOPPED";
686
+ EventType["IpZoneCreated"] = "IP_ZONE_CREATED";
687
+ EventType["IpZoneDeleted"] = "IP_ZONE_DELETED";
688
+ EventType["IpZoneUpdated"] = "IP_ZONE_UPDATED";
522
689
  EventType["MessageChannelsAddedToGroups"] = "MESSAGE_CHANNELS_ADDED_TO_GROUPS";
523
690
  EventType["MessageChannelsAddedToResources"] = "MESSAGE_CHANNELS_ADDED_TO_RESOURCES";
524
691
  EventType["MessageChannelsCreated"] = "MESSAGE_CHANNELS_CREATED";
@@ -576,6 +743,7 @@ export var EventType;
576
743
  EventType["PropagationTicketCreatedRemotely"] = "PROPAGATION_TICKET_CREATED_REMOTELY";
577
744
  EventType["PropagationTicketUpdatedRemotely"] = "PROPAGATION_TICKET_UPDATED_REMOTELY";
578
745
  EventType["PropagationTimedOut"] = "PROPAGATION_TIMED_OUT";
746
+ EventType["QueryExported"] = "QUERY_EXPORTED";
579
747
  EventType["RemoteEventGroupsCreated"] = "REMOTE_EVENT_GROUPS_CREATED";
580
748
  EventType["RemoteEventGroupsDeleted"] = "REMOTE_EVENT_GROUPS_DELETED";
581
749
  /** Deprecated. Please use REMOTE_EVENT_USER_ADDED_TO_GROUP */
@@ -695,41 +863,65 @@ export var EventType;
695
863
  EventType["UserTeamAttrUpdated"] = "USER_TEAM_ATTR_UPDATED";
696
864
  EventType["UserTeamUpdated"] = "USER_TEAM_UPDATED";
697
865
  })(EventType || (EventType = {}));
866
+ /** Types of events that can be received from external systems. */
698
867
  export var ExternalEventType;
699
868
  (function (ExternalEventType) {
869
+ /** Groups were created. */
700
870
  ExternalEventType["GroupsCreated"] = "GROUPS_CREATED";
871
+ /** Groups were deleted. */
701
872
  ExternalEventType["GroupsDeleted"] = "GROUPS_DELETED";
873
+ /** Group was added to a resource. */
702
874
  ExternalEventType["GroupAddedToResource"] = "GROUP_ADDED_TO_RESOURCE";
875
+ /** Group was removed from a resource. */
703
876
  ExternalEventType["GroupRemovedFromResource"] = "GROUP_REMOVED_FROM_RESOURCE";
877
+ /** Group was used/accessed. */
704
878
  ExternalEventType["GroupUsed"] = "GROUP_USED";
879
+ /** User logged in successfully. */
705
880
  ExternalEventType["LoginSuccess"] = "LOGIN_SUCCESS";
881
+ /** Resources were created. */
706
882
  ExternalEventType["ResourcesCreated"] = "RESOURCES_CREATED";
883
+ /** Resources were deleted. */
707
884
  ExternalEventType["ResourcesDeleted"] = "RESOURCES_DELETED";
885
+ /** Resource was read/accessed. */
708
886
  ExternalEventType["ResourceRead"] = "RESOURCE_READ";
887
+ /** User was added to a group. */
709
888
  ExternalEventType["UserAddedToGroup"] = "USER_ADDED_TO_GROUP";
889
+ /** User was added to a resource. */
710
890
  ExternalEventType["UserAddedToResource"] = "USER_ADDED_TO_RESOURCE";
891
+ /** User was removed from a group. */
711
892
  ExternalEventType["UserRemovedFromGroup"] = "USER_REMOVED_FROM_GROUP";
893
+ /** User was removed from a resource. */
712
894
  ExternalEventType["UserRemovedFromResource"] = "USER_REMOVED_FROM_RESOURCE";
713
895
  })(ExternalEventType || (ExternalEventType = {}));
896
+ /** Fields that can be used to sort external events. */
714
897
  export var ExternalEventsSortByFields;
715
898
  (function (ExternalEventsSortByFields) {
899
+ /** Sort by event time. */
716
900
  ExternalEventsSortByFields["EventTime"] = "EVENT_TIME";
717
901
  })(ExternalEventsSortByFields || (ExternalEventsSortByFields = {}));
902
+ /** Type of MFA factor. */
718
903
  export var FactorType;
719
904
  (function (FactorType) {
905
+ /** Okta Push notification factor. */
720
906
  FactorType["OktaPush"] = "OKTA_PUSH";
907
+ /** Okta TOTP (Time-based One-Time Password) factor. */
721
908
  FactorType["OktaTotp"] = "OKTA_TOTP";
722
909
  })(FactorType || (FactorType = {}));
910
+ /** Rule for combining multiple filters. */
723
911
  export var FilterRule;
724
912
  (function (FilterRule) {
725
913
  FilterRule["MatchAll"] = "MATCH_ALL";
726
914
  FilterRule["MatchAny"] = "MATCH_ANY";
727
915
  })(FilterRule || (FilterRule = {}));
916
+ /** Match mode for combining multiple filters. */
728
917
  export var FiltersMatchMode;
729
918
  (function (FiltersMatchMode) {
919
+ /** All filters must match (AND logic). */
730
920
  FiltersMatchMode["All"] = "ALL";
921
+ /** Any filter can match (OR logic). */
731
922
  FiltersMatchMode["Any"] = "ANY";
732
923
  })(FiltersMatchMode || (FiltersMatchMode = {}));
924
+ /** General settings that can be enabled or disabled for an organization. */
733
925
  export var GeneralSettingType;
734
926
  (function (GeneralSettingType) {
735
927
  GeneralSettingType["AccessExpiringNotifications"] = "ACCESS_EXPIRING_NOTIFICATIONS";
@@ -740,7 +932,11 @@ export var GeneralSettingType;
740
932
  GeneralSettingType["AiCustomRoleDescriptionGenerator"] = "AI_CUSTOM_ROLE_DESCRIPTION_GENERATOR";
741
933
  GeneralSettingType["AiCustomRoleSummary"] = "AI_CUSTOM_ROLE_SUMMARY";
742
934
  GeneralSettingType["AiRiskCenterAskOpal"] = "AI_RISK_CENTER_ASK_OPAL";
935
+ GeneralSettingType["AllowAllUsersToCreatePat"] = "ALLOW_ALL_USERS_TO_CREATE_PAT";
936
+ GeneralSettingType["AllowDelegationToAllUsers"] = "ALLOW_DELEGATION_TO_ALL_USERS";
937
+ GeneralSettingType["ApiIpAcl"] = "API_IP_ACL";
743
938
  GeneralSettingType["AutoMergeUsersByEmail"] = "AUTO_MERGE_USERS_BY_EMAIL";
939
+ GeneralSettingType["DefaultRequestableItemsOnly"] = "DEFAULT_REQUESTABLE_ITEMS_ONLY";
744
940
  GeneralSettingType["DisableNonAdminLogins"] = "DISABLE_NON_ADMIN_LOGINS";
745
941
  GeneralSettingType["DisableRequestDelegation"] = "DISABLE_REQUEST_DELEGATION";
746
942
  GeneralSettingType["GlobalRequesterRole"] = "GLOBAL_REQUESTER_ROLE";
@@ -757,62 +953,111 @@ export var GeneralSettingType;
757
953
  GeneralSettingType["UseOidcMfaForGatingOpalActions"] = "USE_OIDC_MFA_FOR_GATING_OPAL_ACTIONS";
758
954
  GeneralSettingType["UseOktaMfaForGatingOpalActions"] = "USE_OKTA_MFA_FOR_GATING_OPAL_ACTIONS";
759
955
  })(GeneralSettingType || (GeneralSettingType = {}));
956
+ /** Fields that can be used to sort group binding suggestions. */
760
957
  export var GroupBindingSuggestionsSortByField;
761
958
  (function (GroupBindingSuggestionsSortByField) {
959
+ /** Sort by primary group name. */
762
960
  GroupBindingSuggestionsSortByField["PrimaryGroupName"] = "PRIMARY_GROUP_NAME";
961
+ /** Sort by secondary group name. */
763
962
  GroupBindingSuggestionsSortByField["SecondaryGroupName"] = "SECONDARY_GROUP_NAME";
963
+ /** Sort by last updated time. */
764
964
  GroupBindingSuggestionsSortByField["UpdatedAt"] = "UPDATED_AT";
765
965
  })(GroupBindingSuggestionsSortByField || (GroupBindingSuggestionsSortByField = {}));
966
+ /** Field to sort group bindings by. */
766
967
  export var GroupBindingsSortByField;
767
968
  (function (GroupBindingsSortByField) {
969
+ /** Sort by creation date. */
768
970
  GroupBindingsSortByField["CreatedAt"] = "CREATED_AT";
971
+ /** Sort by creator. */
769
972
  GroupBindingsSortByField["CreatedBy"] = "CREATED_BY";
973
+ /** Sort by source group name. */
770
974
  GroupBindingsSortByField["SourceGroupName"] = "SOURCE_GROUP_NAME";
975
+ /** Sort by source group type. */
771
976
  GroupBindingsSortByField["SourceGroupType"] = "SOURCE_GROUP_TYPE";
772
977
  })(GroupBindingsSortByField || (GroupBindingsSortByField = {}));
978
+ /** Source of a group-resource relationship. */
773
979
  export var GroupResourceSource;
774
980
  (function (GroupResourceSource) {
775
981
  /** GroupResource that's inherited from another remote resource */
776
982
  GroupResourceSource["Inherited"] = "INHERITED";
983
+ /** Regular group-resource relationship. */
777
984
  GroupResourceSource["Regular"] = "REGULAR";
778
985
  })(GroupResourceSource || (GroupResourceSource = {}));
986
+ /** Type of group from various identity providers and systems. */
779
987
  export var GroupType;
780
988
  (function (GroupType) {
989
+ /** Active Directory group. */
781
990
  GroupType["ActiveDirectoryGroup"] = "ACTIVE_DIRECTORY_GROUP";
991
+ /** AWS SSO group. */
782
992
  GroupType["AwsSsoGroup"] = "AWS_SSO_GROUP";
993
+ /** Azure AD Microsoft 365 group. */
783
994
  GroupType["AzureAdMicrosoft_365Group"] = "AZURE_AD_MICROSOFT_365_GROUP";
995
+ /** Azure AD security group. */
784
996
  GroupType["AzureAdSecurityGroup"] = "AZURE_AD_SECURITY_GROUP";
997
+ /** Connector group. */
785
998
  GroupType["ConnectorGroup"] = "CONNECTOR_GROUP";
999
+ /** Databricks account group. */
786
1000
  GroupType["DatabricksAccountGroup"] = "DATABRICKS_ACCOUNT_GROUP";
1001
+ GroupType["DevinGroup"] = "DEVIN_GROUP";
1002
+ /** Duo group. */
787
1003
  GroupType["DuoGroup"] = "DUO_GROUP";
1004
+ /** GitHub team. */
788
1005
  GroupType["GitHubTeam"] = "GIT_HUB_TEAM";
1006
+ /** GitLab group. */
789
1007
  GroupType["GitLabGroup"] = "GIT_LAB_GROUP";
1008
+ /** Google Groups GKE (Kubernetes Engine) group. */
790
1009
  GroupType["GoogleGroupsGkeGroup"] = "GOOGLE_GROUPS_GKE_GROUP";
1010
+ /** Google Groups group. */
791
1011
  GroupType["GoogleGroupsGroup"] = "GOOGLE_GROUPS_GROUP";
1012
+ /** Incident.io on-call schedule. */
1013
+ GroupType["IncidentioOnCallSchedule"] = "INCIDENTIO_ON_CALL_SCHEDULE";
1014
+ /** LDAP group. */
792
1015
  GroupType["LdapGroup"] = "LDAP_GROUP";
1016
+ /** Okta group. */
793
1017
  GroupType["OktaGroup"] = "OKTA_GROUP";
1018
+ /** Okta group rule. */
794
1019
  GroupType["OktaGroupRule"] = "OKTA_GROUP_RULE";
1020
+ /** Opal access rule. */
795
1021
  GroupType["OpalAccessRule"] = "OPAL_ACCESS_RULE";
1022
+ /** Opal-managed group. */
796
1023
  GroupType["OpalGroup"] = "OPAL_GROUP";
1024
+ /** PagerDuty on-call schedule. */
1025
+ GroupType["PagerdutyOnCallSchedule"] = "PAGERDUTY_ON_CALL_SCHEDULE";
1026
+ /** Snowflake role. */
797
1027
  GroupType["SnowflakeRole"] = "SNOWFLAKE_ROLE";
1028
+ /** Tailscale group. */
798
1029
  GroupType["TailscaleGroup"] = "TAILSCALE_GROUP";
1030
+ /** Workday user security group. */
799
1031
  GroupType["WorkdayUserSecurityGroup"] = "WORKDAY_USER_SECURITY_GROUP";
800
1032
  })(GroupType || (GroupType = {}));
1033
+ /** Field to sort group users by. */
801
1034
  export var GroupUserSortByField;
802
1035
  (function (GroupUserSortByField) {
1036
+ /** Sort by access level name. */
803
1037
  GroupUserSortByField["AccessLevelName"] = "ACCESS_LEVEL_NAME";
1038
+ /** Sort by expiration time. */
804
1039
  GroupUserSortByField["ExpiresAt"] = "EXPIRES_AT";
1040
+ /** Sort by group name. */
805
1041
  GroupUserSortByField["GroupName"] = "GROUP_NAME";
1042
+ /** Sort by last used time. */
806
1043
  GroupUserSortByField["LastUsedAt"] = "LAST_USED_AT";
1044
+ /** Sort by propagation status. */
807
1045
  GroupUserSortByField["PropagationStatus"] = "PROPAGATION_STATUS";
1046
+ /** Sort by source of access. */
808
1047
  GroupUserSortByField["SourceOfAccess"] = "SOURCE_OF_ACCESS";
1048
+ /** Sort by user email. */
809
1049
  GroupUserSortByField["UserEmail"] = "USER_EMAIL";
1050
+ /** Sort by user full name. */
810
1051
  GroupUserSortByField["UserFullName"] = "USER_FULL_NAME";
811
1052
  })(GroupUserSortByField || (GroupUserSortByField = {}));
1053
+ /** Source of a user's group membership. */
812
1054
  export var GroupUserSource;
813
1055
  (function (GroupUserSource) {
1056
+ /** Break glass emergency access. */
814
1057
  GroupUserSource["BreakGlass"] = "BREAK_GLASS";
1058
+ /** Membership through on-call schedule. */
815
1059
  GroupUserSource["OnCall"] = "ON_CALL";
1060
+ /** Regular direct membership. */
816
1061
  GroupUserSource["Regular"] = "REGULAR";
817
1062
  /** Regular GroupUser derived from a containing group in Opal. */
818
1063
  GroupUserSource["RegularIndirect"] = "REGULAR_INDIRECT";
@@ -847,26 +1092,44 @@ export var HrIdpStatus;
847
1092
  */
848
1093
  HrIdpStatus["Suspended"] = "SUSPENDED";
849
1094
  })(HrIdpStatus || (HrIdpStatus = {}));
1095
+ /** Type of identity provider connection. */
850
1096
  export var IdpConnectionType;
851
1097
  (function (IdpConnectionType) {
1098
+ /** Active Directory identity provider. */
852
1099
  IdpConnectionType["ActiveDirectory"] = "ACTIVE_DIRECTORY";
1100
+ /** Azure Active Directory identity provider. */
853
1101
  IdpConnectionType["AzureAd"] = "AZURE_AD";
1102
+ /** Google Workspace identity provider. */
854
1103
  IdpConnectionType["Google"] = "GOOGLE";
1104
+ /** Okta identity provider. */
855
1105
  IdpConnectionType["Okta"] = "OKTA";
1106
+ /** Workday identity provider. */
856
1107
  IdpConnectionType["Workday"] = "WORKDAY";
857
1108
  })(IdpConnectionType || (IdpConnectionType = {}));
1109
+ /** Mapping of IDP user attributes to Opal user fields. */
858
1110
  export var IdpConnectionUserAttributeUseAs;
859
1111
  (function (IdpConnectionUserAttributeUseAs) {
1112
+ /** Custom attribute not mapped to a standard field. */
860
1113
  IdpConnectionUserAttributeUseAs["Custom"] = "CUSTOM";
1114
+ /** User's email address. */
861
1115
  IdpConnectionUserAttributeUseAs["Email"] = "EMAIL";
1116
+ /** User's first name. */
862
1117
  IdpConnectionUserAttributeUseAs["FirstName"] = "FIRST_NAME";
1118
+ /** User's GitHub username. */
863
1119
  IdpConnectionUserAttributeUseAs["GithubUsername"] = "GITHUB_USERNAME";
1120
+ /** User's last name. */
864
1121
  IdpConnectionUserAttributeUseAs["LastName"] = "LAST_NAME";
1122
+ /** Manager's email address. */
865
1123
  IdpConnectionUserAttributeUseAs["ManagerEmail"] = "MANAGER_EMAIL";
1124
+ /** User's profile URL. */
866
1125
  IdpConnectionUserAttributeUseAs["ProfileUrl"] = "PROFILE_URL";
1126
+ /** User's secondary email address. */
867
1127
  IdpConnectionUserAttributeUseAs["SecondaryEmail"] = "SECONDARY_EMAIL";
1128
+ /** User's team or department. */
868
1129
  IdpConnectionUserAttributeUseAs["Team"] = "TEAM";
1130
+ /** User's Teleport username. */
869
1131
  IdpConnectionUserAttributeUseAs["TeleportUsername"] = "TELEPORT_USERNAME";
1132
+ /** User's job title. */
870
1133
  IdpConnectionUserAttributeUseAs["Title"] = "TITLE";
871
1134
  })(IdpConnectionUserAttributeUseAs || (IdpConnectionUserAttributeUseAs = {}));
872
1135
  export var ImportSetting;
@@ -876,343 +1139,618 @@ export var ImportSetting;
876
1139
  ImportSetting["None"] = "NONE";
877
1140
  ImportSetting["Tagged"] = "TAGGED";
878
1141
  })(ImportSetting || (ImportSetting = {}));
1142
+ /** The type of third-party integration, indicating whether it is user-specific, organization-wide, or connection-based. */
879
1143
  export var IntegrationType;
880
1144
  (function (IntegrationType) {
1145
+ /** Connection-based integration for specific connection configurations. */
881
1146
  IntegrationType["Connection"] = "CONNECTION";
1147
+ /** Organization-wide integration that applies to the entire organization. */
882
1148
  IntegrationType["Org"] = "ORG";
1149
+ /** User-specific integration tied to an individual user. */
883
1150
  IntegrationType["User"] = "USER";
884
1151
  })(IntegrationType || (IntegrationType = {}));
1152
+ /** Multi-factor authentication provider types supported by Opal. */
885
1153
  export var MfaProvider;
886
1154
  (function (MfaProvider) {
1155
+ /** OpenID Connect MFA provider. */
887
1156
  MfaProvider["Oidc"] = "OIDC";
1157
+ /** Okta MFA provider. */
888
1158
  MfaProvider["Okta"] = "OKTA";
1159
+ /** Opal's native MFA provider. */
889
1160
  MfaProvider["Opal"] = "OPAL";
890
1161
  })(MfaProvider || (MfaProvider = {}));
1162
+ /** Type of message channel based on its use case. */
891
1163
  export var MessageChannelType;
892
1164
  (function (MessageChannelType) {
1165
+ /** Channel for audit logs. */
893
1166
  MessageChannelType["Audit"] = "AUDIT";
1167
+ /** Channel for monitoring notifications. */
894
1168
  MessageChannelType["Monitor"] = "MONITOR";
1169
+ /** Channel for reviewer notifications. */
895
1170
  MessageChannelType["Reviewer"] = "REVIEWER";
896
1171
  })(MessageChannelType || (MessageChannelType = {}));
1172
+ /** Notification delivery method types. */
897
1173
  export var NotificationType;
898
1174
  (function (NotificationType) {
1175
+ NotificationType["Automation"] = "AUTOMATION";
899
1176
  NotificationType["Email"] = "EMAIL";
900
1177
  NotificationType["GoogleChat"] = "GOOGLE_CHAT";
901
1178
  NotificationType["Slack"] = "SLACK";
902
1179
  })(NotificationType || (NotificationType = {}));
1180
+ /** Type of OIDC provider based on its use case. */
903
1181
  export var OidcProviderType;
904
1182
  (function (OidcProviderType) {
1183
+ /** OIDC Provider used for AWS Orgs integration */
905
1184
  OidcProviderType["AwsSession"] = "AWS_SESSION";
1185
+ /** OIDC Provider used in optional MFA for resources / requests / approvals */
906
1186
  OidcProviderType["Mfa"] = "MFA";
1187
+ /** SIGNIN Provider used for signin in airgapped envs that use custom OIDC providers instead of Auth0 */
907
1188
  OidcProviderType["Signin"] = "SIGNIN";
908
1189
  })(OidcProviderType || (OidcProviderType = {}));
1190
+ /** Type of organization deployment. */
909
1191
  export var OrganizationType;
910
1192
  (function (OrganizationType) {
1193
+ /** Cloud-hosted organization. */
911
1194
  OrganizationType["Cloud"] = "CLOUD";
1195
+ /** On-premises deployment. */
912
1196
  OrganizationType["OnPrem"] = "ON_PREM";
913
1197
  })(OrganizationType || (OrganizationType = {}));
1198
+ /** Fields that can be used to sort owners. */
914
1199
  export var OwnersSortByField;
915
1200
  (function (OwnersSortByField) {
1201
+ /** Sort by creation date. */
916
1202
  OwnersSortByField["CreatedAt"] = "CREATED_AT";
1203
+ /** Sort by owner name. */
917
1204
  OwnersSortByField["Name"] = "NAME";
1205
+ /** Sort by source group name. */
918
1206
  OwnersSortByField["SourceGroupName"] = "SOURCE_GROUP_NAME";
919
1207
  })(OwnersSortByField || (OwnersSortByField = {}));
1208
+ /** Status codes for propagation operations. */
920
1209
  export var PropagationStatusCode;
921
1210
  (function (PropagationStatusCode) {
1211
+ /** Dry run mode is enabled. */
922
1212
  PropagationStatusCode["ErrDryRunModeEnabled"] = "ERR_DRY_RUN_MODE_ENABLED";
1213
+ /** HR IDP provider is not linked. */
923
1214
  PropagationStatusCode["ErrHrIdpProviderNotLinked"] = "ERR_HR_IDP_PROVIDER_NOT_LINKED";
1215
+ /** IDP email update conflict. */
924
1216
  PropagationStatusCode["ErrIdpEmailUpdateConflict"] = "ERR_IDP_EMAIL_UPDATE_CONFLICT";
1217
+ /** Not authorized to query the resource. */
925
1218
  PropagationStatusCode["ErrNotAuthorizedToQueryResource"] = "ERR_NOT_AUTHORIZED_TO_QUERY_RESOURCE";
1219
+ /** Opal internal error occurred. */
926
1220
  PropagationStatusCode["ErrOpalInternalError"] = "ERR_OPAL_INTERNAL_ERROR";
1221
+ /** Operation is not supported. */
927
1222
  PropagationStatusCode["ErrOperationUnsupported"] = "ERR_OPERATION_UNSUPPORTED";
1223
+ /** Organization is in read-only mode. */
928
1224
  PropagationStatusCode["ErrOrgReadOnly"] = "ERR_ORG_READ_ONLY";
1225
+ /** Remote system internal error occurred. */
929
1226
  PropagationStatusCode["ErrRemoteInternalError"] = "ERR_REMOTE_INTERNAL_ERROR";
1227
+ /** Provisioning via IDP failed. */
930
1228
  PropagationStatusCode["ErrRemoteProvisioningViaIdpFailed"] = "ERR_REMOTE_PROVISIONING_VIA_IDP_FAILED";
1229
+ /** Remote resource was not found. */
931
1230
  PropagationStatusCode["ErrRemoteResourceNotFound"] = "ERR_REMOTE_RESOURCE_NOT_FOUND";
1231
+ /** Remote system is throttling requests. */
932
1232
  PropagationStatusCode["ErrRemoteThrottle"] = "ERR_REMOTE_THROTTLE";
1233
+ /** Remote ticket was not found. */
933
1234
  PropagationStatusCode["ErrRemoteTicketNotFound"] = "ERR_REMOTE_TICKET_NOT_FOUND";
1235
+ /** Remote unrecoverable error occurred. */
934
1236
  PropagationStatusCode["ErrRemoteUnrecoverableError"] = "ERR_REMOTE_UNRECOVERABLE_ERROR";
1237
+ /** Remote user was not found. */
935
1238
  PropagationStatusCode["ErrRemoteUserNotFound"] = "ERR_REMOTE_USER_NOT_FOUND";
1239
+ /** Remote user is not linked to the system. */
936
1240
  PropagationStatusCode["ErrRemoteUserNotLinked"] = "ERR_REMOTE_USER_NOT_LINKED";
1241
+ /** Ticket creation was skipped. */
937
1242
  PropagationStatusCode["ErrTicketCreationSkipped"] = "ERR_TICKET_CREATION_SKIPPED";
1243
+ /** Operation timed out. */
938
1244
  PropagationStatusCode["ErrTimeout"] = "ERR_TIMEOUT";
1245
+ /** Unknown error occurred. */
939
1246
  PropagationStatusCode["ErrUnknown"] = "ERR_UNKNOWN";
1247
+ /** Propagation is pending. */
940
1248
  PropagationStatusCode["Pending"] = "PENDING";
1249
+ /** Pending manual propagation. */
941
1250
  PropagationStatusCode["PendingManualPropagation"] = "PENDING_MANUAL_PROPAGATION";
1251
+ /** Pending ticket creation. */
942
1252
  PropagationStatusCode["PendingTicketCreation"] = "PENDING_TICKET_CREATION";
1253
+ /** Propagation completed successfully. */
943
1254
  PropagationStatusCode["Success"] = "SUCCESS";
944
1255
  })(PropagationStatusCode || (PropagationStatusCode = {}));
1256
+ /** Type of propagation task. */
945
1257
  export var PropagationTaskType;
946
1258
  (function (PropagationTaskType) {
1259
+ /** Create entities for connections. */
947
1260
  PropagationTaskType["ConnectionsCreateEntities"] = "CONNECTIONS_CREATE_ENTITIES";
1261
+ /** Delete users from connections. */
948
1262
  PropagationTaskType["ConnectionsDeleteUsers"] = "CONNECTIONS_DELETE_USERS";
1263
+ /** Create groups. */
949
1264
  PropagationTaskType["GroupsCreateGroups"] = "GROUPS_CREATE_GROUPS";
1265
+ /** Create resources for groups. */
950
1266
  PropagationTaskType["GroupsCreateResources"] = "GROUPS_CREATE_RESOURCES";
1267
+ /** Create resource principals for groups. */
951
1268
  PropagationTaskType["GroupsCreateResourcePrincipals"] = "GROUPS_CREATE_RESOURCE_PRINCIPALS";
1269
+ /** Create users for groups. */
952
1270
  PropagationTaskType["GroupsCreateUsers"] = "GROUPS_CREATE_USERS";
1271
+ /** Delete groups. */
953
1272
  PropagationTaskType["GroupsDeleteGroups"] = "GROUPS_DELETE_GROUPS";
1273
+ /** Delete resources from groups. */
954
1274
  PropagationTaskType["GroupsDeleteResources"] = "GROUPS_DELETE_RESOURCES";
1275
+ /** Delete resource principals from groups. */
955
1276
  PropagationTaskType["GroupsDeleteResourcePrincipals"] = "GROUPS_DELETE_RESOURCE_PRINCIPALS";
1277
+ /** Delete users from groups. */
956
1278
  PropagationTaskType["GroupsDeleteUsers"] = "GROUPS_DELETE_USERS";
1279
+ /** Update resources for groups. */
957
1280
  PropagationTaskType["GroupsUpdateResources"] = "GROUPS_UPDATE_RESOURCES";
1281
+ /** Update users for groups. */
958
1282
  PropagationTaskType["GroupsUpdateUsers"] = "GROUPS_UPDATE_USERS";
1283
+ /** Create resources. */
959
1284
  PropagationTaskType["ResourcesCreateResources"] = "RESOURCES_CREATE_RESOURCES";
1285
+ /** Create users for resources. */
960
1286
  PropagationTaskType["ResourcesCreateUsers"] = "RESOURCES_CREATE_USERS";
1287
+ /** Delete resources. */
961
1288
  PropagationTaskType["ResourcesDeleteResources"] = "RESOURCES_DELETE_RESOURCES";
1289
+ /** Delete users from resources. */
962
1290
  PropagationTaskType["ResourcesDeleteUsers"] = "RESOURCES_DELETE_USERS";
1291
+ /** Update users for resources. */
963
1292
  PropagationTaskType["ResourcesUpdateUsers"] = "RESOURCES_UPDATE_USERS";
964
1293
  })(PropagationTaskType || (PropagationTaskType = {}));
1294
+ /** The source of a role assignment provision. */
965
1295
  export var ProvisionSource;
966
1296
  (function (ProvisionSource) {
967
1297
  ProvisionSource["External"] = "EXTERNAL";
968
1298
  ProvisionSource["Opal"] = "OPAL";
969
1299
  ProvisionSource["Unknown"] = "UNKNOWN";
970
1300
  })(ProvisionSource || (ProvisionSource = {}));
1301
+ /** Strategy for provisioning entities to connections. */
971
1302
  export var ProvisionStrategy;
972
1303
  (function (ProvisionStrategy) {
1304
+ /** No provisioning strategy (manual provisioning). */
973
1305
  ProvisionStrategy["None"] = "NONE";
1306
+ /** Push entity to the connection automatically. */
974
1307
  ProvisionStrategy["PushEntityToConnection"] = "PUSH_ENTITY_TO_CONNECTION";
975
1308
  })(ProvisionStrategy || (ProvisionStrategy = {}));
1309
+ /** Action to perform when provisioning. */
976
1310
  export var ProvisioningAction;
977
1311
  (function (ProvisioningAction) {
1312
+ /** Create the entity. */
978
1313
  ProvisioningAction["Create"] = "CREATE";
1314
+ /** Delete the entity. */
979
1315
  ProvisioningAction["Delete"] = "DELETE";
980
1316
  })(ProvisioningAction || (ProvisioningAction = {}));
1317
+ /** Type of connection for publishing events to external systems. */
981
1318
  export var PubsubPublishConnectionType;
982
1319
  (function (PubsubPublishConnectionType) {
1320
+ /** Webhook-based event stream connection. */
983
1321
  PubsubPublishConnectionType["Webhook"] = "WEBHOOK";
984
1322
  })(PubsubPublishConnectionType || (PubsubPublishConnectionType = {}));
1323
+ /** Status codes for pubsub publish messages. */
985
1324
  export var PubsubPublishMessageStatusCode;
986
1325
  (function (PubsubPublishMessageStatusCode) {
1326
+ /** Message processing was canceled. */
987
1327
  PubsubPublishMessageStatusCode["Canceled"] = "CANCELED";
1328
+ /** Message processing completed successfully. */
988
1329
  PubsubPublishMessageStatusCode["Completed"] = "COMPLETED";
1330
+ /** Message is pending processing. */
989
1331
  PubsubPublishMessageStatusCode["Pending"] = "PENDING";
1332
+ /** Message is currently being processed. */
990
1333
  PubsubPublishMessageStatusCode["Processing"] = "PROCESSING";
1334
+ /** Message is being retried after a failure. */
991
1335
  PubsubPublishMessageStatusCode["Retry"] = "RETRY";
992
1336
  })(PubsubPublishMessageStatusCode || (PubsubPublishMessageStatusCode = {}));
1337
+ /** Types of pubsub publish messages. */
993
1338
  export var PubsubPublishMessageType;
994
1339
  (function (PubsubPublishMessageType) {
1340
+ /** Event stream message type. */
995
1341
  PubsubPublishMessageType["EventStream"] = "EVENT_STREAM";
996
1342
  })(PubsubPublishMessageType || (PubsubPublishMessageType = {}));
1343
+ /** Types of entities that can be included in recommendations. */
997
1344
  export var RecommendationsEntityType;
998
1345
  (function (RecommendationsEntityType) {
1346
+ /** An application entity */
999
1347
  RecommendationsEntityType["App"] = "APP";
1348
+ /** A group entity */
1000
1349
  RecommendationsEntityType["Group"] = "GROUP";
1350
+ /** An organization entity */
1001
1351
  RecommendationsEntityType["Organization"] = "ORGANIZATION";
1352
+ /** A resource entity */
1002
1353
  RecommendationsEntityType["Resource"] = "RESOURCE";
1354
+ /** A user entity */
1003
1355
  RecommendationsEntityType["User"] = "USER";
1004
1356
  })(RecommendationsEntityType || (RecommendationsEntityType = {}));
1357
+ /** Types of feedback actions that can be logged for recommendations. */
1005
1358
  export var RecommendationsFeedbackType;
1006
1359
  (function (RecommendationsFeedbackType) {
1360
+ /** Dismiss suggestion for not using access */
1007
1361
  RecommendationsFeedbackType["DismissSuggestionNotUsingAccess"] = "DISMISS_SUGGESTION_NOT_USING_ACCESS";
1362
+ /** Dismiss suggestion for overprovisioned rule */
1008
1363
  RecommendationsFeedbackType["DismissSuggestionOverprovisionedRule"] = "DISMISS_SUGGESTION_OVERPROVISIONED_RULE";
1364
+ /** Dismiss suggestion for perpetual and unused access */
1009
1365
  RecommendationsFeedbackType["DismissSuggestionPerpetualAndUnusedAccess"] = "DISMISS_SUGGESTION_PERPETUAL_AND_UNUSED_ACCESS";
1366
+ /** Dismiss suggestion for unmanaged access */
1010
1367
  RecommendationsFeedbackType["DismissSuggestionUnmanagedAccess"] = "DISMISS_SUGGESTION_UNMANAGED_ACCESS";
1368
+ /** Dismiss suggestion for unused access */
1011
1369
  RecommendationsFeedbackType["DismissSuggestionUnusedAccess"] = "DISMISS_SUGGESTION_UNUSED_ACCESS";
1370
+ /** Remediate access that is not being used */
1012
1371
  RecommendationsFeedbackType["RemediateSuggestionNotUsingAccess"] = "REMEDIATE_SUGGESTION_NOT_USING_ACCESS";
1372
+ /** Remediate perpetual and unused access */
1013
1373
  RecommendationsFeedbackType["RemediateSuggestionPerpetualAndUnusedAccess"] = "REMEDIATE_SUGGESTION_PERPETUAL_AND_UNUSED_ACCESS";
1374
+ /** Remediate unmanaged access */
1014
1375
  RecommendationsFeedbackType["RemediateSuggestionUnmanagedAccess"] = "REMEDIATE_SUGGESTION_UNMANAGED_ACCESS";
1376
+ /** Remediate unused access */
1015
1377
  RecommendationsFeedbackType["RemediateSuggestionUnusedAccess"] = "REMEDIATE_SUGGESTION_UNUSED_ACCESS";
1016
1378
  })(RecommendationsFeedbackType || (RecommendationsFeedbackType = {}));
1379
+ /** Types of metrics tracked by the recommendations system. */
1017
1380
  export var RecommendationsMetricType;
1018
1381
  (function (RecommendationsMetricType) {
1382
+ /** Total access points converted to JIT */
1019
1383
  RecommendationsMetricType["AccessPointsConvertedToJit"] = "ACCESS_POINTS_CONVERTED_TO_JIT";
1384
+ /** Access points converted to JIT by threat center */
1020
1385
  RecommendationsMetricType["AccessPointsConvertedToJitByThreatCenter"] = "ACCESS_POINTS_CONVERTED_TO_JIT_BY_THREAT_CENTER";
1386
+ /** Access points converted to JIT from suggestions */
1021
1387
  RecommendationsMetricType["AccessPointsConvertedToJitFromSuggestions"] = "ACCESS_POINTS_CONVERTED_TO_JIT_FROM_SUGGESTIONS";
1388
+ /** Total access points revoked */
1022
1389
  RecommendationsMetricType["AccessPointsRevoked"] = "ACCESS_POINTS_REVOKED";
1390
+ /** Access points revoked by threat center */
1023
1391
  RecommendationsMetricType["AccessPointsRevokedByThreatCenter"] = "ACCESS_POINTS_REVOKED_BY_THREAT_CENTER";
1392
+ /** Access points revoked from suggestions */
1024
1393
  RecommendationsMetricType["AccessPointsRevokedFromSuggestions"] = "ACCESS_POINTS_REVOKED_FROM_SUGGESTIONS";
1394
+ /** Daily count of irregular user access */
1025
1395
  RecommendationsMetricType["DailyIrregularUserAccess"] = "DAILY_IRREGULAR_USER_ACCESS";
1396
+ /** Daily count of outside user access */
1026
1397
  RecommendationsMetricType["DailyOutsideUserAccess"] = "DAILY_OUTSIDE_USER_ACCESS";
1398
+ /** Daily count of perpetual user access */
1027
1399
  RecommendationsMetricType["DailyPerpetualUserAccess"] = "DAILY_PERPETUAL_USER_ACCESS";
1400
+ /** Daily count of unused non-human identity access */
1028
1401
  RecommendationsMetricType["DailyUnusedNhiAccess"] = "DAILY_UNUSED_NHI_ACCESS";
1402
+ /** Daily count of unused user access */
1029
1403
  RecommendationsMetricType["DailyUnusedUserAccess"] = "DAILY_UNUSED_USER_ACCESS";
1404
+ /** Count of entities with critical risk score */
1030
1405
  RecommendationsMetricType["EntitiesWithCriticalRiskScore"] = "ENTITIES_WITH_CRITICAL_RISK_SCORE";
1406
+ /** Count of entities with high risk score */
1031
1407
  RecommendationsMetricType["EntitiesWithHighRiskScore"] = "ENTITIES_WITH_HIGH_RISK_SCORE";
1408
+ /** Count of entities with low risk score */
1032
1409
  RecommendationsMetricType["EntitiesWithLowRiskScore"] = "ENTITIES_WITH_LOW_RISK_SCORE";
1410
+ /** Count of entities with medium risk score */
1033
1411
  RecommendationsMetricType["EntitiesWithMediumRiskScore"] = "ENTITIES_WITH_MEDIUM_RISK_SCORE";
1412
+ /** Total licenses revoked */
1034
1413
  RecommendationsMetricType["LicensesRevoked"] = "LICENSES_REVOKED";
1414
+ /** Licenses revoked by threat center */
1035
1415
  RecommendationsMetricType["LicensesRevokedByThreatCenter"] = "LICENSES_REVOKED_BY_THREAT_CENTER";
1416
+ /** Access points converted to JIT from not using access */
1036
1417
  RecommendationsMetricType["NotUsingAccessPointsConvertedToJit"] = "NOT_USING_ACCESS_POINTS_CONVERTED_TO_JIT";
1418
+ /** Access points revoked from not using access */
1037
1419
  RecommendationsMetricType["NotUsingAccessPointsRevoked"] = "NOT_USING_ACCESS_POINTS_REVOKED";
1420
+ /** Access points converted to JIT from perpetual and unused access */
1038
1421
  RecommendationsMetricType["PerpetualAndUnusedAccessPointsConvertedToJit"] = "PERPETUAL_AND_UNUSED_ACCESS_POINTS_CONVERTED_TO_JIT";
1422
+ /** Access points revoked from perpetual and unused access */
1039
1423
  RecommendationsMetricType["PerpetualAndUnusedAccessPointsRevoked"] = "PERPETUAL_AND_UNUSED_ACCESS_POINTS_REVOKED";
1424
+ /** Remediations performed for perpetual and unused access */
1040
1425
  RecommendationsMetricType["RemediationsPerformedSuggestionPerpetualAndUnusedAccess"] = "REMEDIATIONS_PERFORMED_SUGGESTION_PERPETUAL_AND_UNUSED_ACCESS";
1426
+ /** Remediations performed for not using access */
1041
1427
  RecommendationsMetricType["RemediationsPerformedSuggestionSuggestionNotUsingAccess"] = "REMEDIATIONS_PERFORMED_SUGGESTION_SUGGESTION_NOT_USING_ACCESS";
1428
+ /** Remediations performed for unused access */
1042
1429
  RecommendationsMetricType["RemediationsPerformedSuggestionSuggestionUnusedAccess"] = "REMEDIATIONS_PERFORMED_SUGGESTION_SUGGESTION_UNUSED_ACCESS";
1430
+ /** Remediations performed for unmanaged access */
1043
1431
  RecommendationsMetricType["RemediationsPerformedSuggestionUnmanagedAccess"] = "REMEDIATIONS_PERFORMED_SUGGESTION_UNMANAGED_ACCESS";
1432
+ /** Total count of perpetual access */
1044
1433
  RecommendationsMetricType["SumPerpetualAccess"] = "SUM_PERPETUAL_ACCESS";
1434
+ /** Total count of time-bound access */
1045
1435
  RecommendationsMetricType["SumTimeBoundAccess"] = "SUM_TIME_BOUND_ACCESS";
1436
+ /** Total count of unused access */
1046
1437
  RecommendationsMetricType["SumUnusedAccess"] = "SUM_UNUSED_ACCESS";
1438
+ /** Total count of detected threats */
1047
1439
  RecommendationsMetricType["TotalThreatCount"] = "TOTAL_THREAT_COUNT";
1440
+ /** Access points converted to JIT from unmanaged access */
1048
1441
  RecommendationsMetricType["UnmanagedAccessPointsConvertedToJit"] = "UNMANAGED_ACCESS_POINTS_CONVERTED_TO_JIT";
1442
+ /** Access points revoked from unmanaged access */
1049
1443
  RecommendationsMetricType["UnmanagedAccessPointsRevoked"] = "UNMANAGED_ACCESS_POINTS_REVOKED";
1444
+ /** Access points converted to JIT from unused access */
1050
1445
  RecommendationsMetricType["UnusedAccessPointsConvertedToJit"] = "UNUSED_ACCESS_POINTS_CONVERTED_TO_JIT";
1446
+ /** Access points revoked from unused access */
1051
1447
  RecommendationsMetricType["UnusedAccessPointsRevoked"] = "UNUSED_ACCESS_POINTS_REVOKED";
1052
1448
  })(RecommendationsMetricType || (RecommendationsMetricType = {}));
1449
+ /** Types of risk factors and suggestions identified by the recommendations system. */
1053
1450
  export var RecommendationsSubscoreType;
1054
1451
  (function (RecommendationsSubscoreType) {
1452
+ /** Access that is used irregularly or outside normal patterns */
1055
1453
  RecommendationsSubscoreType["IrregularAccess"] = "IRREGULAR_ACCESS";
1454
+ /** Heuristic-based detection of irregular access patterns */
1056
1455
  RecommendationsSubscoreType["IrregularAccessHeuristic"] = "IRREGULAR_ACCESS_HEURISTIC";
1456
+ /** Access that never expires */
1057
1457
  RecommendationsSubscoreType["PerpetualAccess"] = "PERPETUAL_ACCESS";
1458
+ /** Resource has known vulnerabilities */
1058
1459
  RecommendationsSubscoreType["ResourceVulnerability"] = "RESOURCE_VULNERABILITY";
1460
+ /** Suggestion for access that is not being used */
1059
1461
  RecommendationsSubscoreType["SuggestionNotUsingAccess"] = "SUGGESTION_NOT_USING_ACCESS";
1462
+ /** Suggestion for over-provisioned rules that grant too much access */
1060
1463
  RecommendationsSubscoreType["SuggestionOverprovisionedRule"] = "SUGGESTION_OVERPROVISIONED_RULE";
1464
+ /** Suggestion to address perpetual and unused access */
1061
1465
  RecommendationsSubscoreType["SuggestionPerpetualAndUnusedAccess"] = "SUGGESTION_PERPETUAL_AND_UNUSED_ACCESS";
1466
+ /** Suggestion to address unmanaged access */
1062
1467
  RecommendationsSubscoreType["SuggestionUnmanagedAccess"] = "SUGGESTION_UNMANAGED_ACCESS";
1468
+ /** Suggestion to address unused access */
1063
1469
  RecommendationsSubscoreType["SuggestionUnusedAccess"] = "SUGGESTION_UNUSED_ACCESS";
1470
+ /** Access that is not managed through Opal */
1064
1471
  RecommendationsSubscoreType["UnmanagedAccess"] = "UNMANAGED_ACCESS";
1472
+ /** Access that has not been used */
1065
1473
  RecommendationsSubscoreType["UnusedAccess"] = "UNUSED_ACCESS";
1066
1474
  })(RecommendationsSubscoreType || (RecommendationsSubscoreType = {}));
1475
+ /** Type of approver for a request. */
1067
1476
  export var RequestApprovalType;
1068
1477
  (function (RequestApprovalType) {
1478
+ /** Manager of the requesting user */
1069
1479
  RequestApprovalType["Manager"] = "MANAGER";
1480
+ /** Owner of the resource or group */
1070
1481
  RequestApprovalType["Owner"] = "OWNER";
1482
+ /** Skip-level manager of the requesting user */
1071
1483
  RequestApprovalType["SkipManager"] = "SKIP_MANAGER";
1484
+ /** Specific user assigned as reviewer */
1072
1485
  RequestApprovalType["User"] = "USER";
1073
1486
  })(RequestApprovalType || (RequestApprovalType = {}));
1487
+ /** Specific codes for request validation messages. */
1074
1488
  export var RequestMessageCode;
1075
1489
  (function (RequestMessageCode) {
1490
+ /** Entity cannot be requested */
1076
1491
  RequestMessageCode["EntityNotRequestable"] = "ENTITY_NOT_REQUESTABLE";
1492
+ /** Item has reached its capacity limit */
1077
1493
  RequestMessageCode["ItemAtCapacity"] = "ITEM_AT_CAPACITY";
1494
+ /** Linked group is not requestable */
1078
1495
  RequestMessageCode["LinkedGroupNotRequestable"] = "LINKED_GROUP_NOT_REQUESTABLE";
1496
+ /** Nested group access not allowed */
1079
1497
  RequestMessageCode["NestedGroupAccessNotAllowed"] = "NESTED_GROUP_ACCESS_NOT_ALLOWED";
1498
+ /** Request will reset existing access duration */
1080
1499
  RequestMessageCode["RequestResetsAccessDuration"] = "REQUEST_RESETS_ACCESS_DURATION";
1500
+ /** User authentication token required */
1081
1501
  RequestMessageCode["RequireUserAuthToken"] = "REQUIRE_USER_AUTH_TOKEN";
1082
1502
  })(RequestMessageCode || (RequestMessageCode = {}));
1503
+ /** Severity level of a request message. */
1083
1504
  export var RequestMessageLevel;
1084
1505
  (function (RequestMessageLevel) {
1506
+ /** Error message */
1085
1507
  RequestMessageLevel["Error"] = "ERROR";
1508
+ /** Informational message */
1086
1509
  RequestMessageLevel["Info"] = "INFO";
1510
+ /** Warning message */
1087
1511
  RequestMessageLevel["Warning"] = "WARNING";
1088
1512
  })(RequestMessageLevel || (RequestMessageLevel = {}));
1513
+ /** Field to sort request reviewer delegations by. */
1089
1514
  export var RequestReviewerDelegationsSortByField;
1090
1515
  (function (RequestReviewerDelegationsSortByField) {
1516
+ /** Sort by delegation creation time. */
1091
1517
  RequestReviewerDelegationsSortByField["CreatedAt"] = "CREATED_AT";
1518
+ /** Sort by delegation end time. */
1092
1519
  RequestReviewerDelegationsSortByField["EndTime"] = "END_TIME";
1520
+ /** Sort by delegation start time. */
1093
1521
  RequestReviewerDelegationsSortByField["StartTime"] = "START_TIME";
1094
1522
  })(RequestReviewerDelegationsSortByField || (RequestReviewerDelegationsSortByField = {}));
1523
+ /** Source from which a request was created. */
1095
1524
  export var RequestSource;
1096
1525
  (function (RequestSource) {
1526
+ /** Created via API */
1097
1527
  RequestSource["Api"] = "API";
1528
+ /** Created via command-line interface */
1098
1529
  RequestSource["Cli"] = "CLI";
1530
+ /** Created via Slack integration */
1099
1531
  RequestSource["Slack"] = "SLACK";
1532
+ /** Created via web interface */
1100
1533
  RequestSource["Web"] = "WEB";
1101
1534
  })(RequestSource || (RequestSource = {}));
1535
+ /** Status of an access request throughout its lifecycle. */
1102
1536
  export var RequestStatus;
1103
1537
  (function (RequestStatus) {
1538
+ /** Request has been approved */
1104
1539
  RequestStatus["Approved"] = "APPROVED";
1540
+ /** Request has been canceled by the requester */
1105
1541
  RequestStatus["Canceled"] = "CANCELED";
1542
+ /** Request has been denied */
1106
1543
  RequestStatus["Denied"] = "DENIED";
1544
+ /** Request is awaiting approval */
1107
1545
  RequestStatus["Pending"] = "PENDING";
1108
1546
  })(RequestStatus || (RequestStatus = {}));
1547
+ /** Type of custom field in a request template. */
1109
1548
  export var RequestTemplateCustomFieldType;
1110
1549
  (function (RequestTemplateCustomFieldType) {
1550
+ /** Boolean checkbox field. */
1111
1551
  RequestTemplateCustomFieldType["Boolean"] = "BOOLEAN";
1552
+ /** Long text field (multiple lines). */
1112
1553
  RequestTemplateCustomFieldType["LongText"] = "LONG_TEXT";
1554
+ /** Multiple choice dropdown field. */
1113
1555
  RequestTemplateCustomFieldType["MultiChoice"] = "MULTI_CHOICE";
1556
+ /** Short text field (single line). */
1114
1557
  RequestTemplateCustomFieldType["ShortText"] = "SHORT_TEXT";
1115
1558
  })(RequestTemplateCustomFieldType || (RequestTemplateCustomFieldType = {}));
1559
+ /** Direction of a request relative to the current user. */
1116
1560
  export var RequestType;
1117
1561
  (function (RequestType) {
1562
+ /** Requests assigned to the user for review */
1118
1563
  RequestType["Incoming"] = "INCOMING";
1564
+ /** Requests created by the user */
1119
1565
  RequestType["Outgoing"] = "OUTGOING";
1120
1566
  })(RequestType || (RequestType = {}));
1567
+ /** Fields to sort requests by. */
1121
1568
  export var RequestsSortByField;
1122
1569
  (function (RequestsSortByField) {
1570
+ /** Sort by creation timestamp */
1123
1571
  RequestsSortByField["CreatedAt"] = "CREATED_AT";
1572
+ /** Sort by access duration */
1124
1573
  RequestsSortByField["Duration"] = "DURATION";
1574
+ /** Sort by request status */
1125
1575
  RequestsSortByField["Status"] = "STATUS";
1576
+ /** Sort by target user or group */
1126
1577
  RequestsSortByField["Target"] = "TARGET";
1578
+ /** Sort by last update timestamp */
1127
1579
  RequestsSortByField["UpdatedAt"] = "UPDATED_AT";
1128
1580
  })(RequestsSortByField || (RequestsSortByField = {}));
1581
+ /** Types of resources that can be managed in Opal. */
1129
1582
  export var ResourceType;
1130
1583
  (function (ResourceType) {
1584
+ /** Anthropic Workspace */
1131
1585
  ResourceType["AnthropicWorkspace"] = "ANTHROPIC_WORKSPACE";
1586
+ /** AWS Account */
1132
1587
  ResourceType["AwsAccount"] = "AWS_ACCOUNT";
1588
+ /** AWS EC2 Instance */
1133
1589
  ResourceType["AwsEc2Instance"] = "AWS_EC2_INSTANCE";
1590
+ /** AWS EKS Cluster */
1134
1591
  ResourceType["AwsEksCluster"] = "AWS_EKS_CLUSTER";
1592
+ /** AWS IAM Role */
1135
1593
  ResourceType["AwsIamRole"] = "AWS_IAM_ROLE";
1594
+ /** AWS Organizational Unit */
1136
1595
  ResourceType["AwsOrganizationalUnit"] = "AWS_ORGANIZATIONAL_UNIT";
1596
+ /** AWS RDS MySQL Cluster */
1137
1597
  ResourceType["AwsRdsMysqlCluster"] = "AWS_RDS_MYSQL_CLUSTER";
1598
+ /** AWS RDS MySQL Instance */
1138
1599
  ResourceType["AwsRdsMysqlInstance"] = "AWS_RDS_MYSQL_INSTANCE";
1600
+ /** AWS RDS PostgreSQL Cluster */
1139
1601
  ResourceType["AwsRdsPostgresCluster"] = "AWS_RDS_POSTGRES_CLUSTER";
1602
+ /** AWS RDS PostgreSQL Instance */
1140
1603
  ResourceType["AwsRdsPostgresInstance"] = "AWS_RDS_POSTGRES_INSTANCE";
1604
+ /** AWS SSO Permission Set */
1141
1605
  ResourceType["AwsSsoPermissionSet"] = "AWS_SSO_PERMISSION_SET";
1606
+ /** Azure Enterprise App */
1142
1607
  ResourceType["AzureEnterpriseApp"] = "AZURE_ENTERPRISE_APP";
1608
+ /** Azure Entra ID Role */
1143
1609
  ResourceType["AzureEntraIdRole"] = "AZURE_ENTRA_ID_ROLE";
1610
+ /** Azure Management Group */
1144
1611
  ResourceType["AzureManagementGroup"] = "AZURE_MANAGEMENT_GROUP";
1612
+ /** Azure Resource Group */
1145
1613
  ResourceType["AzureResourceGroup"] = "AZURE_RESOURCE_GROUP";
1614
+ /** Azure SQL Database */
1146
1615
  ResourceType["AzureSqlDatabase"] = "AZURE_SQL_DATABASE";
1616
+ /** Azure SQL Managed Database */
1147
1617
  ResourceType["AzureSqlManagedDatabase"] = "AZURE_SQL_MANAGED_DATABASE";
1618
+ /** Azure SQL Managed Instance */
1148
1619
  ResourceType["AzureSqlManagedInstance"] = "AZURE_SQL_MANAGED_INSTANCE";
1620
+ /** Azure SQL Server */
1149
1621
  ResourceType["AzureSqlServer"] = "AZURE_SQL_SERVER";
1622
+ /** Azure Storage Account */
1150
1623
  ResourceType["AzureStorageAccount"] = "AZURE_STORAGE_ACCOUNT";
1624
+ /** Azure Storage Container */
1151
1625
  ResourceType["AzureStorageContainer"] = "AZURE_STORAGE_CONTAINER";
1626
+ /** Azure Subscription */
1152
1627
  ResourceType["AzureSubscription"] = "AZURE_SUBSCRIPTION";
1628
+ /** Azure User Assigned Managed Identity */
1153
1629
  ResourceType["AzureUserAssignedManagedIdentity"] = "AZURE_USER_ASSIGNED_MANAGED_Identity";
1630
+ /** Azure Virtual Machine */
1154
1631
  ResourceType["AzureVirtualMachine"] = "AZURE_VIRTUAL_MACHINE";
1632
+ /** Coupa Role */
1155
1633
  ResourceType["CoupaRole"] = "COUPA_ROLE";
1634
+ /** Cursor Organization */
1156
1635
  ResourceType["CursorOrganization"] = "CURSOR_ORGANIZATION";
1636
+ /** Custom Resource */
1157
1637
  ResourceType["Custom"] = "CUSTOM";
1638
+ /** Custom Connector Resource */
1158
1639
  ResourceType["CustomConnector"] = "CUSTOM_CONNECTOR";
1640
+ /** Databricks Account Service Principal */
1159
1641
  ResourceType["DatabricksAccountServicePrincipal"] = "DATABRICKS_ACCOUNT_SERVICE_PRINCIPAL";
1642
+ /** DataStax Astra Role */
1160
1643
  ResourceType["DatastaxAstraRole"] = "DATASTAX_ASTRA_ROLE";
1644
+ ResourceType["DevinOrganization"] = "DEVIN_ORGANIZATION";
1645
+ ResourceType["DevinRole"] = "DEVIN_ROLE";
1646
+ /** GCP BigQuery Dataset */
1161
1647
  ResourceType["GcpBigQueryDataset"] = "GCP_BIG_QUERY_DATASET";
1648
+ /** GCP BigQuery Table */
1162
1649
  ResourceType["GcpBigQueryTable"] = "GCP_BIG_QUERY_TABLE";
1650
+ /** GCP Storage Bucket */
1163
1651
  ResourceType["GcpBucket"] = "GCP_BUCKET";
1652
+ /** GCP Cloud SQL MySQL Instance */
1164
1653
  ResourceType["GcpCloudSqlMysqlInstance"] = "GCP_CLOUD_SQL_MYSQL_INSTANCE";
1654
+ /** GCP Cloud SQL PostgreSQL Instance */
1165
1655
  ResourceType["GcpCloudSqlPostgresInstance"] = "GCP_CLOUD_SQL_POSTGRES_INSTANCE";
1656
+ /** GCP Compute Instance */
1166
1657
  ResourceType["GcpComputeInstance"] = "GCP_COMPUTE_INSTANCE";
1658
+ /** GCP Folder */
1167
1659
  ResourceType["GcpFolder"] = "GCP_FOLDER";
1660
+ /** GCP GKE Cluster (Deprecated, use GOOGLE_GROUPS_GKE_GROUP instead) */
1168
1661
  ResourceType["GcpGkeCluster"] = "GCP_GKE_CLUSTER";
1662
+ /** GCP Organization */
1169
1663
  ResourceType["GcpOrganization"] = "GCP_ORGANIZATION";
1664
+ /** GCP Project */
1170
1665
  ResourceType["GcpProject"] = "GCP_PROJECT";
1666
+ /** GCP Service Account */
1171
1667
  ResourceType["GcpServiceAccount"] = "GCP_SERVICE_ACCOUNT";
1668
+ /** GitHub Organization */
1172
1669
  ResourceType["GitHubOrg"] = "GIT_HUB_ORG";
1670
+ /** GitHub Organization Role */
1173
1671
  ResourceType["GitHubOrgRole"] = "GIT_HUB_ORG_ROLE";
1672
+ /** GitHub Repository */
1174
1673
  ResourceType["GitHubRepo"] = "GIT_HUB_REPO";
1674
+ /** GitLab Project */
1175
1675
  ResourceType["GitLabProject"] = "GIT_LAB_PROJECT";
1676
+ /** Google Workspace Role */
1176
1677
  ResourceType["GoogleWorkspaceRole"] = "GOOGLE_WORKSPACE_ROLE";
1678
+ /** iLevel Advanced Role */
1177
1679
  ResourceType["IlevelAdvancedRole"] = "ILEVEL_ADVANCED_ROLE";
1680
+ /** MariaDB Instance */
1178
1681
  ResourceType["MariadbInstance"] = "MARIADB_INSTANCE";
1682
+ /** MongoDB Atlas Instance */
1179
1683
  ResourceType["MongoAtlasInstance"] = "MONGO_ATLAS_INSTANCE";
1684
+ /** MongoDB Instance */
1180
1685
  ResourceType["MongoInstance"] = "MONGO_INSTANCE";
1686
+ /** MySQL Instance */
1181
1687
  ResourceType["MysqlInstance"] = "MYSQL_INSTANCE";
1688
+ /** Okta Application */
1182
1689
  ResourceType["OktaApp"] = "OKTA_APP";
1690
+ /** Okta Role */
1183
1691
  ResourceType["OktaRole"] = "OKTA_ROLE";
1692
+ /** Opal Role */
1184
1693
  ResourceType["OpalRole"] = "OPAL_ROLE";
1694
+ /** Opal Scoped Role */
1185
1695
  ResourceType["OpalScopedRole"] = "OPAL_SCOPED_ROLE";
1696
+ /** OpenAI Platform Project */
1186
1697
  ResourceType["OpenaiPlatformProject"] = "OPENAI_PLATFORM_PROJECT";
1698
+ /** OpenAI Platform Service Account */
1187
1699
  ResourceType["OpenaiPlatformServiceAccount"] = "OPENAI_PLATFORM_SERVICE_ACCOUNT";
1700
+ /** Oracle Fusion Role */
1188
1701
  ResourceType["OracleFusionRole"] = "ORACLE_FUSION_ROLE";
1702
+ /** PagerDuty Role */
1189
1703
  ResourceType["PagerdutyRole"] = "PAGERDUTY_ROLE";
1704
+ /** PostgreSQL Instance */
1190
1705
  ResourceType["PostgresInstance"] = "POSTGRES_INSTANCE";
1706
+ /** Salesforce Permission Set */
1191
1707
  ResourceType["SalesforcePermissionSet"] = "SALESFORCE_PERMISSION_SET";
1708
+ /** Salesforce Profile */
1192
1709
  ResourceType["SalesforceProfile"] = "SALESFORCE_PROFILE";
1710
+ /** Salesforce Role */
1193
1711
  ResourceType["SalesforceRole"] = "SALESFORCE_ROLE";
1712
+ /** Snowflake Database */
1194
1713
  ResourceType["SnowflakeDatabase"] = "SNOWFLAKE_DATABASE";
1714
+ /** Snowflake Schema */
1195
1715
  ResourceType["SnowflakeSchema"] = "SNOWFLAKE_SCHEMA";
1716
+ /** Snowflake Table */
1196
1717
  ResourceType["SnowflakeTable"] = "SNOWFLAKE_TABLE";
1718
+ /** Tailscale SSH */
1197
1719
  ResourceType["TailscaleSsh"] = "TAILSCALE_SSH";
1720
+ /** Teleport Role */
1198
1721
  ResourceType["TeleportRole"] = "TELEPORT_ROLE";
1722
+ ResourceType["VaultOidcRole"] = "VAULT_OIDC_ROLE";
1723
+ ResourceType["VaultPolicy"] = "VAULT_POLICY";
1724
+ ResourceType["VaultSecret"] = "VAULT_SECRET";
1725
+ /** Workday Role */
1199
1726
  ResourceType["WorkdayRole"] = "WORKDAY_ROLE";
1200
1727
  })(ResourceType || (ResourceType = {}));
1728
+ /** Fields to sort resource users by. */
1201
1729
  export var ResourceUserSortByField;
1202
1730
  (function (ResourceUserSortByField) {
1731
+ /** Sort by access level name */
1203
1732
  ResourceUserSortByField["AccessLevelName"] = "ACCESS_LEVEL_NAME";
1733
+ /** Sort by expiration time */
1204
1734
  ResourceUserSortByField["ExpiresAt"] = "EXPIRES_AT";
1735
+ /** Sort by last used timestamp */
1205
1736
  ResourceUserSortByField["LastUsedAt"] = "LAST_USED_AT";
1737
+ /** Sort by propagation status */
1206
1738
  ResourceUserSortByField["PropagationStatus"] = "PROPAGATION_STATUS";
1739
+ /** Sort by resource name */
1207
1740
  ResourceUserSortByField["ResourceName"] = "RESOURCE_NAME";
1741
+ /** Sort by source of access */
1208
1742
  ResourceUserSortByField["SourceOfAccess"] = "SOURCE_OF_ACCESS";
1743
+ /** Sort by user email */
1209
1744
  ResourceUserSortByField["UserEmail"] = "USER_EMAIL";
1745
+ /** Sort by user full name */
1210
1746
  ResourceUserSortByField["UserFullName"] = "USER_FULL_NAME";
1211
1747
  })(ResourceUserSortByField || (ResourceUserSortByField = {}));
1748
+ /** Source of a resource user assignment. */
1212
1749
  export var ResourceUserSource;
1213
1750
  (function (ResourceUserSource) {
1214
- /** ResourceUser that's inherited from another remote resource */
1751
+ /** ResourceUser that's inherited from another remote resource. */
1215
1752
  ResourceUserSource["Inherited"] = "INHERITED";
1753
+ /** Regular directly-assigned resource user. */
1216
1754
  ResourceUserSource["Regular"] = "REGULAR";
1217
1755
  })(ResourceUserSource || (ResourceUserSource = {}));
1218
1756
  export var ReviewStageOperator;
@@ -1220,30 +1758,50 @@ export var ReviewStageOperator;
1220
1758
  ReviewStageOperator["And"] = "AND";
1221
1759
  ReviewStageOperator["Or"] = "OR";
1222
1760
  })(ReviewStageOperator || (ReviewStageOperator = {}));
1761
+ /** Actions a reviewer can take on a request. */
1223
1762
  export var ReviewerAction;
1224
1763
  (function (ReviewerAction) {
1764
+ /** Reviewer approved the request */
1225
1765
  ReviewerAction["Approved"] = "APPROVED";
1766
+ /** Reviewer denied the request */
1226
1767
  ReviewerAction["Denied"] = "DENIED";
1227
1768
  })(ReviewerAction || (ReviewerAction = {}));
1769
+ /** The status of a single reviewer's decision on an access item. */
1228
1770
  export var ReviewerUserStatus;
1229
1771
  (function (ReviewerUserStatus) {
1772
+ /** The reviewer accepted/approved the access. */
1230
1773
  ReviewerUserStatus["Accepted"] = "ACCEPTED";
1774
+ /** Admin revoked the access and it needs to be removed in the end system. */
1231
1775
  ReviewerUserStatus["AdminNeedsEndSystemRevocation"] = "ADMIN_NEEDS_END_SYSTEM_REVOCATION";
1776
+ /** Admin revoked the access. */
1232
1777
  ReviewerUserStatus["AdminRevoked"] = "ADMIN_REVOKED";
1778
+ /** The reviewer revoked the access and it needs to be removed in the end system. */
1233
1779
  ReviewerUserStatus["NeedsEndSystemRevocation"] = "NEEDS_END_SYSTEM_REVOCATION";
1780
+ /** The reviewer updated the access and the resulting request needs approval. */
1234
1781
  ReviewerUserStatus["NeedsUpdateRequestApproval"] = "NEEDS_UPDATE_REQUEST_APPROVAL";
1782
+ /** No review is required for this item. */
1235
1783
  ReviewerUserStatus["NotRequired"] = "NOT_REQUIRED";
1784
+ /** The reviewer has not started reviewing this item yet. */
1236
1785
  ReviewerUserStatus["NotStarted"] = "NOT_STARTED";
1786
+ /** The reviewer revoked the access. */
1237
1787
  ReviewerUserStatus["Revoked"] = "REVOKED";
1788
+ /** The reviewer updated/modified the access. */
1238
1789
  ReviewerUserStatus["Updated"] = "UPDATED";
1239
1790
  })(ReviewerUserStatus || (ReviewerUserStatus = {}));
1791
+ /** Represents the severity level of a security risk or threat. */
1240
1792
  export var RiskLevel;
1241
1793
  (function (RiskLevel) {
1794
+ /** Critical severity risk requiring immediate attention */
1242
1795
  RiskLevel["Critical"] = "CRITICAL";
1796
+ /** High severity risk */
1243
1797
  RiskLevel["High"] = "HIGH";
1798
+ /** Low severity risk */
1244
1799
  RiskLevel["Low"] = "LOW";
1800
+ /** Medium severity risk */
1245
1801
  RiskLevel["Medium"] = "MEDIUM";
1802
+ /** No risk identified */
1246
1803
  RiskLevel["None"] = "NONE";
1804
+ /** Unknown or unclassified risk level */
1247
1805
  RiskLevel["Unknown"] = "UNKNOWN";
1248
1806
  })(RiskLevel || (RiskLevel = {}));
1249
1807
  export var RoleAssignmentSource;
@@ -1258,6 +1816,7 @@ export var RoleAssignmentSource;
1258
1816
  /** Regular GroupUser that's imported from a nested group. */
1259
1817
  RoleAssignmentSource["RegularNested"] = "REGULAR_NESTED";
1260
1818
  })(RoleAssignmentSource || (RoleAssignmentSource = {}));
1819
+ /** Field to sort role assignments by. */
1261
1820
  export var RoleAssignmentsSortByField;
1262
1821
  (function (RoleAssignmentsSortByField) {
1263
1822
  RoleAssignmentsSortByField["EntityName"] = "ENTITY_NAME";
@@ -1269,6 +1828,7 @@ export var RoleAssignmentsSortByField;
1269
1828
  RoleAssignmentsSortByField["Role"] = "ROLE";
1270
1829
  RoleAssignmentsSortByField["VulnerabilityCount"] = "VULNERABILITY_COUNT";
1271
1830
  })(RoleAssignmentsSortByField || (RoleAssignmentsSortByField = {}));
1831
+ /** Permissions that can be granted on various target types in Opal. */
1272
1832
  export var RolePermission;
1273
1833
  (function (RolePermission) {
1274
1834
  RolePermission["AssignUarReviewers"] = "ASSIGN_UAR_REVIEWERS";
@@ -1293,6 +1853,7 @@ export var RolePermission;
1293
1853
  RolePermission["Stop"] = "STOP";
1294
1854
  RolePermission["Sync"] = "SYNC";
1295
1855
  })(RolePermission || (RolePermission = {}));
1856
+ /** Target types that permissions can be scoped to. */
1296
1857
  export var RolePermissionTargetType;
1297
1858
  (function (RolePermissionTargetType) {
1298
1859
  RolePermissionTargetType["AccessReview"] = "ACCESS_REVIEW";
@@ -1326,6 +1887,7 @@ export var ServiceType;
1326
1887
  ServiceType["CustomConnector"] = "CUSTOM_CONNECTOR";
1327
1888
  ServiceType["Databricks"] = "DATABRICKS";
1328
1889
  ServiceType["DatastaxAstra"] = "DATASTAX_ASTRA";
1890
+ ServiceType["Devin"] = "DEVIN";
1329
1891
  ServiceType["Duo"] = "DUO";
1330
1892
  ServiceType["GcpBigQuery"] = "GCP_BIG_QUERY";
1331
1893
  ServiceType["GcpIam"] = "GCP_IAM";
@@ -1334,12 +1896,14 @@ export var ServiceType;
1334
1896
  ServiceType["GitLab"] = "GIT_LAB";
1335
1897
  ServiceType["GoogleGroups"] = "GOOGLE_GROUPS";
1336
1898
  ServiceType["GoogleWorkspace"] = "GOOGLE_WORKSPACE";
1899
+ ServiceType["Incidentio"] = "INCIDENTIO";
1337
1900
  ServiceType["Kubernetes"] = "KUBERNETES";
1338
1901
  ServiceType["Ldap"] = "LDAP";
1339
1902
  ServiceType["Mariadb"] = "MARIADB";
1340
1903
  ServiceType["Mongo"] = "MONGO";
1341
1904
  ServiceType["MongoAtlas"] = "MONGO_ATLAS";
1342
1905
  ServiceType["Mysql"] = "MYSQL";
1906
+ ServiceType["OktaCiam"] = "OKTA_CIAM";
1343
1907
  ServiceType["OktaDirectory"] = "OKTA_DIRECTORY";
1344
1908
  ServiceType["Opal"] = "OPAL";
1345
1909
  ServiceType["OpenaiPlatform"] = "OPENAI_PLATFORM";
@@ -1352,12 +1916,16 @@ export var ServiceType;
1352
1916
  ServiceType["Tailscale"] = "TAILSCALE";
1353
1917
  ServiceType["Teleport"] = "TELEPORT";
1354
1918
  ServiceType["Unknown"] = "UNKNOWN";
1919
+ ServiceType["Vault"] = "VAULT";
1355
1920
  ServiceType["Workday"] = "WORKDAY";
1356
1921
  })(ServiceType || (ServiceType = {}));
1922
+ /** The strategy used for service user automation. */
1357
1923
  export var ServiceUserAutomationStrategy;
1358
1924
  (function (ServiceUserAutomationStrategy) {
1925
+ ServiceUserAutomationStrategy["Starlark"] = "STARLARK";
1359
1926
  ServiceUserAutomationStrategy["Webhook"] = "WEBHOOK";
1360
1927
  })(ServiceUserAutomationStrategy || (ServiceUserAutomationStrategy = {}));
1928
+ /** The trigger event for service user automation. */
1361
1929
  export var ServiceUserAutomationTrigger;
1362
1930
  (function (ServiceUserAutomationTrigger) {
1363
1931
  ServiceUserAutomationTrigger["RequestCreatedForReviewer"] = "REQUEST_CREATED_FOR_REVIEWER";
@@ -1367,18 +1935,41 @@ export var SortDirection;
1367
1935
  SortDirection["Asc"] = "ASC";
1368
1936
  SortDirection["Desc"] = "DESC";
1369
1937
  })(SortDirection || (SortDirection = {}));
1938
+ export var StarlarkScriptExecutionResult;
1939
+ (function (StarlarkScriptExecutionResult) {
1940
+ StarlarkScriptExecutionResult["Fail"] = "FAIL";
1941
+ StarlarkScriptExecutionResult["Success"] = "SUCCESS";
1942
+ })(StarlarkScriptExecutionResult || (StarlarkScriptExecutionResult = {}));
1943
+ export var StarlarkScriptType;
1944
+ (function (StarlarkScriptType) {
1945
+ StarlarkScriptType["RequestReview"] = "REQUEST_REVIEW";
1946
+ })(StarlarkScriptType || (StarlarkScriptType = {}));
1370
1947
  export var StringFormatType;
1371
1948
  (function (StringFormatType) {
1372
1949
  StringFormatType["Email"] = "EMAIL";
1373
1950
  })(StringFormatType || (StringFormatType = {}));
1951
+ export var StringMatchType;
1952
+ (function (StringMatchType) {
1953
+ StringMatchType["Contains"] = "CONTAINS";
1954
+ StringMatchType["EndsWith"] = "ENDS_WITH";
1955
+ StringMatchType["Equals"] = "EQUALS";
1956
+ StringMatchType["StartsWith"] = "STARTS_WITH";
1957
+ })(StringMatchType || (StringMatchType = {}));
1958
+ /** Fields that can be used to sort sub-events. */
1374
1959
  export var SubEventsSortByField;
1375
1960
  (function (SubEventsSortByField) {
1961
+ /** Sort by creation time. */
1376
1962
  SubEventsSortByField["CreatedAt"] = "CREATED_AT";
1963
+ /** Sort by first entity name. */
1377
1964
  SubEventsSortByField["Entity_1Name"] = "ENTITY_1_NAME";
1965
+ /** Sort by second entity name. */
1378
1966
  SubEventsSortByField["Entity_2Name"] = "ENTITY_2_NAME";
1967
+ /** Sort by third entity name. */
1379
1968
  SubEventsSortByField["Entity_3Name"] = "ENTITY_3_NAME";
1969
+ /** Sort by fourth entity name. */
1380
1970
  SubEventsSortByField["Entity_4Name"] = "ENTITY_4_NAME";
1381
1971
  })(SubEventsSortByField || (SubEventsSortByField = {}));
1972
+ /** Status of a sync task. */
1382
1973
  export var SyncTaskStatus;
1383
1974
  (function (SyncTaskStatus) {
1384
1975
  SyncTaskStatus["Completed"] = "COMPLETED";
@@ -1386,11 +1977,14 @@ export var SyncTaskStatus;
1386
1977
  SyncTaskStatus["Started"] = "STARTED";
1387
1978
  SyncTaskStatus["TimedOut"] = "TIMED_OUT";
1388
1979
  })(SyncTaskStatus || (SyncTaskStatus = {}));
1980
+ /** Types of sync operations supported by Opal. */
1389
1981
  export var SyncType;
1390
1982
  (function (SyncType) {
1391
1983
  SyncType["PullConnectionsAll"] = "PULL_CONNECTIONS_ALL";
1984
+ SyncType["PullConnectionsAllConnectionUsers"] = "PULL_CONNECTIONS_ALL_CONNECTION_USERS";
1392
1985
  SyncType["PullConnectionsAllGroups"] = "PULL_CONNECTIONS_ALL_GROUPS";
1393
1986
  SyncType["PullConnectionsAllIncludeUnmanagedItems"] = "PULL_CONNECTIONS_ALL_INCLUDE_UNMANAGED_ITEMS";
1987
+ SyncType["PullConnectionsAllIncludeUnmanagedItemsWithoutDetails"] = "PULL_CONNECTIONS_ALL_INCLUDE_UNMANAGED_ITEMS_WITHOUT_DETAILS";
1394
1988
  SyncType["PullConnectionsAllResources"] = "PULL_CONNECTIONS_ALL_RESOURCES";
1395
1989
  SyncType["PullConnectionsCustom"] = "PULL_CONNECTIONS_CUSTOM";
1396
1990
  SyncType["PullConnectionsEventsOnly"] = "PULL_CONNECTIONS_EVENTS_ONLY";
@@ -1405,13 +1999,19 @@ export var SyncType;
1405
1999
  SyncType["PullPropagationTickets"] = "PULL_PROPAGATION_TICKETS";
1406
2000
  SyncType["PullUarRemoteTickets"] = "PULL_UAR_REMOTE_TICKETS";
1407
2001
  })(SyncType || (SyncType = {}));
2002
+ /** Match mode for tag filtering. */
1408
2003
  export var TagFilterMatchMode;
1409
2004
  (function (TagFilterMatchMode) {
2005
+ /** Match entities with all of the tags. */
1410
2006
  TagFilterMatchMode["All"] = "ALL";
2007
+ /** Match entities with any of the tags. */
1411
2008
  TagFilterMatchMode["Any"] = "ANY";
2009
+ /** Match entities with none of the tags. */
1412
2010
  TagFilterMatchMode["None"] = "NONE";
2011
+ /** Match entities that don't have all of the tags. */
1413
2012
  TagFilterMatchMode["NotAll"] = "NOT_ALL";
1414
2013
  })(TagFilterMatchMode || (TagFilterMatchMode = {}));
2014
+ /** Field to sort tags by. */
1415
2015
  export var TagsSortByField;
1416
2016
  (function (TagsSortByField) {
1417
2017
  TagsSortByField["CreatedAt"] = "CREATED_AT";
@@ -1456,29 +2056,52 @@ export var TaskTrigger;
1456
2056
  TaskTrigger["ThirdPartyProviderPull"] = "THIRD_PARTY_PROVIDER_PULL";
1457
2057
  TaskTrigger["UserDeleted"] = "USER_DELETED";
1458
2058
  })(TaskTrigger || (TaskTrigger = {}));
2059
+ /** Supported third-party service providers that can be integrated with Opal. */
1459
2060
  export var ThirdPartyProvider;
1460
2061
  (function (ThirdPartyProvider) {
2062
+ /** Auth0 authentication provider. */
1461
2063
  ThirdPartyProvider["Auth0"] = "AUTH0";
2064
+ /** FreshService IT service management platform integration. */
1462
2065
  ThirdPartyProvider["FreshService"] = "FRESH_SERVICE";
2066
+ /** GitHub integration for storing user mappings between Opal and GitHub users. */
1463
2067
  ThirdPartyProvider["GitHub"] = "GIT_HUB";
2068
+ /** GitHub connection integration for authentication after GitHub app installation. */
1464
2069
  ThirdPartyProvider["GitHubConnection"] = "GIT_HUB_CONNECTION";
2070
+ /** GitHub registration integration for handling redirects after GitHub app registration. */
1465
2071
  ThirdPartyProvider["GitHubRegistration"] = "GIT_HUB_REGISTRATION";
2072
+ /** GitLab integration for storing user mappings between Opal and GitLab SaaS users. */
1466
2073
  ThirdPartyProvider["GitLab"] = "GIT_LAB";
2074
+ /** GitLab connection integration for handling OAuth flow. */
1467
2075
  ThirdPartyProvider["GitLabConnection"] = "GIT_LAB_CONNECTION";
2076
+ /** Google Chat messaging platform integration. */
1468
2077
  ThirdPartyProvider["GoogleChat"] = "GOOGLE_CHAT";
2078
+ /** Jira project management and issue tracking integration. */
1469
2079
  ThirdPartyProvider["Jira"] = "JIRA";
2080
+ /** Linear project management and issue tracking integration. */
1470
2081
  ThirdPartyProvider["Linear"] = "LINEAR";
2082
+ /** Notion workspace and documentation integration. */
1471
2083
  ThirdPartyProvider["Notion"] = "NOTION";
2084
+ /** Opsgenie incident management platform integration. */
1472
2085
  ThirdPartyProvider["Opsgenie"] = "OPSGENIE";
2086
+ /** PagerDuty incident response platform integration. */
1473
2087
  ThirdPartyProvider["PagerDuty"] = "PAGER_DUTY";
2088
+ /** ServiceNow IT service management platform integration. */
1474
2089
  ThirdPartyProvider["ServiceNow"] = "SERVICE_NOW";
2090
+ /** Shortcut project management platform integration. */
2091
+ ThirdPartyProvider["Shortcut"] = "SHORTCUT";
2092
+ /** Slack messaging platform integration. */
1475
2093
  ThirdPartyProvider["Slack"] = "SLACK";
2094
+ /** Teleport access platform integration. */
1476
2095
  ThirdPartyProvider["Teleport"] = "TELEPORT";
1477
2096
  })(ThirdPartyProvider || (ThirdPartyProvider = {}));
2097
+ /** Time bucket size for aggregating metrics data. */
1478
2098
  export var TimeBucket;
1479
2099
  (function (TimeBucket) {
2100
+ /** Aggregate by day. */
1480
2101
  TimeBucket["Day"] = "DAY";
2102
+ /** Aggregate by month. */
1481
2103
  TimeBucket["Month"] = "MONTH";
2104
+ /** Aggregate by week. */
1482
2105
  TimeBucket["Week"] = "WEEK";
1483
2106
  })(TimeBucket || (TimeBucket = {}));
1484
2107
  export var TimePeriod;
@@ -1497,38 +2120,60 @@ export var UiSource;
1497
2120
  UiSource["ThreatCenter"] = "THREAT_CENTER";
1498
2121
  UiSource["Unknown"] = "UNKNOWN";
1499
2122
  })(UiSource || (UiSource = {}));
2123
+ /** Denotes where the usage is stored or should be attributed to. */
1500
2124
  export var UsageAttributionType;
1501
2125
  (function (UsageAttributionType) {
2126
+ /** Usage stored in event records */
1502
2127
  UsageAttributionType["Event"] = "EVENT";
2128
+ /** Usage stored in aggregated rollup records */
1503
2129
  UsageAttributionType["UsageRollup"] = "USAGE_ROLLUP";
1504
2130
  })(UsageAttributionType || (UsageAttributionType = {}));
2131
+ /** Types of user-facing errors that may occur. */
1505
2132
  export var UserErrorType;
1506
2133
  (function (UserErrorType) {
2134
+ /** Support ticket was not found. */
1507
2135
  UserErrorType["SupportTicketNotFound"] = "SUPPORT_TICKET_NOT_FOUND";
1508
2136
  })(UserErrorType || (UserErrorType = {}));
2137
+ /** The product role for a user in Opal. */
1509
2138
  export var UserProductRole;
1510
2139
  (function (UserProductRole) {
1511
2140
  UserProductRole["Admin"] = "ADMIN";
1512
2141
  UserProductRole["Member"] = "MEMBER";
1513
2142
  })(UserProductRole || (UserProductRole = {}));
2143
+ /** Fields that users can be sorted by. */
1514
2144
  export var UsersSortByField;
1515
2145
  (function (UsersSortByField) {
2146
+ /** Sort by creation date. */
1516
2147
  UsersSortByField["CreatedAt"] = "CREATED_AT";
2148
+ /** Sort by email address. */
1517
2149
  UsersSortByField["Email"] = "EMAIL";
2150
+ /** Sort by first name. */
1518
2151
  UsersSortByField["FirstName"] = "FIRST_NAME";
2152
+ /** Sort by full name. */
1519
2153
  UsersSortByField["FullName"] = "FULL_NAME";
2154
+ /** Sort by HR/IDP status. */
1520
2155
  UsersSortByField["HrIdpStatus"] = "HR_IDP_STATUS";
2156
+ /** Sort by last name. */
1521
2157
  UsersSortByField["LastName"] = "LAST_NAME";
2158
+ /** Sort by manager name. */
1522
2159
  UsersSortByField["Manager"] = "MANAGER";
2160
+ /** Sort by team. */
1523
2161
  UsersSortByField["Team"] = "TEAM";
2162
+ /** Sort by job title. */
1524
2163
  UsersSortByField["Title"] = "TITLE";
1525
2164
  })(UsersSortByField || (UsersSortByField = {}));
2165
+ /** Status of MFA factor verification. */
1526
2166
  export var VerifyFactorStatus;
1527
2167
  (function (VerifyFactorStatus) {
2168
+ /** Verification failed. */
1528
2169
  VerifyFactorStatus["Failed"] = "FAILED";
2170
+ /** Verification was rejected by the user. */
1529
2171
  VerifyFactorStatus["Rejected"] = "REJECTED";
2172
+ /** Verification was successful. */
1530
2173
  VerifyFactorStatus["Success"] = "SUCCESS";
2174
+ /** Verification timed out. */
1531
2175
  VerifyFactorStatus["Timeout"] = "TIMEOUT";
2176
+ /** Verification is waiting for user action. */
1532
2177
  VerifyFactorStatus["Waiting"] = "WAITING";
1533
2178
  })(VerifyFactorStatus || (VerifyFactorStatus = {}));
1534
2179
  export var Visibility;
@@ -1536,20 +2181,30 @@ export var Visibility;
1536
2181
  Visibility["Global"] = "GLOBAL";
1537
2182
  Visibility["Team"] = "TEAM";
1538
2183
  })(Visibility || (Visibility = {}));
2184
+ /** Location where API key should be placed in webhook requests. */
1539
2185
  export var WebhookPubsubPublishConnectionApiKeyLocation;
1540
2186
  (function (WebhookPubsubPublishConnectionApiKeyLocation) {
2187
+ /** API key in HTTP header. */
1541
2188
  WebhookPubsubPublishConnectionApiKeyLocation["Header"] = "HEADER";
2189
+ /** API key in query parameter. */
1542
2190
  WebhookPubsubPublishConnectionApiKeyLocation["QueryParam"] = "QUERY_PARAM";
1543
2191
  })(WebhookPubsubPublishConnectionApiKeyLocation || (WebhookPubsubPublishConnectionApiKeyLocation = {}));
2192
+ /** Authentication type for webhook connections. */
1544
2193
  export var WebhookPubsubPublishConnectionAuthType;
1545
2194
  (function (WebhookPubsubPublishConnectionAuthType) {
2195
+ /** API key authentication. */
1546
2196
  WebhookPubsubPublishConnectionAuthType["ApiKey"] = "API_KEY";
2197
+ /** HMAC signature authentication. */
1547
2198
  WebhookPubsubPublishConnectionAuthType["Hmac"] = "HMAC";
2199
+ /** No authentication. */
1548
2200
  WebhookPubsubPublishConnectionAuthType["None"] = "NONE";
1549
2201
  })(WebhookPubsubPublishConnectionAuthType || (WebhookPubsubPublishConnectionAuthType = {}));
2202
+ /** Level of decision authority for request approval/denial. */
1550
2203
  export var RequestDecisionLevel;
1551
2204
  (function (RequestDecisionLevel) {
2205
+ /** Admin override approval */
1552
2206
  RequestDecisionLevel["Admin"] = "ADMIN";
2207
+ /** Regular reviewer approval */
1553
2208
  RequestDecisionLevel["Regular"] = "REGULAR";
1554
2209
  })(RequestDecisionLevel || (RequestDecisionLevel = {}));
1555
2210
  export const ResourceFieldsFragmentDoc = {
@@ -2913,6 +3568,13 @@ export const PaginatedEntityDropdownDocument = {
2913
3568
  kind: "Field",
2914
3569
  name: { kind: "Name", value: "name" },
2915
3570
  },
3571
+ {
3572
+ kind: "Field",
3573
+ name: {
3574
+ kind: "Name",
3575
+ value: "resourceType",
3576
+ },
3577
+ },
2916
3578
  ],
2917
3579
  },
2918
3580
  },
@@ -2930,6 +3592,13 @@ export const PaginatedEntityDropdownDocument = {
2930
3592
  kind: "Field",
2931
3593
  name: { kind: "Name", value: "name" },
2932
3594
  },
3595
+ {
3596
+ kind: "Field",
3597
+ name: {
3598
+ kind: "Name",
3599
+ value: "groupType",
3600
+ },
3601
+ },
2933
3602
  ],
2934
3603
  },
2935
3604
  },
@@ -4661,6 +5330,28 @@ export const GetAssociatedItemsDocument = {
4661
5330
  value: "name",
4662
5331
  },
4663
5332
  },
5333
+ {
5334
+ kind: "InlineFragment",
5335
+ typeCondition: {
5336
+ kind: "NamedType",
5337
+ name: {
5338
+ kind: "Name",
5339
+ value: "Group",
5340
+ },
5341
+ },
5342
+ selectionSet: {
5343
+ kind: "SelectionSet",
5344
+ selections: [
5345
+ {
5346
+ kind: "Field",
5347
+ name: {
5348
+ kind: "Name",
5349
+ value: "groupType",
5350
+ },
5351
+ },
5352
+ ],
5353
+ },
5354
+ },
4664
5355
  {
4665
5356
  kind: "InlineFragment",
4666
5357
  typeCondition: {
@@ -4673,6 +5364,13 @@ export const GetAssociatedItemsDocument = {
4673
5364
  selectionSet: {
4674
5365
  kind: "SelectionSet",
4675
5366
  selections: [
5367
+ {
5368
+ kind: "Field",
5369
+ name: {
5370
+ kind: "Name",
5371
+ value: "resourceType",
5372
+ },
5373
+ },
4676
5374
  {
4677
5375
  kind: "Field",
4678
5376
  name: {