@distilled.cloud/vanta 1.0.0-rc.15 → 1.0.0-rc.16
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/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +16 -15
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +15 -15
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +14 -14
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +6 -6
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +19 -22
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +25 -24
- package/lib/retry.js.map +1 -1
- package/lib/services/auditor_api.d.ts +18 -325
- package/lib/services/auditor_api.d.ts.map +1 -1
- package/lib/services/auditor_api.js +164 -1881
- package/lib/services/build_integrations.d.ts +1 -230
- package/lib/services/build_integrations.d.ts.map +1 -1
- package/lib/services/build_integrations.js +118 -1180
- package/lib/services/manage_vanta.d.ts +18 -1088
- package/lib/services/manage_vanta.d.ts.map +1 -1
- package/lib/services/manage_vanta.js +754 -6922
- package/lib/services/webhooks.d.ts +6 -105
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +76 -537
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +8 -8
- package/package.json +13 -9
- package/src/credentials.ts +5 -6
- package/src/errors.ts +14 -15
- package/src/index.ts +1 -1
- package/src/pagination.ts +1 -1
- package/src/protocol.ts +6 -9
- package/src/retry.ts +6 -4
- package/src/services/auditor_api.ts +2040 -2476
- package/src/services/build_integrations.ts +937 -1664
- package/src/services/manage_vanta.ts +7230 -8522
- package/src/services/webhooks.ts +432 -638
- package/src/traits.ts +1 -1
- package/lib/services/auditor_api.js.map +0 -1
- package/lib/services/build_integrations.js.map +0 -1
- package/lib/services/manage_vanta.js.map +0 -1
- package/lib/services/webhooks.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
2
|
import { type VantaOpError, type VantaOpContext } from "../protocol.ts";
|
|
4
3
|
export type { VantaOpError, VantaOpContext };
|
|
5
4
|
export interface AcceptInformationRequestEvidenceRequest {
|
|
@@ -8,47 +7,34 @@ export interface AcceptInformationRequestEvidenceRequest {
|
|
|
8
7
|
/** Email of the auditor accepting the evidence. Must match an existing Vanta user who belongs to the audit firm making the API request. */
|
|
9
8
|
auditorEmail: string;
|
|
10
9
|
}
|
|
11
|
-
export declare const AcceptInformationRequestEvidenceRequest: S.Schema<AcceptInformationRequestEvidenceRequest>;
|
|
12
10
|
/** Deprecated control-linkage field retained for response compatibility. It may contain control IDs supplied directly to the request, but it is not a complete or guaranteed-current list of controls linked to the request. Use `linkedControlIds` for the complete current list. */
|
|
13
11
|
export type InformationRequestAdditionalControlIdsList = Array<string>;
|
|
14
|
-
export declare const InformationRequestAdditionalControlIdsList: S.Schema<InformationRequestAdditionalControlIdsList>;
|
|
15
12
|
/** The complete current set of control IDs linked to this request, including controls linked through framework codes and controls added directly. Each ID is returned by the audit controls endpoint. */
|
|
16
13
|
export type InformationRequestLinkedControlIdsList = Array<string>;
|
|
17
|
-
|
|
18
|
-
/** Current approval status of the information request, tracking its lifecycle through the audit process. The status progresses through the workflow: initial state → awaiting review → approved or flagged. Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted. */
|
|
14
|
+
/** Current approval status of the information request, tracking its lifecycle through the audit process. The status progresses through the workflow: initial state -> awaiting review -> approved or flagged. Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted. */
|
|
19
15
|
export type InformationRequestApprovalStatus = "NEEDS_EVIDENCE" | "READY_FOR_AUDIT" | "AUDITOR_APPROVED" | "AUDITOR_FLAGGED";
|
|
20
|
-
export declare const InformationRequestApprovalStatus: any;
|
|
21
16
|
/** Frequency cadence for the information request, indicating how often it recurs. */
|
|
22
17
|
export type InformationRequestCadence = "ANNUALLY" | "BIANNUALLY" | "MONTHLY" | "QUARTERLY";
|
|
23
|
-
export declare const InformationRequestCadence: any;
|
|
24
18
|
/** Always empty on read. Use `linkedControlIds` for control linkage and `segmentIds` for request assignment. */
|
|
25
19
|
export type InformationRequestFrameworkCodesList = Array<string>;
|
|
26
|
-
|
|
27
|
-
/** Audit segments this request is assigned to. Empty means unassigned. Resolved against the current audit scope — stale IDs are dropped. This field is a current-scope projection, not a stored watermark. An audit-scope change that drops or adds IDs here does not update creationDate, modificationDate, or deletionDate, so it does not appear in `changedSinceDate` delta sync on its own. Re-fetch the list without that parameter, or GET the request by id, to see the current projection. */
|
|
20
|
+
/** Audit segments this request is assigned to. Empty means unassigned. Resolved against the current audit scope -- stale IDs are dropped. This field is a current-scope projection, not a stored watermark. An audit-scope change that drops or adds IDs here does not update creationDate, modificationDate, or deletionDate, so it does not appear in `changedSinceDate` delta sync on its own. Re-fetch the list without that parameter, or GET the request by id, to see the current projection. */
|
|
28
21
|
export type InformationRequestSegmentIdsList = Array<string>;
|
|
29
|
-
export declare const InformationRequestSegmentIdsList: S.Schema<InformationRequestSegmentIdsList>;
|
|
30
22
|
/** Type of information request, defining what scope of evidence is needed. - POINT_IN_TIME: Evidence for a specific moment (e.g., current state of a policy) - POPULATION: Evidence covering all items in a category (e.g., all employees) - SAMPLE: Evidence for a representative sample (e.g., 10 random customer records) */
|
|
31
23
|
export type InformationRequestType = "POINT_IN_TIME" | "POPULATION" | "SAMPLE";
|
|
32
|
-
export declare const InformationRequestType: any;
|
|
33
24
|
export type ResourceOwnerCase0Type = "user";
|
|
34
|
-
export declare const ResourceOwnerCase0Type: any;
|
|
35
25
|
export interface ResourceOwnerCase0 {
|
|
36
26
|
displayName: string;
|
|
37
27
|
id: string;
|
|
38
28
|
type: ResourceOwnerCase0Type;
|
|
39
29
|
}
|
|
40
|
-
export declare const ResourceOwnerCase0: S.Schema<ResourceOwnerCase0>;
|
|
41
30
|
export type ResourceOwnerCase1Type = "team";
|
|
42
|
-
export declare const ResourceOwnerCase1Type: any;
|
|
43
31
|
export interface ResourceOwnerCase1 {
|
|
44
32
|
displayName: string;
|
|
45
33
|
id: string;
|
|
46
34
|
type: ResourceOwnerCase1Type;
|
|
47
35
|
}
|
|
48
|
-
export declare const ResourceOwnerCase1: S.Schema<ResourceOwnerCase1>;
|
|
49
36
|
/** Represents either a user or a team owning a resource. */
|
|
50
37
|
export type ResourceOwner = ResourceOwnerCase0 | ResourceOwnerCase1;
|
|
51
|
-
export declare const ResourceOwner: S.Schema<ResourceOwner>;
|
|
52
38
|
/** Information Request resource representing a single request for audit evidence from a customer. An information request is created by an auditor and shared with the customer organization. The customer then uploads evidence, which the auditor reviews and either approves or flags for issues. */
|
|
53
39
|
export interface InformationRequest {
|
|
54
40
|
/** The unique identifier for the information request within Vanta's system. This is the primary identifier used in all API endpoints. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7") */
|
|
@@ -65,7 +51,7 @@ export interface InformationRequest {
|
|
|
65
51
|
cadence: InformationRequestCadence | null;
|
|
66
52
|
/** Always empty on read. Use `linkedControlIds` for control linkage and `segmentIds` for request assignment. */
|
|
67
53
|
frameworkCodes: InformationRequestFrameworkCodesList;
|
|
68
|
-
/** Audit segments this request is assigned to. Empty means unassigned. Resolved against the current audit scope
|
|
54
|
+
/** Audit segments this request is assigned to. Empty means unassigned. Resolved against the current audit scope -- stale IDs are dropped. This field is a current-scope projection, not a stored watermark. An audit-scope change that drops or adds IDs here does not update creationDate, modificationDate, or deletionDate, so it does not appear in `changedSinceDate` delta sync on its own. Re-fetch the list without that parameter, or GET the request by id, to see the current projection. */
|
|
69
55
|
segmentIds: InformationRequestSegmentIdsList;
|
|
70
56
|
/** Detailed description explaining what evidence is needed and why. Should provide clear instructions to help the customer understand what to submit. */
|
|
71
57
|
description: string | null;
|
|
@@ -88,7 +74,6 @@ export interface InformationRequest {
|
|
|
88
74
|
/** Resource owner (user or team) assigned to this information request. Returns null if no resource owner is assigned. */
|
|
89
75
|
ownerAssignment: ResourceOwner | null;
|
|
90
76
|
}
|
|
91
|
-
export declare const InformationRequest: S.Schema<InformationRequest>;
|
|
92
77
|
export interface CreateAuditorRequest {
|
|
93
78
|
/** Email of the new user. */
|
|
94
79
|
email: string;
|
|
@@ -97,7 +82,6 @@ export interface CreateAuditorRequest {
|
|
|
97
82
|
/** Last name of the new user. */
|
|
98
83
|
familyName: string;
|
|
99
84
|
}
|
|
100
|
-
export declare const CreateAuditorRequest: S.Schema<CreateAuditorRequest>;
|
|
101
85
|
export interface Auditor {
|
|
102
86
|
id: string;
|
|
103
87
|
/** The unique identifier for the organization. */
|
|
@@ -109,7 +93,6 @@ export interface Auditor {
|
|
|
109
93
|
/** The family name (last name) of the auditor. */
|
|
110
94
|
familyName: string;
|
|
111
95
|
}
|
|
112
|
-
export declare const Auditor: S.Schema<Auditor>;
|
|
113
96
|
export interface CreateCommentForAuditEvidenceRequest {
|
|
114
97
|
auditId: string;
|
|
115
98
|
auditEvidenceId: string;
|
|
@@ -120,7 +103,6 @@ export interface CreateCommentForAuditEvidenceRequest {
|
|
|
120
103
|
/** When the comment was created in the external system */
|
|
121
104
|
creationDate: string;
|
|
122
105
|
}
|
|
123
|
-
export declare const CreateCommentForAuditEvidenceRequest: S.Schema<CreateCommentForAuditEvidenceRequest>;
|
|
124
106
|
export interface Comment {
|
|
125
107
|
/** The unique identifier for the comment */
|
|
126
108
|
id: string;
|
|
@@ -139,7 +121,6 @@ export interface Comment {
|
|
|
139
121
|
/** Human-readable display name of the comment author. Null if the author's name is not available (e.g., user was deleted). This enables correct author attribution in integrations where users cannot be reliably matched across systems by email alone. */
|
|
140
122
|
authorName: string | null;
|
|
141
123
|
}
|
|
142
|
-
export declare const Comment: S.Schema<Comment>;
|
|
143
124
|
export interface CreateCommentForControlRequest {
|
|
144
125
|
auditId: string;
|
|
145
126
|
controlId: string;
|
|
@@ -150,8 +131,7 @@ export interface CreateCommentForControlRequest {
|
|
|
150
131
|
/** Timestamp when the comment was created in the external audit management system. This allows synchronizing comment timestamps from external systems. Format: ISO 8601 UTC timestamp. */
|
|
151
132
|
creationDate: string;
|
|
152
133
|
}
|
|
153
|
-
|
|
154
|
-
/** A comment on a control within an audit. These threaded discussions let auditors and customers collaborate on a specific control — asking questions, documenting reasoning, or recording follow-ups — directly against the control being assessed. Audit control comments are scoped to a single audit engagement and are distinct from any organization-internal control comments. */
|
|
134
|
+
/** A comment on a control within an audit. These threaded discussions let auditors and customers collaborate on a specific control -- asking questions, documenting reasoning, or recording follow-ups -- directly against the control being assessed. Audit control comments are scoped to a single audit engagement and are distinct from any organization-internal control comments. */
|
|
155
135
|
export interface AuditControlComment {
|
|
156
136
|
/** The unique identifier for the comment within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
157
137
|
id: string;
|
|
@@ -168,7 +148,6 @@ export interface AuditControlComment {
|
|
|
168
148
|
/** Human-readable display name of the comment author. Null if the author's name is not available (e.g., user was deleted). This enables correct author attribution in integrations where users cannot be reliably matched across systems by email alone. */
|
|
169
149
|
authorName: string | null;
|
|
170
150
|
}
|
|
171
|
-
export declare const AuditControlComment: S.Schema<AuditControlComment>;
|
|
172
151
|
export interface CreateCommentForInformationRequestRequest {
|
|
173
152
|
auditId: string;
|
|
174
153
|
requestId: string;
|
|
@@ -179,7 +158,6 @@ export interface CreateCommentForInformationRequestRequest {
|
|
|
179
158
|
/** Timestamp when the comment was created in the external audit management system. This allows synchronizing comment timestamps from external systems. Format: ISO 8601 UTC timestamp. */
|
|
180
159
|
creationDate: string;
|
|
181
160
|
}
|
|
182
|
-
export declare const CreateCommentForInformationRequestRequest: S.Schema<CreateCommentForInformationRequestRequest>;
|
|
183
161
|
/** A comment on an information request enables communication between auditors and customers regarding evidence requirements and submissions. These threaded discussions help clarify requests, explain or resolve questions about evidence, and are always visible to both parties once created. */
|
|
184
162
|
export interface InformationRequestComment {
|
|
185
163
|
/** The unique identifier for the comment within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
@@ -197,23 +175,16 @@ export interface InformationRequestComment {
|
|
|
197
175
|
/** Human-readable display name of the comment author. Null if the author's name is not available (e.g., user was deleted). This enables correct author attribution in integrations where users cannot be reliably matched across systems by email alone. */
|
|
198
176
|
authorName: string | null;
|
|
199
177
|
}
|
|
200
|
-
export declare const InformationRequestComment: S.Schema<InformationRequestComment>;
|
|
201
178
|
export type ControlDomain = "ARTIFICIAL_&_AUTONOMOUS_TECHNOLOGY" | "ASSET_MANAGEMENT" | "BUSINESS_CONTINUITY_&_DISASTER_RECOVERY" | "CAPACITY_&_PERFORMANCE_PLANNING" | "CHANGE_MANAGEMENT" | "CLOUD_SECURITY" | "COMPLIANCE" | "CONFIGURATION_MANAGEMENT" | "CONTINUOUS_MONITORING" | "CRYPTOGRAPHIC_PROTECTIONS" | "DATA_CLASSIFICATION_&_HANDLING" | "EMBEDDED_TECHNOLOGY" | "ENDPOINT_SECURITY" | "HUMAN_RESOURCES_SECURITY" | "IDENTIFICATION_&_AUTHENTICATION" | "INCIDENT_RESPONSE" | "INFORMATION_ASSURANCE" | "MAINTENANCE" | "MOBILE_DEVICE_MANAGEMENT" | "NETWORK SECURITY" | "PHYSICAL_&_ENVIRONMENTAL_SECURITY" | "PRIVACY" | "PROJECT_&_RESOURCE MANAGEMENT" | "RISK_MANAGEMENT" | "SECURE_ENGINEERING_&_ARCHITECTURE" | "SECURITY_AWARENESS_&_TRAINING" | "SECURITY_OPERATIONS" | "SECURITY_&_PRIVACY_GOVERNANCE" | "TECHNOLOGY_DEVELOPMENT_&_ACQUISITION" | "THIRD-PARTY_MANAGEMENT" | "THREAT_MANAGEMENT" | "VULNERABILITY_&_PATCH_MANAGEMENT" | "WEB_SECURITY" | "ADMINISTRATIVE" | "PHYSICAL" | "TECHNICAL" | "BASIC" | "DERIVED";
|
|
202
|
-
export declare const ControlDomain: any;
|
|
203
179
|
export type FrameworkId = "AU_E_8" | "AWS_FTR" | "CCPA" | "CIS_V8" | "CPS_234" | "DORA" | "FEDRAMP" | "GDPR" | "HIPAA" | "HITRUST_E1" | "ISO_27001" | "ISO_27001_2022" | "ISO_27017" | "ISO_27018" | "ISO_27701" | "ISO_42001" | "ISO_9001" | "MSFT_SSPA" | "MVSP" | "NIS_2D" | "NIST_171" | "NIST_171_R3" | "NIST_53" | "NIST_AI_RMF" | "NIST_CSF" | "NIST_CSF_2" | "OFDSS" | "PCI_SAQ_A" | "PCI_SAQ_A_EP" | "PCI_SAQ_D_MERCHANT" | "PCI_SAQ_D_SP" | "PCI_DDS_4" | "SOC_2" | "SOX_ITGC" | "UK_CYBER_ESSENTIALS" | "US_DATA_PRIVACY";
|
|
204
|
-
export declare const FrameworkId: any;
|
|
205
180
|
export type FrameworkSectionFrameworkId = FrameworkId | string;
|
|
206
|
-
export declare const FrameworkSectionFrameworkId: S.Schema<FrameworkSectionFrameworkId>;
|
|
207
181
|
export interface FrameworkSection {
|
|
208
182
|
frameworkId: FrameworkSectionFrameworkId;
|
|
209
183
|
sectionId: string;
|
|
210
184
|
}
|
|
211
|
-
export declare const FrameworkSection: S.Schema<FrameworkSection>;
|
|
212
185
|
/** Framework sections that the control should be mapped to. */
|
|
213
186
|
export type CreateCustomControlRequestSectionsList = Array<FrameworkSection>;
|
|
214
|
-
export declare const CreateCustomControlRequestSectionsList: S.Schema<CreateCustomControlRequestSectionsList>;
|
|
215
187
|
export type GdprRole = "BOTH" | "CONTROLLER" | "PROCESSOR";
|
|
216
|
-
export declare const GdprRole: any;
|
|
217
188
|
export interface CreateCustomControlRequest {
|
|
218
189
|
auditId: string;
|
|
219
190
|
/** The external id of the control. */
|
|
@@ -231,12 +202,9 @@ export interface CreateCustomControlRequest {
|
|
|
231
202
|
/** The GDPR role of the control, which specifies whether the data is being "collected" or "processed". See the GdprRole enum for possible values. This field should only be included for controls that are to be mapped to the GDPR framework. */
|
|
232
203
|
role?: GdprRole | (string & {}) | null;
|
|
233
204
|
}
|
|
234
|
-
export declare const CreateCustomControlRequest: S.Schema<CreateCustomControlRequest>;
|
|
235
205
|
export type ControlSource = "Vanta" | "Custom";
|
|
236
|
-
export declare const ControlSource: any;
|
|
237
206
|
/** The security domains that the control belongs to. */
|
|
238
207
|
export type AuditorApiControlDomainsList = Array<string>;
|
|
239
|
-
export declare const AuditorApiControlDomainsList: S.Schema<AuditorApiControlDomainsList>;
|
|
240
208
|
export interface Owner {
|
|
241
209
|
/** Unique identifier for the person. */
|
|
242
210
|
id: string;
|
|
@@ -245,19 +213,14 @@ export interface Owner {
|
|
|
245
213
|
/** Email address of the person. */
|
|
246
214
|
emailAddress: string;
|
|
247
215
|
}
|
|
248
|
-
export declare const Owner: S.Schema<Owner>;
|
|
249
216
|
export type CustomFieldValueCase1List = Array<string>;
|
|
250
|
-
export declare const CustomFieldValueCase1List: S.Schema<CustomFieldValueCase1List>;
|
|
251
217
|
export type CustomFieldValue = string | CustomFieldValueCase1List;
|
|
252
|
-
export declare const CustomFieldValue: S.Schema<CustomFieldValue>;
|
|
253
218
|
export interface CustomField {
|
|
254
219
|
label: string;
|
|
255
220
|
value: CustomFieldValue;
|
|
256
221
|
}
|
|
257
|
-
export declare const CustomField: S.Schema<CustomField>;
|
|
258
222
|
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
259
223
|
export type AuditorApiControlCustomFieldsList = Array<CustomField>;
|
|
260
|
-
export declare const AuditorApiControlCustomFieldsList: S.Schema<AuditorApiControlCustomFieldsList>;
|
|
261
224
|
export interface AuditorApiControl {
|
|
262
225
|
/** The control's unique ID. */
|
|
263
226
|
id: string;
|
|
@@ -282,12 +245,9 @@ export interface AuditorApiControl {
|
|
|
282
245
|
/** When the control was last modified. Returns null for Vanta library controls. */
|
|
283
246
|
modificationDate: string | null;
|
|
284
247
|
}
|
|
285
|
-
export declare const AuditorApiControl: S.Schema<AuditorApiControl>;
|
|
286
248
|
/** A set of controls, referenced by id, to map the evidence to */
|
|
287
249
|
export type CreateCustomEvidenceRequestRequestControlIdsList = Array<string>;
|
|
288
|
-
export declare const CreateCustomEvidenceRequestRequestControlIdsList: S.Schema<CreateCustomEvidenceRequestRequestControlIdsList>;
|
|
289
250
|
export type RecurrenceDuration = "P0D" | "P1D" | "P1W" | "P1M" | "P3M" | "P6M" | "P1Y" | "P2Y";
|
|
290
|
-
export declare const RecurrenceDuration: any;
|
|
291
251
|
export interface CreateCustomEvidenceRequestRequest {
|
|
292
252
|
auditId: string;
|
|
293
253
|
/** A set of controls, referenced by id, to map the evidence to */
|
|
@@ -305,10 +265,8 @@ export interface CreateCustomEvidenceRequestRequest {
|
|
|
305
265
|
/** Email of the auditor who created the custom evidence request. */
|
|
306
266
|
auditorEmail: string;
|
|
307
267
|
}
|
|
308
|
-
export declare const CreateCustomEvidenceRequestRequest: S.Schema<CreateCustomEvidenceRequestRequest>;
|
|
309
268
|
/** A set of controls, referenced by id, to map the evidence to */
|
|
310
269
|
export type CustomEvidenceRequestControlIdsList = Array<string>;
|
|
311
|
-
export declare const CustomEvidenceRequestControlIdsList: S.Schema<CustomEvidenceRequestControlIdsList>;
|
|
312
270
|
export interface CustomEvidenceRequest {
|
|
313
271
|
/** Internal id of the custom evidence request within Vanta */
|
|
314
272
|
id: string;
|
|
@@ -325,13 +283,10 @@ export interface CustomEvidenceRequest {
|
|
|
325
283
|
/** Whether this document contains sensitive data and needs more restrictive read access */
|
|
326
284
|
isRestricted: boolean;
|
|
327
285
|
}
|
|
328
|
-
export declare const CustomEvidenceRequest: S.Schema<CustomEvidenceRequest>;
|
|
329
286
|
/** Framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
330
287
|
export type CreateInformationRequestRequestFrameworkCodesList = Array<string>;
|
|
331
|
-
export declare const CreateInformationRequestRequestFrameworkCodesList: S.Schema<CreateInformationRequestRequestFrameworkCodesList>;
|
|
332
288
|
/** Control IDs to link directly to this request, beyond those automatically mapped from framework codes. Each must be the `id` of an existing control in the customer's organization (the identifier returned by the controls endpoints). Unknown IDs and controls without an active mapping to a framework in the audit are skipped. Omit or pass an empty array for no direct control links. */
|
|
333
289
|
export type CreateInformationRequestRequestAdditionalControlIdsList = Array<string>;
|
|
334
|
-
export declare const CreateInformationRequestRequestAdditionalControlIdsList: S.Schema<CreateInformationRequestRequestAdditionalControlIdsList>;
|
|
335
290
|
export interface CreateInformationRequestRequest {
|
|
336
291
|
auditId: string;
|
|
337
292
|
/** External unique ID to prevent duplicate requests across audit systems. Must be unique within the audit. Used for idempotency. */
|
|
@@ -353,7 +308,6 @@ export interface CreateInformationRequestRequest {
|
|
|
353
308
|
/** Control IDs to link directly to this request, beyond those automatically mapped from framework codes. Each must be the `id` of an existing control in the customer's organization (the identifier returned by the controls endpoints). Unknown IDs and controls without an active mapping to a framework in the audit are skipped. Omit or pass an empty array for no direct control links. */
|
|
354
309
|
additionalControlIds?: CreateInformationRequestRequestAdditionalControlIdsList;
|
|
355
310
|
}
|
|
356
|
-
export declare const CreateInformationRequestRequest: S.Schema<CreateInformationRequestRequest>;
|
|
357
311
|
export interface DeleteCommentForControlRequest {
|
|
358
312
|
auditId: string;
|
|
359
313
|
controlId: string;
|
|
@@ -361,10 +315,8 @@ export interface DeleteCommentForControlRequest {
|
|
|
361
315
|
/** Email address of the comment author. Must match an existing Vanta user who belongs to the audit firm making the API request. This email uniquely identifies the author across systems. */
|
|
362
316
|
email: string;
|
|
363
317
|
}
|
|
364
|
-
export declare const DeleteCommentForControlRequest: S.Schema<DeleteCommentForControlRequest>;
|
|
365
318
|
export interface DeleteCommentForControlResponse {
|
|
366
319
|
}
|
|
367
|
-
export declare const DeleteCommentForControlResponse: S.Schema<DeleteCommentForControlResponse>;
|
|
368
320
|
export interface DeleteCommentForInformationRequestRequest {
|
|
369
321
|
auditId: string;
|
|
370
322
|
requestId: string;
|
|
@@ -372,21 +324,16 @@ export interface DeleteCommentForInformationRequestRequest {
|
|
|
372
324
|
/** Email address of the comment author. Must match an existing Vanta user who belongs to the audit firm making the API request. This email uniquely identifies the author across systems. */
|
|
373
325
|
email: string;
|
|
374
326
|
}
|
|
375
|
-
export declare const DeleteCommentForInformationRequestRequest: S.Schema<DeleteCommentForInformationRequestRequest>;
|
|
376
327
|
export interface DeleteCommentForInformationRequestResponse {
|
|
377
328
|
}
|
|
378
|
-
export declare const DeleteCommentForInformationRequestResponse: S.Schema<DeleteCommentForInformationRequestResponse>;
|
|
379
329
|
export interface DeleteInformationRequestRequest {
|
|
380
330
|
auditId: string;
|
|
381
331
|
requestId: string;
|
|
382
332
|
}
|
|
383
|
-
export declare const DeleteInformationRequestRequest: S.Schema<DeleteInformationRequestRequest>;
|
|
384
333
|
export interface DeleteInformationRequestResponse {
|
|
385
334
|
}
|
|
386
|
-
export declare const DeleteInformationRequestResponse: S.Schema<DeleteInformationRequestResponse>;
|
|
387
335
|
/** Emails of auditors who may access the new audit. Minimum one entry required. Each email must match an active user in the authenticated audit firm's domain. */
|
|
388
336
|
export type DuplicateRequestAllowAuditorEmailsList = Array<string>;
|
|
389
|
-
export declare const DuplicateRequestAllowAuditorEmailsList: S.Schema<DuplicateRequestAllowAuditorEmailsList>;
|
|
390
337
|
export interface DuplicateRequest {
|
|
391
338
|
/** ID of the source IRL audit to duplicate. */
|
|
392
339
|
sourceAuditId: string;
|
|
@@ -401,28 +348,21 @@ export interface DuplicateRequest {
|
|
|
401
348
|
/** Emails of auditors who may access the new audit. Minimum one entry required. Each email must match an active user in the authenticated audit firm's domain. */
|
|
402
349
|
allowAuditorEmails: DuplicateRequestAllowAuditorEmailsList;
|
|
403
350
|
}
|
|
404
|
-
export declare const DuplicateRequest: S.Schema<DuplicateRequest>;
|
|
405
351
|
/** Emails of auditors with access to audit */
|
|
406
352
|
export type AuditAllowAuditorEmailsList = Array<string>;
|
|
407
|
-
export declare const AuditAllowAuditorEmailsList: S.Schema<AuditAllowAuditorEmailsList>;
|
|
408
353
|
export type AuditFocus = "EXTERNAL" | "INTERNAL";
|
|
409
|
-
export declare const AuditFocus: any;
|
|
410
354
|
export type AuditIrlGenerationStatus = "PENDING" | "RUNNING" | "READY" | "FAILED";
|
|
411
|
-
export declare const AuditIrlGenerationStatus: any;
|
|
412
355
|
/** Metadata about the auditor request list. This field is only present for IRL (Information Request List) based audits and will be undefined for standard audits. Use the presence of this field to differentiate between IRL and non-IRL audits. */
|
|
413
356
|
export interface AuditAuditorRequestListMetadata {
|
|
414
357
|
/** Timestamp when information requests were shared with the customer. Null if not shared. */
|
|
415
358
|
requestsSharedWithCustomer: string | null;
|
|
416
359
|
}
|
|
417
|
-
export declare const AuditAuditorRequestListMetadata: S.Schema<AuditAuditorRequestListMetadata>;
|
|
418
360
|
export type AuditSegmentKind = "PROGRAM" | "SYSTEM";
|
|
419
|
-
export declare const AuditSegmentKind: any;
|
|
420
361
|
/** The framework this segment is in. */
|
|
421
362
|
export interface AuditSegmentFramework {
|
|
422
363
|
/** Display name of the framework. */
|
|
423
364
|
displayName: string;
|
|
424
365
|
}
|
|
425
|
-
export declare const AuditSegmentFramework: S.Schema<AuditSegmentFramework>;
|
|
426
366
|
/** A business unit or information-system association on an audit segment. */
|
|
427
367
|
export interface AuditSegmentAssociation {
|
|
428
368
|
/** The unique identifier of the associated business unit or information system. */
|
|
@@ -430,14 +370,10 @@ export interface AuditSegmentAssociation {
|
|
|
430
370
|
/** The human-readable name of the associated business unit or information system. */
|
|
431
371
|
displayName: string;
|
|
432
372
|
}
|
|
433
|
-
export declare const AuditSegmentAssociation: S.Schema<AuditSegmentAssociation>;
|
|
434
373
|
export type AuditSoc2ReportType = "soc2type1" | "soc2type2";
|
|
435
|
-
export declare const AuditSoc2ReportType: any;
|
|
436
374
|
export type AuditSoc2Tsc = "SECURITY" | "AVAILABILITY" | "CONFIDENTIALITY" | "PRIVACY" | "PROCESSING_INTEGRITY";
|
|
437
|
-
export declare const AuditSoc2Tsc: any;
|
|
438
375
|
/** Trust Services Criteria this segment covers. */
|
|
439
376
|
export type AuditSoc2DeliverableTscsList = Array<AuditSoc2Tsc>;
|
|
440
|
-
export declare const AuditSoc2DeliverableTscsList: S.Schema<AuditSoc2DeliverableTscsList>;
|
|
441
377
|
/** Per-segment SOC 2 report configuration. Null when the segment is not SOC 2 or has no configured deliverable. */
|
|
442
378
|
export interface AuditSoc2Deliverable {
|
|
443
379
|
/** SOC 2 report type for this segment. */
|
|
@@ -445,8 +381,7 @@ export interface AuditSoc2Deliverable {
|
|
|
445
381
|
/** Trust Services Criteria this segment covers. */
|
|
446
382
|
tscs: AuditSoc2DeliverableTscsList;
|
|
447
383
|
}
|
|
448
|
-
|
|
449
|
-
/** One segment of an audit's scope. A live audit returns every in-scope program and system segment; more than one segment does not by itself imply more than one framework. Soft-deleted audits return an empty list. `displayName` is the segment label owned by audit scope (for example "{Framework}" or "{Framework} — {Business Unit}"). `soc2Deliverable` is the per-segment SOC 2 config, or null. `businessUnit` is set for program segments that are BU-scoped and null otherwise. `system` is set for system segments and null otherwise. */
|
|
384
|
+
/** One segment of an audit's scope. A live audit returns every in-scope program and system segment; more than one segment does not by itself imply more than one framework. Soft-deleted audits return an empty list. `displayName` is the segment label owned by audit scope (for example "{Framework}" or "{Framework} -- {Business Unit}"). `soc2Deliverable` is the per-segment SOC 2 config, or null. `businessUnit` is set for program segments that are BU-scoped and null otherwise. `system` is set for system segments and null otherwise. */
|
|
450
385
|
export interface AuditSegment {
|
|
451
386
|
/** The unique identifier for the segment. */
|
|
452
387
|
id: string;
|
|
@@ -463,10 +398,8 @@ export interface AuditSegment {
|
|
|
463
398
|
/** SOC 2 report type and Trust Services Criteria for this segment, or null. */
|
|
464
399
|
soc2Deliverable: AuditSoc2Deliverable | null;
|
|
465
400
|
}
|
|
466
|
-
export declare const AuditSegment: S.Schema<AuditSegment>;
|
|
467
401
|
/** The audit's scope as a list of segments. Always present. A live audit returns every in-scope program and system segment; more than one segment does not by itself imply more than one framework. Soft-deleted audits return an empty list. Prefer this over the deprecated top-level `framework` field. */
|
|
468
402
|
export type AuditSegmentsList = Array<AuditSegment>;
|
|
469
|
-
export declare const AuditSegmentsList: S.Schema<AuditSegmentsList>;
|
|
470
403
|
export interface Audit {
|
|
471
404
|
/** The unique identifier for the audit. */
|
|
472
405
|
id: string;
|
|
@@ -482,7 +415,7 @@ export interface Audit {
|
|
|
482
415
|
auditEndDate: string;
|
|
483
416
|
/** Timestamp at which auditors gain access to the audit. Occurs before the audit window begins */
|
|
484
417
|
earlyAccessStartsAt: string | null;
|
|
485
|
-
/** Legacy singular framework display name from the audit type. Incomplete for a multi-framework audit
|
|
418
|
+
/** Legacy singular framework display name from the audit type. Incomplete for a multi-framework audit -- use `segments` instead. */
|
|
486
419
|
framework: string;
|
|
487
420
|
/** The display name for the audit. Returns the custom audit name if set, otherwise returns the framework name. */
|
|
488
421
|
displayName: string;
|
|
@@ -507,7 +440,6 @@ export interface Audit {
|
|
|
507
440
|
/** The audit's scope as a list of segments. Always present. A live audit returns every in-scope program and system segment; more than one segment does not by itself imply more than one framework. Soft-deleted audits return an empty list. Prefer this over the deprecated top-level `framework` field. */
|
|
508
441
|
segments: AuditSegmentsList;
|
|
509
442
|
}
|
|
510
|
-
export declare const Audit: S.Schema<Audit>;
|
|
511
443
|
export interface FlagInformationRequestEvidenceRequest {
|
|
512
444
|
auditId: string;
|
|
513
445
|
requestId: string;
|
|
@@ -516,33 +448,25 @@ export interface FlagInformationRequestEvidenceRequest {
|
|
|
516
448
|
/** Detailed explanation of what issues were found with the evidence. This reason is visible to the customer and guides them on what to fix. Must be at least 1 character. */
|
|
517
449
|
reason: string;
|
|
518
450
|
}
|
|
519
|
-
export declare const FlagInformationRequestEvidenceRequest: S.Schema<FlagInformationRequestEvidenceRequest>;
|
|
520
451
|
export interface GetAuditRequest {
|
|
521
452
|
auditId: string;
|
|
522
453
|
}
|
|
523
|
-
export declare const GetAuditRequest: S.Schema<GetAuditRequest>;
|
|
524
454
|
export interface GetAuditEvidenceRequest {
|
|
525
455
|
auditId: string;
|
|
526
456
|
auditEvidenceId: string;
|
|
527
457
|
}
|
|
528
|
-
export declare const GetAuditEvidenceRequest: S.Schema<GetAuditEvidenceRequest>;
|
|
529
458
|
export type AuditEvidenceState = "Accepted" | "Flagged" | "Initialized" | "NA" | "Not ready for audit" | "Ready for audit";
|
|
530
|
-
export declare const AuditEvidenceState: any;
|
|
531
459
|
export type AuditEvidenceType = "Evidence Request" | "Policy" | "Test";
|
|
532
|
-
export declare const AuditEvidenceType: any;
|
|
533
460
|
/** A list sections associated to the control */
|
|
534
461
|
export type EvidenceControlSectionNamesList = Array<string>;
|
|
535
|
-
export declare const EvidenceControlSectionNamesList: S.Schema<EvidenceControlSectionNamesList>;
|
|
536
462
|
export interface EvidenceControl {
|
|
537
463
|
/** Name of control associated to this evidence */
|
|
538
464
|
name: string;
|
|
539
465
|
/** A list sections associated to the control */
|
|
540
466
|
sectionNames: EvidenceControlSectionNamesList;
|
|
541
467
|
}
|
|
542
|
-
export declare const EvidenceControl: S.Schema<EvidenceControl>;
|
|
543
468
|
/** The controls associated to this evidence */
|
|
544
469
|
export type EvidenceRelatedControlsList = Array<EvidenceControl>;
|
|
545
|
-
export declare const EvidenceRelatedControlsList: S.Schema<EvidenceRelatedControlsList>;
|
|
546
470
|
export interface Evidence {
|
|
547
471
|
/** Vanta internal reference to evidence */
|
|
548
472
|
id: string;
|
|
@@ -569,39 +493,31 @@ export interface Evidence {
|
|
|
569
493
|
/** The description for the evidence. It will be set to null if the evidence is deleted */
|
|
570
494
|
description: string | null;
|
|
571
495
|
}
|
|
572
|
-
export declare const Evidence: S.Schema<Evidence>;
|
|
573
496
|
export interface GetAuditEvidenceCommentRequest {
|
|
574
497
|
auditId: string;
|
|
575
498
|
auditEvidenceId: string;
|
|
576
499
|
commentId: string;
|
|
577
500
|
}
|
|
578
|
-
export declare const GetAuditEvidenceCommentRequest: S.Schema<GetAuditEvidenceCommentRequest>;
|
|
579
501
|
export interface GetCommentForInformationRequestRequest {
|
|
580
502
|
auditId: string;
|
|
581
503
|
requestId: string;
|
|
582
504
|
commentId: string;
|
|
583
505
|
}
|
|
584
|
-
export declare const GetCommentForInformationRequestRequest: S.Schema<GetCommentForInformationRequestRequest>;
|
|
585
506
|
export interface GetFrameworkCodesRequest {
|
|
586
507
|
auditId: string;
|
|
587
508
|
}
|
|
588
|
-
export declare const GetFrameworkCodesRequest: S.Schema<GetFrameworkCodesRequest>;
|
|
589
509
|
/** Valid framework codes for this audit. */
|
|
590
510
|
export type FrameworkCodesFrameworkCodesList = Array<string>;
|
|
591
|
-
export declare const FrameworkCodesFrameworkCodesList: S.Schema<FrameworkCodesFrameworkCodesList>;
|
|
592
511
|
/** Valid codes for this framework, sorted. */
|
|
593
512
|
export type FrameworkCodesByFrameworkCodesList = Array<string>;
|
|
594
|
-
export declare const FrameworkCodesByFrameworkCodesList: S.Schema<FrameworkCodesByFrameworkCodesList>;
|
|
595
513
|
export interface FrameworkCodesByFramework {
|
|
596
514
|
/** Display name of the in-scope framework these codes belong to. */
|
|
597
515
|
framework: string;
|
|
598
516
|
/** Valid codes for this framework, sorted. */
|
|
599
517
|
codes: FrameworkCodesByFrameworkCodesList;
|
|
600
518
|
}
|
|
601
|
-
export declare const FrameworkCodesByFramework: S.Schema<FrameworkCodesByFramework>;
|
|
602
519
|
/** Valid codes grouped by each distinct in-scope framework. A code that exists on two frameworks appears in both groups. Two segments that share a framework contribute one group. `framework` is the display name. */
|
|
603
520
|
export type FrameworkCodesCodesByFrameworkList = Array<FrameworkCodesByFramework>;
|
|
604
|
-
export declare const FrameworkCodesCodesByFrameworkList: S.Schema<FrameworkCodesCodesByFrameworkList>;
|
|
605
521
|
/** Framework codes response resource */
|
|
606
522
|
export interface FrameworkCodes {
|
|
607
523
|
/** Valid framework codes for this audit. */
|
|
@@ -609,20 +525,16 @@ export interface FrameworkCodes {
|
|
|
609
525
|
/** Valid codes grouped by each distinct in-scope framework. A code that exists on two frameworks appears in both groups. Two segments that share a framework contribute one group. `framework` is the display name. */
|
|
610
526
|
codesByFramework: FrameworkCodesCodesByFrameworkList;
|
|
611
527
|
}
|
|
612
|
-
export declare const FrameworkCodes: S.Schema<FrameworkCodes>;
|
|
613
528
|
export interface GetInformationRequestRequest {
|
|
614
529
|
auditId: string;
|
|
615
530
|
requestId: string;
|
|
616
531
|
}
|
|
617
|
-
export declare const GetInformationRequestRequest: S.Schema<GetInformationRequestRequest>;
|
|
618
532
|
export interface GetInformationRequestEvidenceRequest {
|
|
619
533
|
auditId: string;
|
|
620
534
|
requestId: string;
|
|
621
535
|
evidenceId: string;
|
|
622
536
|
}
|
|
623
|
-
export declare const GetInformationRequestEvidenceRequest: S.Schema<GetInformationRequestEvidenceRequest>;
|
|
624
537
|
export type InformationRequestSupportedEvidenceType = "UPLOADED_DOCUMENT" | "OBSERVATION" | "LINK" | "VANTA_DOCUMENT" | "VANTA_POLICY" | "VANTA_TEST" | "VANTA_TEST_SNAPSHOT";
|
|
625
|
-
export declare const InformationRequestSupportedEvidenceType: any;
|
|
626
538
|
/** Evidence in the form of an uploaded document file. The URL is a temporary presigned URL that expires after a certain period. */
|
|
627
539
|
export interface UploadedDocumentEvidence {
|
|
628
540
|
/** The unique identifier for the uploaded document in Vanta's system. */
|
|
@@ -634,7 +546,6 @@ export interface UploadedDocumentEvidence {
|
|
|
634
546
|
/** A presigned URL for downloading the document. This URL is temporary and expires after a limited time. Request a new evidence list to get a fresh URL if expired. */
|
|
635
547
|
url: string;
|
|
636
548
|
}
|
|
637
|
-
export declare const UploadedDocumentEvidence: S.Schema<UploadedDocumentEvidence>;
|
|
638
549
|
/** Evidence in the form of a link to external documentation or resources. */
|
|
639
550
|
export interface LinkEvidence {
|
|
640
551
|
/** The title or descriptive name for the link. */
|
|
@@ -644,22 +555,18 @@ export interface LinkEvidence {
|
|
|
644
555
|
/** The URL pointing to the external documentation or resource. */
|
|
645
556
|
url: string;
|
|
646
557
|
}
|
|
647
|
-
export declare const LinkEvidence: S.Schema<LinkEvidence>;
|
|
648
558
|
/** Evidence in the form of a text observation or note. */
|
|
649
559
|
export interface ObservationEvidence {
|
|
650
560
|
/** The text content of the observation. */
|
|
651
561
|
observationDetails: string;
|
|
652
562
|
}
|
|
653
|
-
export declare const ObservationEvidence: S.Schema<ObservationEvidence>;
|
|
654
563
|
/** Information about the user who added this file version to the document. Undefined if the user information is not available. */
|
|
655
564
|
export interface VantaDocumentEvidenceAddedBy {
|
|
656
565
|
email: string;
|
|
657
566
|
name: string;
|
|
658
567
|
}
|
|
659
|
-
export declare const VantaDocumentEvidenceAddedBy: S.Schema<VantaDocumentEvidenceAddedBy>;
|
|
660
568
|
/** Discriminator to identify this as an uploaded file. */
|
|
661
569
|
export type VantaDocumentUploadedEvidenceType = "uploaded";
|
|
662
|
-
export declare const VantaDocumentUploadedEvidenceType: any;
|
|
663
570
|
/** Represents an uploaded file in a Vanta Document. The file is stored in Vanta's system and accessed via a presigned URL. */
|
|
664
571
|
export interface VantaDocumentUploadedEvidence {
|
|
665
572
|
/** Discriminator to identify this as an uploaded file. */
|
|
@@ -673,10 +580,8 @@ export interface VantaDocumentUploadedEvidence {
|
|
|
673
580
|
/** A presigned URL for downloading the document. This URL is temporary and expires after a limited time. Request a new evidence list to get a fresh URL if expired. */
|
|
674
581
|
url: string;
|
|
675
582
|
}
|
|
676
|
-
export declare const VantaDocumentUploadedEvidence: S.Schema<VantaDocumentUploadedEvidence>;
|
|
677
583
|
/** Discriminator to identify this as an external link. */
|
|
678
584
|
export type VantaDocumentLinkEvidenceType = "link";
|
|
679
|
-
export declare const VantaDocumentLinkEvidenceType: any;
|
|
680
585
|
/** Represents an external link in a Vanta Document. The link points to documentation hosted outside of Vanta's system. */
|
|
681
586
|
export interface VantaDocumentLinkEvidence {
|
|
682
587
|
/** Discriminator to identify this as an external link. */
|
|
@@ -686,10 +591,8 @@ export interface VantaDocumentLinkEvidence {
|
|
|
686
591
|
/** The URL pointing to the external documentation or resource. */
|
|
687
592
|
url: string;
|
|
688
593
|
}
|
|
689
|
-
export declare const VantaDocumentLinkEvidence: S.Schema<VantaDocumentLinkEvidence>;
|
|
690
594
|
/** The file or link associated with this document version. Use the `type` discriminator to determine whether it's an uploaded file or an external link. */
|
|
691
595
|
export type VantaDocumentEvidenceFile = VantaDocumentUploadedEvidence | VantaDocumentLinkEvidence;
|
|
692
|
-
export declare const VantaDocumentEvidenceFile: S.Schema<VantaDocumentEvidenceFile>;
|
|
693
596
|
/** Evidence in the form of a Vanta Document. Vanta Documents are managed documents with metadata like expiration dates and versioning. They can either be uploaded files stored in Vanta or links to external documentation. */
|
|
694
597
|
export interface VantaDocumentEvidence {
|
|
695
598
|
/** The title of the document as displayed in Vanta. */
|
|
@@ -705,10 +608,8 @@ export interface VantaDocumentEvidence {
|
|
|
705
608
|
/** The file or link associated with this document version. Use the `type` discriminator to determine whether it's an uploaded file or an external link. */
|
|
706
609
|
file: VantaDocumentEvidenceFile;
|
|
707
610
|
}
|
|
708
|
-
export declare const VantaDocumentEvidence: S.Schema<VantaDocumentEvidence>;
|
|
709
611
|
/** Information about the user who last edited this policy version. Undefined if the user information is not available. */
|
|
710
612
|
export type VantaPolicyEvidenceLastEditedBy = VantaDocumentEvidenceAddedBy;
|
|
711
|
-
export declare const VantaPolicyEvidenceLastEditedBy: S.Schema<VantaDocumentEvidenceAddedBy>;
|
|
712
613
|
/** The uploaded policy file for this version. */
|
|
713
614
|
export interface VantaPolicyEvidenceFile {
|
|
714
615
|
/** The date when this policy version became effective, or when it was created. Format: ISO 8601 UTC timestamp. */
|
|
@@ -724,7 +625,6 @@ export interface VantaPolicyEvidenceFile {
|
|
|
724
625
|
/** The unique identifier for the uploaded policy file in Vanta's system. */
|
|
725
626
|
id: string;
|
|
726
627
|
}
|
|
727
|
-
export declare const VantaPolicyEvidenceFile: S.Schema<VantaPolicyEvidenceFile>;
|
|
728
628
|
/** Evidence in the form of a Vanta Policy. Vanta Policies are compliance policies with metadata like locale, effective dates, and versioning. Policies are always uploaded files stored in Vanta's system. */
|
|
729
629
|
export interface VantaPolicyEvidence {
|
|
730
630
|
/** The title of the policy as displayed in Vanta. */
|
|
@@ -744,11 +644,8 @@ export interface VantaPolicyEvidence {
|
|
|
744
644
|
/** The uploaded policy file for this version. */
|
|
745
645
|
file: VantaPolicyEvidenceFile;
|
|
746
646
|
}
|
|
747
|
-
export declare const VantaPolicyEvidence: S.Schema<VantaPolicyEvidence>;
|
|
748
647
|
export type VantaTestRunStatus = "NA" | "IN_PROGRESS" | "FAIL" | "PASS" | "INVALID" | "DISABLED";
|
|
749
|
-
export declare const VantaTestRunStatus: any;
|
|
750
648
|
export type VantaTestFileType = "TEST_EVIDENCE_WORKPAPER" | "TEST_RAW_DATA" | "OUT_OF_SCOPE_RESOURCES" | "API_REQUESTS";
|
|
751
|
-
export declare const VantaTestFileType: any;
|
|
752
649
|
/** The evidence file for this test run. */
|
|
753
650
|
export interface VantaTestEvidenceFile {
|
|
754
651
|
/** The MIME type of the evidence file. Common types: "application/pdf" for workpapers, "text/csv" for raw data */
|
|
@@ -756,7 +653,6 @@ export interface VantaTestEvidenceFile {
|
|
|
756
653
|
/** A presigned URL for downloading the evidence file. This URL is temporary and expires after a limited time. Request a new evidence list to get a fresh URL if expired. */
|
|
757
654
|
url: string;
|
|
758
655
|
}
|
|
759
|
-
export declare const VantaTestEvidenceFile: S.Schema<VantaTestEvidenceFile>;
|
|
760
656
|
/** Evidence in the form of a Vanta automated test run. Vanta Tests are automated compliance tests with metadata like test status, execution time, and file type. Tests generate evidence files that can be workpapers, raw data, or API request logs. */
|
|
761
657
|
export interface VantaTestEvidence {
|
|
762
658
|
/** The title of the test run as displayed in Vanta. */
|
|
@@ -774,10 +670,8 @@ export interface VantaTestEvidence {
|
|
|
774
670
|
/** The evidence file for this test run. */
|
|
775
671
|
file: VantaTestEvidenceFile;
|
|
776
672
|
}
|
|
777
|
-
export declare const VantaTestEvidence: S.Schema<VantaTestEvidence>;
|
|
778
673
|
/** The outcome status of the test run. */
|
|
779
674
|
export type VantaTestSnapshotEvidenceTestRunStatus = "NA" | "IN_PROGRESS" | "FAIL" | "PASS" | "INVALID" | "DISABLED";
|
|
780
|
-
export declare const VantaTestSnapshotEvidenceTestRunStatus: any;
|
|
781
675
|
/** Evidence in the form of a Vanta automated test run snapshot. Unlike VantaTestEvidence (which represents a single file within a test run's evidence packet), a snapshot represents the entire test-run bundle. Use the dedicated snapshot detail endpoint to retrieve the files associated with a snapshot. */
|
|
782
676
|
export interface VantaTestSnapshotEvidence {
|
|
783
677
|
/** The unique identifier for the point-in-time capture of this test run's evidence. A snapshot is an immutable record of all files (workpapers, raw data, etc.) generated during a single test execution. */
|
|
@@ -793,10 +687,8 @@ export interface VantaTestSnapshotEvidence {
|
|
|
793
687
|
/** The date and time when the test was executed. Format: ISO 8601 UTC timestamp. */
|
|
794
688
|
testRunExecutedAt: string;
|
|
795
689
|
}
|
|
796
|
-
export declare const VantaTestSnapshotEvidence: S.Schema<VantaTestSnapshotEvidence>;
|
|
797
690
|
/** Union type representing the different forms of evidence content. The specific type is determined by the `evidenceType` field in InformationRequestEvidence. */
|
|
798
691
|
export type InformationRequestEvidenceUnion = UploadedDocumentEvidence | LinkEvidence | ObservationEvidence | VantaDocumentEvidence | VantaPolicyEvidence | VantaTestEvidence | VantaTestSnapshotEvidence;
|
|
799
|
-
export declare const InformationRequestEvidenceUnion: S.Schema<InformationRequestEvidenceUnion>;
|
|
800
692
|
export interface InformationRequestEvidence {
|
|
801
693
|
/** The unique identifier for the evidence within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
802
694
|
id: string;
|
|
@@ -813,32 +705,26 @@ export interface InformationRequestEvidence {
|
|
|
813
705
|
/** The evidence content. Structure varies based on evidenceType. */
|
|
814
706
|
evidence: InformationRequestEvidenceUnion;
|
|
815
707
|
}
|
|
816
|
-
export declare const InformationRequestEvidence: S.Schema<InformationRequestEvidence>;
|
|
817
708
|
export interface GetInformationRequestTestSnapshotEvidenceDetailRequest {
|
|
818
709
|
auditId: string;
|
|
819
710
|
requestId: string;
|
|
820
711
|
evidenceId: string;
|
|
821
712
|
}
|
|
822
|
-
export declare const GetInformationRequestTestSnapshotEvidenceDetailRequest: S.Schema<GetInformationRequestTestSnapshotEvidenceDetailRequest>;
|
|
823
713
|
/** Integration metadata for a test, mirroring the Vanta web app. */
|
|
824
714
|
export interface VantaTestSnapshotIntegration {
|
|
825
715
|
integrationId: string;
|
|
826
716
|
displayName: string;
|
|
827
717
|
}
|
|
828
|
-
export declare const VantaTestSnapshotIntegration: S.Schema<VantaTestSnapshotIntegration>;
|
|
829
718
|
/** Integrations whose data feeds the test. */
|
|
830
719
|
export type VantaTestSnapshotEvidenceDetailIntegrationsList = Array<VantaTestSnapshotIntegration>;
|
|
831
|
-
export declare const VantaTestSnapshotEvidenceDetailIntegrationsList: S.Schema<VantaTestSnapshotEvidenceDetailIntegrationsList>;
|
|
832
720
|
export interface VantaTestSnapshotSlaRemediationSettings {
|
|
833
721
|
numericValue: number;
|
|
834
722
|
unit: string | null;
|
|
835
723
|
}
|
|
836
|
-
export declare const VantaTestSnapshotSlaRemediationSettings: S.Schema<VantaTestSnapshotSlaRemediationSettings>;
|
|
837
724
|
export interface VantaTestSnapshotSlaRemediation {
|
|
838
725
|
id: string;
|
|
839
726
|
settings: VantaTestSnapshotSlaRemediationSettings | null;
|
|
840
727
|
}
|
|
841
|
-
export declare const VantaTestSnapshotSlaRemediation: S.Schema<VantaTestSnapshotSlaRemediation>;
|
|
842
728
|
/** One row of raw test data attached to a snapshot. For structured snapshots, every row carries the resource refs and the raw JSON for that resource. For unstructured snapshots, a single row is returned with `resourceId` and `resourceType` set to `null` and `rawJson` containing the entire test-run JSON blob. */
|
|
843
729
|
export interface VantaTestSnapshotRawTestDataRow {
|
|
844
730
|
/** Identifier of the underlying resource the row was captured from. Null for unstructured snapshots, which do not partition by resource. */
|
|
@@ -848,40 +734,30 @@ export interface VantaTestSnapshotRawTestDataRow {
|
|
|
848
734
|
/** Raw JSON payload as emitted by the test runner. Shape varies by `resourceType` for structured snapshots and matches the full test-run blob for unstructured snapshots. */
|
|
849
735
|
rawJson: unknown;
|
|
850
736
|
}
|
|
851
|
-
export declare const VantaTestSnapshotRawTestDataRow: S.Schema<VantaTestSnapshotRawTestDataRow>;
|
|
852
737
|
/** Raw test data captured at snapshot time. */
|
|
853
738
|
export type VantaTestSnapshotEvidenceDetailRawTestDataList = Array<VantaTestSnapshotRawTestDataRow>;
|
|
854
|
-
export declare const VantaTestSnapshotEvidenceDetailRawTestDataList: S.Schema<VantaTestSnapshotEvidenceDetailRawTestDataList>;
|
|
855
739
|
export interface VantaTestSnapshotExcludedItem {
|
|
856
740
|
id: string;
|
|
857
741
|
displayName: string | null;
|
|
858
742
|
}
|
|
859
|
-
export declare const VantaTestSnapshotExcludedItem: S.Schema<VantaTestSnapshotExcludedItem>;
|
|
860
743
|
export type VantaTestSnapshotExcludedItemGroupEntitiesList = Array<VantaTestSnapshotExcludedItem>;
|
|
861
|
-
export declare const VantaTestSnapshotExcludedItemGroupEntitiesList: S.Schema<VantaTestSnapshotExcludedItemGroupEntitiesList>;
|
|
862
744
|
export interface VantaTestSnapshotExcludedItemGroup {
|
|
863
745
|
reason: string;
|
|
864
746
|
entities: VantaTestSnapshotExcludedItemGroupEntitiesList;
|
|
865
747
|
}
|
|
866
|
-
export declare const VantaTestSnapshotExcludedItemGroup: S.Schema<VantaTestSnapshotExcludedItemGroup>;
|
|
867
748
|
export type VantaTestSnapshotOutOfScopeResourcesTestLevelList = Array<VantaTestSnapshotExcludedItemGroup>;
|
|
868
|
-
export declare const VantaTestSnapshotOutOfScopeResourcesTestLevelList: S.Schema<VantaTestSnapshotOutOfScopeResourcesTestLevelList>;
|
|
869
749
|
export type VantaTestSnapshotFrameworkExclusionGroupedByReasonList = Array<VantaTestSnapshotExcludedItemGroup>;
|
|
870
|
-
export declare const VantaTestSnapshotFrameworkExclusionGroupedByReasonList: S.Schema<VantaTestSnapshotFrameworkExclusionGroupedByReasonList>;
|
|
871
750
|
export interface VantaTestSnapshotFrameworkExclusion {
|
|
872
751
|
frameworkId: string;
|
|
873
752
|
frameworkName: string;
|
|
874
753
|
groupedByReason: VantaTestSnapshotFrameworkExclusionGroupedByReasonList;
|
|
875
754
|
}
|
|
876
|
-
export declare const VantaTestSnapshotFrameworkExclusion: S.Schema<VantaTestSnapshotFrameworkExclusion>;
|
|
877
755
|
export type VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList = Array<VantaTestSnapshotFrameworkExclusion>;
|
|
878
|
-
export declare const VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList: S.Schema<VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList>;
|
|
879
756
|
/** Resources excluded from the test at snapshot time, grouped by exclusion reason. `testLevel` contains resources the customer disabled for the test; `frameworkLevel` contains resources scoped out by the framework's segment configuration. */
|
|
880
757
|
export interface VantaTestSnapshotOutOfScopeResources {
|
|
881
758
|
testLevel: VantaTestSnapshotOutOfScopeResourcesTestLevelList;
|
|
882
759
|
frameworkLevel: VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList;
|
|
883
760
|
}
|
|
884
|
-
export declare const VantaTestSnapshotOutOfScopeResources: S.Schema<VantaTestSnapshotOutOfScopeResources>;
|
|
885
761
|
/** A single API request captured during an API introspection test run. */
|
|
886
762
|
export interface VantaTestSnapshotApiRequest {
|
|
887
763
|
id: string;
|
|
@@ -893,10 +769,8 @@ export interface VantaTestSnapshotApiRequest {
|
|
|
893
769
|
timestamp: string;
|
|
894
770
|
dataTooLarge: boolean;
|
|
895
771
|
}
|
|
896
|
-
export declare const VantaTestSnapshotApiRequest: S.Schema<VantaTestSnapshotApiRequest>;
|
|
897
772
|
/** API requests captured during the test run. Absent when the snapshot data could not be loaded. Empty array when the test does not perform API introspection. */
|
|
898
773
|
export type VantaTestSnapshotEvidenceDetailApiRequestsList = Array<VantaTestSnapshotApiRequest>;
|
|
899
|
-
export declare const VantaTestSnapshotEvidenceDetailApiRequestsList: S.Schema<VantaTestSnapshotEvidenceDetailApiRequestsList>;
|
|
900
774
|
/** Detail response for a captured automated-test snapshot evidence row. Combines the test-level metadata (description, integrations, SLA remediation) with a uniform raw-data array so external clients see the same shape regardless of whether the snapshot was structured or unstructured. */
|
|
901
775
|
export interface VantaTestSnapshotEvidenceDetail {
|
|
902
776
|
/** The unique identifier for the test in Vanta's system. */
|
|
@@ -918,18 +792,15 @@ export interface VantaTestSnapshotEvidenceDetail {
|
|
|
918
792
|
/** API requests captured during the test run. Absent when the snapshot data could not be loaded. Empty array when the test does not perform API introspection. */
|
|
919
793
|
apiRequests?: VantaTestSnapshotEvidenceDetailApiRequestsList;
|
|
920
794
|
}
|
|
921
|
-
export declare const VantaTestSnapshotEvidenceDetail: S.Schema<VantaTestSnapshotEvidenceDetail>;
|
|
922
795
|
export interface GetOrganizationInformationRequest {
|
|
923
796
|
/** The audit ID */
|
|
924
797
|
auditId: string;
|
|
925
798
|
}
|
|
926
|
-
export declare const GetOrganizationInformationRequest: S.Schema<GetOrganizationInformationRequest>;
|
|
927
799
|
/** Company logo reference for an organization. */
|
|
928
800
|
export interface AuditOrganizationCompanyLogo {
|
|
929
801
|
/** URL to download the company logo. */
|
|
930
802
|
url: string;
|
|
931
803
|
}
|
|
932
|
-
export declare const AuditOrganizationCompanyLogo: S.Schema<AuditOrganizationCompanyLogo>;
|
|
933
804
|
/** Organization information record returned by the auditor organization API. `id` and `displayName` are always present (primary fields). Other fields are optional to support controlled audits where only approved columns are returned. */
|
|
934
805
|
export interface AuditOrganizationInformation {
|
|
935
806
|
/** Business info document identifier. */
|
|
@@ -949,15 +820,12 @@ export interface AuditOrganizationInformation {
|
|
|
949
820
|
/** Company logo reference (download URL), or null if no logo is uploaded. */
|
|
950
821
|
companyLogo?: AuditOrganizationCompanyLogo | null;
|
|
951
822
|
}
|
|
952
|
-
export declare const AuditOrganizationInformation: S.Schema<AuditOrganizationInformation>;
|
|
953
823
|
export interface GetOrganizationNotificationsRequest {
|
|
954
824
|
/** The audit ID */
|
|
955
825
|
auditId: string;
|
|
956
826
|
}
|
|
957
|
-
export declare const GetOrganizationNotificationsRequest: S.Schema<GetOrganizationNotificationsRequest>;
|
|
958
827
|
/** Channels on which the personnel reminder digest is delivered (e.g. `["EMAIL"]` or `["EMAIL", "SLACK"]`). */
|
|
959
828
|
export type AuditOrganizationNotificationsSubscribedChannelTypesList = Array<string>;
|
|
960
|
-
export declare const AuditOrganizationNotificationsSubscribedChannelTypesList: S.Schema<AuditOrganizationNotificationsSubscribedChannelTypesList>;
|
|
961
829
|
/** A single external-notification subscription row returned by the auditor organization notifications API. Represents one mailing-list address + notification-category pairing. */
|
|
962
830
|
export interface AuditOrganizationNotificationSubscription {
|
|
963
831
|
/** Subscription record identifier. */
|
|
@@ -971,11 +839,9 @@ export interface AuditOrganizationNotificationSubscription {
|
|
|
971
839
|
/** Whether the address is currently subscribed to receive this category's notifications. */
|
|
972
840
|
toggleIsSubscribed: boolean;
|
|
973
841
|
}
|
|
974
|
-
|
|
975
|
-
/** External notification subscriptions — one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
842
|
+
/** External notification subscriptions -- one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
976
843
|
export type AuditOrganizationNotificationsExternalNotificationsList = Array<AuditOrganizationNotificationSubscription>;
|
|
977
|
-
|
|
978
|
-
/** Organization notifications record returned by the auditor API. Ad-hoc single-row payload per domain mirroring the shape of the Organization → Notifications page. Only `id` is guaranteed; every other field is optional because controlled audit views can strip any column from the response. */
|
|
844
|
+
/** Organization notifications record returned by the auditor API. Ad-hoc single-row payload per domain mirroring the shape of the Organization -> Notifications page. Only `id` is guaranteed; every other field is optional because controlled audit views can strip any column from the response. */
|
|
979
845
|
export interface AuditOrganizationNotifications {
|
|
980
846
|
/** Domain identifier of the audited organization. */
|
|
981
847
|
id: string;
|
|
@@ -985,10 +851,9 @@ export interface AuditOrganizationNotifications {
|
|
|
985
851
|
employeeDigestFrequency?: string | null;
|
|
986
852
|
/** Channels on which the personnel reminder digest is delivered (e.g. `["EMAIL"]` or `["EMAIL", "SLACK"]`). */
|
|
987
853
|
subscribedChannelTypes?: AuditOrganizationNotificationsSubscribedChannelTypesList;
|
|
988
|
-
/** External notification subscriptions
|
|
854
|
+
/** External notification subscriptions -- one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
989
855
|
externalNotifications?: AuditOrganizationNotificationsExternalNotificationsList;
|
|
990
856
|
}
|
|
991
|
-
export declare const AuditOrganizationNotifications: S.Schema<AuditOrganizationNotifications>;
|
|
992
857
|
export interface ListAccountAccessServicesRequest {
|
|
993
858
|
/** The audit ID */
|
|
994
859
|
auditId: string;
|
|
@@ -997,7 +862,6 @@ export interface ListAccountAccessServicesRequest {
|
|
|
997
862
|
/** Pagination cursor from previous response */
|
|
998
863
|
pageCursor?: string;
|
|
999
864
|
}
|
|
1000
|
-
export declare const ListAccountAccessServicesRequest: S.Schema<ListAccountAccessServicesRequest>;
|
|
1001
865
|
/** An account access service (identity provider, access credential, or external application) connected to the organization. These represent credentials for integrations like Okta, Azure AD, Google Workspace, etc. that provide identity and access management data for personnel, as well as external applications that provide received user accounts. */
|
|
1002
866
|
export interface AccountAccessService {
|
|
1003
867
|
/** Unique identifier for the service. */
|
|
@@ -1009,9 +873,7 @@ export interface AccountAccessService {
|
|
|
1009
873
|
/** Sub-account identifier for multi-account integrations, or null if not applicable. */
|
|
1010
874
|
subAccountId: string | null;
|
|
1011
875
|
}
|
|
1012
|
-
export declare const AccountAccessService: S.Schema<AccountAccessService>;
|
|
1013
876
|
export type PaginatedResponseAccountAccessServiceResultsDataList = Array<AccountAccessService>;
|
|
1014
|
-
export declare const PaginatedResponseAccountAccessServiceResultsDataList: S.Schema<PaginatedResponseAccountAccessServiceResultsDataList>;
|
|
1015
877
|
/** Provides information about the pagination of a dataset. */
|
|
1016
878
|
export interface PageInfo {
|
|
1017
879
|
/** The cursor that points to the end of the current page, or null if there is no such cursor. */
|
|
@@ -1023,16 +885,13 @@ export interface PageInfo {
|
|
|
1023
885
|
/** The cursor that points to the start of the current page, or null if there is no such cursor. */
|
|
1024
886
|
startCursor: string | null;
|
|
1025
887
|
}
|
|
1026
|
-
export declare const PageInfo: S.Schema<PageInfo>;
|
|
1027
888
|
export interface PaginatedResponseAccountAccessServiceResults {
|
|
1028
889
|
data: PaginatedResponseAccountAccessServiceResultsDataList;
|
|
1029
890
|
pageInfo: PageInfo;
|
|
1030
891
|
}
|
|
1031
|
-
export declare const PaginatedResponseAccountAccessServiceResults: S.Schema<PaginatedResponseAccountAccessServiceResults>;
|
|
1032
892
|
export interface PaginatedResponseAccountAccessService {
|
|
1033
893
|
results: PaginatedResponseAccountAccessServiceResults;
|
|
1034
894
|
}
|
|
1035
|
-
export declare const PaginatedResponseAccountAccessService: S.Schema<PaginatedResponseAccountAccessService>;
|
|
1036
895
|
export interface ListAuditCommentsRequest {
|
|
1037
896
|
auditId: string;
|
|
1038
897
|
pageSize?: number;
|
|
@@ -1040,20 +899,15 @@ export interface ListAuditCommentsRequest {
|
|
|
1040
899
|
/** Includes all comments that have changed since changedSinceDate. */
|
|
1041
900
|
changedSinceDate?: string;
|
|
1042
901
|
}
|
|
1043
|
-
export declare const ListAuditCommentsRequest: S.Schema<ListAuditCommentsRequest>;
|
|
1044
902
|
export type PaginatedResponseCommentResultsDataList = Array<Comment>;
|
|
1045
|
-
export declare const PaginatedResponseCommentResultsDataList: S.Schema<PaginatedResponseCommentResultsDataList>;
|
|
1046
903
|
export interface PaginatedResponseCommentResults {
|
|
1047
904
|
data: PaginatedResponseCommentResultsDataList;
|
|
1048
905
|
pageInfo: PageInfo;
|
|
1049
906
|
}
|
|
1050
|
-
export declare const PaginatedResponseCommentResults: S.Schema<PaginatedResponseCommentResults>;
|
|
1051
907
|
export interface PaginatedResponseComment {
|
|
1052
908
|
results: PaginatedResponseCommentResults;
|
|
1053
909
|
}
|
|
1054
|
-
export declare const PaginatedResponseComment: S.Schema<PaginatedResponseComment>;
|
|
1055
910
|
export type ListAuditControlsRequestExternalIdMatchesAnyList = Array<string>;
|
|
1056
|
-
export declare const ListAuditControlsRequestExternalIdMatchesAnyList: S.Schema<ListAuditControlsRequestExternalIdMatchesAnyList>;
|
|
1057
911
|
export interface ListAuditControlsRequest {
|
|
1058
912
|
auditId: string;
|
|
1059
913
|
pageSize?: number;
|
|
@@ -1061,20 +915,16 @@ export interface ListAuditControlsRequest {
|
|
|
1061
915
|
/** Filter controls whose externalId matches any of the provided values (exact, case-sensitive match). */
|
|
1062
916
|
externalIdMatchesAny?: ListAuditControlsRequestExternalIdMatchesAnyList;
|
|
1063
917
|
}
|
|
1064
|
-
export declare const ListAuditControlsRequest: S.Schema<ListAuditControlsRequest>;
|
|
1065
918
|
/** The security domains that the control belongs to. */
|
|
1066
919
|
export type AuditorControlDomainsList = Array<string>;
|
|
1067
|
-
export declare const AuditorControlDomainsList: S.Schema<AuditorControlDomainsList>;
|
|
1068
920
|
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
1069
921
|
export type AuditorControlCustomFieldsList = Array<CustomField>;
|
|
1070
|
-
export declare const AuditorControlCustomFieldsList: S.Schema<AuditorControlCustomFieldsList>;
|
|
1071
922
|
export interface SectionPrinciple {
|
|
1072
923
|
/** The principle's unique ID. */
|
|
1073
924
|
id: string;
|
|
1074
925
|
/** The principle's name. */
|
|
1075
926
|
name: string;
|
|
1076
927
|
}
|
|
1077
|
-
export declare const SectionPrinciple: S.Schema<SectionPrinciple>;
|
|
1078
928
|
export interface Section {
|
|
1079
929
|
/** The section name */
|
|
1080
930
|
name: string;
|
|
@@ -1083,16 +933,12 @@ export interface Section {
|
|
|
1083
933
|
/** The principle that groups this section, if any. */
|
|
1084
934
|
principle: SectionPrinciple | null;
|
|
1085
935
|
}
|
|
1086
|
-
export declare const Section: S.Schema<Section>;
|
|
1087
936
|
/** Current framework sections this control satisfies within the audit segments in which it is in scope. */
|
|
1088
937
|
export type AuditorControlSectionsList = Array<Section>;
|
|
1089
|
-
export declare const AuditorControlSectionsList: S.Schema<AuditorControlSectionsList>;
|
|
1090
938
|
/** Audit segments in which this control is in scope. This can differ from current framework mappings, and the array can be empty. */
|
|
1091
939
|
export type AuditorControlInScopeSegmentIdsList = Array<string>;
|
|
1092
|
-
|
|
1093
|
-
/** An auditor's assessment of a control within an audit. This is the full flat union of every framework's assessment states (the superset); the selected segment's framework determines which subset applies. `NOT_ASSESSED` is shared by all frameworks and is the default for a control that has not yet been assessed. Which states apply to which framework: - Most frameworks (e.g. SOC 2): `IN_PLACE`, `NOT_IN_PLACE`, `PARTIAL`, `NOT_ASSESSED` - ISO 27001: `CONFORMING`, `MINOR_NON_CONFORMITY`, `MAJOR_NON_CONFORMITY`, `NOT_ASSESSED` - FedRAMP: `SATISFIED`, `NOT_SATISFIED`, `OTHER_THAN_SATISFIED`, `NOT_ASSESSED` - FedRAMP Key Security Indicators (KSI): `TRUE`, `FALSE`, `PARTIAL`, `NOT_ASSESSED` Distinct from `ControlStatus`, which is the computed tests/documents-passing status — a different concept. */
|
|
940
|
+
/** An auditor's assessment of a control within an audit. This is the full flat union of every framework's assessment states (the superset); the selected segment's framework determines which subset applies. `NOT_ASSESSED` is shared by all frameworks and is the default for a control that has not yet been assessed. Which states apply to which framework: - Most frameworks (e.g. SOC 2): `IN_PLACE`, `NOT_IN_PLACE`, `PARTIAL`, `NOT_ASSESSED` - ISO 27001: `CONFORMING`, `MINOR_NON_CONFORMITY`, `MAJOR_NON_CONFORMITY`, `NOT_ASSESSED` - FedRAMP: `SATISFIED`, `NOT_SATISFIED`, `OTHER_THAN_SATISFIED`, `NOT_ASSESSED` - FedRAMP Key Security Indicators (KSI): `TRUE`, `FALSE`, `PARTIAL`, `NOT_ASSESSED` Distinct from `ControlStatus`, which is the computed tests/documents-passing status -- a different concept. */
|
|
1094
941
|
export type AuditControlAssessmentState = "IN_PLACE" | "NOT_IN_PLACE" | "PARTIAL" | "NOT_ASSESSED" | "CONFORMING" | "MINOR_NON_CONFORMITY" | "MAJOR_NON_CONFORMITY" | "SATISFIED" | "NOT_SATISFIED" | "OTHER_THAN_SATISFIED" | "TRUE" | "FALSE";
|
|
1095
|
-
export declare const AuditControlAssessmentState: any;
|
|
1096
942
|
/** An auditor's assessment of a control within one audit segment. Assessments can be recorded for any segment on the audit, `PROGRAM` or `SYSTEM`, and a control can carry a distinct assessment per segment. A segment with no recorded assessment returns `NOT_ASSESSED` with a `null` justification. */
|
|
1097
943
|
export interface AuditControlAssessment {
|
|
1098
944
|
/** The audit segment this assessment belongs to. */
|
|
@@ -1102,10 +948,8 @@ export interface AuditControlAssessment {
|
|
|
1102
948
|
/** Free-text reasoning for the assessment; `null` when none has been recorded. */
|
|
1103
949
|
justification: string | null;
|
|
1104
950
|
}
|
|
1105
|
-
export declare const AuditControlAssessment: S.Schema<AuditControlAssessment>;
|
|
1106
951
|
/** The auditor's assessments of this control, with one entry for each segment in `inScopeSegmentIds`, which can be any segment on the audit, `PROGRAM` or `SYSTEM`. Populated only for IRL audits when assessment access is allowed; empty otherwise. A segment with no recorded assessment returns `NOT_ASSESSED`. */
|
|
1107
952
|
export type AuditorControlAssessmentsList = Array<AuditControlAssessment>;
|
|
1108
|
-
export declare const AuditorControlAssessmentsList: S.Schema<AuditorControlAssessmentsList>;
|
|
1109
953
|
export interface AuditorControl {
|
|
1110
954
|
/** The control's unique ID. */
|
|
1111
955
|
id: string;
|
|
@@ -1138,18 +982,14 @@ export interface AuditorControl {
|
|
|
1138
982
|
/** The auditor's assessments of this control, with one entry for each segment in `inScopeSegmentIds`, which can be any segment on the audit, `PROGRAM` or `SYSTEM`. Populated only for IRL audits when assessment access is allowed; empty otherwise. A segment with no recorded assessment returns `NOT_ASSESSED`. */
|
|
1139
983
|
assessments: AuditorControlAssessmentsList;
|
|
1140
984
|
}
|
|
1141
|
-
export declare const AuditorControl: S.Schema<AuditorControl>;
|
|
1142
985
|
export type PaginatedResponseAuditorControlResultsDataList = Array<AuditorControl>;
|
|
1143
|
-
export declare const PaginatedResponseAuditorControlResultsDataList: S.Schema<PaginatedResponseAuditorControlResultsDataList>;
|
|
1144
986
|
export interface PaginatedResponseAuditorControlResults {
|
|
1145
987
|
data: PaginatedResponseAuditorControlResultsDataList;
|
|
1146
988
|
pageInfo: PageInfo;
|
|
1147
989
|
}
|
|
1148
|
-
export declare const PaginatedResponseAuditorControlResults: S.Schema<PaginatedResponseAuditorControlResults>;
|
|
1149
990
|
export interface PaginatedResponseAuditorControl {
|
|
1150
991
|
results: PaginatedResponseAuditorControlResults;
|
|
1151
992
|
}
|
|
1152
|
-
export declare const PaginatedResponseAuditorControl: S.Schema<PaginatedResponseAuditorControl>;
|
|
1153
993
|
export interface ListAuditEvidenceRequest {
|
|
1154
994
|
auditId: string;
|
|
1155
995
|
pageSize?: number;
|
|
@@ -1157,25 +997,20 @@ export interface ListAuditEvidenceRequest {
|
|
|
1157
997
|
/** Includes all audit evidence that have changed since changedSinceDate. */
|
|
1158
998
|
changedSinceDate?: string;
|
|
1159
999
|
}
|
|
1160
|
-
export declare const ListAuditEvidenceRequest: S.Schema<ListAuditEvidenceRequest>;
|
|
1161
1000
|
export type PaginatedResponseEvidenceResultsDataList = Array<Evidence>;
|
|
1162
|
-
export declare const PaginatedResponseEvidenceResultsDataList: S.Schema<PaginatedResponseEvidenceResultsDataList>;
|
|
1163
1001
|
export interface PaginatedResponseEvidenceResults {
|
|
1164
1002
|
data: PaginatedResponseEvidenceResultsDataList;
|
|
1165
1003
|
pageInfo: PageInfo;
|
|
1166
1004
|
}
|
|
1167
|
-
export declare const PaginatedResponseEvidenceResults: S.Schema<PaginatedResponseEvidenceResults>;
|
|
1168
1005
|
export interface PaginatedResponseEvidence {
|
|
1169
1006
|
results: PaginatedResponseEvidenceResults;
|
|
1170
1007
|
}
|
|
1171
|
-
export declare const PaginatedResponseEvidence: S.Schema<PaginatedResponseEvidence>;
|
|
1172
1008
|
export interface ListAuditEvidenceUrlsRequest {
|
|
1173
1009
|
auditId: string;
|
|
1174
1010
|
auditEvidenceId: string;
|
|
1175
1011
|
pageSize?: number;
|
|
1176
1012
|
pageCursor?: string;
|
|
1177
1013
|
}
|
|
1178
|
-
export declare const ListAuditEvidenceUrlsRequest: S.Schema<ListAuditEvidenceUrlsRequest>;
|
|
1179
1014
|
export interface EvidenceUrl {
|
|
1180
1015
|
/** Vanta internal reference to evidence */
|
|
1181
1016
|
id: string;
|
|
@@ -1188,26 +1023,19 @@ export interface EvidenceUrl {
|
|
|
1188
1023
|
/** MIME type of the evidence file (e.g., "application/pdf", "image/png") */
|
|
1189
1024
|
mimeType: string | null;
|
|
1190
1025
|
}
|
|
1191
|
-
export declare const EvidenceUrl: S.Schema<EvidenceUrl>;
|
|
1192
1026
|
export type PaginatedResponseEvidenceUrlResultsDataList = Array<EvidenceUrl>;
|
|
1193
|
-
export declare const PaginatedResponseEvidenceUrlResultsDataList: S.Schema<PaginatedResponseEvidenceUrlResultsDataList>;
|
|
1194
1027
|
export interface PaginatedResponseEvidenceUrlResults {
|
|
1195
1028
|
data: PaginatedResponseEvidenceUrlResultsDataList;
|
|
1196
1029
|
pageInfo: PageInfo;
|
|
1197
1030
|
}
|
|
1198
|
-
export declare const PaginatedResponseEvidenceUrlResults: S.Schema<PaginatedResponseEvidenceUrlResults>;
|
|
1199
1031
|
export interface PaginatedResponseEvidenceUrl {
|
|
1200
1032
|
results: PaginatedResponseEvidenceUrlResults;
|
|
1201
1033
|
}
|
|
1202
|
-
export declare const PaginatedResponseEvidenceUrl: S.Schema<PaginatedResponseEvidenceUrl>;
|
|
1203
1034
|
export type ListAuditIssuesRequestSnapshotIdMatchesAnyList = Array<string>;
|
|
1204
|
-
export declare const ListAuditIssuesRequestSnapshotIdMatchesAnyList: S.Schema<ListAuditIssuesRequestSnapshotIdMatchesAnyList>;
|
|
1205
1035
|
/** Allowed values for the `orderBy` query parameter on issue snapshot item endpoints. */
|
|
1206
1036
|
export type IssueSnapshotItemOrderBy = "createdAt" | "lastModifiedAt" | "detectedAt";
|
|
1207
|
-
export declare const IssueSnapshotItemOrderBy: any;
|
|
1208
1037
|
/** `"asc"` for ascending, `"desc"` for descending. */
|
|
1209
1038
|
export type OrderDirection = "asc" | "desc";
|
|
1210
|
-
export declare const OrderDirection: any;
|
|
1211
1039
|
export interface ListAuditIssuesRequest {
|
|
1212
1040
|
/** The audit ID */
|
|
1213
1041
|
auditId: string;
|
|
@@ -1232,9 +1060,7 @@ export interface ListAuditIssuesRequest {
|
|
|
1232
1060
|
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1233
1061
|
orderDirection?: OrderDirection | (string & {});
|
|
1234
1062
|
}
|
|
1235
|
-
export declare const ListAuditIssuesRequest: S.Schema<ListAuditIssuesRequest>;
|
|
1236
1063
|
export type IssueStatusTypeForSnapshot = "IN_PROGRESS" | "NOT_STARTED" | "PENDING_REVIEW" | "CLOSED";
|
|
1237
|
-
export declare const IssueStatusTypeForSnapshot: any;
|
|
1238
1064
|
/** Approval progress for an issue at the time the snapshot was captured. */
|
|
1239
1065
|
export interface IssueSnapshotItemApprovalProgress {
|
|
1240
1066
|
/** The number of approvers who have approved the issue. */
|
|
@@ -1242,7 +1068,6 @@ export interface IssueSnapshotItemApprovalProgress {
|
|
|
1242
1068
|
/** The total number of approvers in the issue's approval chain. */
|
|
1243
1069
|
totalApprovers: number;
|
|
1244
1070
|
}
|
|
1245
|
-
export declare const IssueSnapshotItemApprovalProgress: S.Schema<IssueSnapshotItemApprovalProgress>;
|
|
1246
1071
|
export interface IssueSnapshotItem {
|
|
1247
1072
|
/** The unique identifier for the snapshot of an issue. This is distinct from the issueId, which identifies the underlying issue across snapshots. The snapshot item ID is unique to this specific snapshot of the issue. */
|
|
1248
1073
|
id: string;
|
|
@@ -1269,20 +1094,15 @@ export interface IssueSnapshotItem {
|
|
|
1269
1094
|
/** The date and time when the issue was detected. */
|
|
1270
1095
|
detectedAt?: string;
|
|
1271
1096
|
}
|
|
1272
|
-
export declare const IssueSnapshotItem: S.Schema<IssueSnapshotItem>;
|
|
1273
1097
|
export type PaginatedResponseIssueSnapshotItemResultsDataList = Array<IssueSnapshotItem>;
|
|
1274
|
-
export declare const PaginatedResponseIssueSnapshotItemResultsDataList: S.Schema<PaginatedResponseIssueSnapshotItemResultsDataList>;
|
|
1275
1098
|
export interface PaginatedResponseIssueSnapshotItemResults {
|
|
1276
1099
|
data: PaginatedResponseIssueSnapshotItemResultsDataList;
|
|
1277
1100
|
pageInfo: PageInfo;
|
|
1278
1101
|
}
|
|
1279
|
-
export declare const PaginatedResponseIssueSnapshotItemResults: S.Schema<PaginatedResponseIssueSnapshotItemResults>;
|
|
1280
1102
|
export interface PaginatedResponseIssueSnapshotItem {
|
|
1281
1103
|
results: PaginatedResponseIssueSnapshotItemResults;
|
|
1282
1104
|
}
|
|
1283
|
-
export declare const PaginatedResponseIssueSnapshotItem: S.Schema<PaginatedResponseIssueSnapshotItem>;
|
|
1284
1105
|
export type RiskOrderBy = "inherentRisk" | "riskId" | "riskScenario" | "treatment" | "residualRisk" | "reviewStatus" | "owner" | "categories" | "ciaCategories" | "identified";
|
|
1285
|
-
export declare const RiskOrderBy: any;
|
|
1286
1106
|
export interface ListAuditRisksRequest {
|
|
1287
1107
|
/** The audit ID */
|
|
1288
1108
|
auditId: string;
|
|
@@ -1299,16 +1119,12 @@ export interface ListAuditRisksRequest {
|
|
|
1299
1119
|
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1300
1120
|
orderDirection?: OrderDirection | (string & {});
|
|
1301
1121
|
}
|
|
1302
|
-
export declare const ListAuditRisksRequest: S.Schema<ListAuditRisksRequest>;
|
|
1303
1122
|
/** Risk treatment strategy returned by the auditor API. */
|
|
1304
1123
|
export type AuditRiskTreatment = "ACCEPT" | "AVOID" | "MITIGATE" | "TRANSFER";
|
|
1305
|
-
export declare const AuditRiskTreatment: any;
|
|
1306
1124
|
/** Treatment implementation status returned by the auditor API. */
|
|
1307
1125
|
export type AuditRiskTreatmentStatus = "IN_PROGRESS" | "DONE";
|
|
1308
|
-
export declare const AuditRiskTreatmentStatus: any;
|
|
1309
1126
|
/** Risk scenario review status returned by the auditor API. */
|
|
1310
1127
|
export type AuditRiskReviewStatus = "APPROVED" | "DRAFT" | "NOT_REVIEWED" | "AWAITING_SUBMISSION" | "PENDING_APPROVAL" | "REQUESTED_CHANGES";
|
|
1311
|
-
export declare const AuditRiskReviewStatus: any;
|
|
1312
1128
|
/** Owner information for a risk. */
|
|
1313
1129
|
export interface AuditRiskOwner {
|
|
1314
1130
|
/** Display name of the risk owner. */
|
|
@@ -1316,19 +1132,14 @@ export interface AuditRiskOwner {
|
|
|
1316
1132
|
/** URL of the owner's profile image, or null if not available. */
|
|
1317
1133
|
imageUrl: string | null;
|
|
1318
1134
|
}
|
|
1319
|
-
export declare const AuditRiskOwner: S.Schema<AuditRiskOwner>;
|
|
1320
1135
|
/** Risk category names, or empty array if not categorized. */
|
|
1321
1136
|
export type AuditRiskCategoriesList = Array<string>;
|
|
1322
|
-
export declare const AuditRiskCategoriesList: S.Schema<AuditRiskCategoriesList>;
|
|
1323
1137
|
/** CIA triad category returned by the auditor API. */
|
|
1324
1138
|
export type AuditRiskCia = "AVAILABILITY" | "CONFIDENTIALITY" | "INTEGRITY";
|
|
1325
|
-
export declare const AuditRiskCia: any;
|
|
1326
1139
|
/** CIA triad categories, or empty array if not categorized. */
|
|
1327
1140
|
export type AuditRiskCiaCategoriesList = Array<AuditRiskCia>;
|
|
1328
|
-
export declare const AuditRiskCiaCategoriesList: S.Schema<AuditRiskCiaCategoriesList>;
|
|
1329
1141
|
/** IDs of controls linked to this risk scenario, or empty array if none. Full Audit View only - omitted in Controlled Audit View. */
|
|
1330
1142
|
export type AuditRiskLinkedControlIdsList = Array<string>;
|
|
1331
|
-
export declare const AuditRiskLinkedControlIdsList: S.Schema<AuditRiskLinkedControlIdsList>;
|
|
1332
1143
|
/** A risk record from the risk population. `id` and `riskId` are required. All other fields are optional to support customizable field visibility. Omitted keys mean the column is not in the response; `null` means the column is present but empty. */
|
|
1333
1144
|
export interface AuditRisk {
|
|
1334
1145
|
/** Unique identifier for the risk scenario version. */
|
|
@@ -1362,18 +1173,14 @@ export interface AuditRisk {
|
|
|
1362
1173
|
/** When the risk was identified, or null if not recorded. ISO 8601 format. */
|
|
1363
1174
|
identified?: string | null;
|
|
1364
1175
|
}
|
|
1365
|
-
export declare const AuditRisk: S.Schema<AuditRisk>;
|
|
1366
1176
|
export type PaginatedResponseAuditRiskResultsDataList = Array<AuditRisk>;
|
|
1367
|
-
export declare const PaginatedResponseAuditRiskResultsDataList: S.Schema<PaginatedResponseAuditRiskResultsDataList>;
|
|
1368
1177
|
export interface PaginatedResponseAuditRiskResults {
|
|
1369
1178
|
data: PaginatedResponseAuditRiskResultsDataList;
|
|
1370
1179
|
pageInfo: PageInfo;
|
|
1371
1180
|
}
|
|
1372
|
-
export declare const PaginatedResponseAuditRiskResults: S.Schema<PaginatedResponseAuditRiskResults>;
|
|
1373
1181
|
export interface PaginatedResponseAuditRisk {
|
|
1374
1182
|
results: PaginatedResponseAuditRiskResults;
|
|
1375
1183
|
}
|
|
1376
|
-
export declare const PaginatedResponseAuditRisk: S.Schema<PaginatedResponseAuditRisk>;
|
|
1377
1184
|
export interface ListAuditsRequest {
|
|
1378
1185
|
pageSize?: number;
|
|
1379
1186
|
pageCursor?: string;
|
|
@@ -1382,18 +1189,14 @@ export interface ListAuditsRequest {
|
|
|
1382
1189
|
/** Includes only audits with no audit report uploaded */
|
|
1383
1190
|
isActiveAudit?: boolean;
|
|
1384
1191
|
}
|
|
1385
|
-
export declare const ListAuditsRequest: S.Schema<ListAuditsRequest>;
|
|
1386
1192
|
export type PaginatedResponseAuditResultsDataList = Array<Audit>;
|
|
1387
|
-
export declare const PaginatedResponseAuditResultsDataList: S.Schema<PaginatedResponseAuditResultsDataList>;
|
|
1388
1193
|
export interface PaginatedResponseAuditResults {
|
|
1389
1194
|
data: PaginatedResponseAuditResultsDataList;
|
|
1390
1195
|
pageInfo: PageInfo;
|
|
1391
1196
|
}
|
|
1392
|
-
export declare const PaginatedResponseAuditResults: S.Schema<PaginatedResponseAuditResults>;
|
|
1393
1197
|
export interface PaginatedResponseAudit {
|
|
1394
1198
|
results: PaginatedResponseAuditResults;
|
|
1395
1199
|
}
|
|
1396
|
-
export declare const PaginatedResponseAudit: S.Schema<PaginatedResponseAudit>;
|
|
1397
1200
|
export interface ListAuditSnapshotsRequest {
|
|
1398
1201
|
/** The audit ID */
|
|
1399
1202
|
auditId: string;
|
|
@@ -1404,7 +1207,6 @@ export interface ListAuditSnapshotsRequest {
|
|
|
1404
1207
|
/** Search term for filtering by snapshot title and description */
|
|
1405
1208
|
search?: string;
|
|
1406
1209
|
}
|
|
1407
|
-
export declare const ListAuditSnapshotsRequest: S.Schema<ListAuditSnapshotsRequest>;
|
|
1408
1210
|
export interface IssueSnapshotMetadata {
|
|
1409
1211
|
/** The unique identifier for the issue snapshot. */
|
|
1410
1212
|
id: string;
|
|
@@ -1415,23 +1217,17 @@ export interface IssueSnapshotMetadata {
|
|
|
1415
1217
|
/** The date and time when the snapshot was created. */
|
|
1416
1218
|
createdAt?: string;
|
|
1417
1219
|
}
|
|
1418
|
-
export declare const IssueSnapshotMetadata: S.Schema<IssueSnapshotMetadata>;
|
|
1419
1220
|
export type PaginatedResponseIssueSnapshotMetadataResultsDataList = Array<IssueSnapshotMetadata>;
|
|
1420
|
-
export declare const PaginatedResponseIssueSnapshotMetadataResultsDataList: S.Schema<PaginatedResponseIssueSnapshotMetadataResultsDataList>;
|
|
1421
1221
|
export interface PaginatedResponseIssueSnapshotMetadataResults {
|
|
1422
1222
|
data: PaginatedResponseIssueSnapshotMetadataResultsDataList;
|
|
1423
1223
|
pageInfo: PageInfo;
|
|
1424
1224
|
}
|
|
1425
|
-
export declare const PaginatedResponseIssueSnapshotMetadataResults: S.Schema<PaginatedResponseIssueSnapshotMetadataResults>;
|
|
1426
1225
|
export interface PaginatedResponseIssueSnapshotMetadata {
|
|
1427
1226
|
results: PaginatedResponseIssueSnapshotMetadataResults;
|
|
1428
1227
|
}
|
|
1429
|
-
export declare const PaginatedResponseIssueSnapshotMetadata: S.Schema<PaginatedResponseIssueSnapshotMetadata>;
|
|
1430
1228
|
/** Version control source service name for code changes. */
|
|
1431
1229
|
export type ApiCodeChangeSource = "github" | "gitlab" | "bitbucket" | "azuredevops";
|
|
1432
|
-
export declare const ApiCodeChangeSource: any;
|
|
1433
1230
|
export type ListCodeChangesRequestSourcesMatchesAnyList = Array<ApiCodeChangeSource | (string & {})>;
|
|
1434
|
-
export declare const ListCodeChangesRequestSourcesMatchesAnyList: S.Schema<ListCodeChangesRequestSourcesMatchesAnyList>;
|
|
1435
1231
|
export interface ListCodeChangesRequest {
|
|
1436
1232
|
/** The audit ID */
|
|
1437
1233
|
auditId: string;
|
|
@@ -1448,7 +1244,6 @@ export interface ListCodeChangesRequest {
|
|
|
1448
1244
|
/** Filter code changes closed on or before this date (ISO 8601) */
|
|
1449
1245
|
closedBeforeDate?: string;
|
|
1450
1246
|
}
|
|
1451
|
-
export declare const ListCodeChangesRequest: S.Schema<ListCodeChangesRequest>;
|
|
1452
1247
|
/** Code change data. `id` and `codeChange` are required. All other fields are optional to support customizable field visibility. Omitted keys mean the column is not in the response; `null` means the column is present but empty. */
|
|
1453
1248
|
export interface CodeChange {
|
|
1454
1249
|
/** Code change record ID - always present. */
|
|
@@ -1466,18 +1261,14 @@ export interface CodeChange {
|
|
|
1466
1261
|
/** Date the code change was merged/closed. */
|
|
1467
1262
|
closedAt?: string;
|
|
1468
1263
|
}
|
|
1469
|
-
export declare const CodeChange: S.Schema<CodeChange>;
|
|
1470
1264
|
export type PaginatedResponseCodeChangeResultsDataList = Array<CodeChange>;
|
|
1471
|
-
export declare const PaginatedResponseCodeChangeResultsDataList: S.Schema<PaginatedResponseCodeChangeResultsDataList>;
|
|
1472
1265
|
export interface PaginatedResponseCodeChangeResults {
|
|
1473
1266
|
data: PaginatedResponseCodeChangeResultsDataList;
|
|
1474
1267
|
pageInfo: PageInfo;
|
|
1475
1268
|
}
|
|
1476
|
-
export declare const PaginatedResponseCodeChangeResults: S.Schema<PaginatedResponseCodeChangeResults>;
|
|
1477
1269
|
export interface PaginatedResponseCodeChange {
|
|
1478
1270
|
results: PaginatedResponseCodeChangeResults;
|
|
1479
1271
|
}
|
|
1480
|
-
export declare const PaginatedResponseCodeChange: S.Schema<PaginatedResponseCodeChange>;
|
|
1481
1272
|
export interface ListCommentsForControlRequest {
|
|
1482
1273
|
auditId: string;
|
|
1483
1274
|
controlId: string;
|
|
@@ -1488,18 +1279,14 @@ export interface ListCommentsForControlRequest {
|
|
|
1488
1279
|
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1489
1280
|
changedSinceDate?: string;
|
|
1490
1281
|
}
|
|
1491
|
-
export declare const ListCommentsForControlRequest: S.Schema<ListCommentsForControlRequest>;
|
|
1492
1282
|
export type PaginatedResponseAuditControlCommentResultsDataList = Array<AuditControlComment>;
|
|
1493
|
-
export declare const PaginatedResponseAuditControlCommentResultsDataList: S.Schema<PaginatedResponseAuditControlCommentResultsDataList>;
|
|
1494
1283
|
export interface PaginatedResponseAuditControlCommentResults {
|
|
1495
1284
|
data: PaginatedResponseAuditControlCommentResultsDataList;
|
|
1496
1285
|
pageInfo: PageInfo;
|
|
1497
1286
|
}
|
|
1498
|
-
export declare const PaginatedResponseAuditControlCommentResults: S.Schema<PaginatedResponseAuditControlCommentResults>;
|
|
1499
1287
|
export interface PaginatedResponseAuditControlComment {
|
|
1500
1288
|
results: PaginatedResponseAuditControlCommentResults;
|
|
1501
1289
|
}
|
|
1502
|
-
export declare const PaginatedResponseAuditControlComment: S.Schema<PaginatedResponseAuditControlComment>;
|
|
1503
1290
|
export interface ListCommentsForInformationRequestRequest {
|
|
1504
1291
|
auditId: string;
|
|
1505
1292
|
requestId: string;
|
|
@@ -1510,18 +1297,14 @@ export interface ListCommentsForInformationRequestRequest {
|
|
|
1510
1297
|
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1511
1298
|
changedSinceDate?: string;
|
|
1512
1299
|
}
|
|
1513
|
-
export declare const ListCommentsForInformationRequestRequest: S.Schema<ListCommentsForInformationRequestRequest>;
|
|
1514
1300
|
export type PaginatedResponseInformationRequestCommentResultsDataList = Array<InformationRequestComment>;
|
|
1515
|
-
export declare const PaginatedResponseInformationRequestCommentResultsDataList: S.Schema<PaginatedResponseInformationRequestCommentResultsDataList>;
|
|
1516
1301
|
export interface PaginatedResponseInformationRequestCommentResults {
|
|
1517
1302
|
data: PaginatedResponseInformationRequestCommentResultsDataList;
|
|
1518
1303
|
pageInfo: PageInfo;
|
|
1519
1304
|
}
|
|
1520
|
-
export declare const PaginatedResponseInformationRequestCommentResults: S.Schema<PaginatedResponseInformationRequestCommentResults>;
|
|
1521
1305
|
export interface PaginatedResponseInformationRequestComment {
|
|
1522
1306
|
results: PaginatedResponseInformationRequestCommentResults;
|
|
1523
1307
|
}
|
|
1524
|
-
export declare const PaginatedResponseInformationRequestComment: S.Schema<PaginatedResponseInformationRequestComment>;
|
|
1525
1308
|
export interface ListInformationRequestActivityRequest {
|
|
1526
1309
|
auditId: string;
|
|
1527
1310
|
requestId: string;
|
|
@@ -1532,22 +1315,17 @@ export interface ListInformationRequestActivityRequest {
|
|
|
1532
1315
|
/** Includes activity logs that have changed since changedSinceDate. */
|
|
1533
1316
|
changedSinceDate?: string;
|
|
1534
1317
|
}
|
|
1535
|
-
export declare const ListInformationRequestActivityRequest: S.Schema<ListInformationRequestActivityRequest>;
|
|
1536
1318
|
export type InformationRequestActivityType = "AUDIT_DUPLICATION_AUDIT_TRAIL" | "AUDIT_INFORMATION_REQUEST_EVIDENCE_FILL" | "CHANGE_STATUS" | "EDIT_REQUEST" | "REMOVE_EVIDENCE" | "SHARE_EVIDENCE_WITH_AUDITOR" | "UPLOAD_EVIDENCE";
|
|
1537
|
-
export declare const InformationRequestActivityType: any;
|
|
1538
1319
|
/** Previous approval status before the status change. Only populated for status change activities. Null for all other activity types. */
|
|
1539
1320
|
export type InformationRequestActivityLogOldStatus = "READY_FOR_AUDIT" | "NEEDS_EVIDENCE" | "AUDITOR_APPROVED" | "AUDITOR_FLAGGED" | "READY_FOR_INTERNAL_REVIEW";
|
|
1540
|
-
export declare const InformationRequestActivityLogOldStatus: any;
|
|
1541
1321
|
/** New approval status after the status change. Only populated for status change activities. Null for all other activity types. */
|
|
1542
1322
|
export type InformationRequestActivityLogNewStatus = "READY_FOR_AUDIT" | "NEEDS_EVIDENCE" | "AUDITOR_APPROVED" | "AUDITOR_FLAGGED" | "READY_FOR_INTERNAL_REVIEW";
|
|
1543
|
-
export declare const InformationRequestActivityLogNewStatus: any;
|
|
1544
1323
|
export type EvidenceFillOutcome = "SUCCESS" | "PARTIAL" | "FAILED";
|
|
1545
|
-
export declare const EvidenceFillOutcome: any;
|
|
1546
1324
|
/** Activity log entry tracking changes and actions on an information request. The activity log provides an audit trail of operations performed on an information request, including status changes, evidence uploads, edits, and evidence sharing. This enables tracking compliance activities and understanding the request's history. Which entries are visible depends on the endpoint returning them; see the endpoint's own description. */
|
|
1547
1325
|
export interface InformationRequestActivityLog {
|
|
1548
1326
|
/** The unique identifier for the activity log entry within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
1549
1327
|
id: string;
|
|
1550
|
-
/** Type of activity that occurred on the information request. Determines which additional fields are populated. `AUDIT_INFORMATION_REQUEST_EVIDENCE_FILL` is never returned
|
|
1328
|
+
/** Type of activity that occurred on the information request. Determines which additional fields are populated. `AUDIT_INFORMATION_REQUEST_EVIDENCE_FILL` is never returned -- automated evidence fill activity is withheld -- so no entry carries that value even though the enum still lists it. Do not write a case for it. */
|
|
1551
1329
|
activityType: InformationRequestActivityType;
|
|
1552
1330
|
/** Timestamp when the activity occurred. Format: ISO 8601 UTC timestamp. */
|
|
1553
1331
|
timestamp: string;
|
|
@@ -1566,20 +1344,15 @@ export interface InformationRequestActivityLog {
|
|
|
1566
1344
|
/** Identifier of the audit this request's audit was duplicated from. Only populated for audit-duplication trail activities. Null for all other activity types. Format: ObjectId as a string. */
|
|
1567
1345
|
sourceAuditId: string | null;
|
|
1568
1346
|
}
|
|
1569
|
-
export declare const InformationRequestActivityLog: S.Schema<InformationRequestActivityLog>;
|
|
1570
1347
|
export type PaginatedResponseInformationRequestActivityLogResultsDataList = Array<InformationRequestActivityLog>;
|
|
1571
|
-
export declare const PaginatedResponseInformationRequestActivityLogResultsDataList: S.Schema<PaginatedResponseInformationRequestActivityLogResultsDataList>;
|
|
1572
1348
|
export interface PaginatedResponseInformationRequestActivityLogResults {
|
|
1573
1349
|
data: PaginatedResponseInformationRequestActivityLogResultsDataList;
|
|
1574
1350
|
pageInfo: PageInfo;
|
|
1575
1351
|
}
|
|
1576
|
-
export declare const PaginatedResponseInformationRequestActivityLogResults: S.Schema<PaginatedResponseInformationRequestActivityLogResults>;
|
|
1577
1352
|
export interface PaginatedResponseInformationRequestActivityLog {
|
|
1578
1353
|
results: PaginatedResponseInformationRequestActivityLogResults;
|
|
1579
1354
|
}
|
|
1580
|
-
export declare const PaginatedResponseInformationRequestActivityLog: S.Schema<PaginatedResponseInformationRequestActivityLog>;
|
|
1581
1355
|
export type ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList = Array<InformationRequestSupportedEvidenceType | (string & {})>;
|
|
1582
|
-
export declare const ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList: S.Schema<ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList>;
|
|
1583
1356
|
export interface ListInformationRequestEvidenceRequest {
|
|
1584
1357
|
auditId: string;
|
|
1585
1358
|
requestId: string;
|
|
@@ -1592,20 +1365,15 @@ export interface ListInformationRequestEvidenceRequest {
|
|
|
1592
1365
|
/** Limits results to the provided evidence types. Must include at least one of: UPLOADED_DOCUMENT, OBSERVATION, LINK, VANTA_DOCUMENT, VANTA_POLICY, VANTA_TEST, VANTA_TEST_SNAPSHOT. */
|
|
1593
1366
|
evidenceTypeMatchesAny?: ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList;
|
|
1594
1367
|
}
|
|
1595
|
-
export declare const ListInformationRequestEvidenceRequest: S.Schema<ListInformationRequestEvidenceRequest>;
|
|
1596
1368
|
export type PaginatedResponseInformationRequestEvidenceResultsDataList = Array<InformationRequestEvidence>;
|
|
1597
|
-
export declare const PaginatedResponseInformationRequestEvidenceResultsDataList: S.Schema<PaginatedResponseInformationRequestEvidenceResultsDataList>;
|
|
1598
1369
|
export interface PaginatedResponseInformationRequestEvidenceResults {
|
|
1599
1370
|
data: PaginatedResponseInformationRequestEvidenceResultsDataList;
|
|
1600
1371
|
pageInfo: PageInfo;
|
|
1601
1372
|
}
|
|
1602
|
-
export declare const PaginatedResponseInformationRequestEvidenceResults: S.Schema<PaginatedResponseInformationRequestEvidenceResults>;
|
|
1603
1373
|
export interface PaginatedResponseInformationRequestEvidence {
|
|
1604
1374
|
results: PaginatedResponseInformationRequestEvidenceResults;
|
|
1605
1375
|
}
|
|
1606
|
-
export declare const PaginatedResponseInformationRequestEvidence: S.Schema<PaginatedResponseInformationRequestEvidence>;
|
|
1607
1376
|
export type ListInformationRequestsRequestSegmentIdsMatchesAnyList = Array<string>;
|
|
1608
|
-
export declare const ListInformationRequestsRequestSegmentIdsMatchesAnyList: S.Schema<ListInformationRequestsRequestSegmentIdsMatchesAnyList>;
|
|
1609
1377
|
export interface ListInformationRequestsRequest {
|
|
1610
1378
|
auditId: string;
|
|
1611
1379
|
/** Maximum number of information requests to return per page. */
|
|
@@ -1617,18 +1385,14 @@ export interface ListInformationRequestsRequest {
|
|
|
1617
1385
|
/** Return requests whose stored segment assignment includes any of these IDs (OR). Omit to return all. A match can still come back with `segmentIds: []` if the stored ID is no longer in the audit's scope. */
|
|
1618
1386
|
segmentIdsMatchesAny?: ListInformationRequestsRequestSegmentIdsMatchesAnyList;
|
|
1619
1387
|
}
|
|
1620
|
-
export declare const ListInformationRequestsRequest: S.Schema<ListInformationRequestsRequest>;
|
|
1621
1388
|
export type PaginatedResponseInformationRequestResultsDataList = Array<InformationRequest>;
|
|
1622
|
-
export declare const PaginatedResponseInformationRequestResultsDataList: S.Schema<PaginatedResponseInformationRequestResultsDataList>;
|
|
1623
1389
|
export interface PaginatedResponseInformationRequestResults {
|
|
1624
1390
|
data: PaginatedResponseInformationRequestResultsDataList;
|
|
1625
1391
|
pageInfo: PageInfo;
|
|
1626
1392
|
}
|
|
1627
|
-
export declare const PaginatedResponseInformationRequestResults: S.Schema<PaginatedResponseInformationRequestResults>;
|
|
1628
1393
|
export interface PaginatedResponseInformationRequest {
|
|
1629
1394
|
results: PaginatedResponseInformationRequestResults;
|
|
1630
1395
|
}
|
|
1631
|
-
export declare const PaginatedResponseInformationRequest: S.Schema<PaginatedResponseInformationRequest>;
|
|
1632
1396
|
export interface ListInformationRequestsForControlRequest {
|
|
1633
1397
|
auditId: string;
|
|
1634
1398
|
controlId: string;
|
|
@@ -1637,15 +1401,10 @@ export interface ListInformationRequestsForControlRequest {
|
|
|
1637
1401
|
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1638
1402
|
pageCursor?: string;
|
|
1639
1403
|
}
|
|
1640
|
-
export declare const ListInformationRequestsForControlRequest: S.Schema<ListInformationRequestsForControlRequest>;
|
|
1641
1404
|
export type AuditIntegrationTag = "ACCESS" | "COMPUTERS" | "CUSTOM_RESOURCE" | "DATA_LOSS_PREVENTION" | "DOCUMENTS" | "DOCUMENT_UPLOAD" | "FRAMEWORK" | "GROUPS" | "INVENTORY" | "NOTIFICATIONS" | "PEOPLE" | "POLICIES" | "SECURITY_AWARENESS_TRAINING" | "SECURITY_SCANNER_ALERTS" | "SSO" | "TASK_CREATION" | "TASK_TRACKING" | "TRUST_CENTER" | "VENDOR_DISCOVERY" | "VENDOR_PROCUREMENT" | "VULNERABILITIES";
|
|
1642
|
-
export declare const AuditIntegrationTag: any;
|
|
1643
1405
|
export type ListIntegrationsRequestTagsMatchesAnyList = Array<AuditIntegrationTag | (string & {})>;
|
|
1644
|
-
export declare const ListIntegrationsRequestTagsMatchesAnyList: S.Schema<ListIntegrationsRequestTagsMatchesAnyList>;
|
|
1645
1406
|
export type AuditIntegrationCategory = "ATS_MERGE_ACCOUNT" | "BACKGROUND_CHECK_SERVICE" | "CLOUD_PROVIDER" | "COMMUNICATION_PLATFORM" | "CRM_MERGE_ACCOUNT" | "CRM_PLATFORM" | "DATASTORE_PROVIDER" | "DATA_LOSS_PREVENTION" | "DATA_WAREHOUSE_PROVIDER" | "DOCUMENT_MANAGEMENT_TOOL" | "ENDPOINT_SECURITY_TOOL" | "HR_PROVIDER" | "IDENTITY_PROVIDER" | "INCIDENT_MANAGEMENT_TOOL" | "MOBILE_DEVICE_MANAGEMENT_TOOL" | "MONITORING_SERVICE" | "OTHER_INTEGRATION" | "SECURITY_AWARENESS_TRAINING_PROVIDER" | "SECURITY_SCANNER_ALERTS" | "TASK_TRACKER" | "VERSION_CONTROL_SYSTEM" | "VULNERABILITY_SCANNER";
|
|
1646
|
-
export declare const AuditIntegrationCategory: any;
|
|
1647
1407
|
export type ListIntegrationsRequestCategoriesMatchesAnyList = Array<AuditIntegrationCategory | (string & {})>;
|
|
1648
|
-
export declare const ListIntegrationsRequestCategoriesMatchesAnyList: S.Schema<ListIntegrationsRequestCategoriesMatchesAnyList>;
|
|
1649
1408
|
export interface ListIntegrationsRequest {
|
|
1650
1409
|
/** The audit ID */
|
|
1651
1410
|
auditId: string;
|
|
@@ -1660,13 +1419,10 @@ export interface ListIntegrationsRequest {
|
|
|
1660
1419
|
/** Filter integrations by category values */
|
|
1661
1420
|
categoriesMatchesAny?: ListIntegrationsRequestCategoriesMatchesAnyList;
|
|
1662
1421
|
}
|
|
1663
|
-
export declare const ListIntegrationsRequest: S.Schema<ListIntegrationsRequest>;
|
|
1664
1422
|
/** Integration tag display names describing what data this integration provides. */
|
|
1665
1423
|
export type AuditIntegrationTagsList = Array<string>;
|
|
1666
|
-
export declare const AuditIntegrationTagsList: S.Schema<AuditIntegrationTagsList>;
|
|
1667
1424
|
/** Category display names describing what the integration is used for. */
|
|
1668
1425
|
export type AuditIntegrationCategoriesList = Array<string>;
|
|
1669
|
-
export declare const AuditIntegrationCategoriesList: S.Schema<AuditIntegrationCategoriesList>;
|
|
1670
1426
|
/** Integration row returned by the auditor integrations API. `id` and `name` are always present. Other fields are optional to support controlled audits where only approved columns are returned. */
|
|
1671
1427
|
export interface AuditIntegration {
|
|
1672
1428
|
/** Integration identifier. */
|
|
@@ -1678,21 +1434,16 @@ export interface AuditIntegration {
|
|
|
1678
1434
|
/** Category display names describing what the integration is used for. */
|
|
1679
1435
|
categories?: AuditIntegrationCategoriesList;
|
|
1680
1436
|
}
|
|
1681
|
-
export declare const AuditIntegration: S.Schema<AuditIntegration>;
|
|
1682
1437
|
export type PaginatedResponseAuditIntegrationResultsDataList = Array<AuditIntegration>;
|
|
1683
|
-
export declare const PaginatedResponseAuditIntegrationResultsDataList: S.Schema<PaginatedResponseAuditIntegrationResultsDataList>;
|
|
1684
1438
|
export interface PaginatedResponseAuditIntegrationResults {
|
|
1685
1439
|
data: PaginatedResponseAuditIntegrationResultsDataList;
|
|
1686
1440
|
pageInfo: PageInfo;
|
|
1687
1441
|
}
|
|
1688
|
-
export declare const PaginatedResponseAuditIntegrationResults: S.Schema<PaginatedResponseAuditIntegrationResults>;
|
|
1689
1442
|
export interface PaginatedResponseAuditIntegration {
|
|
1690
1443
|
results: PaginatedResponseAuditIntegrationResults;
|
|
1691
1444
|
}
|
|
1692
|
-
export declare const PaginatedResponseAuditIntegration: S.Schema<PaginatedResponseAuditIntegration>;
|
|
1693
1445
|
/** Account status values for account access records. Unified status enum that covers all service types. */
|
|
1694
1446
|
export type AccountAccessStatus = "ACTIVE" | "DEACTIVATED" | "UNKNOWN";
|
|
1695
|
-
export declare const AccountAccessStatus: any;
|
|
1696
1447
|
export interface ListPersonnelAccountAccessRequest {
|
|
1697
1448
|
/** The audit ID */
|
|
1698
1449
|
auditId: string;
|
|
@@ -1707,10 +1458,8 @@ export interface ListPersonnelAccountAccessRequest {
|
|
|
1707
1458
|
/** Filter by account status */
|
|
1708
1459
|
status?: AccountAccessStatus | (string & {});
|
|
1709
1460
|
}
|
|
1710
|
-
export declare const ListPersonnelAccountAccessRequest: S.Schema<ListPersonnelAccountAccessRequest>;
|
|
1711
1461
|
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1712
1462
|
export type AccountAccessRoleList = Array<string>;
|
|
1713
|
-
export declare const AccountAccessRoleList: S.Schema<AccountAccessRoleList>;
|
|
1714
1463
|
/** Account access record from personnel population. This unified interface represents account access data from all service types: - IDP services (Okta, Azure AD, Google Workspace, etc.) - First-party account services (AWS, Azure, GCP, Oracle Cloud, etc.) - Role grants services (GCP, Azure role grants) - Received/third-party applications Only `id` and `accountName` are always present. Other fields are optional so disallowed columns can be omitted (for example under controlled audit view). When an optional field is present, `null` means the column is visible but empty (only fields that are nullable in population data use `null`). */
|
|
1715
1464
|
export interface AccountAccess {
|
|
1716
1465
|
/** Unique identifier for the account. */
|
|
@@ -1730,22 +1479,16 @@ export interface AccountAccess {
|
|
|
1730
1479
|
/** Account deactivation date when present, or null when active. */
|
|
1731
1480
|
deactivatedDate?: string | null;
|
|
1732
1481
|
}
|
|
1733
|
-
export declare const AccountAccess: S.Schema<AccountAccess>;
|
|
1734
1482
|
export type PaginatedResponseAccountAccessResultsDataList = Array<AccountAccess>;
|
|
1735
|
-
export declare const PaginatedResponseAccountAccessResultsDataList: S.Schema<PaginatedResponseAccountAccessResultsDataList>;
|
|
1736
1483
|
export interface PaginatedResponseAccountAccessResults {
|
|
1737
1484
|
data: PaginatedResponseAccountAccessResultsDataList;
|
|
1738
1485
|
pageInfo: PageInfo;
|
|
1739
1486
|
}
|
|
1740
|
-
export declare const PaginatedResponseAccountAccessResults: S.Schema<PaginatedResponseAccountAccessResults>;
|
|
1741
1487
|
export interface PaginatedResponseAccountAccess {
|
|
1742
1488
|
results: PaginatedResponseAccountAccessResults;
|
|
1743
1489
|
}
|
|
1744
|
-
export declare const PaginatedResponseAccountAccess: S.Schema<PaginatedResponseAccountAccess>;
|
|
1745
1490
|
export type ListPersonnelGroupsRequestSourcesMatchesAnyList = Array<string>;
|
|
1746
|
-
export declare const ListPersonnelGroupsRequestSourcesMatchesAnyList: S.Schema<ListPersonnelGroupsRequestSourcesMatchesAnyList>;
|
|
1747
1491
|
export type GroupOrderBy = "name" | "members" | "source" | "tasksLastUpdated" | "pointOfContact";
|
|
1748
|
-
export declare const GroupOrderBy: any;
|
|
1749
1492
|
export interface ListPersonnelGroupsRequest {
|
|
1750
1493
|
/** The audit ID */
|
|
1751
1494
|
auditId: string;
|
|
@@ -1762,16 +1505,13 @@ export interface ListPersonnelGroupsRequest {
|
|
|
1762
1505
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1763
1506
|
orderDirection?: OrderDirection | (string & {});
|
|
1764
1507
|
}
|
|
1765
|
-
export declare const ListPersonnelGroupsRequest: S.Schema<ListPersonnelGroupsRequest>;
|
|
1766
1508
|
/** A task assigned to a personnel group. */
|
|
1767
1509
|
export interface PersonnelGroupTask {
|
|
1768
1510
|
/** Task name */
|
|
1769
1511
|
name: string;
|
|
1770
1512
|
}
|
|
1771
|
-
export declare const PersonnelGroupTask: S.Schema<PersonnelGroupTask>;
|
|
1772
1513
|
/** Security tasks enabled for this group, or empty array if not available. */
|
|
1773
1514
|
export type PersonnelGroupTasksList = Array<PersonnelGroupTask>;
|
|
1774
|
-
export declare const PersonnelGroupTasksList: S.Schema<PersonnelGroupTasksList>;
|
|
1775
1515
|
/** A group record from the personnel population. `id` and `name` are required. All other fields are optional to support customizable field visibility. Omitted keys mean the column is not in the response; `null` means the column is present but empty. */
|
|
1776
1516
|
export interface PersonnelGroup {
|
|
1777
1517
|
/** Unique identifier for the group. */
|
|
@@ -1789,25 +1529,18 @@ export interface PersonnelGroup {
|
|
|
1789
1529
|
/** Display name of the group's designated point of contact, or null if not set. */
|
|
1790
1530
|
pointOfContact?: string | null;
|
|
1791
1531
|
}
|
|
1792
|
-
export declare const PersonnelGroup: S.Schema<PersonnelGroup>;
|
|
1793
1532
|
export type PaginatedResponsePersonnelGroupResultsDataList = Array<PersonnelGroup>;
|
|
1794
|
-
export declare const PaginatedResponsePersonnelGroupResultsDataList: S.Schema<PaginatedResponsePersonnelGroupResultsDataList>;
|
|
1795
1533
|
export interface PaginatedResponsePersonnelGroupResults {
|
|
1796
1534
|
data: PaginatedResponsePersonnelGroupResultsDataList;
|
|
1797
1535
|
pageInfo: PageInfo;
|
|
1798
1536
|
}
|
|
1799
|
-
export declare const PaginatedResponsePersonnelGroupResults: S.Schema<PaginatedResponsePersonnelGroupResults>;
|
|
1800
1537
|
export interface PaginatedResponsePersonnelGroup {
|
|
1801
1538
|
results: PaginatedResponsePersonnelGroupResults;
|
|
1802
1539
|
}
|
|
1803
|
-
export declare const PaginatedResponsePersonnelGroup: S.Schema<PaginatedResponsePersonnelGroup>;
|
|
1804
1540
|
/** Employment status filter for people queries. */
|
|
1805
1541
|
export type PeopleEmploymentStatus = "CURRENTLY_EMPLOYED" | "INACTIVE_EMPLOYEE" | "NOT_PEOPLE" | "ON_LEAVE" | "PREVIOUSLY_EMPLOYED" | "UPCOMING_EMPLOYEE";
|
|
1806
|
-
export declare const PeopleEmploymentStatus: any;
|
|
1807
1542
|
export type ListPersonnelPeopleRequestGroupsMatchesAnyList = Array<string>;
|
|
1808
|
-
export declare const ListPersonnelPeopleRequestGroupsMatchesAnyList: S.Schema<ListPersonnelPeopleRequestGroupsMatchesAnyList>;
|
|
1809
1543
|
export type PeopleOrderBy = "name" | "employmentStatus";
|
|
1810
|
-
export declare const PeopleOrderBy: any;
|
|
1811
1544
|
export interface ListPersonnelPeopleRequest {
|
|
1812
1545
|
/** The audit ID */
|
|
1813
1546
|
auditId: string;
|
|
@@ -1826,14 +1559,11 @@ export interface ListPersonnelPeopleRequest {
|
|
|
1826
1559
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1827
1560
|
orderDirection?: OrderDirection | (string & {});
|
|
1828
1561
|
}
|
|
1829
|
-
export declare const ListPersonnelPeopleRequest: S.Schema<ListPersonnelPeopleRequest>;
|
|
1830
1562
|
export interface PersonnelPersonGroupsItem {
|
|
1831
1563
|
name: string;
|
|
1832
1564
|
}
|
|
1833
|
-
export declare const PersonnelPersonGroupsItem: S.Schema<PersonnelPersonGroupsItem>;
|
|
1834
1565
|
/** Groups (roles) the person belongs to. Present only when the column is in the response; use an empty array when there are no groups. */
|
|
1835
1566
|
export type PersonnelPersonGroupsList = Array<PersonnelPersonGroupsItem>;
|
|
1836
|
-
export declare const PersonnelPersonGroupsList: S.Schema<PersonnelPersonGroupsList>;
|
|
1837
1567
|
/** Source information for a person's data. Full Audit View only - omitted in Controlled Audit View. */
|
|
1838
1568
|
export interface PeopleSourceInfo {
|
|
1839
1569
|
/** Main source of user data. */
|
|
@@ -1841,10 +1571,8 @@ export interface PeopleSourceInfo {
|
|
|
1841
1571
|
/** Supplementary source, or null if none. */
|
|
1842
1572
|
supplementarySource: string | null;
|
|
1843
1573
|
}
|
|
1844
|
-
export declare const PeopleSourceInfo: S.Schema<PeopleSourceInfo>;
|
|
1845
1574
|
/** Overall user task status. */
|
|
1846
1575
|
export type PeopleTaskStatus = "NO_SECURITY_TASKS" | "OFFBOARDING_COMPLETE" | "OFFBOARDING_DUE_SOON" | "OFFBOARDING_OVERDUE" | "PAUSED" | "SECURITY_TASKS_COMPLETE" | "SECURITY_TASKS_DUE_SOON" | "SECURITY_TASKS_OVERDUE";
|
|
1847
|
-
export declare const PeopleTaskStatus: any;
|
|
1848
1576
|
/** Overall task status information for a person. Full Audit View only - omitted in Controlled Audit View. */
|
|
1849
1577
|
export interface PeopleTaskStatusInfo {
|
|
1850
1578
|
/** Overall task status. */
|
|
@@ -1860,10 +1588,8 @@ export interface PeopleTaskStatusInfo {
|
|
|
1860
1588
|
/** Count of tasks due soon, or null if not available. */
|
|
1861
1589
|
numTasksDueSoon: number | null;
|
|
1862
1590
|
}
|
|
1863
|
-
export declare const PeopleTaskStatusInfo: S.Schema<PeopleTaskStatusInfo>;
|
|
1864
1591
|
/** Security task status for individual task categories. */
|
|
1865
1592
|
export type PeopleSecurityTaskStatus = "NO_SECURITY_TASKS" | "SECURITY_TASKS_COMPLETE" | "SECURITY_TASKS_DUE_SOON" | "SECURITY_TASKS_OVERDUE";
|
|
1866
|
-
export declare const PeopleSecurityTaskStatus: any;
|
|
1867
1593
|
/** Security task details for a specific task category. Full Audit View only - omitted in Controlled Audit View. */
|
|
1868
1594
|
export interface PeopleSecurityTaskDetails {
|
|
1869
1595
|
/** Task status for this category. */
|
|
@@ -1873,7 +1599,6 @@ export interface PeopleSecurityTaskDetails {
|
|
|
1873
1599
|
/** Completion date for completed task in ISO 8601 format, or null if incomplete. */
|
|
1874
1600
|
completionDate: string | null;
|
|
1875
1601
|
}
|
|
1876
|
-
export declare const PeopleSecurityTaskDetails: S.Schema<PeopleSecurityTaskDetails>;
|
|
1877
1602
|
/** Personnel person data. `id`, `name`, and `email` are required. All other fields are optional to support customizable field visibility. Omitted keys mean the column is not in the response; `null` means the column is present but empty. */
|
|
1878
1603
|
export interface PersonnelPerson {
|
|
1879
1604
|
/** User ID - always present. */
|
|
@@ -1911,18 +1636,14 @@ export interface PersonnelPerson {
|
|
|
1911
1636
|
/** Custom offboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1912
1637
|
customOffboarding?: PeopleSecurityTaskDetails | null;
|
|
1913
1638
|
}
|
|
1914
|
-
export declare const PersonnelPerson: S.Schema<PersonnelPerson>;
|
|
1915
1639
|
export type PaginatedResponsePersonnelPersonResultsDataList = Array<PersonnelPerson>;
|
|
1916
|
-
export declare const PaginatedResponsePersonnelPersonResultsDataList: S.Schema<PaginatedResponsePersonnelPersonResultsDataList>;
|
|
1917
1640
|
export interface PaginatedResponsePersonnelPersonResults {
|
|
1918
1641
|
data: PaginatedResponsePersonnelPersonResultsDataList;
|
|
1919
1642
|
pageInfo: PageInfo;
|
|
1920
1643
|
}
|
|
1921
|
-
export declare const PaginatedResponsePersonnelPersonResults: S.Schema<PaginatedResponsePersonnelPersonResults>;
|
|
1922
1644
|
export interface PaginatedResponsePersonnelPerson {
|
|
1923
1645
|
results: PaginatedResponsePersonnelPersonResults;
|
|
1924
1646
|
}
|
|
1925
|
-
export declare const PaginatedResponsePersonnelPerson: S.Schema<PaginatedResponsePersonnelPerson>;
|
|
1926
1647
|
export interface ListRiskSnapshotsRequest {
|
|
1927
1648
|
/** The audit ID */
|
|
1928
1649
|
auditId: string;
|
|
@@ -1931,7 +1652,6 @@ export interface ListRiskSnapshotsRequest {
|
|
|
1931
1652
|
/** Pagination cursor from previous response */
|
|
1932
1653
|
pageCursor?: string;
|
|
1933
1654
|
}
|
|
1934
|
-
export declare const ListRiskSnapshotsRequest: S.Schema<ListRiskSnapshotsRequest>;
|
|
1935
1655
|
/** A risk assessment snapshot available for an audit. Risk snapshots capture the state of an organization's risk register at a point in time. Use the snapshot `id` with the `/audits/{auditId}/risks/{snapshotId}` endpoint to retrieve the risk scenarios within a snapshot. */
|
|
1936
1656
|
export interface RiskSnapshot {
|
|
1937
1657
|
/** Unique identifier for the risk snapshot. */
|
|
@@ -1939,32 +1659,22 @@ export interface RiskSnapshot {
|
|
|
1939
1659
|
/** The date and time when this risk snapshot was created. */
|
|
1940
1660
|
createdAt: string;
|
|
1941
1661
|
}
|
|
1942
|
-
export declare const RiskSnapshot: S.Schema<RiskSnapshot>;
|
|
1943
1662
|
export type PaginatedResponseRiskSnapshotResultsDataList = Array<RiskSnapshot>;
|
|
1944
|
-
export declare const PaginatedResponseRiskSnapshotResultsDataList: S.Schema<PaginatedResponseRiskSnapshotResultsDataList>;
|
|
1945
1663
|
export interface PaginatedResponseRiskSnapshotResults {
|
|
1946
1664
|
data: PaginatedResponseRiskSnapshotResultsDataList;
|
|
1947
1665
|
pageInfo: PageInfo;
|
|
1948
1666
|
}
|
|
1949
|
-
export declare const PaginatedResponseRiskSnapshotResults: S.Schema<PaginatedResponseRiskSnapshotResults>;
|
|
1950
1667
|
export interface PaginatedResponseRiskSnapshot {
|
|
1951
1668
|
results: PaginatedResponseRiskSnapshotResults;
|
|
1952
1669
|
}
|
|
1953
|
-
export declare const PaginatedResponseRiskSnapshot: S.Schema<PaginatedResponseRiskSnapshot>;
|
|
1954
1670
|
export interface ListShareInformationRequestRequest {
|
|
1955
1671
|
auditId: string;
|
|
1956
1672
|
}
|
|
1957
|
-
export declare const ListShareInformationRequestRequest: S.Schema<ListShareInformationRequestRequest>;
|
|
1958
1673
|
export type AuditVendorStatus = "ACTIVE" | "ARCHIVED" | "IN_PROCUREMENT";
|
|
1959
|
-
export declare const AuditVendorStatus: any;
|
|
1960
1674
|
export type ListVendorsRequestVendorStatusesMatchesAnyList = Array<AuditVendorStatus | (string & {})>;
|
|
1961
|
-
export declare const ListVendorsRequestVendorStatusesMatchesAnyList: S.Schema<ListVendorsRequestVendorStatusesMatchesAnyList>;
|
|
1962
1675
|
export type AuditVendorRiskLevel = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "UNSCORED";
|
|
1963
|
-
export declare const AuditVendorRiskLevel: any;
|
|
1964
1676
|
export type ListVendorsRequestInherentRiskMatchesAnyList = Array<AuditVendorRiskLevel | (string & {})>;
|
|
1965
|
-
export declare const ListVendorsRequestInherentRiskMatchesAnyList: S.Schema<ListVendorsRequestInherentRiskMatchesAnyList>;
|
|
1966
1677
|
export type VendorOrderBy = "name" | "inherentRisk";
|
|
1967
|
-
export declare const VendorOrderBy: any;
|
|
1968
1678
|
export interface ListVendorsRequest {
|
|
1969
1679
|
/** The audit ID */
|
|
1970
1680
|
auditId: string;
|
|
@@ -1983,13 +1693,11 @@ export interface ListVendorsRequest {
|
|
|
1983
1693
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1984
1694
|
orderDirection?: OrderDirection | (string & {});
|
|
1985
1695
|
}
|
|
1986
|
-
export declare const ListVendorsRequest: S.Schema<ListVendorsRequest>;
|
|
1987
1696
|
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1988
1697
|
export interface AuditVendorDataAgreements {
|
|
1989
1698
|
total: number;
|
|
1990
1699
|
complete: number;
|
|
1991
1700
|
}
|
|
1992
|
-
export declare const AuditVendorDataAgreements: S.Schema<AuditVendorDataAgreements>;
|
|
1993
1701
|
/** Managed vendor row returned by the auditor managed-vendors API. Only `id` and `name` are required. All other fields are optional to support controlled audits where only approved columns are returned and customizable field visibility. */
|
|
1994
1702
|
export interface AuditVendor {
|
|
1995
1703
|
/** Vendor record ID. */
|
|
@@ -2013,33 +1721,26 @@ export interface AuditVendor {
|
|
|
2013
1721
|
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
2014
1722
|
dataAgreements?: AuditVendorDataAgreements | null;
|
|
2015
1723
|
}
|
|
2016
|
-
export declare const AuditVendor: S.Schema<AuditVendor>;
|
|
2017
1724
|
export type PaginatedResponseAuditVendorResultsDataList = Array<AuditVendor>;
|
|
2018
|
-
export declare const PaginatedResponseAuditVendorResultsDataList: S.Schema<PaginatedResponseAuditVendorResultsDataList>;
|
|
2019
1725
|
export interface PaginatedResponseAuditVendorResults {
|
|
2020
1726
|
data: PaginatedResponseAuditVendorResultsDataList;
|
|
2021
1727
|
pageInfo: PageInfo;
|
|
2022
1728
|
}
|
|
2023
|
-
export declare const PaginatedResponseAuditVendorResults: S.Schema<PaginatedResponseAuditVendorResults>;
|
|
2024
1729
|
export interface PaginatedResponseAuditVendor {
|
|
2025
1730
|
results: PaginatedResponseAuditVendorResults;
|
|
2026
1731
|
}
|
|
2027
|
-
export declare const PaginatedResponseAuditVendor: S.Schema<PaginatedResponseAuditVendor>;
|
|
2028
1732
|
export type AuditorEnabledStateTransition = "ACCEPT" | "MARK_APPLICABLE" | "FLAG" | "MARK_NA" | "READY_FOR_AUDIT";
|
|
2029
|
-
export declare const AuditorEnabledStateTransition: any;
|
|
2030
1733
|
export interface UpdateAuditEvidenceRequestStatusUpdate {
|
|
2031
1734
|
/** Email of the auditor who changed the state */
|
|
2032
1735
|
auditorEmail: string;
|
|
2033
1736
|
/** State change for audit evidence */
|
|
2034
1737
|
stateTransition: AuditorEnabledStateTransition | (string & {});
|
|
2035
1738
|
}
|
|
2036
|
-
export declare const UpdateAuditEvidenceRequestStatusUpdate: S.Schema<UpdateAuditEvidenceRequestStatusUpdate>;
|
|
2037
1739
|
export interface UpdateAuditEvidenceRequest {
|
|
2038
1740
|
auditId: string;
|
|
2039
1741
|
auditEvidenceId: string;
|
|
2040
1742
|
statusUpdate?: UpdateAuditEvidenceRequestStatusUpdate;
|
|
2041
1743
|
}
|
|
2042
|
-
export declare const UpdateAuditEvidenceRequest: S.Schema<UpdateAuditEvidenceRequest>;
|
|
2043
1744
|
export interface UpdateCommentForControlRequest {
|
|
2044
1745
|
auditId: string;
|
|
2045
1746
|
controlId: string;
|
|
@@ -2049,7 +1750,6 @@ export interface UpdateCommentForControlRequest {
|
|
|
2049
1750
|
/** Email address of the comment author. Must match an existing Vanta user who belongs to the audit firm making the API request. This email uniquely identifies the author across systems. */
|
|
2050
1751
|
email: string;
|
|
2051
1752
|
}
|
|
2052
|
-
export declare const UpdateCommentForControlRequest: S.Schema<UpdateCommentForControlRequest>;
|
|
2053
1753
|
export interface UpdateCommentForInformationRequestRequest {
|
|
2054
1754
|
auditId: string;
|
|
2055
1755
|
requestId: string;
|
|
@@ -2059,20 +1759,16 @@ export interface UpdateCommentForInformationRequestRequest {
|
|
|
2059
1759
|
/** Email address of the comment author. Must match an existing Vanta user who belongs to the audit firm making the API request. This email uniquely identifies the author across systems. */
|
|
2060
1760
|
email: string;
|
|
2061
1761
|
}
|
|
2062
|
-
|
|
2063
|
-
/** Framework codes are assigned only at creation; on update this field is a silent no-op — a value sent here is accepted for backwards compatibility but ignored, leaving the request's framework codes unchanged. */
|
|
1762
|
+
/** Framework codes are assigned only at creation; on update this field is a silent no-op -- a value sent here is accepted for backwards compatibility but ignored, leaving the request's framework codes unchanged. */
|
|
2064
1763
|
export type UpdateInformationRequestRequestFrameworkCodesList = Array<string>;
|
|
2065
|
-
export declare const UpdateInformationRequestRequestFrameworkCodesList: S.Schema<UpdateInformationRequestRequestFrameworkCodesList>;
|
|
2066
1764
|
/** This legacy field is accepted for backwards compatibility but ignored. Use `linkedControlIds` to replace the complete set of linked controls. */
|
|
2067
1765
|
export type UpdateInformationRequestRequestAdditionalControlIdsList = Array<string>;
|
|
2068
|
-
export declare const UpdateInformationRequestRequestAdditionalControlIdsList: S.Schema<UpdateInformationRequestRequestAdditionalControlIdsList>;
|
|
2069
1766
|
/** The complete desired set of control IDs linked to this request. Send the full list to replace the set, an empty array to clear it, or omit the property to leave links unchanged. Each ID must identify an existing control in the customer's organization and is returned by the audit controls endpoint. The request is rejected if any ID does not match a control. */
|
|
2070
1767
|
export type UpdateInformationRequestRequestLinkedControlIdsList = Array<string>;
|
|
2071
|
-
export declare const UpdateInformationRequestRequestLinkedControlIdsList: S.Schema<UpdateInformationRequestRequestLinkedControlIdsList>;
|
|
2072
1768
|
export interface UpdateInformationRequestRequest {
|
|
2073
1769
|
auditId: string;
|
|
2074
1770
|
requestId: string;
|
|
2075
|
-
/** Framework codes are assigned only at creation; on update this field is a silent no-op
|
|
1771
|
+
/** Framework codes are assigned only at creation; on update this field is a silent no-op -- a value sent here is accepted for backwards compatibility but ignored, leaving the request's framework codes unchanged. */
|
|
2076
1772
|
frameworkCodes?: UpdateInformationRequestRequestFrameworkCodesList;
|
|
2077
1773
|
/** Detailed description of what evidence is needed. */
|
|
2078
1774
|
description?: string | null;
|
|
@@ -2091,7 +1787,6 @@ export interface UpdateInformationRequestRequest {
|
|
|
2091
1787
|
/** The complete desired set of control IDs linked to this request. Send the full list to replace the set, an empty array to clear it, or omit the property to leave links unchanged. Each ID must identify an existing control in the customer's organization and is returned by the audit controls endpoint. The request is rejected if any ID does not match a control. */
|
|
2092
1788
|
linkedControlIds?: UpdateInformationRequestRequestLinkedControlIdsList;
|
|
2093
1789
|
}
|
|
2094
|
-
export declare const UpdateInformationRequestRequest: S.Schema<UpdateInformationRequestRequest>;
|
|
2095
1790
|
export interface UpsertAssessmentForControlRequest {
|
|
2096
1791
|
auditId: string;
|
|
2097
1792
|
controlId: string;
|
|
@@ -2104,7 +1799,6 @@ export interface UpsertAssessmentForControlRequest {
|
|
|
2104
1799
|
/** Email of the auditor performing the assessment. Must match an existing Vanta user who belongs to the audit firm making the API request. */
|
|
2105
1800
|
auditorEmail: string;
|
|
2106
1801
|
}
|
|
2107
|
-
export declare const UpsertAssessmentForControlRequest: S.Schema<UpsertAssessmentForControlRequest>;
|
|
2108
1802
|
/** A control's auditor assessment returned by the assessment write endpoint. */
|
|
2109
1803
|
export interface AuditorControlAssessment {
|
|
2110
1804
|
/** The control this assessment belongs to. */
|
|
@@ -2116,7 +1810,6 @@ export interface AuditorControlAssessment {
|
|
|
2116
1810
|
/** The recorded justification. */
|
|
2117
1811
|
justification: string;
|
|
2118
1812
|
}
|
|
2119
|
-
export declare const AuditorControlAssessment: S.Schema<AuditorControlAssessment>;
|
|
2120
1813
|
export type AcceptInformationRequestEvidenceError = VantaOpError;
|
|
2121
1814
|
/** Accept evidence for an information request Accepts evidence for an information request, confirming that all submitted evidence meets audit requirements. This action changes the request's approvalStatus to an approved state and creates an activity log entry. Acceptance workflow: 1. Auditor reviews submitted evidence 2. If evidence is satisfactory, auditor calls this endpoint 3. Request status changes to approved state and is considered complete for this audit cycle Use this endpoint when: - All required evidence has been submitted - Evidence quality meets audit standards - Evidence addresses all specified framework codes - No additional information is needed Rate limit: 50 requests / minute. */
|
|
2122
1815
|
export declare const acceptInformationRequestEvidence: API.OperationMethod<AcceptInformationRequestEvidenceRequest, InformationRequest, AcceptInformationRequestEvidenceError, VantaOpContext>;
|
|
@@ -2139,7 +1832,7 @@ export type CreateCustomEvidenceRequestError = VantaOpError;
|
|
|
2139
1832
|
/** Create a custom evidence request for an audit Create a custom evidence request for an audit. Rate limit: 10 requests / minute. */
|
|
2140
1833
|
export declare const createCustomEvidenceRequest: API.OperationMethod<CreateCustomEvidenceRequestRequest, CustomEvidenceRequest, CreateCustomEvidenceRequestError, VantaOpContext>;
|
|
2141
1834
|
export type CreateInformationRequestError = VantaOpError;
|
|
2142
|
-
/** Create a new information request Creates a new information request for an audit during audit setup or as requirements evolve. After creating all information requests, use POST /audits/{auditId}/share-information-request-list to make them visible to the customer organization. Until shared, requests remain in draft state visible only to auditors. New requests are created in an initial state indicating evidence is needed. The status progresses through the workflow: initial state
|
|
1835
|
+
/** Create a new information request Creates a new information request for an audit during audit setup or as requirements evolve. After creating all information requests, use POST /audits/{auditId}/share-information-request-list to make them visible to the customer organization. Until shared, requests remain in draft state visible only to auditors. New requests are created in an initial state indicating evidence is needed. The status progresses through the workflow: initial state -> awaiting review -> approved or flagged. Rate limit: 600 requests / minute. */
|
|
2143
1836
|
export declare const createInformationRequest: API.OperationMethod<CreateInformationRequestRequest, InformationRequest, CreateInformationRequestError, VantaOpContext>;
|
|
2144
1837
|
export type DeleteCommentForControlError = VantaOpError;
|
|
2145
1838
|
/** Delete a comment for a control within an audit Deletes an existing comment on a control. Only the original author of the comment can delete it. The author is identified by their email address, which must match the email of the user who created the comment. Rate limit: 10 requests / minute. */
|
|
@@ -2151,7 +1844,7 @@ export type DeleteInformationRequestError = VantaOpError;
|
|
|
2151
1844
|
/** Delete an information request for an audit Deletes an information request for an audit. This performs a soft delete, marking the request as deleted (setting `deletionDate`) while preserving it in the system for audit history and compliance tracking. Soft deletion allows: - Maintaining complete audit trail of all requests ever created - Retrieving deleted requests via `changedSinceDate` for synchronization After deletion: - The request remains in list responses with `deletionDate` set, even when `changedSinceDate` is omitted Rate limit: 50 requests / minute. */
|
|
2152
1845
|
export declare const deleteInformationRequest: API.OperationMethod<DeleteInformationRequestRequest, DeleteInformationRequestResponse, DeleteInformationRequestError, VantaOpContext>;
|
|
2153
1846
|
export type DuplicateError = VantaOpError;
|
|
2154
|
-
/** Duplicate an IRL audit Duplicates an existing IRL audit into a new audit engagement with the supplied displayName, audit dates, early access date, and auditor roster. Company, audit type, and framework are copied from the source audit and cannot be changed. Each email in `allowAuditorEmails` must match an active user in the authenticated audit firm's domain. Provision auditors via `POST /auditors` before referencing them here, or copy emails from `GET /audits/{sourceAuditId}`
|
|
1847
|
+
/** Duplicate an IRL audit Duplicates an existing IRL audit into a new audit engagement with the supplied displayName, audit dates, early access date, and auditor roster. Company, audit type, and framework are copied from the source audit and cannot be changed. Each email in `allowAuditorEmails` must match an active user in the authenticated audit firm's domain. Provision auditors via `POST /auditors` before referencing them here, or copy emails from `GET /audits/{sourceAuditId}` -> `allowAuditorEmails` when duplicating with the same roster. Information requests are copied from the source audit. After duplication: - Requests with Vanta evidence will be pre-filled and marked as internal review. Review them before sharing with your customer. - Requests where evidence was not available or was uploaded externally will need evidence added manually. - Evidence capture dates and due dates can be modified after duplication. Audits with generated information requests can be duplicated only after their information requests have been created successfully. Rate limit: 10 requests / minute. */
|
|
2155
1848
|
export declare const duplicate: API.OperationMethod<DuplicateRequest, Audit, DuplicateError, VantaOpContext>;
|
|
2156
1849
|
export type FlagInformationRequestEvidenceError = VantaOpError;
|
|
2157
1850
|
/** Flag evidence for an information request Flags evidence for an information request when it doesn't meet audit requirements, marking issues that need to be addressed before approval. This action changes the request's approvalStatus to a flagged state and creates an activity log entry. Flagging workflow: 1. Auditor reviews submitted evidence 2. If issues are found, auditor calls this endpoint with detailed reason 3. Request status changes to flagged state 4. Customer is notified and can see the reason in activity logs 5. Customer addresses issues and updates evidence 6. When ready, customer changes status back to awaiting review 7. Auditor reviews again and either flags again or accepts The `reason` field should clearly explain what's missing or incorrect so the customer knows exactly what to fix. This reason is visible to the customer and appears in the activity log. Rate limit: 50 requests / minute. */
|
|
@@ -2184,7 +1877,7 @@ export type GetOrganizationInformationError = VantaOpError;
|
|
|
2184
1877
|
/** Get organization information for an audit Retrieves organization information for an audit. This endpoint returns a single record containing the organization's business information visible to auditors during an audit engagement. Sorting and pagination are not applicable. Rate limit: 10 requests / minute. */
|
|
2185
1878
|
export declare const getOrganizationInformation: API.OperationMethod<GetOrganizationInformationRequest, AuditOrganizationInformation, GetOrganizationInformationError, VantaOpContext>;
|
|
2186
1879
|
export type GetOrganizationNotificationsError = VantaOpError;
|
|
2187
|
-
/** Get organization notification settings for an audit Retrieves organization notification settings for an audit. This endpoint returns a single record containing the auditee organization's notification configuration
|
|
1880
|
+
/** Get organization notification settings for an audit Retrieves organization notification settings for an audit. This endpoint returns a single record containing the auditee organization's notification configuration -- schedule, personnel reminder settings, and external notification subscriptions (Compliance, Vendors, Access Reviews, Trust Center). The response is a single aggregate object per domain. Sorting and pagination are not applicable. Under a controlled audit view (TRIMMED_DOWN), only CAV-approved fields are included. Rate limit: 10 requests / minute. */
|
|
2188
1881
|
export declare const getOrganizationNotifications: API.OperationMethod<GetOrganizationNotificationsRequest, AuditOrganizationNotifications, GetOrganizationNotificationsError, VantaOpContext>;
|
|
2189
1882
|
export type ListAccountAccessServicesError = VantaOpError;
|
|
2190
1883
|
/** List account access services for an audit Retrieves connected account access services for an audit. Returns the list of identity providers and access integrations (such as Okta, Azure AD, Google Workspace, AWS IAM) that are connected to the organization and provide account access data for personnel. These integrations are used to verify user access and identity management during an audit engagement. Uses cursor-based pagination. To paginate: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request Results are returned in connection order. Sort order is not guaranteed and cannot be customized via query parameters. Returns 422 when the audit does not have exactly one program segment (multi-framework audits are not supported on this endpoint). Rate limit: 10 requests / minute. */
|
|
@@ -2223,7 +1916,7 @@ export type ListCommentsForInformationRequestError = VantaOpError;
|
|
|
2223
1916
|
/** List comments for an information request Retrieves a paginated list of comments for an information request, enabling auditors to view communication history and collaborate with customers. This endpoint always includes soft-deleted records (where `deletionDate !== null`). Clients should check the `deletionDate` field to identify and handle deleted records appropriately in their systems. If the information request itself has been deleted, this endpoint returns a 4xx HTTP error instead of its comments. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Pagination usage: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` to see if more data exists 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request 4. Repeat until `hasNextPage` is false Delta sync usage: 1. Store the timestamp of your last sync 2. Pass that timestamp as `changedSinceDate` 3. Only comments created, modified, or deleted since that timestamp are returned 4. Process updates, including soft-deletes (deletionDate !== null) 5. Update your last sync timestamp to the current time Rate limit: 50 requests / minute. */
|
|
2224
1917
|
export declare const listCommentsForInformationRequest: API.OperationMethod<ListCommentsForInformationRequestRequest, PaginatedResponseInformationRequestComment, ListCommentsForInformationRequestError, VantaOpContext>;
|
|
2225
1918
|
export type ListInformationRequestActivityError = VantaOpError;
|
|
2226
|
-
/** List information request activity Retrieves a paginated list of activity logs for an information request, providing an audit trail of the changes and actions taken on it. Activity recording Vanta's automated preparation of a request is never returned by this endpoint, so `fillOutcome` is always null here. Some internal status transitions are also withheld, and those are removed after a page is selected, so a page can contain fewer entries than `pageSize`
|
|
1919
|
+
/** List information request activity Retrieves a paginated list of activity logs for an information request, providing an audit trail of the changes and actions taken on it. Activity recording Vanta's automated preparation of a request is never returned by this endpoint, so `fillOutcome` is always null here. Some internal status transitions are also withheld, and those are removed after a page is selected, so a page can contain fewer entries than `pageSize` -- or none at all -- while more pages remain. Follow `results.pageInfo.hasNextPage` rather than treating a short or empty page as the end of the list. If the information request has been deleted, this endpoint returns a 4xx HTTP error instead of its activity. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Pagination usage: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` to see if more data exists 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request 4. Repeat until `hasNextPage` is false Delta sync usage: 1. Store the timestamp of your last sync 2. Pass that timestamp as `changedSinceDate` 3. Only activity created since that timestamp is returned 4. Process updates to track all changes to the information request 5. Update your last sync timestamp to the current time Rate limit: 50 requests / minute. */
|
|
2227
1920
|
export declare const listInformationRequestActivity: API.OperationMethod<ListInformationRequestActivityRequest, PaginatedResponseInformationRequestActivityLog, ListInformationRequestActivityError, VantaOpContext>;
|
|
2228
1921
|
export type ListInformationRequestEvidenceError = VantaOpError;
|
|
2229
1922
|
/** List evidence for an information request Retrieves a paginated list of all evidence attached to an information request, enabling auditors to review evidence submitted by customers. This endpoint always includes soft-deleted records (where `deletionDate !== null`). Clients should check the `deletionDate` field to identify and handle deleted records appropriately in their systems. If the information request itself has been deleted, this endpoint returns a 4xx HTTP error instead of its evidence. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Pagination usage: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` to see if more data exists 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request 4. Repeat until `hasNextPage` is false Delta sync usage: 1. Store the timestamp of your last sync 2. Pass that timestamp as `changedSinceDate` 3. Only evidence created, modified, shared, or deleted since that timestamp is returned 4. Process updates, including soft-deletes (deletionDate !== null) 5. Update your last sync timestamp to the current time Rate limit: 50 requests / minute. */
|
|
@@ -2268,6 +1961,6 @@ export type UpdateInformationRequestError = VantaOpError;
|
|
|
2268
1961
|
/** Update an information request for an audit Updates an existing information request for an audit, allowing modification of request details as audit requirements evolve. Supports partial updates where only specified fields are changed; omitted fields remain unchanged. Common use cases: - Updating due dates as audit timelines shift - Refining descriptions to clarify requirements - Adjusting request type Note: The `modificationDate` is automatically updated to the current timestamp when any field is changed. Rate limit: 50 requests / minute. */
|
|
2269
1962
|
export declare const updateInformationRequest: API.OperationMethod<UpdateInformationRequestRequest, InformationRequest, UpdateInformationRequestError, VantaOpContext>;
|
|
2270
1963
|
export type UpsertAssessmentForControlError = VantaOpError;
|
|
2271
|
-
/** Upsert a control's assessment within an audit Records (upserts) an auditor's assessment state and justification for a control within an IRL audit
|
|
1964
|
+
/** Upsert a control's assessment within an audit Records (upserts) an auditor's assessment state and justification for a control within an IRL audit -- the API equivalent of assessing a control in the web app. Overwrites the assessment for this control in the chosen audit segment. `segmentId` may be any segment on the audit, `PROGRAM` or `SYSTEM` (see `segments` on the audit). It may be omitted only when the audit has exactly one segment. The `assessmentState` must be valid for that segment's framework (the request is rejected otherwise). The acting auditor is identified by `auditorEmail`, which must belong to the audit firm making the request. Returns 404 when the control is not part of the audit or the auditor email does not resolve to a firm user. Returns 422 when `segmentId` is omitted on an audit with more than one segment, when `segmentId` is not a segment on this audit, or when the control is not assigned to that segment for this audit. Applies to both Full and Controlled Audit View audits. Rate limit: 10 requests / minute. */
|
|
2272
1965
|
export declare const upsertAssessmentForControl: API.OperationMethod<UpsertAssessmentForControlRequest, AuditorControlAssessment, UpsertAssessmentForControlError, VantaOpContext>;
|
|
2273
1966
|
//# sourceMappingURL=auditor_api.d.ts.map
|