@distilled.cloud/vanta 1.0.0-rc.18 → 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/protocol.d.ts +2 -1
- 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 +68 -68
- 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 +43 -43
- 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 -331
- 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 +32 -32
- package/lib/services/webhooks.js.map +1 -1
- package/lib/services.lazy/auditor_api.js +1 -1
- package/lib/services.lazy/manage_vanta.js +3 -2
- package/lib/services.lazy/webhooks.js +1 -1
- package/package.json +5 -5
- package/src/protocol.ts +3 -1
- package/src/services/auditor_api.ts +264 -214
- package/src/services/build_integrations.ts +111 -87
- package/src/services/manage_vanta.ts +7699 -4048
- package/src/services/webhooks.ts +6 -1
|
@@ -51,13 +51,19 @@ export interface GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccur
|
|
|
51
51
|
/** Markdown description of this API endpoint vulnerability occurrence. */
|
|
52
52
|
description: string;
|
|
53
53
|
/** The API endpoint URL associated with this vulnerability occurrence. */
|
|
54
|
-
fromUrl?: string | null;
|
|
54
|
+
fromUrl?: string | null | undefined;
|
|
55
55
|
/** The API params associated with this vulnerability. */
|
|
56
|
-
queryParams?:
|
|
56
|
+
queryParams?:
|
|
57
|
+
| GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesItemQueryParamsList
|
|
58
|
+
| null
|
|
59
|
+
| undefined;
|
|
57
60
|
/** The API headers associated with this vulnerability. */
|
|
58
|
-
headers?:
|
|
61
|
+
headers?:
|
|
62
|
+
| GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesItemHeadersList
|
|
63
|
+
| null
|
|
64
|
+
| undefined;
|
|
59
65
|
/** The body of the request passed to the API, with sensitive information redacted. */
|
|
60
|
-
body?: string | null;
|
|
66
|
+
body?: string | null | undefined;
|
|
61
67
|
}
|
|
62
68
|
/** A list of occurrences of vulnerable API endpoints. */
|
|
63
69
|
export type GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesList =
|
|
@@ -84,16 +90,16 @@ export interface GetApiEndpointVulnerabilityConnectorsResponseResourcesItem {
|
|
|
84
90
|
/** The HTTP method (eg: GET, POST) associated with this vulnerability. */
|
|
85
91
|
httpMethod: string;
|
|
86
92
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
87
|
-
cveId?: string | null;
|
|
93
|
+
cveId?: string | null | undefined;
|
|
88
94
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
89
|
-
cvss3Vector?: string | null;
|
|
95
|
+
cvss3Vector?: string | null | undefined;
|
|
90
96
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
91
|
-
cvss3Score?: number | null;
|
|
97
|
+
cvss3Score?: number | null | undefined;
|
|
92
98
|
}
|
|
93
99
|
export type GetApiEndpointVulnerabilityConnectorsResponseResourcesList =
|
|
94
100
|
Array<GetApiEndpointVulnerabilityConnectorsResponseResourcesItem>;
|
|
95
101
|
export interface GetApiEndpointVulnerabilityConnectorsResponse {
|
|
96
|
-
resources?: GetApiEndpointVulnerabilityConnectorsResponseResourcesList;
|
|
102
|
+
resources?: GetApiEndpointVulnerabilityConnectorsResponseResourcesList | undefined;
|
|
97
103
|
}
|
|
98
104
|
export interface GetBackgroundCheckConnectorRequest {
|
|
99
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 */
|
|
@@ -118,12 +124,12 @@ export interface GetBackgroundCheckConnectorResponseResourcesItem {
|
|
|
118
124
|
/** The current status of the background check. */
|
|
119
125
|
status: GetBackgroundCheckConnectorResponseResourcesItemStatus;
|
|
120
126
|
/** If complete, the date of completion of the background check. */
|
|
121
|
-
completionDate?: string | null;
|
|
127
|
+
completionDate?: string | null | undefined;
|
|
122
128
|
}
|
|
123
129
|
export type GetBackgroundCheckConnectorResponseResourcesList =
|
|
124
130
|
Array<GetBackgroundCheckConnectorResponseResourcesItem>;
|
|
125
131
|
export interface GetBackgroundCheckConnectorResponse {
|
|
126
|
-
resources?: GetBackgroundCheckConnectorResponseResourcesList;
|
|
132
|
+
resources?: GetBackgroundCheckConnectorResponseResourcesList | undefined;
|
|
127
133
|
}
|
|
128
134
|
export interface GetCustomResourceRequest {
|
|
129
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 */
|
|
@@ -139,7 +145,7 @@ export interface GetCustomResourceResponseResourcesItem {
|
|
|
139
145
|
}
|
|
140
146
|
export type GetCustomResourceResponseResourcesList = Array<GetCustomResourceResponseResourcesItem>;
|
|
141
147
|
export interface GetCustomResourceResponse {
|
|
142
|
-
resources?: GetCustomResourceResponseResourcesList;
|
|
148
|
+
resources?: GetCustomResourceResponseResourcesList | undefined;
|
|
143
149
|
}
|
|
144
150
|
export interface GetMacosUserComputerRequest {
|
|
145
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 */
|
|
@@ -151,7 +157,7 @@ export interface GetMacosUserComputerResponseResourcesItemApplicationsItem {
|
|
|
151
157
|
/** The bundle identifier of the application. */
|
|
152
158
|
bundleId: string;
|
|
153
159
|
/** The last time the application was opened. */
|
|
154
|
-
lastOpenedTimestamp?: string | null;
|
|
160
|
+
lastOpenedTimestamp?: string | null | undefined;
|
|
155
161
|
}
|
|
156
162
|
/** All the installed Mac Apps on the system. */
|
|
157
163
|
export type GetMacosUserComputerResponseResourcesItemApplicationsList =
|
|
@@ -182,7 +188,7 @@ export interface GetMacosUserComputerResponseResourcesItemDrivesItem {
|
|
|
182
188
|
/** Does the drive have filevault enabled. */
|
|
183
189
|
filevaultEnabled: boolean;
|
|
184
190
|
/** Metadata about the boot volume helps Vanta skip checking volumes that aren't relevant, like USB Drives. */
|
|
185
|
-
isBootVolume?: boolean | null;
|
|
191
|
+
isBootVolume?: boolean | null | undefined;
|
|
186
192
|
}
|
|
187
193
|
/** A list of drives on this device. Used to verify encryption status. */
|
|
188
194
|
export type GetMacosUserComputerResponseResourcesItemDrivesList =
|
|
@@ -205,7 +211,7 @@ export interface GetMacosUserComputerResponseResourcesItemUsersItem {
|
|
|
205
211
|
screenlockPolicies: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesList;
|
|
206
212
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
207
213
|
/** The last time the user logged in to the device, if available. */
|
|
208
|
-
lastLoginTimestamp?: string | null;
|
|
214
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
209
215
|
}
|
|
210
216
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
211
217
|
export type GetMacosUserComputerResponseResourcesItemUsersList =
|
|
@@ -251,17 +257,17 @@ export interface GetMacosUserComputerResponseResourcesItem {
|
|
|
251
257
|
/** Does the system have auto-updates enabled. */
|
|
252
258
|
autoUpdatesEnabled: boolean;
|
|
253
259
|
/** The email address of the owner of the system, if it's known. */
|
|
254
|
-
owner?: string | null;
|
|
255
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
260
|
+
owner?: string | null | undefined;
|
|
261
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
256
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. */
|
|
257
|
-
lastEnrolledTimestamp?: string | null;
|
|
263
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
258
264
|
/** Is XProtect enabled on the system. */
|
|
259
|
-
isXProtectEnabled?: boolean | null;
|
|
265
|
+
isXProtectEnabled?: boolean | null | undefined;
|
|
260
266
|
}
|
|
261
267
|
export type GetMacosUserComputerResponseResourcesList =
|
|
262
268
|
Array<GetMacosUserComputerResponseResourcesItem>;
|
|
263
269
|
export interface GetMacosUserComputerResponse {
|
|
264
|
-
resources?: GetMacosUserComputerResponseResourcesList;
|
|
270
|
+
resources?: GetMacosUserComputerResponseResourcesList | undefined;
|
|
265
271
|
}
|
|
266
272
|
export interface GetPackageVulnerabilityConnectorsRequest {
|
|
267
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 */
|
|
@@ -289,18 +295,18 @@ export interface GetPackageVulnerabilityConnectorsResponseResourcesItem {
|
|
|
289
295
|
/** Instructions for remediating the vulnerability. */
|
|
290
296
|
remediationInstructions: string;
|
|
291
297
|
/** Whether there is a code path to the vulnerable code in this package. This field is optional. */
|
|
292
|
-
isReachable?: boolean | null;
|
|
298
|
+
isReachable?: boolean | null | undefined;
|
|
293
299
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
294
|
-
cveId?: string | null;
|
|
300
|
+
cveId?: string | null | undefined;
|
|
295
301
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
296
|
-
cvss3Vector?: string | null;
|
|
302
|
+
cvss3Vector?: string | null | undefined;
|
|
297
303
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
298
|
-
cvss3Score?: number | null;
|
|
304
|
+
cvss3Score?: number | null | undefined;
|
|
299
305
|
}
|
|
300
306
|
export type GetPackageVulnerabilityConnectorsResponseResourcesList =
|
|
301
307
|
Array<GetPackageVulnerabilityConnectorsResponseResourcesItem>;
|
|
302
308
|
export interface GetPackageVulnerabilityConnectorsResponse {
|
|
303
|
-
resources?: GetPackageVulnerabilityConnectorsResponseResourcesList;
|
|
309
|
+
resources?: GetPackageVulnerabilityConnectorsResponseResourcesList | undefined;
|
|
304
310
|
}
|
|
305
311
|
export interface GetSecretRequest {
|
|
306
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 */
|
|
@@ -324,15 +330,15 @@ export interface GetSecretResponseResourcesItem {
|
|
|
324
330
|
/** The current owner of the secret. Vanta will check that every secret has a valid owner. */
|
|
325
331
|
owner: string;
|
|
326
332
|
/** When the secret was last updated. */
|
|
327
|
-
updatedTimestamp?: string | null;
|
|
333
|
+
updatedTimestamp?: string | null | undefined;
|
|
328
334
|
/** When the secret was last accessed. */
|
|
329
|
-
lastAccessedTimestamp?: string | null;
|
|
335
|
+
lastAccessedTimestamp?: string | null | undefined;
|
|
330
336
|
/** When the secret is set to expire, if relevant. */
|
|
331
|
-
expiresTimestamp?: string | null;
|
|
337
|
+
expiresTimestamp?: string | null | undefined;
|
|
332
338
|
}
|
|
333
339
|
export type GetSecretResponseResourcesList = Array<GetSecretResponseResourcesItem>;
|
|
334
340
|
export interface GetSecretResponse {
|
|
335
|
-
resources?: GetSecretResponseResourcesList;
|
|
341
|
+
resources?: GetSecretResponseResourcesList | undefined;
|
|
336
342
|
}
|
|
337
343
|
export interface GetSecurityTaskRequest {
|
|
338
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 */
|
|
@@ -370,13 +376,13 @@ export interface GetSecurityTaskResponseResourcesItem {
|
|
|
370
376
|
/** The set of task tags or labels. */
|
|
371
377
|
labels: GetSecurityTaskResponseResourcesItemLabelsList;
|
|
372
378
|
/** When the task was closed, if the task was closed. Required if `taskState` is `CLOSED`, otherwise must be absent. */
|
|
373
|
-
closedTimestamp?: string | null;
|
|
379
|
+
closedTimestamp?: string | null | undefined;
|
|
374
380
|
/** When the task was last updated. */
|
|
375
|
-
updatedTimestamp?: string | null;
|
|
381
|
+
updatedTimestamp?: string | null | undefined;
|
|
376
382
|
}
|
|
377
383
|
export type GetSecurityTaskResponseResourcesList = Array<GetSecurityTaskResponseResourcesItem>;
|
|
378
384
|
export interface GetSecurityTaskResponse {
|
|
379
|
-
resources?: GetSecurityTaskResponseResourcesList;
|
|
385
|
+
resources?: GetSecurityTaskResponseResourcesList | undefined;
|
|
380
386
|
}
|
|
381
387
|
export interface GetStaticAnalysisCodeVulnerabilityConnectorsRequest {
|
|
382
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 */
|
|
@@ -419,16 +425,16 @@ export interface GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesIt
|
|
|
419
425
|
/** Instructions for remediating the vulnerability. */
|
|
420
426
|
remediationInstructions: string;
|
|
421
427
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
422
|
-
cveId?: string | null;
|
|
428
|
+
cveId?: string | null | undefined;
|
|
423
429
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
424
|
-
cvss3Vector?: string | null;
|
|
430
|
+
cvss3Vector?: string | null | undefined;
|
|
425
431
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
426
|
-
cvss3Score?: number | null;
|
|
432
|
+
cvss3Score?: number | null | undefined;
|
|
427
433
|
}
|
|
428
434
|
export type GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesList =
|
|
429
435
|
Array<GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesItem>;
|
|
430
436
|
export interface GetStaticAnalysisCodeVulnerabilityConnectorsResponse {
|
|
431
|
-
resources?: GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesList;
|
|
437
|
+
resources?: GetStaticAnalysisCodeVulnerabilityConnectorsResponseResourcesList | undefined;
|
|
432
438
|
}
|
|
433
439
|
export interface GetUserAccountRequest {
|
|
434
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 */
|
|
@@ -484,21 +490,21 @@ export interface GetUserAccountResponseResourcesItem {
|
|
|
484
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. */
|
|
485
491
|
authMethod: GetUserAccountResponseResourcesItemAuthMethod;
|
|
486
492
|
/** A human readable description of the user's role. */
|
|
487
|
-
roleDescription?: string | null;
|
|
493
|
+
roleDescription?: string | null | undefined;
|
|
488
494
|
/** The last time the user was updated in the system. */
|
|
489
|
-
updatedTimestamp?: string | null;
|
|
495
|
+
updatedTimestamp?: string | null | undefined;
|
|
490
496
|
/** If the user is deactivated, the timestamp of that deactivation. */
|
|
491
|
-
deactivatedTimestamp?: string | null;
|
|
497
|
+
deactivatedTimestamp?: string | null | undefined;
|
|
492
498
|
/** The time at which the user last logged in. */
|
|
493
|
-
lastLoginTimestamp?: string | null;
|
|
499
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
494
500
|
/** The time at which the user last reset their password. Helps with future Vanta functionality. */
|
|
495
|
-
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null;
|
|
501
|
+
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null | undefined;
|
|
496
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. */
|
|
497
|
-
groupIds?: GetUserAccountResponseResourcesItemGroupIdsList | null;
|
|
503
|
+
groupIds?: GetUserAccountResponseResourcesItemGroupIdsList | null | undefined;
|
|
498
504
|
}
|
|
499
505
|
export type GetUserAccountResponseResourcesList = Array<GetUserAccountResponseResourcesItem>;
|
|
500
506
|
export interface GetUserAccountResponse {
|
|
501
|
-
resources?: GetUserAccountResponseResourcesList;
|
|
507
|
+
resources?: GetUserAccountResponseResourcesList | undefined;
|
|
502
508
|
}
|
|
503
509
|
export interface GetUserSecurityTrainingStatusRequest {
|
|
504
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 */
|
|
@@ -543,12 +549,12 @@ export interface GetUserSecurityTrainingStatusResponseResourcesItem {
|
|
|
543
549
|
/** The time at which this training course is due for the user. Vanta will check whether employees complete their training on time. */
|
|
544
550
|
trainingDueTimestamp: string;
|
|
545
551
|
/** The time at which this training course was completed by the user. */
|
|
546
|
-
trainingCompletedTimestamp?: string | null;
|
|
552
|
+
trainingCompletedTimestamp?: string | null | undefined;
|
|
547
553
|
}
|
|
548
554
|
export type GetUserSecurityTrainingStatusResponseResourcesList =
|
|
549
555
|
Array<GetUserSecurityTrainingStatusResponseResourcesItem>;
|
|
550
556
|
export interface GetUserSecurityTrainingStatusResponse {
|
|
551
|
-
resources?: GetUserSecurityTrainingStatusResponseResourcesList;
|
|
557
|
+
resources?: GetUserSecurityTrainingStatusResponseResourcesList | undefined;
|
|
552
558
|
}
|
|
553
559
|
export interface GetVulnerableComponentRequest {
|
|
554
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 */
|
|
@@ -585,7 +591,7 @@ export interface GetVulnerableComponentResponseResourcesItem {
|
|
|
585
591
|
export type GetVulnerableComponentResponseResourcesList =
|
|
586
592
|
Array<GetVulnerableComponentResponseResourcesItem>;
|
|
587
593
|
export interface GetVulnerableComponentResponse {
|
|
588
|
-
resources?: GetVulnerableComponentResponseResourcesList;
|
|
594
|
+
resources?: GetVulnerableComponentResponseResourcesList | undefined;
|
|
589
595
|
}
|
|
590
596
|
export interface GetWindowsUserComputerRequest {
|
|
591
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 */
|
|
@@ -595,7 +601,7 @@ export interface GetWindowsUserComputerResponseResourcesItemProgramsItem {
|
|
|
595
601
|
/** The name of the application. */
|
|
596
602
|
name: string;
|
|
597
603
|
/** The last time the application was opened. */
|
|
598
|
-
lastOpenedTimestamp?: string | null;
|
|
604
|
+
lastOpenedTimestamp?: string | null | undefined;
|
|
599
605
|
}
|
|
600
606
|
/** All the installed programs on the Windows system. */
|
|
601
607
|
export type GetWindowsUserComputerResponseResourcesItemProgramsList =
|
|
@@ -624,7 +630,7 @@ export interface GetWindowsUserComputerResponseResourcesItemDrivesItem {
|
|
|
624
630
|
/** Does the drive have some sort of encryption on it. */
|
|
625
631
|
encrypted: boolean;
|
|
626
632
|
/** Metadata about the boot volume helps Vanta skip checking volumes that aren't relevant, like USB Drives. */
|
|
627
|
-
isBootVolume?: boolean | null;
|
|
633
|
+
isBootVolume?: boolean | null | undefined;
|
|
628
634
|
}
|
|
629
635
|
/** A list of drives on this device. Used to verify encryption status. */
|
|
630
636
|
export type GetWindowsUserComputerResponseResourcesItemDrivesList =
|
|
@@ -643,7 +649,7 @@ export interface GetWindowsUserComputerResponseResourcesItemUsersItem {
|
|
|
643
649
|
screenlockPolicies: GetWindowsUserComputerResponseResourcesItemUsersItemScreenlockPoliciesList;
|
|
644
650
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
645
651
|
/** The last time the user logged in to the device, if available. */
|
|
646
|
-
lastLoginTimestamp?: string | null;
|
|
652
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
647
653
|
}
|
|
648
654
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
649
655
|
export type GetWindowsUserComputerResponseResourcesItemUsersList =
|
|
@@ -768,18 +774,24 @@ export interface GetWindowsUserComputerResponseResourcesItem {
|
|
|
768
774
|
/** Does the system have auto-updates enabled. */
|
|
769
775
|
autoUpdatesEnabled: boolean;
|
|
770
776
|
/** The email address of the owner of the system, if it's known. */
|
|
771
|
-
owner?: string | null;
|
|
772
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
777
|
+
owner?: string | null | undefined;
|
|
778
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
773
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. */
|
|
774
|
-
lastEnrolledTimestamp?: string | null;
|
|
780
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
775
781
|
/** A list of services that are monitored by Windows Security Center (WSC). */
|
|
776
|
-
windowsSecurityProducts?:
|
|
777
|
-
|
|
782
|
+
windowsSecurityProducts?:
|
|
783
|
+
| GetWindowsUserComputerResponseResourcesItemWindowsSecurityProductsList
|
|
784
|
+
| null
|
|
785
|
+
| undefined;
|
|
786
|
+
windowsSecurityCenter?:
|
|
787
|
+
| GetWindowsUserComputerResponseResourcesItemWindowsSecurityCenter
|
|
788
|
+
| null
|
|
789
|
+
| undefined;
|
|
778
790
|
}
|
|
779
791
|
export type GetWindowsUserComputerResponseResourcesList =
|
|
780
792
|
Array<GetWindowsUserComputerResponseResourcesItem>;
|
|
781
793
|
export interface GetWindowsUserComputerResponse {
|
|
782
|
-
resources?: GetWindowsUserComputerResponseResourcesList;
|
|
794
|
+
resources?: GetWindowsUserComputerResponseResourcesList | undefined;
|
|
783
795
|
}
|
|
784
796
|
export type PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesItemQueryParamsItem =
|
|
785
797
|
GetApiEndpointVulnerabilityConnectorsResponseResourcesItemOccurrencesItemQueryParamsItem;
|
|
@@ -795,13 +807,19 @@ export interface PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurr
|
|
|
795
807
|
/** Markdown description of this API endpoint vulnerability occurrence. */
|
|
796
808
|
description: string;
|
|
797
809
|
/** The API endpoint URL associated with this vulnerability occurrence. */
|
|
798
|
-
fromUrl?: string | null;
|
|
810
|
+
fromUrl?: string | null | undefined;
|
|
799
811
|
/** The API params associated with this vulnerability. */
|
|
800
|
-
queryParams?:
|
|
812
|
+
queryParams?:
|
|
813
|
+
| PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesItemQueryParamsList
|
|
814
|
+
| null
|
|
815
|
+
| undefined;
|
|
801
816
|
/** The API headers associated with this vulnerability. */
|
|
802
|
-
headers?:
|
|
817
|
+
headers?:
|
|
818
|
+
| PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesItemHeadersList
|
|
819
|
+
| null
|
|
820
|
+
| undefined;
|
|
803
821
|
/** The body of the request passed to the API, with sensitive information redacted. */
|
|
804
|
-
body?: string | null;
|
|
822
|
+
body?: string | null | undefined;
|
|
805
823
|
}
|
|
806
824
|
/** A list of occurrences of vulnerable API endpoints. */
|
|
807
825
|
export type PutApiEndpointVulnerabilityConnectorsRequestResourcesItemOccurrencesList =
|
|
@@ -828,11 +846,11 @@ export interface PutApiEndpointVulnerabilityConnectorsRequestResourcesItem {
|
|
|
828
846
|
/** The HTTP method (eg: GET, POST) associated with this vulnerability. */
|
|
829
847
|
httpMethod: string;
|
|
830
848
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
831
|
-
cveId?: string | null;
|
|
849
|
+
cveId?: string | null | undefined;
|
|
832
850
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
833
|
-
cvss3Vector?: string | null;
|
|
851
|
+
cvss3Vector?: string | null | undefined;
|
|
834
852
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
835
|
-
cvss3Score?: number | null;
|
|
853
|
+
cvss3Score?: number | null | undefined;
|
|
836
854
|
}
|
|
837
855
|
export type PutApiEndpointVulnerabilityConnectorsRequestResourcesList =
|
|
838
856
|
Array<PutApiEndpointVulnerabilityConnectorsRequestResourcesItem>;
|
|
@@ -863,7 +881,7 @@ export interface PutBackgroundCheckConnectorRequestResourcesItem {
|
|
|
863
881
|
/** The current status of the background check. */
|
|
864
882
|
status: PutBackgroundCheckConnectorRequestResourcesItemStatus | (string & {});
|
|
865
883
|
/** If complete, the date of completion of the background check. */
|
|
866
|
-
completionDate?: string | null;
|
|
884
|
+
completionDate?: string | null | undefined;
|
|
867
885
|
}
|
|
868
886
|
export type PutBackgroundCheckConnectorRequestResourcesList =
|
|
869
887
|
Array<PutBackgroundCheckConnectorRequestResourcesItem>;
|
|
@@ -927,7 +945,7 @@ export interface PutMacosUserComputerRequestResourcesItemUsersItem {
|
|
|
927
945
|
screenlockPolicies: PutMacosUserComputerRequestResourcesItemUsersItemScreenlockPoliciesList;
|
|
928
946
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
929
947
|
/** The last time the user logged in to the device, if available. */
|
|
930
|
-
lastLoginTimestamp?: string | null;
|
|
948
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
931
949
|
}
|
|
932
950
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
933
951
|
export type PutMacosUserComputerRequestResourcesItemUsersList =
|
|
@@ -971,12 +989,12 @@ export interface PutMacosUserComputerRequestResourcesItem {
|
|
|
971
989
|
/** Does the system have auto-updates enabled. */
|
|
972
990
|
autoUpdatesEnabled: boolean;
|
|
973
991
|
/** The email address of the owner of the system, if it's known. */
|
|
974
|
-
owner?: string | null;
|
|
975
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
992
|
+
owner?: string | null | undefined;
|
|
993
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
976
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. */
|
|
977
|
-
lastEnrolledTimestamp?: string | null;
|
|
995
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
978
996
|
/** Is XProtect enabled on the system. */
|
|
979
|
-
isXProtectEnabled?: boolean | null;
|
|
997
|
+
isXProtectEnabled?: boolean | null | undefined;
|
|
980
998
|
}
|
|
981
999
|
export type PutMacosUserComputerRequestResourcesList =
|
|
982
1000
|
Array<PutMacosUserComputerRequestResourcesItem>;
|
|
@@ -1042,9 +1060,9 @@ export interface PutSecurityTaskRequestResourcesItem {
|
|
|
1042
1060
|
/** The set of task tags or labels. */
|
|
1043
1061
|
labels: PutSecurityTaskRequestResourcesItemLabelsList;
|
|
1044
1062
|
/** When the task was closed, if the task was closed. Required if `taskState` is `CLOSED`, otherwise must be absent. */
|
|
1045
|
-
closedTimestamp?: string | null;
|
|
1063
|
+
closedTimestamp?: string | null | undefined;
|
|
1046
1064
|
/** When the task was last updated. */
|
|
1047
|
-
updatedTimestamp?: string | null;
|
|
1065
|
+
updatedTimestamp?: string | null | undefined;
|
|
1048
1066
|
}
|
|
1049
1067
|
export type PutSecurityTaskRequestResourcesList = Array<PutSecurityTaskRequestResourcesItem>;
|
|
1050
1068
|
export interface PutSecurityTaskRequest {
|
|
@@ -1082,11 +1100,11 @@ export interface PutStaticAnalysisCodeVulnerabilityConnectorsRequestResourcesIte
|
|
|
1082
1100
|
/** Instructions for remediating the vulnerability. */
|
|
1083
1101
|
remediationInstructions: string;
|
|
1084
1102
|
/** The Common Vulnerabilities and Exposures (CVE) identifier for the vulnerability. This field is optional. */
|
|
1085
|
-
cveId?: string | null;
|
|
1103
|
+
cveId?: string | null | undefined;
|
|
1086
1104
|
/** The Common Vulnerability Scoring System (CVSS) version 3 vector for the vulnerability. This field is optional. */
|
|
1087
|
-
cvss3Vector?: string | null;
|
|
1105
|
+
cvss3Vector?: string | null | undefined;
|
|
1088
1106
|
/** The Common Vulnerability Scoring System (CVSS) version 3 score for the vulnerability. This field is optional. */
|
|
1089
|
-
cvss3Score?: number | null;
|
|
1107
|
+
cvss3Score?: number | null | undefined;
|
|
1090
1108
|
}
|
|
1091
1109
|
export type PutStaticAnalysisCodeVulnerabilityConnectorsRequestResourcesList =
|
|
1092
1110
|
Array<PutStaticAnalysisCodeVulnerabilityConnectorsRequestResourcesItem>;
|
|
@@ -1149,17 +1167,17 @@ export interface PutUserAccountRequestResourcesItem {
|
|
|
1149
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. */
|
|
1150
1168
|
authMethod: PutUserAccountRequestResourcesItemAuthMethod | (string & {});
|
|
1151
1169
|
/** A human readable description of the user's role. */
|
|
1152
|
-
roleDescription?: string | null;
|
|
1170
|
+
roleDescription?: string | null | undefined;
|
|
1153
1171
|
/** The last time the user was updated in the system. */
|
|
1154
|
-
updatedTimestamp?: string | null;
|
|
1172
|
+
updatedTimestamp?: string | null | undefined;
|
|
1155
1173
|
/** If the user is deactivated, the timestamp of that deactivation. */
|
|
1156
|
-
deactivatedTimestamp?: string | null;
|
|
1174
|
+
deactivatedTimestamp?: string | null | undefined;
|
|
1157
1175
|
/** The time at which the user last logged in. */
|
|
1158
|
-
lastLoginTimestamp?: string | null;
|
|
1176
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
1159
1177
|
/** The time at which the user last reset their password. Helps with future Vanta functionality. */
|
|
1160
|
-
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null;
|
|
1178
|
+
lastPasswordResetTimestamp?: string | Redacted.Redacted<string> | null | undefined;
|
|
1161
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. */
|
|
1162
|
-
groupIds?: PutUserAccountRequestResourcesItemGroupIdsList | null;
|
|
1180
|
+
groupIds?: PutUserAccountRequestResourcesItemGroupIdsList | null | undefined;
|
|
1163
1181
|
}
|
|
1164
1182
|
export type PutUserAccountRequestResourcesList = Array<PutUserAccountRequestResourcesItem>;
|
|
1165
1183
|
export interface PutUserAccountRequest {
|
|
@@ -1210,7 +1228,7 @@ export interface PutUserSecurityTrainingStatusRequestResourcesItem {
|
|
|
1210
1228
|
/** The time at which this training course is due for the user. Vanta will check whether employees complete their training on time. */
|
|
1211
1229
|
trainingDueTimestamp: string;
|
|
1212
1230
|
/** The time at which this training course was completed by the user. */
|
|
1213
|
-
trainingCompletedTimestamp?: string | null;
|
|
1231
|
+
trainingCompletedTimestamp?: string | null | undefined;
|
|
1214
1232
|
}
|
|
1215
1233
|
export type PutUserSecurityTrainingStatusRequestResourcesList =
|
|
1216
1234
|
Array<PutUserSecurityTrainingStatusRequestResourcesItem>;
|
|
@@ -1302,7 +1320,7 @@ export interface PutWindowsUserComputerRequestResourcesItemUsersItem {
|
|
|
1302
1320
|
screenlockPolicies: PutWindowsUserComputerRequestResourcesItemUsersItemScreenlockPoliciesList;
|
|
1303
1321
|
screenlockSettings: GetMacosUserComputerResponseResourcesItemUsersItemScreenlockPoliciesItem;
|
|
1304
1322
|
/** The last time the user logged in to the device, if available. */
|
|
1305
|
-
lastLoginTimestamp?: string | null;
|
|
1323
|
+
lastLoginTimestamp?: string | null | undefined;
|
|
1306
1324
|
}
|
|
1307
1325
|
/** The human users of the system. If it's not feasible to send only human users, prefer skipping sending users entirely. */
|
|
1308
1326
|
export type PutWindowsUserComputerRequestResourcesItemUsersList =
|
|
@@ -1439,13 +1457,19 @@ export interface PutWindowsUserComputerRequestResourcesItem {
|
|
|
1439
1457
|
/** Does the system have auto-updates enabled. */
|
|
1440
1458
|
autoUpdatesEnabled: boolean;
|
|
1441
1459
|
/** The email address of the owner of the system, if it's known. */
|
|
1442
|
-
owner?: string | null;
|
|
1443
|
-
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null;
|
|
1460
|
+
owner?: string | null | undefined;
|
|
1461
|
+
passwordPolicy?: GetMacosUserComputerResponseResourcesItemPasswordPolicy | null | undefined;
|
|
1444
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. */
|
|
1445
|
-
lastEnrolledTimestamp?: string | null;
|
|
1463
|
+
lastEnrolledTimestamp?: string | null | undefined;
|
|
1446
1464
|
/** A list of services that are monitored by Windows Security Center (WSC). */
|
|
1447
|
-
windowsSecurityProducts?:
|
|
1448
|
-
|
|
1465
|
+
windowsSecurityProducts?:
|
|
1466
|
+
| PutWindowsUserComputerRequestResourcesItemWindowsSecurityProductsList
|
|
1467
|
+
| null
|
|
1468
|
+
| undefined;
|
|
1469
|
+
windowsSecurityCenter?:
|
|
1470
|
+
| PutWindowsUserComputerRequestResourcesItemWindowsSecurityCenter
|
|
1471
|
+
| null
|
|
1472
|
+
| undefined;
|
|
1449
1473
|
}
|
|
1450
1474
|
export type PutWindowsUserComputerRequestResourcesList =
|
|
1451
1475
|
Array<PutWindowsUserComputerRequestResourcesItem>;
|
|
@@ -1461,9 +1485,9 @@ export interface UploadFileForDocumentRequest {
|
|
|
1461
1485
|
documentId: string;
|
|
1462
1486
|
file: string;
|
|
1463
1487
|
/** Date indicating when the document is effective from. */
|
|
1464
|
-
effectiveAtDate?: string;
|
|
1488
|
+
effectiveAtDate?: string | undefined;
|
|
1465
1489
|
/** Description of the uploaded document. */
|
|
1466
|
-
description?: string;
|
|
1490
|
+
description?: string | undefined;
|
|
1467
1491
|
}
|
|
1468
1492
|
export type UploadedDocumentUploadedByType = "USER" | "APPLICATION";
|
|
1469
1493
|
/** The actor who uploaded this document. It could be a user or an app. */
|