@distilled.cloud/vanta 1.0.0-rc.17 → 1.0.0-rc.19
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.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/auditor_api.d.ts +252 -214
- package/lib/services/auditor_api.d.ts.map +1 -1
- package/lib/services/auditor_api.js +70 -69
- package/lib/services/auditor_api.js.map +1 -1
- package/lib/services/build_integrations.d.ts +87 -87
- package/lib/services/build_integrations.d.ts.map +1 -1
- package/lib/services/build_integrations.js +46 -45
- package/lib/services/build_integrations.js.map +1 -1
- package/lib/services/manage_vanta.d.ts +1940 -637
- package/lib/services/manage_vanta.d.ts.map +1 -1
- package/lib/services/manage_vanta.js +401 -330
- package/lib/services/manage_vanta.js.map +1 -1
- package/lib/services/webhooks.d.ts +2 -2
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +34 -33
- package/lib/services/webhooks.js.map +1 -1
- package/lib/services.lazy/auditor_api.js +1 -1
- package/lib/services.lazy/build_integrations.js +1 -1
- package/lib/services.lazy/manage_vanta.js +3 -2
- package/lib/services.lazy/webhooks.js +1 -1
- package/package.json +7 -6
- package/src/credentials.ts +4 -2
- package/src/index.ts +2 -2
- package/src/protocol.ts +5 -2
- package/src/services/auditor_api.ts +379 -214
- package/src/services/build_integrations.ts +174 -87
- package/src/services/manage_vanta.ts +9092 -4934
- package/src/services/webhooks.ts +66 -1
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { VantaOpError, VantaOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "vanta-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "Vanta",
|
|
23
|
+
service: "BuildIntegrations",
|
|
24
|
+
labels: "vanta",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export interface GetApiEndpointVulnerabilityConnectorsRequest {
|
|
16
29
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
17
30
|
resourceId: string;
|
|
@@ -38,13 +51,19 @@ export interface GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccur
|
|
|
38
51
|
/** Markdown description of this API endpoint vulnerability occurrence. */
|
|
39
52
|
description: string;
|
|
40
53
|
/** The API endpoint URL associated with this vulnerability occurrence. */
|
|
41
|
-
fromUrl?: string | null;
|
|
54
|
+
fromUrl?: string | null | undefined;
|
|
42
55
|
/** The API params associated with this vulnerability. */
|
|
43
|
-
queryParams?:
|
|
56
|
+
queryParams?:
|
|
57
|
+
| GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesItemQueryParamsList
|
|
58
|
+
| null
|
|
59
|
+
| undefined;
|
|
44
60
|
/** The API headers associated with this vulnerability. */
|
|
45
|
-
headers?:
|
|
61
|
+
headers?:
|
|
62
|
+
| GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesItemHeadersList
|
|
63
|
+
| null
|
|
64
|
+
| undefined;
|
|
46
65
|
/** The body of the request passed to the API, with sensitive information redacted. */
|
|
47
|
-
body?: string | null;
|
|
66
|
+
body?: string | null | undefined;
|
|
48
67
|
}
|
|
49
68
|
/** A list of occurrences of vulnerable API endpoints. */
|
|
50
69
|
export type GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesList =
|
|
@@ -71,16 +90,16 @@ export interface GetApiEndpointVulnerabilityConnectorsResponseResourcesItem {
|
|
|
71
90
|
/** The HTTP method (eg: GET, POST) associated with this vulnerability. */
|
|
72
91
|
httpMethod: string;
|
|
73
92
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
74
|
-
cveId?: string | null;
|
|
93
|
+
cveId?: string | null | undefined;
|
|
75
94
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
76
|
-
cvss3Vector?: string | null;
|
|
95
|
+
cvss3Vector?: string | null | undefined;
|
|
77
96
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
78
|
-
cvss3Score?: number | null;
|
|
97
|
+
cvss3Score?: number | null | undefined;
|
|
79
98
|
}
|
|
80
99
|
export type GetApiEndpointVulnerabilityConnectorsResponseResourcesList =
|
|
81
100
|
Array<GetApiEndpointVulnerabilityConnectorsResponseResourcesItem>;
|
|
82
101
|
export interface GetApiEndpointVulnerabilityConnectorsResponse {
|
|
83
|
-
resources?: GetApiEndpointVulnerabilityConnectorsResponseResourcesList;
|
|
102
|
+
resources?: GetApiEndpointVulnerabilityConnectorsResponseResourcesList | undefined;
|
|
84
103
|
}
|
|
85
104
|
export interface GetBackgroundCheckConnectorRequest {
|
|
86
105
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -105,12 +124,12 @@ export interface GetBackgroundCheckConnectorResponseResourcesItem {
|
|
|
105
124
|
/** The current status of the background check. */
|
|
106
125
|
status: GetBackgroundCheckConnectorResponseResourcesItemStatus;
|
|
107
126
|
/** If complete, the date of completion of the background check. */
|
|
108
|
-
completionDate?: string | null;
|
|
127
|
+
completionDate?: string | null | undefined;
|
|
109
128
|
}
|
|
110
129
|
export type GetBackgroundCheckConnectorResponseResourcesList =
|
|
111
130
|
Array<GetBackgroundCheckConnectorResponseResourcesItem>;
|
|
112
131
|
export interface GetBackgroundCheckConnectorResponse {
|
|
113
|
-
resources?: GetBackgroundCheckConnectorResponseResourcesList;
|
|
132
|
+
resources?: GetBackgroundCheckConnectorResponseResourcesList | undefined;
|
|
114
133
|
}
|
|
115
134
|
export interface GetCustomResourceRequest {
|
|
116
135
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -126,7 +145,7 @@ export interface GetCustomResourceResponseResourcesItem {
|
|
|
126
145
|
}
|
|
127
146
|
export type GetCustomResourceResponseResourcesList = Array<GetCustomResourceResponseResourcesItem>;
|
|
128
147
|
export interface GetCustomResourceResponse {
|
|
129
|
-
resources?: GetCustomResourceResponseResourcesList;
|
|
148
|
+
resources?: GetCustomResourceResponseResourcesList | undefined;
|
|
130
149
|
}
|
|
131
150
|
export interface GetMacosUserComputerRequest {
|
|
132
151
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -138,7 +157,7 @@ export interface GetMacosUserComputerResponseResourcesItemApplicationsItem {
|
|
|
138
157
|
/** The bundle identifier of the application. */
|
|
139
158
|
bundleId: string;
|
|
140
159
|
/** The last time the application was opened. */
|
|
141
|
-
lastOpenedTimestamp?: string | null;
|
|
160
|
+
lastOpenedTimestamp?: string | null | undefined;
|
|
142
161
|
}
|
|
143
162
|
/** All the installed Mac Apps on the system. */
|
|
144
163
|
export type GetMacosUserComputerResponseResourcesItemApplicationsList =
|
|
@@ -169,7 +188,7 @@ export interface GetMacosUserComputerResponseResourcesItemDrivesItem {
|
|
|
169
188
|
/** Does the drive have filevault enabled. */
|
|
170
189
|
filevaultEnabled: boolean;
|
|
171
190
|
/** Metadata about the boot volume helps Vanta skip checking volumes that aren't relevant, like USB Drives. */
|
|
172
|
-
isBootVolume?: boolean | null;
|
|
191
|
+
isBootVolume?: boolean | null | undefined;
|
|
173
192
|
}
|
|
174
193
|
/** A list of drives on this device. Used to verify encryption status. */
|
|
175
194
|
export type GetMacosUserComputerResponseResourcesItemDrivesList =
|
|
@@ -192,7 +211,7 @@ export interface GetMacosUserComputerResponseResourcesItemUsersItem {
|
|
|
192
211
|
screenlockPolicies: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesList;
|
|
193
212
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
194
213
|
/** The last time the user logged in to the device, if available. */
|
|
195
|
-
lastLoginTimestamp?: string | null;
|
|
214
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
196
215
|
}
|
|
197
216
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
198
217
|
export type GetMacosUserComputerResponseResourcesItemUsersList =
|
|
@@ -238,17 +257,17 @@ export interface GetMacosUserComputerResponseResourcesItem {
|
|
|
238
257
|
/** Does the system have auto-updates enabled. */
|
|
239
258
|
autoUpdatesEnabled: boolean;
|
|
240
259
|
/** The email address of the owner of the system, if it's known. */
|
|
241
|
-
owner?: string | null;
|
|
242
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
260
|
+
owner?: string | null | undefined;
|
|
261
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
243
262
|
/** A timestamp that indicates when the host computer was last enrolled within your system. If the computer has been un-enrolled and then re-enrolled, send data for the most recent enrollment. */
|
|
244
|
-
lastEnrolledTimestamp?: string | null;
|
|
263
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
245
264
|
/** Is XProtect enabled on the system. */
|
|
246
|
-
isXProtectEnabled?: boolean | null;
|
|
265
|
+
isXProtectEnabled?: boolean | null | undefined;
|
|
247
266
|
}
|
|
248
267
|
export type GetMacosUserComputerResponseResourcesList =
|
|
249
268
|
Array<GetMacosUserComputerResponseResourcesItem>;
|
|
250
269
|
export interface GetMacosUserComputerResponse {
|
|
251
|
-
resources?: GetMacosUserComputerResponseResourcesList;
|
|
270
|
+
resources?: GetMacosUserComputerResponseResourcesList | undefined;
|
|
252
271
|
}
|
|
253
272
|
export interface GetPackageVulnerabilityConnectorsRequest {
|
|
254
273
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -276,18 +295,18 @@ export interface GetPackageVulnerabilityConnectorsResponseResourcesItem {
|
|
|
276
295
|
/** Instructions for remediating the vulnerability. */
|
|
277
296
|
remediationInstructions: string;
|
|
278
297
|
/** Whether there is a code path to the vulnerable code in this package. This field is optional. */
|
|
279
|
-
isReachable?: boolean | null;
|
|
298
|
+
isReachable?: boolean | null | undefined;
|
|
280
299
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
281
|
-
cveId?: string | null;
|
|
300
|
+
cveId?: string | null | undefined;
|
|
282
301
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
283
|
-
cvss3Vector?: string | null;
|
|
302
|
+
cvss3Vector?: string | null | undefined;
|
|
284
303
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
285
|
-
cvss3Score?: number | null;
|
|
304
|
+
cvss3Score?: number | null | undefined;
|
|
286
305
|
}
|
|
287
306
|
export type GetPackageVulnerabilityConnectorsResponseResourcesList =
|
|
288
307
|
Array<GetPackageVulnerabilityConnectorsResponseResourcesItem>;
|
|
289
308
|
export interface GetPackageVulnerabilityConnectorsResponse {
|
|
290
|
-
resources?: GetPackageVulnerabilityConnectorsResponseResourcesList;
|
|
309
|
+
resources?: GetPackageVulnerabilityConnectorsResponseResourcesList | undefined;
|
|
291
310
|
}
|
|
292
311
|
export interface GetSecretRequest {
|
|
293
312
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -311,15 +330,15 @@ export interface GetSecretResponseResourcesItem {
|
|
|
311
330
|
/** The current owner of the secret. Vanta will check that every secret has a valid owner. */
|
|
312
331
|
owner: string;
|
|
313
332
|
/** When the secret was last updated. */
|
|
314
|
-
updatedTimestamp?: string | null;
|
|
333
|
+
updatedTimestamp?: string | null | undefined;
|
|
315
334
|
/** When the secret was last accessed. */
|
|
316
|
-
lastAccessedTimestamp?: string | null;
|
|
335
|
+
lastAccessedTimestamp?: string | null | undefined;
|
|
317
336
|
/** When the secret is set to expire, if relevant. */
|
|
318
|
-
expiresTimestamp?: string | null;
|
|
337
|
+
expiresTimestamp?: string | null | undefined;
|
|
319
338
|
}
|
|
320
339
|
export type GetSecretResponseResourcesList = Array<GetSecretResponseResourcesItem>;
|
|
321
340
|
export interface GetSecretResponse {
|
|
322
|
-
resources?: GetSecretResponseResourcesList;
|
|
341
|
+
resources?: GetSecretResponseResourcesList | undefined;
|
|
323
342
|
}
|
|
324
343
|
export interface GetSecurityTaskRequest {
|
|
325
344
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -357,13 +376,13 @@ export interface GetSecurityTaskResponseResourcesItem {
|
|
|
357
376
|
/** The set of task tags or labels. */
|
|
358
377
|
labels: GetSecurityTaskResponseResourcesItemLabelsList;
|
|
359
378
|
/** When the task was closed, if the task was closed. Required if `taskState` is `CLOSED`, otherwise must be absent. */
|
|
360
|
-
closedTimestamp?: string | null;
|
|
379
|
+
closedTimestamp?: string | null | undefined;
|
|
361
380
|
/** When the task was last updated. */
|
|
362
|
-
updatedTimestamp?: string | null;
|
|
381
|
+
updatedTimestamp?: string | null | undefined;
|
|
363
382
|
}
|
|
364
383
|
export type GetSecurityTaskResponseResourcesList = Array<GetSecurityTaskResponseResourcesItem>;
|
|
365
384
|
export interface GetSecurityTaskResponse {
|
|
366
|
-
resources?: GetSecurityTaskResponseResourcesList;
|
|
385
|
+
resources?: GetSecurityTaskResponseResourcesList | undefined;
|
|
367
386
|
}
|
|
368
387
|
export interface GetStaticAnalysisCodeVulnerabilityConnectorsRequest {
|
|
369
388
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -406,16 +425,16 @@ export interface GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesIt
|
|
|
406
425
|
/** Instructions for remediating the vulnerability. */
|
|
407
426
|
remediationInstructions: string;
|
|
408
427
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
409
|
-
cveId?: string | null;
|
|
428
|
+
cveId?: string | null | undefined;
|
|
410
429
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
411
|
-
cvss3Vector?: string | null;
|
|
430
|
+
cvss3Vector?: string | null | undefined;
|
|
412
431
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
413
|
-
cvss3Score?: number | null;
|
|
432
|
+
cvss3Score?: number | null | undefined;
|
|
414
433
|
}
|
|
415
434
|
export type GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesList =
|
|
416
435
|
Array<GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesItem>;
|
|
417
436
|
export interface GetStaticAnalysisCodeVulnerabilityConnectorsResponse {
|
|
418
|
-
resources?: GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesList;
|
|
437
|
+
resources?: GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesList | undefined;
|
|
419
438
|
}
|
|
420
439
|
export interface GetUserAccountRequest {
|
|
421
440
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -471,21 +490,21 @@ export interface GetUserAccountResponseResourcesItem {
|
|
|
471
490
|
/** How the user logs into the system. This is useful for us to validate security properties, like ensuring MFA is enabled if the user logs in with a password. */
|
|
472
491
|
authMethod: GetUserAccountResponseResourcesItemAuthMethod;
|
|
473
492
|
/** A human readable description of the user's role. */
|
|
474
|
-
roleDescription?: string | null;
|
|
493
|
+
roleDescription?: string | null | undefined;
|
|
475
494
|
/** The last time the user was updated in the system. */
|
|
476
|
-
updatedTimestamp?: string | null;
|
|
495
|
+
updatedTimestamp?: string | null | undefined;
|
|
477
496
|
/** If the user is deactivated, the timestamp of that deactivation. */
|
|
478
|
-
deactivatedTimestamp?: string | null;
|
|
497
|
+
deactivatedTimestamp?: string | null | undefined;
|
|
479
498
|
/** The time at which the user last logged in. */
|
|
480
|
-
lastLoginTimestamp?: string | null;
|
|
499
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
481
500
|
/** The time at which the user last reset their password. Helps with future Vanta functionality. */
|
|
482
|
-
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null;
|
|
501
|
+
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null | undefined;
|
|
483
502
|
/** If the user belongs to any groups/teams in the product, those corresponding group IDs. We'll map these to groups in our product in the future. */
|
|
484
|
-
groupIds?: GetUserAccountResponseResourcesItemGroupIdsList | null;
|
|
503
|
+
groupIds?: GetUserAccountResponseResourcesItemGroupIdsList | null | undefined;
|
|
485
504
|
}
|
|
486
505
|
export type GetUserAccountResponseResourcesList = Array<GetUserAccountResponseResourcesItem>;
|
|
487
506
|
export interface GetUserAccountResponse {
|
|
488
|
-
resources?: GetUserAccountResponseResourcesList;
|
|
507
|
+
resources?: GetUserAccountResponseResourcesList | undefined;
|
|
489
508
|
}
|
|
490
509
|
export interface GetUserSecurityTrainingStatusRequest {
|
|
491
510
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -530,12 +549,12 @@ export interface GetUserSecurityTrainingStatusResponseResourcesItem {
|
|
|
530
549
|
/** The time at which this training course is due for the user. Vanta will check whether employees complete their training on time. */
|
|
531
550
|
trainingDueTimestamp: string;
|
|
532
551
|
/** The time at which this training course was completed by the user. */
|
|
533
|
-
trainingCompletedTimestamp?: string | null;
|
|
552
|
+
trainingCompletedTimestamp?: string | null | undefined;
|
|
534
553
|
}
|
|
535
554
|
export type GetUserSecurityTrainingStatusResponseResourcesList =
|
|
536
555
|
Array<GetUserSecurityTrainingStatusResponseResourcesItem>;
|
|
537
556
|
export interface GetUserSecurityTrainingStatusResponse {
|
|
538
|
-
resources?: GetUserSecurityTrainingStatusResponseResourcesList;
|
|
557
|
+
resources?: GetUserSecurityTrainingStatusResponseResourcesList | undefined;
|
|
539
558
|
}
|
|
540
559
|
export interface GetVulnerableComponentRequest {
|
|
541
560
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -572,7 +591,7 @@ export interface GetVulnerableComponentResponseResourcesItem {
|
|
|
572
591
|
export type GetVulnerableComponentResponseResourcesList =
|
|
573
592
|
Array<GetVulnerableComponentResponseResourcesItem>;
|
|
574
593
|
export interface GetVulnerableComponentResponse {
|
|
575
|
-
resources?: GetVulnerableComponentResponseResourcesList;
|
|
594
|
+
resources?: GetVulnerableComponentResponseResourcesList | undefined;
|
|
576
595
|
}
|
|
577
596
|
export interface GetWindowsUserComputerRequest {
|
|
578
597
|
/** Vanta generated identifier for the given resource, and can be found on the developer console page. See the list of registered resources and their IDs on https://app.vanta.com/settings/developer-console/<app_id>?tab=resources */
|
|
@@ -582,7 +601,7 @@ export interface GetWindowsUserComputerResponseResourcesItemProgramsItem {
|
|
|
582
601
|
/** The name of the application. */
|
|
583
602
|
name: string;
|
|
584
603
|
/** The last time the application was opened. */
|
|
585
|
-
lastOpenedTimestamp?: string | null;
|
|
604
|
+
lastOpenedTimestamp?: string | null | undefined;
|
|
586
605
|
}
|
|
587
606
|
/** All the installed programs on the Windows system. */
|
|
588
607
|
export type GetWindowsUserComputerResponseResourcesItemProgramsList =
|
|
@@ -611,7 +630,7 @@ export interface GetWindowsUserComputerResponseResourcesItemDrivesItem {
|
|
|
611
630
|
/** Does the drive have some sort of encryption on it. */
|
|
612
631
|
encrypted: boolean;
|
|
613
632
|
/** Metadata about the boot volume helps Vanta skip checking volumes that aren't relevant, like USB Drives. */
|
|
614
|
-
isBootVolume?: boolean | null;
|
|
633
|
+
isBootVolume?: boolean | null | undefined;
|
|
615
634
|
}
|
|
616
635
|
/** A list of drives on this device. Used to verify encryption status. */
|
|
617
636
|
export type GetWindowsUserComputerResponseResourcesItemDrivesList =
|
|
@@ -630,7 +649,7 @@ export interface GetWindowsUserComputerResponseResourcesItemUsersItem {
|
|
|
630
649
|
screenlockPolicies: GetWindowsUserComputerResponseResourcesItemUsersItemScreenlockPoliciesList;
|
|
631
650
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
632
651
|
/** The last time the user logged in to the device, if available. */
|
|
633
|
-
lastLoginTimestamp?: string | null;
|
|
652
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
634
653
|
}
|
|
635
654
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
636
655
|
export type GetWindowsUserComputerResponseResourcesItemUsersList =
|
|
@@ -755,18 +774,24 @@ export interface GetWindowsUserComputerResponseResourcesItem {
|
|
|
755
774
|
/** Does the system have auto-updates enabled. */
|
|
756
775
|
autoUpdatesEnabled: boolean;
|
|
757
776
|
/** The email address of the owner of the system, if it's known. */
|
|
758
|
-
owner?: string | null;
|
|
759
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
777
|
+
owner?: string | null | undefined;
|
|
778
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
760
779
|
/** A timestamp that indicates when the host computer was last enrolled within your system. If the computer has been un-enrolled and then re-enrolled, send data for the most recent enrollment. */
|
|
761
|
-
lastEnrolledTimestamp?: string | null;
|
|
780
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
762
781
|
/** A list of services that are monitored by Windows Security Center (WSC). */
|
|
763
|
-
windowsSecurityProducts?:
|
|
764
|
-
|
|
782
|
+
windowsSecurityProducts?:
|
|
783
|
+
| GetWindowsUserComputerResponseResourcesItemWindowsSecurityProductsList
|
|
784
|
+
| null
|
|
785
|
+
| undefined;
|
|
786
|
+
windowsSecurityCenter?:
|
|
787
|
+
| GetWindowsUserComputerResponseResourcesItemWindowsSecurityCenter
|
|
788
|
+
| null
|
|
789
|
+
| undefined;
|
|
765
790
|
}
|
|
766
791
|
export type GetWindowsUserComputerResponseResourcesList =
|
|
767
792
|
Array<GetWindowsUserComputerResponseResourcesItem>;
|
|
768
793
|
export interface GetWindowsUserComputerResponse {
|
|
769
|
-
resources?: GetWindowsUserComputerResponseResourcesList;
|
|
794
|
+
resources?: GetWindowsUserComputerResponseResourcesList | undefined;
|
|
770
795
|
}
|
|
771
796
|
export type PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesItemQueryParamsItem =
|
|
772
797
|
GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesItemQueryParamsItem;
|
|
@@ -782,13 +807,19 @@ export interface PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurr
|
|
|
782
807
|
/** Markdown description of this API endpoint vulnerability occurrence. */
|
|
783
808
|
description: string;
|
|
784
809
|
/** The API endpoint URL associated with this vulnerability occurrence. */
|
|
785
|
-
fromUrl?: string | null;
|
|
810
|
+
fromUrl?: string | null | undefined;
|
|
786
811
|
/** The API params associated with this vulnerability. */
|
|
787
|
-
queryParams?:
|
|
812
|
+
queryParams?:
|
|
813
|
+
| PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesItemQueryParamsList
|
|
814
|
+
| null
|
|
815
|
+
| undefined;
|
|
788
816
|
/** The API headers associated with this vulnerability. */
|
|
789
|
-
headers?:
|
|
817
|
+
headers?:
|
|
818
|
+
| PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesItemHeadersList
|
|
819
|
+
| null
|
|
820
|
+
| undefined;
|
|
790
821
|
/** The body of the request passed to the API, with sensitive information redacted. */
|
|
791
|
-
body?: string | null;
|
|
822
|
+
body?: string | null | undefined;
|
|
792
823
|
}
|
|
793
824
|
/** A list of occurrences of vulnerable API endpoints. */
|
|
794
825
|
export type PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesList =
|
|
@@ -815,11 +846,11 @@ export interface PutApiEndpointVulnerabilityConnectorsRequestResourcesItem {
|
|
|
815
846
|
/** The HTTP method (eg: GET, POST) associated with this vulnerability. */
|
|
816
847
|
httpMethod: string;
|
|
817
848
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
818
|
-
cveId?: string | null;
|
|
849
|
+
cveId?: string | null | undefined;
|
|
819
850
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
820
|
-
cvss3Vector?: string | null;
|
|
851
|
+
cvss3Vector?: string | null | undefined;
|
|
821
852
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
822
|
-
cvss3Score?: number | null;
|
|
853
|
+
cvss3Score?: number | null | undefined;
|
|
823
854
|
}
|
|
824
855
|
export type PutApiEndpointVulnerabilityConnectorsRequestResourcesList =
|
|
825
856
|
Array<PutApiEndpointVulnerabilityConnectorsRequestResourcesItem>;
|
|
@@ -850,7 +881,7 @@ export interface PutBackgroundCheckConnectorRequestResourcesItem {
|
|
|
850
881
|
/** The current status of the background check. */
|
|
851
882
|
status: PutBackgroundCheckConnectorRequestResourcesItemStatus | (string & {});
|
|
852
883
|
/** If complete, the date of completion of the background check. */
|
|
853
|
-
completionDate?: string | null;
|
|
884
|
+
completionDate?: string | null | undefined;
|
|
854
885
|
}
|
|
855
886
|
export type PutBackgroundCheckConnectorRequestResourcesList =
|
|
856
887
|
Array<PutBackgroundCheckConnectorRequestResourcesItem>;
|
|
@@ -914,7 +945,7 @@ export interface PutMacosUserComputerRequestResourcesItemUsersItem {
|
|
|
914
945
|
screenlockPolicies: PutMacosUserComputerRequestResourcesItemUsersItemScreenlockPoliciesList;
|
|
915
946
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
916
947
|
/** The last time the user logged in to the device, if available. */
|
|
917
|
-
lastLoginTimestamp?: string | null;
|
|
948
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
918
949
|
}
|
|
919
950
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
920
951
|
export type PutMacosUserComputerRequestResourcesItemUsersList =
|
|
@@ -958,12 +989,12 @@ export interface PutMacosUserComputerRequestResourcesItem {
|
|
|
958
989
|
/** Does the system have auto-updates enabled. */
|
|
959
990
|
autoUpdatesEnabled: boolean;
|
|
960
991
|
/** The email address of the owner of the system, if it's known. */
|
|
961
|
-
owner?: string | null;
|
|
962
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
992
|
+
owner?: string | null | undefined;
|
|
993
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
963
994
|
/** A timestamp that indicates when the host computer was last enrolled within your system. If the computer has been un-enrolled and then re-enrolled, send data for the most recent enrollment. */
|
|
964
|
-
lastEnrolledTimestamp?: string | null;
|
|
995
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
965
996
|
/** Is XProtect enabled on the system. */
|
|
966
|
-
isXProtectEnabled?: boolean | null;
|
|
997
|
+
isXProtectEnabled?: boolean | null | undefined;
|
|
967
998
|
}
|
|
968
999
|
export type PutMacosUserComputerRequestResourcesList =
|
|
969
1000
|
Array<PutMacosUserComputerRequestResourcesItem>;
|
|
@@ -1029,9 +1060,9 @@ export interface PutSecurityTaskRequestResourcesItem {
|
|
|
1029
1060
|
/** The set of task tags or labels. */
|
|
1030
1061
|
labels: PutSecurityTaskRequestResourcesItemLabelsList;
|
|
1031
1062
|
/** When the task was closed, if the task was closed. Required if `taskState` is `CLOSED`, otherwise must be absent. */
|
|
1032
|
-
closedTimestamp?: string | null;
|
|
1063
|
+
closedTimestamp?: string | null | undefined;
|
|
1033
1064
|
/** When the task was last updated. */
|
|
1034
|
-
updatedTimestamp?: string | null;
|
|
1065
|
+
updatedTimestamp?: string | null | undefined;
|
|
1035
1066
|
}
|
|
1036
1067
|
export type PutSecurityTaskRequestResourcesList = Array<PutSecurityTaskRequestResourcesItem>;
|
|
1037
1068
|
export interface PutSecurityTaskRequest {
|
|
@@ -1069,11 +1100,11 @@ export interface PutStaticAnalysisCodeVulnerabilityConnectorsRequestResourcesIte
|
|
|
1069
1100
|
/** Instructions for remediating the vulnerability. */
|
|
1070
1101
|
remediationInstructions: string;
|
|
1071
1102
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
1072
|
-
cveId?: string | null;
|
|
1103
|
+
cveId?: string | null | undefined;
|
|
1073
1104
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
1074
|
-
cvss3Vector?: string | null;
|
|
1105
|
+
cvss3Vector?: string | null | undefined;
|
|
1075
1106
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
1076
|
-
cvss3Score?: number | null;
|
|
1107
|
+
cvss3Score?: number | null | undefined;
|
|
1077
1108
|
}
|
|
1078
1109
|
export type PutStaticAnalysisCodeVulnerabilityConnectorsRequestResourcesList =
|
|
1079
1110
|
Array<PutStaticAnalysisCodeVulnerabilityConnectorsRequestResourcesItem>;
|
|
@@ -1136,17 +1167,17 @@ export interface PutUserAccountRequestResourcesItem {
|
|
|
1136
1167
|
/** How the user logs into the system. This is useful for us to validate security properties, like ensuring MFA is enabled if the user logs in with a password. */
|
|
1137
1168
|
authMethod: PutUserAccountRequestResourcesItemAuthMethod | (string & {});
|
|
1138
1169
|
/** A human readable description of the user's role. */
|
|
1139
|
-
roleDescription?: string | null;
|
|
1170
|
+
roleDescription?: string | null | undefined;
|
|
1140
1171
|
/** The last time the user was updated in the system. */
|
|
1141
|
-
updatedTimestamp?: string | null;
|
|
1172
|
+
updatedTimestamp?: string | null | undefined;
|
|
1142
1173
|
/** If the user is deactivated, the timestamp of that deactivation. */
|
|
1143
|
-
deactivatedTimestamp?: string | null;
|
|
1174
|
+
deactivatedTimestamp?: string | null | undefined;
|
|
1144
1175
|
/** The time at which the user last logged in. */
|
|
1145
|
-
lastLoginTimestamp?: string | null;
|
|
1176
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
1146
1177
|
/** The time at which the user last reset their password. Helps with future Vanta functionality. */
|
|
1147
|
-
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null;
|
|
1178
|
+
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null | undefined;
|
|
1148
1179
|
/** If the user belongs to any groups/teams in the product, those corresponding group IDs. We'll map these to groups in our product in the future. */
|
|
1149
|
-
groupIds?: PutUserAccountRequestResourcesItemGroupIdsList | null;
|
|
1180
|
+
groupIds?: PutUserAccountRequestResourcesItemGroupIdsList | null | undefined;
|
|
1150
1181
|
}
|
|
1151
1182
|
export type PutUserAccountRequestResourcesList = Array<PutUserAccountRequestResourcesItem>;
|
|
1152
1183
|
export interface PutUserAccountRequest {
|
|
@@ -1197,7 +1228,7 @@ export interface PutUserSecurityTrainingStatusRequestResourcesItem {
|
|
|
1197
1228
|
/** The time at which this training course is due for the user. Vanta will check whether employees complete their training on time. */
|
|
1198
1229
|
trainingDueTimestamp: string;
|
|
1199
1230
|
/** The time at which this training course was completed by the user. */
|
|
1200
|
-
trainingCompletedTimestamp?: string | null;
|
|
1231
|
+
trainingCompletedTimestamp?: string | null | undefined;
|
|
1201
1232
|
}
|
|
1202
1233
|
export type PutUserSecurityTrainingStatusRequestResourcesList =
|
|
1203
1234
|
Array<PutUserSecurityTrainingStatusRequestResourcesItem>;
|
|
@@ -1289,7 +1320,7 @@ export interface PutWindowsUserComputerRequestResourcesItemUsersItem {
|
|
|
1289
1320
|
screenlockPolicies: PutWindowsUserComputerRequestResourcesItemUsersItemScreenlockPoliciesList;
|
|
1290
1321
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
1291
1322
|
/** The last time the user logged in to the device, if available. */
|
|
1292
|
-
lastLoginTimestamp?: string | null;
|
|
1323
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
1293
1324
|
}
|
|
1294
1325
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
1295
1326
|
export type PutWindowsUserComputerRequestResourcesItemUsersList =
|
|
@@ -1426,13 +1457,19 @@ export interface PutWindowsUserComputerRequestResourcesItem {
|
|
|
1426
1457
|
/** Does the system have auto-updates enabled. */
|
|
1427
1458
|
autoUpdatesEnabled: boolean;
|
|
1428
1459
|
/** The email address of the owner of the system, if it's known. */
|
|
1429
|
-
owner?: string | null;
|
|
1430
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
1460
|
+
owner?: string | null | undefined;
|
|
1461
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
1431
1462
|
/** A timestamp that indicates when the host computer was last enrolled within your system. If the computer has been un-enrolled and then re-enrolled, send data for the most recent enrollment. */
|
|
1432
|
-
lastEnrolledTimestamp?: string | null;
|
|
1463
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
1433
1464
|
/** A list of services that are monitored by Windows Security Center (WSC). */
|
|
1434
|
-
windowsSecurityProducts?:
|
|
1435
|
-
|
|
1465
|
+
windowsSecurityProducts?:
|
|
1466
|
+
| PutWindowsUserComputerRequestResourcesItemWindowsSecurityProductsList
|
|
1467
|
+
| null
|
|
1468
|
+
| undefined;
|
|
1469
|
+
windowsSecurityCenter?:
|
|
1470
|
+
| PutWindowsUserComputerRequestResourcesItemWindowsSecurityCenter
|
|
1471
|
+
| null
|
|
1472
|
+
| undefined;
|
|
1436
1473
|
}
|
|
1437
1474
|
export type PutWindowsUserComputerRequestResourcesList =
|
|
1438
1475
|
Array<PutWindowsUserComputerRequestResourcesItem>;
|
|
@@ -1448,9 +1485,9 @@ export interface UploadFileForDocumentRequest {
|
|
|
1448
1485
|
documentId: string;
|
|
1449
1486
|
file: string;
|
|
1450
1487
|
/** Date indicating when the document is effective from. */
|
|
1451
|
-
effectiveAtDate?: string;
|
|
1488
|
+
effectiveAtDate?: string | undefined;
|
|
1452
1489
|
/** Description of the uploaded document. */
|
|
1453
|
-
description?: string;
|
|
1490
|
+
description?: string | undefined;
|
|
1454
1491
|
}
|
|
1455
1492
|
export type UploadedDocumentUploadedByType = "USER" | "APPLICATION";
|
|
1456
1493
|
/** The actor who uploaded this document. It could be a user or an app. */
|
|
@@ -1495,6 +1532,8 @@ export const getApiEndpointVulnerabilityConnectors: API.OperationMethod<
|
|
|
1495
1532
|
errors: [UnknownVantaError],
|
|
1496
1533
|
protocol: VantaProtocol,
|
|
1497
1534
|
retry: Retry.Retry,
|
|
1535
|
+
telemetry: TELEMETRY,
|
|
1536
|
+
span: "GetApiEndpointVulnerabilityConnectors",
|
|
1498
1537
|
}));
|
|
1499
1538
|
|
|
1500
1539
|
export type GetBackgroundCheckConnectorError = VantaOpError;
|
|
@@ -1510,6 +1549,8 @@ export const getBackgroundCheckConnector: API.OperationMethod<
|
|
|
1510
1549
|
errors: [UnknownVantaError],
|
|
1511
1550
|
protocol: VantaProtocol,
|
|
1512
1551
|
retry: Retry.Retry,
|
|
1552
|
+
telemetry: TELEMETRY,
|
|
1553
|
+
span: "GetBackgroundCheckConnector",
|
|
1513
1554
|
}));
|
|
1514
1555
|
|
|
1515
1556
|
export type GetCustomResourceError = VantaOpError;
|
|
@@ -1525,6 +1566,8 @@ export const getCustomResource: API.OperationMethod<
|
|
|
1525
1566
|
errors: [UnknownVantaError],
|
|
1526
1567
|
protocol: VantaProtocol,
|
|
1527
1568
|
retry: Retry.Retry,
|
|
1569
|
+
telemetry: TELEMETRY,
|
|
1570
|
+
span: "GetCustomResource",
|
|
1528
1571
|
}));
|
|
1529
1572
|
|
|
1530
1573
|
export type GetMacosUserComputerError = VantaOpError;
|
|
@@ -1540,6 +1583,8 @@ export const getMacosUserComputer: API.OperationMethod<
|
|
|
1540
1583
|
errors: [UnknownVantaError],
|
|
1541
1584
|
protocol: VantaProtocol,
|
|
1542
1585
|
retry: Retry.Retry,
|
|
1586
|
+
telemetry: TELEMETRY,
|
|
1587
|
+
span: "GetMacosUserComputer",
|
|
1543
1588
|
}));
|
|
1544
1589
|
|
|
1545
1590
|
export type GetPackageVulnerabilityConnectorsError = VantaOpError;
|
|
@@ -1555,6 +1600,8 @@ export const getPackageVulnerabilityConnectors: API.OperationMethod<
|
|
|
1555
1600
|
errors: [UnknownVantaError],
|
|
1556
1601
|
protocol: VantaProtocol,
|
|
1557
1602
|
retry: Retry.Retry,
|
|
1603
|
+
telemetry: TELEMETRY,
|
|
1604
|
+
span: "GetPackageVulnerabilityConnectors",
|
|
1558
1605
|
}));
|
|
1559
1606
|
|
|
1560
1607
|
export type GetSecretError = VantaOpError;
|
|
@@ -1570,6 +1617,8 @@ export const getSecret: API.OperationMethod<
|
|
|
1570
1617
|
errors: [UnknownVantaError],
|
|
1571
1618
|
protocol: VantaProtocol,
|
|
1572
1619
|
retry: Retry.Retry,
|
|
1620
|
+
telemetry: TELEMETRY,
|
|
1621
|
+
span: "GetSecret",
|
|
1573
1622
|
}));
|
|
1574
1623
|
|
|
1575
1624
|
export type GetSecurityTaskError = VantaOpError;
|
|
@@ -1585,6 +1634,8 @@ export const getSecurityTask: API.OperationMethod<
|
|
|
1585
1634
|
errors: [UnknownVantaError],
|
|
1586
1635
|
protocol: VantaProtocol,
|
|
1587
1636
|
retry: Retry.Retry,
|
|
1637
|
+
telemetry: TELEMETRY,
|
|
1638
|
+
span: "GetSecurityTask",
|
|
1588
1639
|
}));
|
|
1589
1640
|
|
|
1590
1641
|
export type GetStaticAnalysisCodeVulnerabilityConnectorsError = VantaOpError;
|
|
@@ -1604,6 +1655,8 @@ export const getStaticAnalysisCodeVulnerabilityConnectors: API.OperationMethod<
|
|
|
1604
1655
|
errors: [UnknownVantaError],
|
|
1605
1656
|
protocol: VantaProtocol,
|
|
1606
1657
|
retry: Retry.Retry,
|
|
1658
|
+
telemetry: TELEMETRY,
|
|
1659
|
+
span: "GetStaticAnalysisCodeVulnerabilityConnectors",
|
|
1607
1660
|
}));
|
|
1608
1661
|
|
|
1609
1662
|
export type GetUserAccountError = VantaOpError;
|
|
@@ -1619,6 +1672,8 @@ export const getUserAccount: API.OperationMethod<
|
|
|
1619
1672
|
errors: [UnknownVantaError],
|
|
1620
1673
|
protocol: VantaProtocol,
|
|
1621
1674
|
retry: Retry.Retry,
|
|
1675
|
+
telemetry: TELEMETRY,
|
|
1676
|
+
span: "GetUserAccount",
|
|
1622
1677
|
}));
|
|
1623
1678
|
|
|
1624
1679
|
export type GetUserSecurityTrainingStatusError = VantaOpError;
|
|
@@ -1634,6 +1689,8 @@ export const getUserSecurityTrainingStatus: API.OperationMethod<
|
|
|
1634
1689
|
errors: [UnknownVantaError],
|
|
1635
1690
|
protocol: VantaProtocol,
|
|
1636
1691
|
retry: Retry.Retry,
|
|
1692
|
+
telemetry: TELEMETRY,
|
|
1693
|
+
span: "GetUserSecurityTrainingStatus",
|
|
1637
1694
|
}));
|
|
1638
1695
|
|
|
1639
1696
|
export type GetVulnerableComponentError = VantaOpError;
|
|
@@ -1649,6 +1706,8 @@ export const getVulnerableComponent: API.OperationMethod<
|
|
|
1649
1706
|
errors: [UnknownVantaError],
|
|
1650
1707
|
protocol: VantaProtocol,
|
|
1651
1708
|
retry: Retry.Retry,
|
|
1709
|
+
telemetry: TELEMETRY,
|
|
1710
|
+
span: "GetVulnerableComponent",
|
|
1652
1711
|
}));
|
|
1653
1712
|
|
|
1654
1713
|
export type GetWindowsUserComputerError = VantaOpError;
|
|
@@ -1664,6 +1723,8 @@ export const getWindowsUserComputer: API.OperationMethod<
|
|
|
1664
1723
|
errors: [UnknownVantaError],
|
|
1665
1724
|
protocol: VantaProtocol,
|
|
1666
1725
|
retry: Retry.Retry,
|
|
1726
|
+
telemetry: TELEMETRY,
|
|
1727
|
+
span: "GetWindowsUserComputer",
|
|
1667
1728
|
}));
|
|
1668
1729
|
|
|
1669
1730
|
export type PutApiEndpointVulnerabilityConnectorsError = VantaOpError;
|
|
@@ -1679,6 +1740,8 @@ export const putApiEndpointVulnerabilityConnectors: API.OperationMethod<
|
|
|
1679
1740
|
errors: [UnknownVantaError],
|
|
1680
1741
|
protocol: VantaProtocol,
|
|
1681
1742
|
retry: Retry.Retry,
|
|
1743
|
+
telemetry: TELEMETRY,
|
|
1744
|
+
span: "PutApiEndpointVulnerabilityConnectors",
|
|
1682
1745
|
}));
|
|
1683
1746
|
|
|
1684
1747
|
export type PutBackgroundCheckConnectorError = VantaOpError;
|
|
@@ -1694,6 +1757,8 @@ export const putBackgroundCheckConnector: API.OperationMethod<
|
|
|
1694
1757
|
errors: [UnknownVantaError],
|
|
1695
1758
|
protocol: VantaProtocol,
|
|
1696
1759
|
retry: Retry.Retry,
|
|
1760
|
+
telemetry: TELEMETRY,
|
|
1761
|
+
span: "PutBackgroundCheckConnector",
|
|
1697
1762
|
}));
|
|
1698
1763
|
|
|
1699
1764
|
export type PutCustomResourceError = VantaOpError;
|
|
@@ -1709,6 +1774,8 @@ export const putCustomResource: API.OperationMethod<
|
|
|
1709
1774
|
errors: [UnknownVantaError],
|
|
1710
1775
|
protocol: VantaProtocol,
|
|
1711
1776
|
retry: Retry.Retry,
|
|
1777
|
+
telemetry: TELEMETRY,
|
|
1778
|
+
span: "PutCustomResource",
|
|
1712
1779
|
}));
|
|
1713
1780
|
|
|
1714
1781
|
export type PutMacosUserComputerError = VantaOpError;
|
|
@@ -1724,6 +1791,8 @@ export const putMacosUserComputer: API.OperationMethod<
|
|
|
1724
1791
|
errors: [UnknownVantaError],
|
|
1725
1792
|
protocol: VantaProtocol,
|
|
1726
1793
|
retry: Retry.Retry,
|
|
1794
|
+
telemetry: TELEMETRY,
|
|
1795
|
+
span: "PutMacosUserComputer",
|
|
1727
1796
|
}));
|
|
1728
1797
|
|
|
1729
1798
|
export type PutPackageVulnerabilityConnectorsError = VantaOpError;
|
|
@@ -1739,6 +1808,8 @@ export const putPackageVulnerabilityConnectors: API.OperationMethod<
|
|
|
1739
1808
|
errors: [UnknownVantaError],
|
|
1740
1809
|
protocol: VantaProtocol,
|
|
1741
1810
|
retry: Retry.Retry,
|
|
1811
|
+
telemetry: TELEMETRY,
|
|
1812
|
+
span: "PutPackageVulnerabilityConnectors",
|
|
1742
1813
|
}));
|
|
1743
1814
|
|
|
1744
1815
|
export type PutSecretError = VantaOpError;
|
|
@@ -1754,6 +1825,8 @@ export const putSecret: API.OperationMethod<
|
|
|
1754
1825
|
errors: [UnknownVantaError],
|
|
1755
1826
|
protocol: VantaProtocol,
|
|
1756
1827
|
retry: Retry.Retry,
|
|
1828
|
+
telemetry: TELEMETRY,
|
|
1829
|
+
span: "PutSecret",
|
|
1757
1830
|
}));
|
|
1758
1831
|
|
|
1759
1832
|
export type PutSecurityTaskError = VantaOpError;
|
|
@@ -1769,6 +1842,8 @@ export const putSecurityTask: API.OperationMethod<
|
|
|
1769
1842
|
errors: [UnknownVantaError],
|
|
1770
1843
|
protocol: VantaProtocol,
|
|
1771
1844
|
retry: Retry.Retry,
|
|
1845
|
+
telemetry: TELEMETRY,
|
|
1846
|
+
span: "PutSecurityTask",
|
|
1772
1847
|
}));
|
|
1773
1848
|
|
|
1774
1849
|
export type PutStaticAnalysisCodeVulnerabilityConnectorsError = VantaOpError;
|
|
@@ -1788,6 +1863,8 @@ export const putStaticAnalysisCodeVulnerabilityConnectors: API.OperationMethod<
|
|
|
1788
1863
|
errors: [UnknownVantaError],
|
|
1789
1864
|
protocol: VantaProtocol,
|
|
1790
1865
|
retry: Retry.Retry,
|
|
1866
|
+
telemetry: TELEMETRY,
|
|
1867
|
+
span: "PutStaticAnalysisCodeVulnerabilityConnectors",
|
|
1791
1868
|
}));
|
|
1792
1869
|
|
|
1793
1870
|
export type PutUserAccountError = VantaOpError;
|
|
@@ -1803,6 +1880,8 @@ export const putUserAccount: API.OperationMethod<
|
|
|
1803
1880
|
errors: [UnknownVantaError],
|
|
1804
1881
|
protocol: VantaProtocol,
|
|
1805
1882
|
retry: Retry.Retry,
|
|
1883
|
+
telemetry: TELEMETRY,
|
|
1884
|
+
span: "PutUserAccount",
|
|
1806
1885
|
}));
|
|
1807
1886
|
|
|
1808
1887
|
export type PutUserSecurityTrainingStatusError = VantaOpError;
|
|
@@ -1818,6 +1897,8 @@ export const putUserSecurityTrainingStatus: API.OperationMethod<
|
|
|
1818
1897
|
errors: [UnknownVantaError],
|
|
1819
1898
|
protocol: VantaProtocol,
|
|
1820
1899
|
retry: Retry.Retry,
|
|
1900
|
+
telemetry: TELEMETRY,
|
|
1901
|
+
span: "PutUserSecurityTrainingStatus",
|
|
1821
1902
|
}));
|
|
1822
1903
|
|
|
1823
1904
|
export type PutVulnerableComponentError = VantaOpError;
|
|
@@ -1833,6 +1914,8 @@ export const putVulnerableComponent: API.OperationMethod<
|
|
|
1833
1914
|
errors: [UnknownVantaError],
|
|
1834
1915
|
protocol: VantaProtocol,
|
|
1835
1916
|
retry: Retry.Retry,
|
|
1917
|
+
telemetry: TELEMETRY,
|
|
1918
|
+
span: "PutVulnerableComponent",
|
|
1836
1919
|
}));
|
|
1837
1920
|
|
|
1838
1921
|
export type PutWindowsUserComputerError = VantaOpError;
|
|
@@ -1848,6 +1931,8 @@ export const putWindowsUserComputer: API.OperationMethod<
|
|
|
1848
1931
|
errors: [UnknownVantaError],
|
|
1849
1932
|
protocol: VantaProtocol,
|
|
1850
1933
|
retry: Retry.Retry,
|
|
1934
|
+
telemetry: TELEMETRY,
|
|
1935
|
+
span: "PutWindowsUserComputer",
|
|
1851
1936
|
}));
|
|
1852
1937
|
|
|
1853
1938
|
export type UploadFileForDocumentError = VantaOpError;
|
|
@@ -1863,6 +1948,8 @@ export const uploadFileForDocument: API.OperationMethod<
|
|
|
1863
1948
|
errors: [UnknownVantaError],
|
|
1864
1949
|
protocol: VantaProtocol,
|
|
1865
1950
|
retry: Retry.Retry,
|
|
1951
|
+
telemetry: TELEMETRY,
|
|
1952
|
+
span: "UploadFileForDocument",
|
|
1866
1953
|
}));
|
|
1867
1954
|
|
|
1868
1955
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|