@distilled.cloud/vanta 0.0.0 → 1.0.0-rc.10
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/LICENSE +201 -0
- package/lib/credentials.d.ts +33 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +39 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +44 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/auditor_api.d.ts +2239 -0
- package/lib/services/auditor_api.d.ts.map +1 -0
- package/lib/services/auditor_api.js +2101 -0
- package/lib/services/auditor_api.js.map +1 -0
- package/lib/services/build_integrations.d.ts +1537 -0
- package/lib/services/build_integrations.d.ts.map +1 -0
- package/lib/services/build_integrations.js +1327 -0
- package/lib/services/build_integrations.js.map +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +6 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/manage_vanta.d.ts +7087 -0
- package/lib/services/manage_vanta.d.ts.map +1 -0
- package/lib/services/manage_vanta.js +7542 -0
- package/lib/services/manage_vanta.js.map +1 -0
- package/lib/services/webhooks.d.ts +474 -0
- package/lib/services/webhooks.d.ts.map +1 -0
- package/lib/services/webhooks.js +631 -0
- package/lib/services/webhooks.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +62 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +25 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +67 -0
- package/src/retry.ts +54 -0
- package/src/services/auditor_api.ts +5477 -0
- package/src/services/build_integrations.ts +3773 -0
- package/src/services/index.ts +5 -0
- package/src/services/manage_vanta.ts +18836 -0
- package/src/services/webhooks.ts +1454 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,2239 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type VantaOpError, type VantaOpContext } from "../protocol.ts";
|
|
4
|
+
export type { VantaOpError, VantaOpContext };
|
|
5
|
+
export interface AcceptInformationRequestEvidenceRequest {
|
|
6
|
+
auditId: string;
|
|
7
|
+
requestId: string;
|
|
8
|
+
/** Email of the auditor accepting the evidence. Must match an existing Vanta user who belongs to the audit firm making the API request. */
|
|
9
|
+
auditorEmail: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const AcceptInformationRequestEvidenceRequest: S.Schema<AcceptInformationRequestEvidenceRequest>;
|
|
12
|
+
/** Additional control IDs beyond those automatically mapped from framework codes. Allows manual association with specific controls when automatic mapping is insufficient. Each ID should reference a valid control in your audit framework. */
|
|
13
|
+
export type InformationRequestAdditionalControlIdsList = Array<string>;
|
|
14
|
+
export declare const InformationRequestAdditionalControlIdsList: S.Schema<InformationRequestAdditionalControlIdsList>;
|
|
15
|
+
/** 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. */
|
|
16
|
+
export type InformationRequestApprovalStatus = "NEEDS_EVIDENCE" | "READY_FOR_AUDIT" | "AUDITOR_APPROVED" | "AUDITOR_FLAGGED";
|
|
17
|
+
export declare const InformationRequestApprovalStatus: any;
|
|
18
|
+
/** Frequency cadence for the information request, indicating how often it recurs. */
|
|
19
|
+
export type InformationRequestCadence = "ANNUALLY" | "BIANNUALLY" | "MONTHLY" | "QUARTERLY";
|
|
20
|
+
export declare const InformationRequestCadence: any;
|
|
21
|
+
/** The framework codes this request addresses. Links the request to specific compliance requirements. Can be an empty array if no framework codes are associated. These codes correspond to standards like SOC 2, ISO 27001, etc. */
|
|
22
|
+
export type InformationRequestFrameworkCodesList = Array<string>;
|
|
23
|
+
export declare const InformationRequestFrameworkCodesList: S.Schema<InformationRequestFrameworkCodesList>;
|
|
24
|
+
/** 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) */
|
|
25
|
+
export type InformationRequestType = "POINT_IN_TIME" | "POPULATION" | "SAMPLE";
|
|
26
|
+
export declare const InformationRequestType: any;
|
|
27
|
+
export type ResourceOwnerCase0Type = "user";
|
|
28
|
+
export declare const ResourceOwnerCase0Type: any;
|
|
29
|
+
export interface ResourceOwnerCase0 {
|
|
30
|
+
displayName: string;
|
|
31
|
+
id: string;
|
|
32
|
+
type: ResourceOwnerCase0Type;
|
|
33
|
+
}
|
|
34
|
+
export declare const ResourceOwnerCase0: S.Schema<ResourceOwnerCase0>;
|
|
35
|
+
export type ResourceOwnerCase1Type = "team";
|
|
36
|
+
export declare const ResourceOwnerCase1Type: any;
|
|
37
|
+
export interface ResourceOwnerCase1 {
|
|
38
|
+
displayName: string;
|
|
39
|
+
id: string;
|
|
40
|
+
type: ResourceOwnerCase1Type;
|
|
41
|
+
}
|
|
42
|
+
export declare const ResourceOwnerCase1: S.Schema<ResourceOwnerCase1>;
|
|
43
|
+
/** Represents either a user or a team owning a resource. */
|
|
44
|
+
export type ResourceOwner = ResourceOwnerCase0 | ResourceOwnerCase1;
|
|
45
|
+
export declare const ResourceOwner: S.Schema<ResourceOwner>;
|
|
46
|
+
/** 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. */
|
|
47
|
+
export interface InformationRequest {
|
|
48
|
+
/** 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") */
|
|
49
|
+
id: string;
|
|
50
|
+
/** External unique ID to prevent duplicates across different audit systems. Used for idempotency when syncing data between external audit management systems and Vanta. Unlike `id`, this value is provided by the external system. */
|
|
51
|
+
uniqueId: string;
|
|
52
|
+
/** Additional control IDs beyond those automatically mapped from framework codes. Allows manual association with specific controls when automatic mapping is insufficient. Each ID should reference a valid control in your audit framework. */
|
|
53
|
+
additionalControlIds: InformationRequestAdditionalControlIdsList;
|
|
54
|
+
/** Current approval status tracking the request's lifecycle through evidence submission and auditor review. */
|
|
55
|
+
approvalStatus: InformationRequestApprovalStatus;
|
|
56
|
+
/** How frequently this information request recurs (e.g., annual password policy reviews). Null for one-time requests. */
|
|
57
|
+
cadence: InformationRequestCadence | null;
|
|
58
|
+
/** The framework codes this request addresses. Links the request to specific compliance requirements. Can be an empty array if no framework codes are associated. These codes correspond to standards like SOC 2, ISO 27001, etc. */
|
|
59
|
+
frameworkCodes: InformationRequestFrameworkCodesList;
|
|
60
|
+
/** Detailed description explaining what evidence is needed and why. Should provide clear instructions to help the customer understand what to submit. */
|
|
61
|
+
description: string | null;
|
|
62
|
+
/** The deadline by which the customer must fulfill this request. Null if no specific deadline is set. Format: ISO 8601 UTC timestamp. */
|
|
63
|
+
dueDate: string | null;
|
|
64
|
+
/** The earliest date for which evidence should be captured. Evidence dated before this date may not be accepted. Null if not restricted. Format: ISO 8601 UTC timestamp. */
|
|
65
|
+
evidenceCaptureDate: string | null;
|
|
66
|
+
/** Non-unique external reference ID for this request. Unlike `uniqueId` which must be unique, `requestId` is for display/reference purposes only (e.g., "REQ-123"). Null if not provided. */
|
|
67
|
+
requestId: string | null;
|
|
68
|
+
/** Defines the scope of evidence required. */
|
|
69
|
+
requestType: InformationRequestType;
|
|
70
|
+
/** Short, descriptive title summarizing what is being requested. */
|
|
71
|
+
title: string;
|
|
72
|
+
/** Timestamp when the request was created in the system. Format: ISO 8601 UTC timestamp. */
|
|
73
|
+
creationDate: string;
|
|
74
|
+
/** Timestamp when the request was last modified. Format: ISO 8601 UTC timestamp. */
|
|
75
|
+
modificationDate: string;
|
|
76
|
+
/** Timestamp when the request was soft-deleted. Null if the request has not been deleted. Soft deletes allow retaining history while hiding the request from normal operations. Format: ISO 8601 UTC timestamp. */
|
|
77
|
+
deletionDate: string | null;
|
|
78
|
+
/** Resource owner (user or team) assigned to this information request. Returns null if no resource owner is assigned. */
|
|
79
|
+
ownerAssignment: ResourceOwner | null;
|
|
80
|
+
}
|
|
81
|
+
export declare const InformationRequest: S.Schema<InformationRequest>;
|
|
82
|
+
export interface CreateAuditorRequest {
|
|
83
|
+
/** Email of the new user. */
|
|
84
|
+
email: string;
|
|
85
|
+
/** First name of the new user. */
|
|
86
|
+
givenName: string;
|
|
87
|
+
/** Last name of the new user. */
|
|
88
|
+
familyName: string;
|
|
89
|
+
}
|
|
90
|
+
export declare const CreateAuditorRequest: S.Schema<CreateAuditorRequest>;
|
|
91
|
+
export interface Auditor {
|
|
92
|
+
id: string;
|
|
93
|
+
/** The unique identifier for the organization. */
|
|
94
|
+
organizationId: string;
|
|
95
|
+
/** The email address of the auditor. */
|
|
96
|
+
email: string;
|
|
97
|
+
/** The given name (first name) of the auditor. */
|
|
98
|
+
givenName: string;
|
|
99
|
+
/** The family name (last name) of the auditor. */
|
|
100
|
+
familyName: string;
|
|
101
|
+
}
|
|
102
|
+
export declare const Auditor: S.Schema<Auditor>;
|
|
103
|
+
export interface CreateCommentForAuditEvidenceRequest {
|
|
104
|
+
auditId: string;
|
|
105
|
+
auditEvidenceId: string;
|
|
106
|
+
/** Text value of the comment */
|
|
107
|
+
text: string;
|
|
108
|
+
/** Email of author. Must match an existing Vanta user and the user must exist under the Audit Firm who is making the API request */
|
|
109
|
+
email: string;
|
|
110
|
+
/** When the comment was created in the external system */
|
|
111
|
+
creationDate: string;
|
|
112
|
+
}
|
|
113
|
+
export declare const CreateCommentForAuditEvidenceRequest: S.Schema<CreateCommentForAuditEvidenceRequest>;
|
|
114
|
+
export interface Comment {
|
|
115
|
+
/** The unique identifier for the comment */
|
|
116
|
+
id: string;
|
|
117
|
+
/** The unique identifier for the audit evidence related to the comment. */
|
|
118
|
+
auditEvidenceId: string;
|
|
119
|
+
/** The comment message */
|
|
120
|
+
text: string;
|
|
121
|
+
/** When the comment was created */
|
|
122
|
+
creationDate: string;
|
|
123
|
+
/** When the comment was updated */
|
|
124
|
+
modificationDate: string | null;
|
|
125
|
+
/** When the comment was deleted */
|
|
126
|
+
deletionDate: string | null;
|
|
127
|
+
/** The email of the comment author. This acts as a unique identifier to map users between Vanta and external systems. */
|
|
128
|
+
email: string | null;
|
|
129
|
+
/** 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. */
|
|
130
|
+
authorName: string | null;
|
|
131
|
+
}
|
|
132
|
+
export declare const Comment: S.Schema<Comment>;
|
|
133
|
+
export interface CreateCommentForControlRequest {
|
|
134
|
+
auditId: string;
|
|
135
|
+
controlId: string;
|
|
136
|
+
/** The text content of the comment. Must be at least 1 character. Can include questions, clarifications, or explanations related to the control. */
|
|
137
|
+
text: string;
|
|
138
|
+
/** 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. */
|
|
139
|
+
email: string;
|
|
140
|
+
/** 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. */
|
|
141
|
+
creationDate: string;
|
|
142
|
+
}
|
|
143
|
+
export declare const CreateCommentForControlRequest: S.Schema<CreateCommentForControlRequest>;
|
|
144
|
+
/** 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. */
|
|
145
|
+
export interface AuditControlComment {
|
|
146
|
+
/** The unique identifier for the comment within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
147
|
+
id: string;
|
|
148
|
+
/** The comment message content. Can include explanations, questions, or clarifications about the control. */
|
|
149
|
+
text: string;
|
|
150
|
+
/** Timestamp when the comment was created. Format: ISO 8601 UTC timestamp. */
|
|
151
|
+
creationDate: string;
|
|
152
|
+
/** Timestamp when the comment was last edited. Null if the comment has never been modified. Format: ISO 8601 UTC timestamp. */
|
|
153
|
+
modificationDate: string | null;
|
|
154
|
+
/** Timestamp when the comment was soft-deleted. Null if the comment has not been deleted. Soft deletes retain the comment for audit history while hiding it from normal operations. Format: ISO 8601 UTC timestamp. */
|
|
155
|
+
deletionDate: string | null;
|
|
156
|
+
/** Email address of the comment author. This email uniquely identifies users between Vanta and external audit systems. Null when the comment author can't be matched to a Vanta user. */
|
|
157
|
+
email: string | null;
|
|
158
|
+
/** 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. */
|
|
159
|
+
authorName: string | null;
|
|
160
|
+
}
|
|
161
|
+
export declare const AuditControlComment: S.Schema<AuditControlComment>;
|
|
162
|
+
export interface CreateCommentForInformationRequestRequest {
|
|
163
|
+
auditId: string;
|
|
164
|
+
requestId: string;
|
|
165
|
+
/** The text content of the comment. Must be at least 1 character. Can include questions, clarifications, or explanations related to the information request. */
|
|
166
|
+
text: string;
|
|
167
|
+
/** 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. */
|
|
168
|
+
email: string;
|
|
169
|
+
/** 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. */
|
|
170
|
+
creationDate: string;
|
|
171
|
+
}
|
|
172
|
+
export declare const CreateCommentForInformationRequestRequest: S.Schema<CreateCommentForInformationRequestRequest>;
|
|
173
|
+
/** 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. */
|
|
174
|
+
export interface InformationRequestComment {
|
|
175
|
+
/** The unique identifier for the comment within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
176
|
+
id: string;
|
|
177
|
+
/** The comment message content. Can include explanations, questions, or clarifications about the information request. */
|
|
178
|
+
text: string;
|
|
179
|
+
/** Timestamp when the comment was created. Format: ISO 8601 UTC timestamp. */
|
|
180
|
+
creationDate: string;
|
|
181
|
+
/** Timestamp when the comment was last edited. Null if the comment has never been modified. Format: ISO 8601 UTC timestamp. */
|
|
182
|
+
modificationDate: string | null;
|
|
183
|
+
/** Timestamp when the comment was soft-deleted. Null if the comment has not been deleted. Soft deletes retain the comment for audit history while hiding it from normal operations. Format: ISO 8601 UTC timestamp. */
|
|
184
|
+
deletionDate: string | null;
|
|
185
|
+
/** Email address of the comment author. This email uniquely identifies users between Vanta and external audit systems. Null when the comment author can't be matched to a Vanta user. */
|
|
186
|
+
email: string | null;
|
|
187
|
+
/** 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. */
|
|
188
|
+
authorName: string | null;
|
|
189
|
+
}
|
|
190
|
+
export declare const InformationRequestComment: S.Schema<InformationRequestComment>;
|
|
191
|
+
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";
|
|
192
|
+
export declare const ControlDomain: any;
|
|
193
|
+
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";
|
|
194
|
+
export declare const FrameworkId: any;
|
|
195
|
+
export type FrameworkSectionFrameworkId = FrameworkId | string;
|
|
196
|
+
export declare const FrameworkSectionFrameworkId: S.Schema<FrameworkSectionFrameworkId>;
|
|
197
|
+
export interface FrameworkSection {
|
|
198
|
+
frameworkId: FrameworkSectionFrameworkId;
|
|
199
|
+
sectionId: string;
|
|
200
|
+
}
|
|
201
|
+
export declare const FrameworkSection: S.Schema<FrameworkSection>;
|
|
202
|
+
/** Framework sections that the control should be mapped to. */
|
|
203
|
+
export type CreateCustomControlRequestSectionsList = Array<FrameworkSection>;
|
|
204
|
+
export declare const CreateCustomControlRequestSectionsList: S.Schema<CreateCustomControlRequestSectionsList>;
|
|
205
|
+
export type GdprRole = "BOTH" | "CONTROLLER" | "PROCESSOR";
|
|
206
|
+
export declare const GdprRole: any;
|
|
207
|
+
export interface CreateCustomControlRequest {
|
|
208
|
+
auditId: string;
|
|
209
|
+
/** The external id of the control. */
|
|
210
|
+
externalId: string;
|
|
211
|
+
/** The name of the control. */
|
|
212
|
+
name: string | null;
|
|
213
|
+
/** The description of the control. */
|
|
214
|
+
description: string;
|
|
215
|
+
/** The effective date of the control. */
|
|
216
|
+
effectiveDate: string;
|
|
217
|
+
/** The category of the control. See the ControlDomain enum for possible values. */
|
|
218
|
+
category: ControlDomain | (string & {});
|
|
219
|
+
/** Framework sections that the control should be mapped to. */
|
|
220
|
+
sections?: CreateCustomControlRequestSectionsList | null;
|
|
221
|
+
/** 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. */
|
|
222
|
+
role?: GdprRole | (string & {}) | null;
|
|
223
|
+
}
|
|
224
|
+
export declare const CreateCustomControlRequest: S.Schema<CreateCustomControlRequest>;
|
|
225
|
+
export type ControlSource = "Vanta" | "Custom";
|
|
226
|
+
export declare const ControlSource: any;
|
|
227
|
+
/** The security domains that the control belongs to. */
|
|
228
|
+
export type ControlDomainsList = Array<string>;
|
|
229
|
+
export declare const ControlDomainsList: S.Schema<ControlDomainsList>;
|
|
230
|
+
export interface Owner {
|
|
231
|
+
/** Unique identifier for the person. */
|
|
232
|
+
id: string;
|
|
233
|
+
/** Name of the person that is shown in product. */
|
|
234
|
+
displayName: string;
|
|
235
|
+
/** Email address of the person. */
|
|
236
|
+
emailAddress: string;
|
|
237
|
+
}
|
|
238
|
+
export declare const Owner: S.Schema<Owner>;
|
|
239
|
+
export type CustomFieldValueCase1List = Array<string>;
|
|
240
|
+
export declare const CustomFieldValueCase1List: S.Schema<CustomFieldValueCase1List>;
|
|
241
|
+
export type CustomFieldValue = string | CustomFieldValueCase1List;
|
|
242
|
+
export declare const CustomFieldValue: S.Schema<CustomFieldValue>;
|
|
243
|
+
export interface CustomField {
|
|
244
|
+
label: string;
|
|
245
|
+
value: CustomFieldValue;
|
|
246
|
+
}
|
|
247
|
+
export declare const CustomField: S.Schema<CustomField>;
|
|
248
|
+
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
249
|
+
export type ControlCustomFieldsList = Array<CustomField>;
|
|
250
|
+
export declare const ControlCustomFieldsList: S.Schema<ControlCustomFieldsList>;
|
|
251
|
+
export interface Control {
|
|
252
|
+
/** The control's unique ID. */
|
|
253
|
+
id: string;
|
|
254
|
+
/** The control's external ID. */
|
|
255
|
+
externalId: string | null;
|
|
256
|
+
/** The control's name. */
|
|
257
|
+
name: string;
|
|
258
|
+
/** The control's description. */
|
|
259
|
+
description: string;
|
|
260
|
+
/** The control's source, either "VANTA" or "CUSTOM". */
|
|
261
|
+
source: ControlSource;
|
|
262
|
+
/** The security domains that the control belongs to. */
|
|
263
|
+
domains: ControlDomainsList;
|
|
264
|
+
/** The control's owner. */
|
|
265
|
+
owner: Owner | null;
|
|
266
|
+
/** The control's GDPR role, if the control is a GDPR control. */
|
|
267
|
+
role?: string | null;
|
|
268
|
+
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
269
|
+
customFields: ControlCustomFieldsList;
|
|
270
|
+
/** When the control was created. Returns null for Vanta library controls. */
|
|
271
|
+
creationDate: string | null;
|
|
272
|
+
/** When the control was last modified. Returns null for Vanta library controls. */
|
|
273
|
+
modificationDate: string | null;
|
|
274
|
+
}
|
|
275
|
+
export declare const Control: S.Schema<Control>;
|
|
276
|
+
/** A set of controls, referenced by id, to map the evidence to */
|
|
277
|
+
export type CreateCustomEvidenceRequestRequestControlIdsList = Array<string>;
|
|
278
|
+
export declare const CreateCustomEvidenceRequestRequestControlIdsList: S.Schema<CreateCustomEvidenceRequestRequestControlIdsList>;
|
|
279
|
+
export type RecurrenceDuration = "P0D" | "P1D" | "P1W" | "P1M" | "P3M" | "P6M" | "P1Y" | "P2Y";
|
|
280
|
+
export declare const RecurrenceDuration: any;
|
|
281
|
+
export interface CreateCustomEvidenceRequestRequest {
|
|
282
|
+
auditId: string;
|
|
283
|
+
/** A set of controls, referenced by id, to map the evidence to */
|
|
284
|
+
controlIds: CreateCustomEvidenceRequestRequestControlIdsList;
|
|
285
|
+
/** Title for the evidence request */
|
|
286
|
+
title: string;
|
|
287
|
+
/** Description for the evidence request */
|
|
288
|
+
description: string;
|
|
289
|
+
/** Renewal cadence */
|
|
290
|
+
cadence: RecurrenceDuration | (string & {});
|
|
291
|
+
/** Duration representing when to send notifications, relative to renewal date */
|
|
292
|
+
reminderWindow: RecurrenceDuration | (string & {});
|
|
293
|
+
/** Whether this document contains sensitive data and needs more restrictive read access */
|
|
294
|
+
isRestricted: boolean;
|
|
295
|
+
/** Email of the auditor who created the custom evidence request. */
|
|
296
|
+
auditorEmail: string;
|
|
297
|
+
}
|
|
298
|
+
export declare const CreateCustomEvidenceRequestRequest: S.Schema<CreateCustomEvidenceRequestRequest>;
|
|
299
|
+
/** A set of controls, referenced by id, to map the evidence to */
|
|
300
|
+
export type CustomEvidenceRequestControlIdsList = Array<string>;
|
|
301
|
+
export declare const CustomEvidenceRequestControlIdsList: S.Schema<CustomEvidenceRequestControlIdsList>;
|
|
302
|
+
export interface CustomEvidenceRequest {
|
|
303
|
+
/** Internal id of the custom evidence request within Vanta */
|
|
304
|
+
id: string;
|
|
305
|
+
/** A set of controls, referenced by id, to map the evidence to */
|
|
306
|
+
controlIds: CustomEvidenceRequestControlIdsList;
|
|
307
|
+
/** Title for the evidence request */
|
|
308
|
+
title: string;
|
|
309
|
+
/** Description for the evidence request */
|
|
310
|
+
description: string;
|
|
311
|
+
/** Renewal cadence */
|
|
312
|
+
cadence: RecurrenceDuration;
|
|
313
|
+
/** Duration representing when to send notifications, relative to renewal date */
|
|
314
|
+
reminderWindow: RecurrenceDuration;
|
|
315
|
+
/** Whether this document contains sensitive data and needs more restrictive read access */
|
|
316
|
+
isRestricted: boolean;
|
|
317
|
+
}
|
|
318
|
+
export declare const CustomEvidenceRequest: S.Schema<CustomEvidenceRequest>;
|
|
319
|
+
/** Framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
320
|
+
export type CreateInformationRequestRequestFrameworkCodesList = Array<string>;
|
|
321
|
+
export declare const CreateInformationRequestRequestFrameworkCodesList: S.Schema<CreateInformationRequestRequestFrameworkCodesList>;
|
|
322
|
+
/** 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). The request is rejected if any ID does not match a control. Omit or pass an empty array for no direct control links. */
|
|
323
|
+
export type CreateInformationRequestRequestAdditionalControlIdsList = Array<string>;
|
|
324
|
+
export declare const CreateInformationRequestRequestAdditionalControlIdsList: S.Schema<CreateInformationRequestRequestAdditionalControlIdsList>;
|
|
325
|
+
export interface CreateInformationRequestRequest {
|
|
326
|
+
auditId: string;
|
|
327
|
+
/** External unique ID to prevent duplicate requests across audit systems. Must be unique within the audit. Used for idempotency. */
|
|
328
|
+
uniqueId: string;
|
|
329
|
+
/** Short, descriptive title summarizing what is being requested. Must be at least 1 character. */
|
|
330
|
+
title: string;
|
|
331
|
+
/** Scope of evidence required. */
|
|
332
|
+
requestType: InformationRequestType | (string & {});
|
|
333
|
+
/** Detailed description explaining what evidence is needed. Helps the customer understand what to submit. Optional. */
|
|
334
|
+
description?: string | null;
|
|
335
|
+
/** Framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
336
|
+
frameworkCodes: CreateInformationRequestRequestFrameworkCodesList;
|
|
337
|
+
/** How frequently this request recurs. Null or omitted for one-time requests. */
|
|
338
|
+
cadence?: InformationRequestCadence | (string & {}) | null;
|
|
339
|
+
/** Deadline for fulfilling this request. Null or omitted if no deadline. Format: ISO 8601 UTC timestamp. */
|
|
340
|
+
dueDate?: string | null;
|
|
341
|
+
/** Start date of the audit period. Evidence before this date may not be accepted. Null or omitted if not restricted. Format: ISO 8601 UTC timestamp. */
|
|
342
|
+
evidenceCaptureDate?: string | null;
|
|
343
|
+
/** 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). The request is rejected if any ID does not match a control. Omit or pass an empty array for no direct control links. */
|
|
344
|
+
additionalControlIds?: CreateInformationRequestRequestAdditionalControlIdsList;
|
|
345
|
+
}
|
|
346
|
+
export declare const CreateInformationRequestRequest: S.Schema<CreateInformationRequestRequest>;
|
|
347
|
+
export interface DeleteCommentForControlRequest {
|
|
348
|
+
auditId: string;
|
|
349
|
+
controlId: string;
|
|
350
|
+
commentId: string;
|
|
351
|
+
/** 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. */
|
|
352
|
+
email: string;
|
|
353
|
+
}
|
|
354
|
+
export declare const DeleteCommentForControlRequest: S.Schema<DeleteCommentForControlRequest>;
|
|
355
|
+
export interface DeleteCommentForControlResponse {
|
|
356
|
+
}
|
|
357
|
+
export declare const DeleteCommentForControlResponse: S.Schema<DeleteCommentForControlResponse>;
|
|
358
|
+
export interface DeleteCommentForInformationRequestRequest {
|
|
359
|
+
auditId: string;
|
|
360
|
+
requestId: string;
|
|
361
|
+
commentId: string;
|
|
362
|
+
/** 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. */
|
|
363
|
+
email: string;
|
|
364
|
+
}
|
|
365
|
+
export declare const DeleteCommentForInformationRequestRequest: S.Schema<DeleteCommentForInformationRequestRequest>;
|
|
366
|
+
export interface DeleteCommentForInformationRequestResponse {
|
|
367
|
+
}
|
|
368
|
+
export declare const DeleteCommentForInformationRequestResponse: S.Schema<DeleteCommentForInformationRequestResponse>;
|
|
369
|
+
export interface DeleteInformationRequestRequest {
|
|
370
|
+
auditId: string;
|
|
371
|
+
requestId: string;
|
|
372
|
+
}
|
|
373
|
+
export declare const DeleteInformationRequestRequest: S.Schema<DeleteInformationRequestRequest>;
|
|
374
|
+
export interface DeleteInformationRequestResponse {
|
|
375
|
+
}
|
|
376
|
+
export declare const DeleteInformationRequestResponse: S.Schema<DeleteInformationRequestResponse>;
|
|
377
|
+
/** 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. */
|
|
378
|
+
export type DuplicateRequestAllowAuditorEmailsList = Array<string>;
|
|
379
|
+
export declare const DuplicateRequestAllowAuditorEmailsList: S.Schema<DuplicateRequestAllowAuditorEmailsList>;
|
|
380
|
+
export interface DuplicateRequest {
|
|
381
|
+
/** ID of the source IRL audit to duplicate. */
|
|
382
|
+
sourceAuditId: string;
|
|
383
|
+
/** Display name for the new audit engagement. */
|
|
384
|
+
displayName: string;
|
|
385
|
+
/** Start of the audit window for the new audit. */
|
|
386
|
+
auditStartDate: string;
|
|
387
|
+
/** End of the audit window for the new audit. */
|
|
388
|
+
auditEndDate: string;
|
|
389
|
+
/** When auditors gain access to the new audit. */
|
|
390
|
+
earlyAccessStartsAt: string;
|
|
391
|
+
/** 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. */
|
|
392
|
+
allowAuditorEmails: DuplicateRequestAllowAuditorEmailsList;
|
|
393
|
+
}
|
|
394
|
+
export declare const DuplicateRequest: S.Schema<DuplicateRequest>;
|
|
395
|
+
/** Emails of auditors with access to audit */
|
|
396
|
+
export type AuditAllowAuditorEmailsList = Array<string>;
|
|
397
|
+
export declare const AuditAllowAuditorEmailsList: S.Schema<AuditAllowAuditorEmailsList>;
|
|
398
|
+
export type AuditFocus = "EXTERNAL" | "INTERNAL";
|
|
399
|
+
export declare const AuditFocus: any;
|
|
400
|
+
/** 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. */
|
|
401
|
+
export interface AuditAuditorRequestListMetadata {
|
|
402
|
+
/** Timestamp when information requests were shared with the customer. Null if not shared. */
|
|
403
|
+
requestsSharedWithCustomer: string | null;
|
|
404
|
+
}
|
|
405
|
+
export declare const AuditAuditorRequestListMetadata: S.Schema<AuditAuditorRequestListMetadata>;
|
|
406
|
+
export type AuditSegmentKind = "PROGRAM" | "SYSTEM";
|
|
407
|
+
export declare const AuditSegmentKind: any;
|
|
408
|
+
/** The framework reached through a segment. */
|
|
409
|
+
export interface AuditSegmentFramework {
|
|
410
|
+
/** The stable identifier of the framework (for example `soc2`). */
|
|
411
|
+
id: string;
|
|
412
|
+
/** The human-readable framework name. */
|
|
413
|
+
displayName: string;
|
|
414
|
+
/** The short framework name used in compact UI. */
|
|
415
|
+
shortName: string;
|
|
416
|
+
}
|
|
417
|
+
export declare const AuditSegmentFramework: S.Schema<AuditSegmentFramework>;
|
|
418
|
+
/** A business unit or information-system association on an audit segment. */
|
|
419
|
+
export interface AuditSegmentAssociation {
|
|
420
|
+
/** The unique identifier of the associated business unit or information system. */
|
|
421
|
+
id: string;
|
|
422
|
+
/** The human-readable name of the associated business unit or information system. */
|
|
423
|
+
displayName: string;
|
|
424
|
+
}
|
|
425
|
+
export declare const AuditSegmentAssociation: S.Schema<AuditSegmentAssociation>;
|
|
426
|
+
export type AuditSoc2ReportType = "soc2type1" | "soc2type2";
|
|
427
|
+
export declare const AuditSoc2ReportType: any;
|
|
428
|
+
export type AuditSoc2Tsc = "SECURITY" | "AVAILABILITY" | "CONFIDENTIALITY" | "PRIVACY" | "PROCESSING_INTEGRITY";
|
|
429
|
+
export declare const AuditSoc2Tsc: any;
|
|
430
|
+
/** Trust Services Criteria this segment covers. */
|
|
431
|
+
export type AuditSoc2DeliverableTscsList = Array<AuditSoc2Tsc>;
|
|
432
|
+
export declare const AuditSoc2DeliverableTscsList: S.Schema<AuditSoc2DeliverableTscsList>;
|
|
433
|
+
/** Per-segment SOC 2 report configuration. Null when the segment is not SOC 2 or has no configured deliverable. */
|
|
434
|
+
export interface AuditSoc2Deliverable {
|
|
435
|
+
/** SOC 2 report type for this segment. */
|
|
436
|
+
reportType: AuditSoc2ReportType;
|
|
437
|
+
/** Trust Services Criteria this segment covers. */
|
|
438
|
+
tscs: AuditSoc2DeliverableTscsList;
|
|
439
|
+
}
|
|
440
|
+
export declare const AuditSoc2Deliverable: S.Schema<AuditSoc2Deliverable>;
|
|
441
|
+
/** One segment of an audit's scope. A live single-framework audit has exactly one entry; a live multi-framework audit has one per in-scope framework (and business unit or system, when applicable). 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. */
|
|
442
|
+
export interface AuditSegment {
|
|
443
|
+
/** The unique identifier for the segment. */
|
|
444
|
+
id: string;
|
|
445
|
+
/** Whether this segment is a program (framework / business unit) or a system. */
|
|
446
|
+
kind: AuditSegmentKind;
|
|
447
|
+
/** The segment's display label. Do not reconstruct this from framework + BU. */
|
|
448
|
+
displayName: string;
|
|
449
|
+
/** The framework reached through this segment. */
|
|
450
|
+
framework: AuditSegmentFramework;
|
|
451
|
+
/** The business unit this program segment is scoped to, or null when the segment is not BU-scoped or the BU cannot be resolved. */
|
|
452
|
+
businessUnit: AuditSegmentAssociation | null;
|
|
453
|
+
/** The information system this system segment is scoped to, or null on program segments. */
|
|
454
|
+
system: AuditSegmentAssociation | null;
|
|
455
|
+
/** SOC 2 report type and Trust Services Criteria for this segment, or null. */
|
|
456
|
+
soc2Deliverable: AuditSoc2Deliverable | null;
|
|
457
|
+
}
|
|
458
|
+
export declare const AuditSegment: S.Schema<AuditSegment>;
|
|
459
|
+
/** The audit's scope as a list of segments. Always present. A live single-framework audit has one entry; a multi-framework audit has one entry per in-scope framework (and business unit or system, when applicable). Soft-deleted audits return an empty list. Prefer this over the deprecated top-level `framework` field. */
|
|
460
|
+
export type AuditSegmentsList = Array<AuditSegment>;
|
|
461
|
+
export declare const AuditSegmentsList: S.Schema<AuditSegmentsList>;
|
|
462
|
+
export interface Audit {
|
|
463
|
+
/** The unique identifier for the audit. */
|
|
464
|
+
id: string;
|
|
465
|
+
/** The domain name of the customer organization being audited (e.g. vanta.com) */
|
|
466
|
+
customerOrganizationName: string;
|
|
467
|
+
/** The human readable name of the customer organization being audited (e.g. Vanta) */
|
|
468
|
+
customerDisplayName: string | null;
|
|
469
|
+
/** The uuid of the customer organization being audited */
|
|
470
|
+
customerOrganizationId: string;
|
|
471
|
+
/** The start of the audit window. This is also when data collection for audit starts. */
|
|
472
|
+
auditStartDate: string;
|
|
473
|
+
/** The end of the audit window. */
|
|
474
|
+
auditEndDate: string;
|
|
475
|
+
/** Timestamp at which auditors gain access to the audit. Occurs before the audit window begins */
|
|
476
|
+
earlyAccessStartsAt: string | null;
|
|
477
|
+
/** Legacy singular framework display name from the audit type. Incomplete for a multi-framework audit — use `segments` for framework identity. */
|
|
478
|
+
framework: string;
|
|
479
|
+
/** The display name for the audit. Returns the custom audit name if set, otherwise returns the framework name. */
|
|
480
|
+
displayName: string;
|
|
481
|
+
/** Emails of auditors with access to audit */
|
|
482
|
+
allowAuditorEmails: AuditAllowAuditorEmailsList;
|
|
483
|
+
/** Set to true if all auditors in audit firm have access */
|
|
484
|
+
allowAllAuditors: boolean;
|
|
485
|
+
/** Timestamp when the audit was deleted */
|
|
486
|
+
deletionDate: string | null;
|
|
487
|
+
/** Timestamp when the audit was created */
|
|
488
|
+
creationDate: string;
|
|
489
|
+
/** Timestamp when the audit was updated */
|
|
490
|
+
modificationDate: string | null;
|
|
491
|
+
/** Timestamp when the audit was marked completed, and report was uploaded */
|
|
492
|
+
completionDate: string | null;
|
|
493
|
+
/** Audit focus determines if the audit is internal or external facing */
|
|
494
|
+
auditFocus: AuditFocus;
|
|
495
|
+
/** 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. */
|
|
496
|
+
auditorRequestListMetadata?: AuditAuditorRequestListMetadata;
|
|
497
|
+
/** The audit's scope as a list of segments. Always present. A live single-framework audit has one entry; a multi-framework audit has one entry per in-scope framework (and business unit or system, when applicable). Soft-deleted audits return an empty list. Prefer this over the deprecated top-level `framework` field. */
|
|
498
|
+
segments: AuditSegmentsList;
|
|
499
|
+
}
|
|
500
|
+
export declare const Audit: S.Schema<Audit>;
|
|
501
|
+
export interface FlagInformationRequestEvidenceRequest {
|
|
502
|
+
auditId: string;
|
|
503
|
+
requestId: string;
|
|
504
|
+
/** Email of the auditor flagging the evidence. Must match an existing Vanta user who belongs to the audit firm making the API request. */
|
|
505
|
+
auditorEmail: string;
|
|
506
|
+
/** 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. */
|
|
507
|
+
reason: string;
|
|
508
|
+
}
|
|
509
|
+
export declare const FlagInformationRequestEvidenceRequest: S.Schema<FlagInformationRequestEvidenceRequest>;
|
|
510
|
+
export interface GetAuditRequest {
|
|
511
|
+
auditId: string;
|
|
512
|
+
}
|
|
513
|
+
export declare const GetAuditRequest: S.Schema<GetAuditRequest>;
|
|
514
|
+
export interface GetAuditEvidenceRequest {
|
|
515
|
+
auditId: string;
|
|
516
|
+
auditEvidenceId: string;
|
|
517
|
+
}
|
|
518
|
+
export declare const GetAuditEvidenceRequest: S.Schema<GetAuditEvidenceRequest>;
|
|
519
|
+
export type AuditEvidenceState = "Accepted" | "Flagged" | "Initialized" | "NA" | "Not ready for audit" | "Ready for audit";
|
|
520
|
+
export declare const AuditEvidenceState: any;
|
|
521
|
+
export type AuditEvidenceType = "Evidence Request" | "Policy" | "Test";
|
|
522
|
+
export declare const AuditEvidenceType: any;
|
|
523
|
+
/** A list sections associated to the control */
|
|
524
|
+
export type EvidenceControlSectionNamesList = Array<string>;
|
|
525
|
+
export declare const EvidenceControlSectionNamesList: S.Schema<EvidenceControlSectionNamesList>;
|
|
526
|
+
export interface EvidenceControl {
|
|
527
|
+
/** Name of control associated to this evidence */
|
|
528
|
+
name: string;
|
|
529
|
+
/** A list sections associated to the control */
|
|
530
|
+
sectionNames: EvidenceControlSectionNamesList;
|
|
531
|
+
}
|
|
532
|
+
export declare const EvidenceControl: S.Schema<EvidenceControl>;
|
|
533
|
+
/** The controls associated to this evidence */
|
|
534
|
+
export type EvidenceRelatedControlsList = Array<EvidenceControl>;
|
|
535
|
+
export declare const EvidenceRelatedControlsList: S.Schema<EvidenceRelatedControlsList>;
|
|
536
|
+
export interface Evidence {
|
|
537
|
+
/** Vanta internal reference to evidence */
|
|
538
|
+
id: string;
|
|
539
|
+
/** This is a static UUID to map Audit Firm controls to Vanta controls */
|
|
540
|
+
externalId: string;
|
|
541
|
+
/** Vanta internal statuses for audit evidence */
|
|
542
|
+
status: AuditEvidenceState;
|
|
543
|
+
/** Mutable name for evidence. Not guaranteed to be unique. */
|
|
544
|
+
name: string;
|
|
545
|
+
/** The date this Audit Evidence was deleted */
|
|
546
|
+
deletionDate: string | null;
|
|
547
|
+
/** The date this Audit Evidence was created */
|
|
548
|
+
creationDate: string;
|
|
549
|
+
/** Point in time that status was last updated */
|
|
550
|
+
statusUpdatedDate: string;
|
|
551
|
+
/** The outcome of the automated test run, for Test-type evidence */
|
|
552
|
+
testStatus: string | null;
|
|
553
|
+
/** The type of Audit Evidence */
|
|
554
|
+
evidenceType: AuditEvidenceType;
|
|
555
|
+
/** Unique identifier for evidence */
|
|
556
|
+
evidenceId: string;
|
|
557
|
+
/** The controls associated to this evidence */
|
|
558
|
+
relatedControls: EvidenceRelatedControlsList;
|
|
559
|
+
/** The description for the evidence. It will be set to null if the evidence is deleted */
|
|
560
|
+
description: string | null;
|
|
561
|
+
}
|
|
562
|
+
export declare const Evidence: S.Schema<Evidence>;
|
|
563
|
+
export interface GetAuditEvidenceCommentRequest {
|
|
564
|
+
auditId: string;
|
|
565
|
+
auditEvidenceId: string;
|
|
566
|
+
commentId: string;
|
|
567
|
+
}
|
|
568
|
+
export declare const GetAuditEvidenceCommentRequest: S.Schema<GetAuditEvidenceCommentRequest>;
|
|
569
|
+
export interface GetCommentForInformationRequestRequest {
|
|
570
|
+
auditId: string;
|
|
571
|
+
requestId: string;
|
|
572
|
+
commentId: string;
|
|
573
|
+
}
|
|
574
|
+
export declare const GetCommentForInformationRequestRequest: S.Schema<GetCommentForInformationRequestRequest>;
|
|
575
|
+
export interface GetFrameworkCodesRequest {
|
|
576
|
+
auditId: string;
|
|
577
|
+
}
|
|
578
|
+
export declare const GetFrameworkCodesRequest: S.Schema<GetFrameworkCodesRequest>;
|
|
579
|
+
/** Array of valid framework codes for the audit's framework (e.g., "CC6.1", "CC6.2"). These represent the different framework sections available for creating information requests. */
|
|
580
|
+
export type FrameworkCodesFrameworkCodesList = Array<string>;
|
|
581
|
+
export declare const FrameworkCodesFrameworkCodesList: S.Schema<FrameworkCodesFrameworkCodesList>;
|
|
582
|
+
/** Framework codes response resource */
|
|
583
|
+
export interface FrameworkCodes {
|
|
584
|
+
/** Array of valid framework codes for the audit's framework (e.g., "CC6.1", "CC6.2"). These represent the different framework sections available for creating information requests. */
|
|
585
|
+
frameworkCodes: FrameworkCodesFrameworkCodesList;
|
|
586
|
+
}
|
|
587
|
+
export declare const FrameworkCodes: S.Schema<FrameworkCodes>;
|
|
588
|
+
export interface GetInformationRequestRequest {
|
|
589
|
+
auditId: string;
|
|
590
|
+
requestId: string;
|
|
591
|
+
}
|
|
592
|
+
export declare const GetInformationRequestRequest: S.Schema<GetInformationRequestRequest>;
|
|
593
|
+
export interface GetInformationRequestEvidenceRequest {
|
|
594
|
+
auditId: string;
|
|
595
|
+
requestId: string;
|
|
596
|
+
evidenceId: string;
|
|
597
|
+
}
|
|
598
|
+
export declare const GetInformationRequestEvidenceRequest: S.Schema<GetInformationRequestEvidenceRequest>;
|
|
599
|
+
export type InformationRequestSupportedEvidenceType = "UPLOADED_DOCUMENT" | "OBSERVATION" | "LINK" | "VANTA_DOCUMENT" | "VANTA_POLICY" | "VANTA_TEST" | "VANTA_TEST_SNAPSHOT";
|
|
600
|
+
export declare const InformationRequestSupportedEvidenceType: any;
|
|
601
|
+
/** Evidence in the form of an uploaded document file. The URL is a temporary presigned URL that expires after a certain period. */
|
|
602
|
+
export interface UploadedDocumentEvidence {
|
|
603
|
+
/** The unique identifier for the uploaded document in Vanta's system. */
|
|
604
|
+
id: string;
|
|
605
|
+
/** The original filename of the uploaded document. Undefined if the filename was not captured during upload. */
|
|
606
|
+
filename?: string;
|
|
607
|
+
/** The MIME type of the document indicating its file format. Common types: "application/pdf", "image/png", "image/jpeg", "text/plain" */
|
|
608
|
+
mimeType: string;
|
|
609
|
+
/** 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. */
|
|
610
|
+
url: string;
|
|
611
|
+
}
|
|
612
|
+
export declare const UploadedDocumentEvidence: S.Schema<UploadedDocumentEvidence>;
|
|
613
|
+
/** Evidence in the form of a link to external documentation or resources. */
|
|
614
|
+
export interface LinkEvidence {
|
|
615
|
+
/** The title or descriptive name for the link. */
|
|
616
|
+
title: string;
|
|
617
|
+
/** Optional description providing additional context about the link. */
|
|
618
|
+
description?: string;
|
|
619
|
+
/** The URL pointing to the external documentation or resource. */
|
|
620
|
+
url: string;
|
|
621
|
+
}
|
|
622
|
+
export declare const LinkEvidence: S.Schema<LinkEvidence>;
|
|
623
|
+
/** Evidence in the form of a text observation or note. */
|
|
624
|
+
export interface ObservationEvidence {
|
|
625
|
+
/** The text content of the observation. */
|
|
626
|
+
observationDetails: string;
|
|
627
|
+
}
|
|
628
|
+
export declare const ObservationEvidence: S.Schema<ObservationEvidence>;
|
|
629
|
+
/** Information about the user who added this file version to the document. Undefined if the user information is not available. */
|
|
630
|
+
export interface VantaDocumentEvidenceAddedBy {
|
|
631
|
+
email: string;
|
|
632
|
+
name: string;
|
|
633
|
+
}
|
|
634
|
+
export declare const VantaDocumentEvidenceAddedBy: S.Schema<VantaDocumentEvidenceAddedBy>;
|
|
635
|
+
/** Discriminator to identify this as an uploaded file. */
|
|
636
|
+
export type VantaDocumentUploadedEvidenceType = "uploaded";
|
|
637
|
+
export declare const VantaDocumentUploadedEvidenceType: any;
|
|
638
|
+
/** Represents an uploaded file in a Vanta Document. The file is stored in Vanta's system and accessed via a presigned URL. */
|
|
639
|
+
export interface VantaDocumentUploadedEvidence {
|
|
640
|
+
/** Discriminator to identify this as an uploaded file. */
|
|
641
|
+
type: VantaDocumentUploadedEvidenceType;
|
|
642
|
+
/** The unique identifier for the file version in Vanta's system. */
|
|
643
|
+
id: string;
|
|
644
|
+
/** The original filename of the uploaded document. Undefined if the filename was not captured during upload. */
|
|
645
|
+
filename?: string;
|
|
646
|
+
/** The MIME type of the document indicating its file format. Common types: "application/pdf", "image/png", "image/jpeg", "text/plain" */
|
|
647
|
+
mimeType: string;
|
|
648
|
+
/** 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. */
|
|
649
|
+
url: string;
|
|
650
|
+
}
|
|
651
|
+
export declare const VantaDocumentUploadedEvidence: S.Schema<VantaDocumentUploadedEvidence>;
|
|
652
|
+
/** Discriminator to identify this as an external link. */
|
|
653
|
+
export type VantaDocumentLinkEvidenceType = "link";
|
|
654
|
+
export declare const VantaDocumentLinkEvidenceType: any;
|
|
655
|
+
/** Represents an external link in a Vanta Document. The link points to documentation hosted outside of Vanta's system. */
|
|
656
|
+
export interface VantaDocumentLinkEvidence {
|
|
657
|
+
/** Discriminator to identify this as an external link. */
|
|
658
|
+
type: VantaDocumentLinkEvidenceType;
|
|
659
|
+
/** The unique identifier for the file version in Vanta's system. */
|
|
660
|
+
id: string;
|
|
661
|
+
/** The URL pointing to the external documentation or resource. */
|
|
662
|
+
url: string;
|
|
663
|
+
}
|
|
664
|
+
export declare const VantaDocumentLinkEvidence: S.Schema<VantaDocumentLinkEvidence>;
|
|
665
|
+
/** 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. */
|
|
666
|
+
export type VantaDocumentEvidenceFile = VantaDocumentUploadedEvidence | VantaDocumentLinkEvidence;
|
|
667
|
+
export declare const VantaDocumentEvidenceFile: S.Schema<VantaDocumentEvidenceFile>;
|
|
668
|
+
/** 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. */
|
|
669
|
+
export interface VantaDocumentEvidence {
|
|
670
|
+
/** The title of the document as displayed in Vanta. */
|
|
671
|
+
title: string;
|
|
672
|
+
/** Optional description providing additional context about the document. */
|
|
673
|
+
description?: string;
|
|
674
|
+
/** The date when the document version expires and should be renewed. Undefined if no expiration is set. Format: ISO 8601 UTC timestamp. */
|
|
675
|
+
expirationDate?: string;
|
|
676
|
+
/** Information about the user who added this file version to the document. Undefined if the user information is not available. */
|
|
677
|
+
addedBy?: VantaDocumentEvidenceAddedBy;
|
|
678
|
+
/** The unique identifier of the document version submitted as evidence. */
|
|
679
|
+
documentVersionId: string;
|
|
680
|
+
/** 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. */
|
|
681
|
+
file: VantaDocumentEvidenceFile;
|
|
682
|
+
}
|
|
683
|
+
export declare const VantaDocumentEvidence: S.Schema<VantaDocumentEvidence>;
|
|
684
|
+
/** Information about the user who last edited this policy version. Undefined if the user information is not available. */
|
|
685
|
+
export type VantaPolicyEvidenceLastEditedBy = VantaDocumentEvidenceAddedBy;
|
|
686
|
+
export declare const VantaPolicyEvidenceLastEditedBy: S.Schema<VantaDocumentEvidenceAddedBy>;
|
|
687
|
+
/** The uploaded policy file for this version. */
|
|
688
|
+
export interface VantaPolicyEvidenceFile {
|
|
689
|
+
/** The date when this policy version became effective, or when it was created. Format: ISO 8601 UTC timestamp. */
|
|
690
|
+
effectiveOrCreationDate: string;
|
|
691
|
+
/** The locale/language of the policy document. Examples: "EN" for English, "ES" for Spanish, "FR" for French */
|
|
692
|
+
locale: string;
|
|
693
|
+
/** A presigned URL for downloading the policy document. This URL is temporary and expires after a limited time. Request a new evidence list to get a fresh URL if expired. */
|
|
694
|
+
url: string;
|
|
695
|
+
/** The MIME type of the policy document indicating its file format. Common types: "application/pdf", "application/msword" */
|
|
696
|
+
mimeType: string;
|
|
697
|
+
/** The original filename of the uploaded policy document. Undefined if the filename was not captured during upload. */
|
|
698
|
+
filename?: string;
|
|
699
|
+
/** The unique identifier for the uploaded policy file in Vanta's system. */
|
|
700
|
+
id: string;
|
|
701
|
+
}
|
|
702
|
+
export declare const VantaPolicyEvidenceFile: S.Schema<VantaPolicyEvidenceFile>;
|
|
703
|
+
/** 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. */
|
|
704
|
+
export interface VantaPolicyEvidence {
|
|
705
|
+
/** The title of the policy as displayed in Vanta. */
|
|
706
|
+
title: string;
|
|
707
|
+
/** Optional description providing additional context about the policy. */
|
|
708
|
+
description?: string;
|
|
709
|
+
/** The date when the policy version expires and should be renewed. Undefined if no expiration is set. Format: ISO 8601 UTC timestamp. */
|
|
710
|
+
expirationDate?: string;
|
|
711
|
+
/** Information about the user who last edited this policy version. Undefined if the user information is not available. */
|
|
712
|
+
lastEditedBy?: VantaDocumentEvidenceAddedBy;
|
|
713
|
+
/** The policy type this evidence belongs to (e.g. "information-security-policy-bsi"). Policies prefixed with "custom-" are customer-defined; others are Vanta-provided templates. */
|
|
714
|
+
policyId: string;
|
|
715
|
+
/** The identifier of the approved policy version that was submitted as evidence. A new version is created each time a policy is updated and approved. */
|
|
716
|
+
policyVersionId: string;
|
|
717
|
+
/** The identifier of the locale-specific file within the policy version. Each policy version may contain multiple files, one per supported language. */
|
|
718
|
+
policyVersionFileId: string;
|
|
719
|
+
/** The uploaded policy file for this version. */
|
|
720
|
+
file: VantaPolicyEvidenceFile;
|
|
721
|
+
}
|
|
722
|
+
export declare const VantaPolicyEvidence: S.Schema<VantaPolicyEvidence>;
|
|
723
|
+
export type VantaTestRunStatus = "NA" | "IN_PROGRESS" | "FAIL" | "PASS" | "INVALID" | "DISABLED";
|
|
724
|
+
export declare const VantaTestRunStatus: any;
|
|
725
|
+
export type VantaTestFileType = "TEST_EVIDENCE_WORKPAPER" | "TEST_RAW_DATA" | "OUT_OF_SCOPE_RESOURCES" | "API_REQUESTS";
|
|
726
|
+
export declare const VantaTestFileType: any;
|
|
727
|
+
/** The evidence file for this test run. */
|
|
728
|
+
export interface VantaTestEvidenceFile {
|
|
729
|
+
/** The MIME type of the evidence file. Common types: "application/pdf" for workpapers, "text/csv" for raw data */
|
|
730
|
+
mimeType: string;
|
|
731
|
+
/** 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. */
|
|
732
|
+
url: string;
|
|
733
|
+
}
|
|
734
|
+
export declare const VantaTestEvidenceFile: S.Schema<VantaTestEvidenceFile>;
|
|
735
|
+
/** 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. */
|
|
736
|
+
export interface VantaTestEvidence {
|
|
737
|
+
/** The title of the test run as displayed in Vanta. */
|
|
738
|
+
title: string;
|
|
739
|
+
/** The unique identifier for the test in Vanta's system. */
|
|
740
|
+
testId: string;
|
|
741
|
+
/** 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. */
|
|
742
|
+
snapshotId: string;
|
|
743
|
+
/** The outcome status of the test run. */
|
|
744
|
+
testRunStatus: VantaTestRunStatus;
|
|
745
|
+
/** The date and time when the test was executed. Format: ISO 8601 UTC timestamp. */
|
|
746
|
+
executedAt: string;
|
|
747
|
+
/** The type of evidence file included in this evidence. */
|
|
748
|
+
fileType: VantaTestFileType;
|
|
749
|
+
/** The evidence file for this test run. */
|
|
750
|
+
file: VantaTestEvidenceFile;
|
|
751
|
+
}
|
|
752
|
+
export declare const VantaTestEvidence: S.Schema<VantaTestEvidence>;
|
|
753
|
+
/** The outcome status of the test run. */
|
|
754
|
+
export type VantaTestSnapshotEvidenceTestRunStatus = "NA" | "IN_PROGRESS" | "FAIL" | "PASS" | "INVALID" | "DISABLED";
|
|
755
|
+
export declare const VantaTestSnapshotEvidenceTestRunStatus: any;
|
|
756
|
+
/** 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. */
|
|
757
|
+
export interface VantaTestSnapshotEvidence {
|
|
758
|
+
/** 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. */
|
|
759
|
+
snapshotId: string;
|
|
760
|
+
/** The unique identifier for the test in Vanta's system. */
|
|
761
|
+
testId: string;
|
|
762
|
+
/** The unique identifier for the test run this snapshot was captured from. */
|
|
763
|
+
testRunId: string;
|
|
764
|
+
/** The title of the test run as displayed in Vanta. */
|
|
765
|
+
testRunTitle: string;
|
|
766
|
+
/** The outcome status of the test run. */
|
|
767
|
+
testRunStatus: VantaTestSnapshotEvidenceTestRunStatus;
|
|
768
|
+
/** The date and time when the test was executed. Format: ISO 8601 UTC timestamp. */
|
|
769
|
+
testRunExecutedAt: string;
|
|
770
|
+
}
|
|
771
|
+
export declare const VantaTestSnapshotEvidence: S.Schema<VantaTestSnapshotEvidence>;
|
|
772
|
+
/** Union type representing the different forms of evidence content. The specific type is determined by the `evidenceType` field in InformationRequestEvidence. */
|
|
773
|
+
export type InformationRequestEvidenceUnion = UploadedDocumentEvidence | LinkEvidence | ObservationEvidence | VantaDocumentEvidence | VantaPolicyEvidence | VantaTestEvidence | VantaTestSnapshotEvidence;
|
|
774
|
+
export declare const InformationRequestEvidenceUnion: S.Schema<InformationRequestEvidenceUnion>;
|
|
775
|
+
export interface InformationRequestEvidence {
|
|
776
|
+
/** The unique identifier for the evidence within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
777
|
+
id: string;
|
|
778
|
+
/** Type of evidence attached to this information request. Determines the structure of the `evidence` field. */
|
|
779
|
+
evidenceType: InformationRequestSupportedEvidenceType;
|
|
780
|
+
/** Timestamp when the evidence was made visible to the auditor. Null if the customer has not yet shared this evidence with the auditor. Evidence must be shared before the auditor can review it. Format: ISO 8601 UTC timestamp. */
|
|
781
|
+
visibleToAuditorDate?: string | null;
|
|
782
|
+
/** Timestamp when the evidence was created/uploaded. Format: ISO 8601 UTC timestamp. */
|
|
783
|
+
creationDate: string;
|
|
784
|
+
/** Timestamp when the evidence was last modified. Format: ISO 8601 UTC timestamp. */
|
|
785
|
+
modificationDate: string;
|
|
786
|
+
/** Timestamp when the evidence was soft-deleted. Null if the evidence has not been deleted. Soft deletes retain evidence in the system for audit history while hiding it from normal operations. Format: ISO 8601 UTC timestamp. */
|
|
787
|
+
deletionDate?: string | null;
|
|
788
|
+
/** The evidence content. Structure varies based on evidenceType. */
|
|
789
|
+
evidence: InformationRequestEvidenceUnion;
|
|
790
|
+
}
|
|
791
|
+
export declare const InformationRequestEvidence: S.Schema<InformationRequestEvidence>;
|
|
792
|
+
export interface GetInformationRequestTestSnapshotEvidenceDetailRequest {
|
|
793
|
+
auditId: string;
|
|
794
|
+
requestId: string;
|
|
795
|
+
evidenceId: string;
|
|
796
|
+
}
|
|
797
|
+
export declare const GetInformationRequestTestSnapshotEvidenceDetailRequest: S.Schema<GetInformationRequestTestSnapshotEvidenceDetailRequest>;
|
|
798
|
+
/** Integration metadata for a test, mirroring the Vanta web app. */
|
|
799
|
+
export interface VantaTestSnapshotIntegration {
|
|
800
|
+
integrationId: string;
|
|
801
|
+
displayName: string;
|
|
802
|
+
}
|
|
803
|
+
export declare const VantaTestSnapshotIntegration: S.Schema<VantaTestSnapshotIntegration>;
|
|
804
|
+
/** Integrations whose data feeds the test. */
|
|
805
|
+
export type VantaTestSnapshotEvidenceDetailIntegrationsList = Array<VantaTestSnapshotIntegration>;
|
|
806
|
+
export declare const VantaTestSnapshotEvidenceDetailIntegrationsList: S.Schema<VantaTestSnapshotEvidenceDetailIntegrationsList>;
|
|
807
|
+
export interface VantaTestSnapshotSlaRemediationSettings {
|
|
808
|
+
numericValue: number;
|
|
809
|
+
unit: string | null;
|
|
810
|
+
}
|
|
811
|
+
export declare const VantaTestSnapshotSlaRemediationSettings: S.Schema<VantaTestSnapshotSlaRemediationSettings>;
|
|
812
|
+
export interface VantaTestSnapshotSlaRemediation {
|
|
813
|
+
id: string;
|
|
814
|
+
settings: VantaTestSnapshotSlaRemediationSettings | null;
|
|
815
|
+
}
|
|
816
|
+
export declare const VantaTestSnapshotSlaRemediation: S.Schema<VantaTestSnapshotSlaRemediation>;
|
|
817
|
+
/** 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. */
|
|
818
|
+
export interface VantaTestSnapshotRawTestDataRow {
|
|
819
|
+
/** Identifier of the underlying resource the row was captured from. Null for unstructured snapshots, which do not partition by resource. */
|
|
820
|
+
resourceId: string | null;
|
|
821
|
+
/** Specific resource kind for the row (e.g. `AwsIamUser`). Null for unstructured snapshots. */
|
|
822
|
+
resourceType: string | null;
|
|
823
|
+
/** 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. */
|
|
824
|
+
rawJson: unknown;
|
|
825
|
+
}
|
|
826
|
+
export declare const VantaTestSnapshotRawTestDataRow: S.Schema<VantaTestSnapshotRawTestDataRow>;
|
|
827
|
+
/** Raw test data captured at snapshot time. */
|
|
828
|
+
export type VantaTestSnapshotEvidenceDetailRawTestDataList = Array<VantaTestSnapshotRawTestDataRow>;
|
|
829
|
+
export declare const VantaTestSnapshotEvidenceDetailRawTestDataList: S.Schema<VantaTestSnapshotEvidenceDetailRawTestDataList>;
|
|
830
|
+
export interface VantaTestSnapshotExcludedItem {
|
|
831
|
+
id: string;
|
|
832
|
+
displayName: string | null;
|
|
833
|
+
}
|
|
834
|
+
export declare const VantaTestSnapshotExcludedItem: S.Schema<VantaTestSnapshotExcludedItem>;
|
|
835
|
+
export type VantaTestSnapshotExcludedItemGroupEntitiesList = Array<VantaTestSnapshotExcludedItem>;
|
|
836
|
+
export declare const VantaTestSnapshotExcludedItemGroupEntitiesList: S.Schema<VantaTestSnapshotExcludedItemGroupEntitiesList>;
|
|
837
|
+
export interface VantaTestSnapshotExcludedItemGroup {
|
|
838
|
+
reason: string;
|
|
839
|
+
entities: VantaTestSnapshotExcludedItemGroupEntitiesList;
|
|
840
|
+
}
|
|
841
|
+
export declare const VantaTestSnapshotExcludedItemGroup: S.Schema<VantaTestSnapshotExcludedItemGroup>;
|
|
842
|
+
export type VantaTestSnapshotOutOfScopeResourcesTestLevelList = Array<VantaTestSnapshotExcludedItemGroup>;
|
|
843
|
+
export declare const VantaTestSnapshotOutOfScopeResourcesTestLevelList: S.Schema<VantaTestSnapshotOutOfScopeResourcesTestLevelList>;
|
|
844
|
+
export type VantaTestSnapshotFrameworkExclusionGroupedByReasonList = Array<VantaTestSnapshotExcludedItemGroup>;
|
|
845
|
+
export declare const VantaTestSnapshotFrameworkExclusionGroupedByReasonList: S.Schema<VantaTestSnapshotFrameworkExclusionGroupedByReasonList>;
|
|
846
|
+
export interface VantaTestSnapshotFrameworkExclusion {
|
|
847
|
+
frameworkId: string;
|
|
848
|
+
frameworkName: string;
|
|
849
|
+
groupedByReason: VantaTestSnapshotFrameworkExclusionGroupedByReasonList;
|
|
850
|
+
}
|
|
851
|
+
export declare const VantaTestSnapshotFrameworkExclusion: S.Schema<VantaTestSnapshotFrameworkExclusion>;
|
|
852
|
+
export type VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList = Array<VantaTestSnapshotFrameworkExclusion>;
|
|
853
|
+
export declare const VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList: S.Schema<VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList>;
|
|
854
|
+
/** 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. */
|
|
855
|
+
export interface VantaTestSnapshotOutOfScopeResources {
|
|
856
|
+
testLevel: VantaTestSnapshotOutOfScopeResourcesTestLevelList;
|
|
857
|
+
frameworkLevel: VantaTestSnapshotOutOfScopeResourcesFrameworkLevelList;
|
|
858
|
+
}
|
|
859
|
+
export declare const VantaTestSnapshotOutOfScopeResources: S.Schema<VantaTestSnapshotOutOfScopeResources>;
|
|
860
|
+
/** A single API request captured during an API introspection test run. */
|
|
861
|
+
export interface VantaTestSnapshotApiRequest {
|
|
862
|
+
id: string;
|
|
863
|
+
resourceType: string;
|
|
864
|
+
resourceTypeDisplayName: string;
|
|
865
|
+
requestMethod: string;
|
|
866
|
+
url: string;
|
|
867
|
+
responseCode: number;
|
|
868
|
+
timestamp: string;
|
|
869
|
+
dataTooLarge: boolean;
|
|
870
|
+
}
|
|
871
|
+
export declare const VantaTestSnapshotApiRequest: S.Schema<VantaTestSnapshotApiRequest>;
|
|
872
|
+
/** 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. */
|
|
873
|
+
export type VantaTestSnapshotEvidenceDetailApiRequestsList = Array<VantaTestSnapshotApiRequest>;
|
|
874
|
+
export declare const VantaTestSnapshotEvidenceDetailApiRequestsList: S.Schema<VantaTestSnapshotEvidenceDetailApiRequestsList>;
|
|
875
|
+
/** 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. */
|
|
876
|
+
export interface VantaTestSnapshotEvidenceDetail {
|
|
877
|
+
/** The unique identifier for the test in Vanta's system. */
|
|
878
|
+
testId: string;
|
|
879
|
+
/** The display name of the test. */
|
|
880
|
+
testName: string;
|
|
881
|
+
/** A short description of what the test checks. */
|
|
882
|
+
description: string;
|
|
883
|
+
/** Longer-form, formatted description of the test. Null when unset. */
|
|
884
|
+
evaluationCriteria: string | null;
|
|
885
|
+
/** Integrations whose data feeds the test. */
|
|
886
|
+
integrations: VantaTestSnapshotEvidenceDetailIntegrationsList;
|
|
887
|
+
/** SLA remediation policy attached to the test, or null when no SLA is set. */
|
|
888
|
+
slaRemediation: VantaTestSnapshotSlaRemediation | null;
|
|
889
|
+
/** Raw test data captured at snapshot time. */
|
|
890
|
+
rawTestData: VantaTestSnapshotEvidenceDetailRawTestDataList;
|
|
891
|
+
/** Resources excluded from the test at snapshot time. Absent when the snapshot data could not be loaded; clients should treat a missing field as "unknown" rather than "nothing excluded". */
|
|
892
|
+
outOfScopeResources?: VantaTestSnapshotOutOfScopeResources;
|
|
893
|
+
/** 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. */
|
|
894
|
+
apiRequests?: VantaTestSnapshotEvidenceDetailApiRequestsList;
|
|
895
|
+
}
|
|
896
|
+
export declare const VantaTestSnapshotEvidenceDetail: S.Schema<VantaTestSnapshotEvidenceDetail>;
|
|
897
|
+
export interface GetOrganizationInformationRequest {
|
|
898
|
+
/** The audit ID */
|
|
899
|
+
auditId: string;
|
|
900
|
+
}
|
|
901
|
+
export declare const GetOrganizationInformationRequest: S.Schema<GetOrganizationInformationRequest>;
|
|
902
|
+
/** Company logo reference for an organization. */
|
|
903
|
+
export interface AuditOrganizationCompanyLogo {
|
|
904
|
+
/** URL to download the company logo. */
|
|
905
|
+
url: string;
|
|
906
|
+
}
|
|
907
|
+
export declare const AuditOrganizationCompanyLogo: S.Schema<AuditOrganizationCompanyLogo>;
|
|
908
|
+
/** 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. */
|
|
909
|
+
export interface AuditOrganizationInformation {
|
|
910
|
+
/** Business info document identifier. */
|
|
911
|
+
id: string;
|
|
912
|
+
/** Display name of the organization. */
|
|
913
|
+
displayName: string;
|
|
914
|
+
/** Legal name of the organization. */
|
|
915
|
+
legalName?: string | null;
|
|
916
|
+
/** Incorporation status. Returns "Incorporated in the United States" when the organization is a US company, or null otherwise. */
|
|
917
|
+
incorporation?: string | null;
|
|
918
|
+
/** Organization URL. */
|
|
919
|
+
url?: string | null;
|
|
920
|
+
/** Mailing address of the organization. */
|
|
921
|
+
mailingAddress?: string | null;
|
|
922
|
+
/** Telephone number of the organization. */
|
|
923
|
+
telephone?: string | null;
|
|
924
|
+
/** Company logo reference (download URL), or null if no logo is uploaded. */
|
|
925
|
+
companyLogo?: AuditOrganizationCompanyLogo | null;
|
|
926
|
+
}
|
|
927
|
+
export declare const AuditOrganizationInformation: S.Schema<AuditOrganizationInformation>;
|
|
928
|
+
export interface GetOrganizationNotificationsRequest {
|
|
929
|
+
/** The audit ID */
|
|
930
|
+
auditId: string;
|
|
931
|
+
}
|
|
932
|
+
export declare const GetOrganizationNotificationsRequest: S.Schema<GetOrganizationNotificationsRequest>;
|
|
933
|
+
/** Channels on which the personnel reminder digest is delivered (e.g. `["EMAIL"]` or `["EMAIL", "SLACK"]`). */
|
|
934
|
+
export type AuditOrganizationNotificationsSubscribedChannelTypesList = Array<string>;
|
|
935
|
+
export declare const AuditOrganizationNotificationsSubscribedChannelTypesList: S.Schema<AuditOrganizationNotificationsSubscribedChannelTypesList>;
|
|
936
|
+
/** A single external-notification subscription row returned by the auditor organization notifications API. Represents one mailing-list address + notification-category pairing. */
|
|
937
|
+
export interface AuditOrganizationNotificationSubscription {
|
|
938
|
+
/** Subscription record identifier. */
|
|
939
|
+
id: string;
|
|
940
|
+
/** Email address that receives notifications for this category. */
|
|
941
|
+
address: string;
|
|
942
|
+
/** Cadence of summary notifications for this subscription, or null for non-summary (immediate / reminder) subscriptions. */
|
|
943
|
+
cadence: string | null;
|
|
944
|
+
/** Notification category the subscription belongs to (e.g. `SUMMARY_EMPLOYEE`, `NEW_VENDORS_DISCOVERED_EMAIL`, `TRUST_REPORT_ACCESS_REQUEST_EMAIL`). */
|
|
945
|
+
unsubSettingsKey: string;
|
|
946
|
+
/** Whether the address is currently subscribed to receive this category's notifications. */
|
|
947
|
+
toggleIsSubscribed: boolean;
|
|
948
|
+
}
|
|
949
|
+
export declare const AuditOrganizationNotificationSubscription: S.Schema<AuditOrganizationNotificationSubscription>;
|
|
950
|
+
/** External notification subscriptions — one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
951
|
+
export type AuditOrganizationNotificationsExternalNotificationsList = Array<AuditOrganizationNotificationSubscription>;
|
|
952
|
+
export declare const AuditOrganizationNotificationsExternalNotificationsList: S.Schema<AuditOrganizationNotificationsExternalNotificationsList>;
|
|
953
|
+
/** 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. */
|
|
954
|
+
export interface AuditOrganizationNotifications {
|
|
955
|
+
/** Domain identifier of the audited organization. */
|
|
956
|
+
id: string;
|
|
957
|
+
/** IANA timezone identifier that determines when scheduled reminder notifications are sent. `null` means the organization has no configured preference ("Anytime" in the UI). */
|
|
958
|
+
preferredTimeZone?: string | null;
|
|
959
|
+
/** Frequency at which personnel reminder digests are sent (e.g. `DAILY`, `WEEKLY`, or `NEVER`). `null` when no notification settings have been configured for the organization. */
|
|
960
|
+
employeeDigestFrequency?: string | null;
|
|
961
|
+
/** Channels on which the personnel reminder digest is delivered (e.g. `["EMAIL"]` or `["EMAIL", "SLACK"]`). */
|
|
962
|
+
subscribedChannelTypes?: AuditOrganizationNotificationsSubscribedChannelTypesList;
|
|
963
|
+
/** External notification subscriptions — one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
964
|
+
externalNotifications?: AuditOrganizationNotificationsExternalNotificationsList;
|
|
965
|
+
}
|
|
966
|
+
export declare const AuditOrganizationNotifications: S.Schema<AuditOrganizationNotifications>;
|
|
967
|
+
export interface ListAccountAccessServicesRequest {
|
|
968
|
+
/** The audit ID */
|
|
969
|
+
auditId: string;
|
|
970
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
971
|
+
pageSize?: number;
|
|
972
|
+
/** Pagination cursor from previous response */
|
|
973
|
+
pageCursor?: string;
|
|
974
|
+
}
|
|
975
|
+
export declare const ListAccountAccessServicesRequest: S.Schema<ListAccountAccessServicesRequest>;
|
|
976
|
+
/** 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. */
|
|
977
|
+
export interface AccountAccessService {
|
|
978
|
+
/** Unique identifier for the service. */
|
|
979
|
+
id: string;
|
|
980
|
+
/** Display name of the service shown to users. */
|
|
981
|
+
credentialDisplayName: string;
|
|
982
|
+
/** The service name or integration ID. */
|
|
983
|
+
service: string;
|
|
984
|
+
/** Sub-account identifier for multi-account integrations, or null if not applicable. */
|
|
985
|
+
subAccountId: string | null;
|
|
986
|
+
}
|
|
987
|
+
export declare const AccountAccessService: S.Schema<AccountAccessService>;
|
|
988
|
+
export type PaginatedResponseAccountAccessServiceResultsDataList = Array<AccountAccessService>;
|
|
989
|
+
export declare const PaginatedResponseAccountAccessServiceResultsDataList: S.Schema<PaginatedResponseAccountAccessServiceResultsDataList>;
|
|
990
|
+
/** Provides information about the pagination of a dataset. */
|
|
991
|
+
export interface PageInfo {
|
|
992
|
+
/** The cursor that points to the end of the current page, or null if there is no such cursor. */
|
|
993
|
+
endCursor: string | null;
|
|
994
|
+
/** Indicates if there is another page after the current page. */
|
|
995
|
+
hasNextPage: boolean;
|
|
996
|
+
/** Indicates if there is a page before the current page. */
|
|
997
|
+
hasPreviousPage: boolean;
|
|
998
|
+
/** The cursor that points to the start of the current page, or null if there is no such cursor. */
|
|
999
|
+
startCursor: string | null;
|
|
1000
|
+
}
|
|
1001
|
+
export declare const PageInfo: S.Schema<PageInfo>;
|
|
1002
|
+
export interface PaginatedResponseAccountAccessServiceResults {
|
|
1003
|
+
data: PaginatedResponseAccountAccessServiceResultsDataList;
|
|
1004
|
+
pageInfo: PageInfo;
|
|
1005
|
+
}
|
|
1006
|
+
export declare const PaginatedResponseAccountAccessServiceResults: S.Schema<PaginatedResponseAccountAccessServiceResults>;
|
|
1007
|
+
export interface PaginatedResponseAccountAccessService {
|
|
1008
|
+
results: PaginatedResponseAccountAccessServiceResults;
|
|
1009
|
+
}
|
|
1010
|
+
export declare const PaginatedResponseAccountAccessService: S.Schema<PaginatedResponseAccountAccessService>;
|
|
1011
|
+
export interface ListAuditCommentsRequest {
|
|
1012
|
+
auditId: string;
|
|
1013
|
+
pageSize?: number;
|
|
1014
|
+
pageCursor?: string;
|
|
1015
|
+
/** Includes all comments that have changed since changedSinceDate. */
|
|
1016
|
+
changedSinceDate?: string;
|
|
1017
|
+
}
|
|
1018
|
+
export declare const ListAuditCommentsRequest: S.Schema<ListAuditCommentsRequest>;
|
|
1019
|
+
export type PaginatedResponseCommentResultsDataList = Array<Comment>;
|
|
1020
|
+
export declare const PaginatedResponseCommentResultsDataList: S.Schema<PaginatedResponseCommentResultsDataList>;
|
|
1021
|
+
export interface PaginatedResponseCommentResults {
|
|
1022
|
+
data: PaginatedResponseCommentResultsDataList;
|
|
1023
|
+
pageInfo: PageInfo;
|
|
1024
|
+
}
|
|
1025
|
+
export declare const PaginatedResponseCommentResults: S.Schema<PaginatedResponseCommentResults>;
|
|
1026
|
+
export interface PaginatedResponseComment {
|
|
1027
|
+
results: PaginatedResponseCommentResults;
|
|
1028
|
+
}
|
|
1029
|
+
export declare const PaginatedResponseComment: S.Schema<PaginatedResponseComment>;
|
|
1030
|
+
export type ListAuditControlsRequestExternalIdMatchesAnyList = Array<string>;
|
|
1031
|
+
export declare const ListAuditControlsRequestExternalIdMatchesAnyList: S.Schema<ListAuditControlsRequestExternalIdMatchesAnyList>;
|
|
1032
|
+
export interface ListAuditControlsRequest {
|
|
1033
|
+
auditId: string;
|
|
1034
|
+
pageSize?: number;
|
|
1035
|
+
pageCursor?: string;
|
|
1036
|
+
/** Filter controls whose externalId matches any of the provided values (exact, case-sensitive match). */
|
|
1037
|
+
externalIdMatchesAny?: ListAuditControlsRequestExternalIdMatchesAnyList;
|
|
1038
|
+
}
|
|
1039
|
+
export declare const ListAuditControlsRequest: S.Schema<ListAuditControlsRequest>;
|
|
1040
|
+
/** The security domains that the control belongs to. */
|
|
1041
|
+
export type AuditorControlDomainsList = Array<string>;
|
|
1042
|
+
export declare const AuditorControlDomainsList: S.Schema<AuditorControlDomainsList>;
|
|
1043
|
+
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
1044
|
+
export type AuditorControlCustomFieldsList = Array<CustomField>;
|
|
1045
|
+
export declare const AuditorControlCustomFieldsList: S.Schema<AuditorControlCustomFieldsList>;
|
|
1046
|
+
export interface SectionPrinciple {
|
|
1047
|
+
/** The principle's unique ID. */
|
|
1048
|
+
id: string;
|
|
1049
|
+
/** The principle's name. */
|
|
1050
|
+
name: string;
|
|
1051
|
+
}
|
|
1052
|
+
export declare const SectionPrinciple: S.Schema<SectionPrinciple>;
|
|
1053
|
+
export interface Section {
|
|
1054
|
+
/** The section name */
|
|
1055
|
+
name: string;
|
|
1056
|
+
/** The section framework */
|
|
1057
|
+
framework: string;
|
|
1058
|
+
/** The principle that groups this section, if any. */
|
|
1059
|
+
principle: SectionPrinciple | null;
|
|
1060
|
+
}
|
|
1061
|
+
export declare const Section: S.Schema<Section>;
|
|
1062
|
+
/** Sections of a framework that this control satisfies */
|
|
1063
|
+
export type AuditorControlSectionsList = Array<Section>;
|
|
1064
|
+
export declare const AuditorControlSectionsList: S.Schema<AuditorControlSectionsList>;
|
|
1065
|
+
/** Audit segments this control is in scope for. Empty when the control is attached only by a direct link and has no catalog mapping on a multi-program audit. */
|
|
1066
|
+
export type AuditorControlInScopeSegmentIdsList = Array<string>;
|
|
1067
|
+
export declare const AuditorControlInScopeSegmentIdsList: S.Schema<AuditorControlInScopeSegmentIdsList>;
|
|
1068
|
+
/** An auditor's assessment of a control within an audit. This is the full flat union of every framework's assessment states (the superset); a given audit's framework only uses its own subset. `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. */
|
|
1069
|
+
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";
|
|
1070
|
+
export declare const AuditControlAssessmentState: any;
|
|
1071
|
+
/** An auditor's assessment of a control within one segment of an audit. Assessments are keyed per segment, so a control in scope for more than one segment (a multi-framework audit) can carry a distinct assessment per segment. A segment with no recorded assessment coerces to `NOT_ASSESSED` with a `null` justification. */
|
|
1072
|
+
export interface AuditControlAssessment {
|
|
1073
|
+
/** The audit program segment this assessment belongs to. */
|
|
1074
|
+
segmentId: string;
|
|
1075
|
+
/** The auditor's assessment of the control for this segment; `NOT_ASSESSED` when no assessment has been recorded. */
|
|
1076
|
+
assessmentState: AuditControlAssessmentState;
|
|
1077
|
+
/** Free-text reasoning for the assessment; `null` when none has been recorded. */
|
|
1078
|
+
justification: string | null;
|
|
1079
|
+
}
|
|
1080
|
+
export declare const AuditControlAssessment: S.Schema<AuditControlAssessment>;
|
|
1081
|
+
/** The auditor's assessments of this control, one per audit program segment the control is in scope for (a multi-framework audit can have more than one). Populated only for IRL audits when the assessment feature is enabled; empty otherwise. Within an in-scope segment a control with no recorded assessment coerces to `NOT_ASSESSED`; a segment the control is not in scope for contributes no entry. */
|
|
1082
|
+
export type AuditorControlAssessmentsList = Array<AuditControlAssessment>;
|
|
1083
|
+
export declare const AuditorControlAssessmentsList: S.Schema<AuditorControlAssessmentsList>;
|
|
1084
|
+
export interface AuditorControl {
|
|
1085
|
+
/** The control's unique ID. */
|
|
1086
|
+
id: string;
|
|
1087
|
+
/** The control's external ID. */
|
|
1088
|
+
externalId: string | null;
|
|
1089
|
+
/** The control's name. */
|
|
1090
|
+
name: string;
|
|
1091
|
+
/** The control's description. */
|
|
1092
|
+
description: string;
|
|
1093
|
+
/** The control's source, either "VANTA" or "CUSTOM". */
|
|
1094
|
+
source: ControlSource;
|
|
1095
|
+
/** The security domains that the control belongs to. */
|
|
1096
|
+
domains: AuditorControlDomainsList;
|
|
1097
|
+
/** The control's owner. */
|
|
1098
|
+
owner: Owner | null;
|
|
1099
|
+
/** The control's GDPR role, if the control is a GDPR control. */
|
|
1100
|
+
role?: string | null;
|
|
1101
|
+
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
1102
|
+
customFields: AuditorControlCustomFieldsList;
|
|
1103
|
+
/** When the control was created. Returns null for Vanta library controls. */
|
|
1104
|
+
creationDate: string | null;
|
|
1105
|
+
/** When the control was last modified. Returns null for Vanta library controls. */
|
|
1106
|
+
modificationDate: string | null;
|
|
1107
|
+
/** The report standard framework fulfilled by the control. Incomplete once a control is in scope for more than one framework. */
|
|
1108
|
+
framework: string;
|
|
1109
|
+
/** Sections of a framework that this control satisfies */
|
|
1110
|
+
sections: AuditorControlSectionsList;
|
|
1111
|
+
/** Audit segments this control is in scope for. Empty when the control is attached only by a direct link and has no catalog mapping on a multi-program audit. */
|
|
1112
|
+
inScopeSegmentIds: AuditorControlInScopeSegmentIdsList;
|
|
1113
|
+
/** The auditor's assessments of this control, one per audit program segment the control is in scope for (a multi-framework audit can have more than one). Populated only for IRL audits when the assessment feature is enabled; empty otherwise. Within an in-scope segment a control with no recorded assessment coerces to `NOT_ASSESSED`; a segment the control is not in scope for contributes no entry. */
|
|
1114
|
+
assessments: AuditorControlAssessmentsList;
|
|
1115
|
+
}
|
|
1116
|
+
export declare const AuditorControl: S.Schema<AuditorControl>;
|
|
1117
|
+
export type PaginatedResponseAuditorControlResultsDataList = Array<AuditorControl>;
|
|
1118
|
+
export declare const PaginatedResponseAuditorControlResultsDataList: S.Schema<PaginatedResponseAuditorControlResultsDataList>;
|
|
1119
|
+
export interface PaginatedResponseAuditorControlResults {
|
|
1120
|
+
data: PaginatedResponseAuditorControlResultsDataList;
|
|
1121
|
+
pageInfo: PageInfo;
|
|
1122
|
+
}
|
|
1123
|
+
export declare const PaginatedResponseAuditorControlResults: S.Schema<PaginatedResponseAuditorControlResults>;
|
|
1124
|
+
export interface PaginatedResponseAuditorControl {
|
|
1125
|
+
results: PaginatedResponseAuditorControlResults;
|
|
1126
|
+
}
|
|
1127
|
+
export declare const PaginatedResponseAuditorControl: S.Schema<PaginatedResponseAuditorControl>;
|
|
1128
|
+
export interface ListAuditEvidenceRequest {
|
|
1129
|
+
auditId: string;
|
|
1130
|
+
pageSize?: number;
|
|
1131
|
+
pageCursor?: string;
|
|
1132
|
+
/** Includes all audit evidence that have changed since changedSinceDate. */
|
|
1133
|
+
changedSinceDate?: string;
|
|
1134
|
+
}
|
|
1135
|
+
export declare const ListAuditEvidenceRequest: S.Schema<ListAuditEvidenceRequest>;
|
|
1136
|
+
export type PaginatedResponseEvidenceResultsDataList = Array<Evidence>;
|
|
1137
|
+
export declare const PaginatedResponseEvidenceResultsDataList: S.Schema<PaginatedResponseEvidenceResultsDataList>;
|
|
1138
|
+
export interface PaginatedResponseEvidenceResults {
|
|
1139
|
+
data: PaginatedResponseEvidenceResultsDataList;
|
|
1140
|
+
pageInfo: PageInfo;
|
|
1141
|
+
}
|
|
1142
|
+
export declare const PaginatedResponseEvidenceResults: S.Schema<PaginatedResponseEvidenceResults>;
|
|
1143
|
+
export interface PaginatedResponseEvidence {
|
|
1144
|
+
results: PaginatedResponseEvidenceResults;
|
|
1145
|
+
}
|
|
1146
|
+
export declare const PaginatedResponseEvidence: S.Schema<PaginatedResponseEvidence>;
|
|
1147
|
+
export interface ListAuditEvidenceUrlsRequest {
|
|
1148
|
+
auditId: string;
|
|
1149
|
+
auditEvidenceId: string;
|
|
1150
|
+
pageSize?: number;
|
|
1151
|
+
pageCursor?: string;
|
|
1152
|
+
}
|
|
1153
|
+
export declare const ListAuditEvidenceUrlsRequest: S.Schema<ListAuditEvidenceUrlsRequest>;
|
|
1154
|
+
export interface EvidenceUrl {
|
|
1155
|
+
/** Vanta internal reference to evidence */
|
|
1156
|
+
id: string;
|
|
1157
|
+
/** Pre-signed S3 URL for evidence */
|
|
1158
|
+
url: string;
|
|
1159
|
+
/** File name of evidence */
|
|
1160
|
+
filename: string;
|
|
1161
|
+
/** Set to true if this is a presigned s3 url. Set to false if this is a customer uploaded link */
|
|
1162
|
+
isDownloadable: boolean;
|
|
1163
|
+
/** MIME type of the evidence file (e.g., "application/pdf", "image/png") */
|
|
1164
|
+
mimeType: string | null;
|
|
1165
|
+
}
|
|
1166
|
+
export declare const EvidenceUrl: S.Schema<EvidenceUrl>;
|
|
1167
|
+
export type PaginatedResponseEvidenceUrlResultsDataList = Array<EvidenceUrl>;
|
|
1168
|
+
export declare const PaginatedResponseEvidenceUrlResultsDataList: S.Schema<PaginatedResponseEvidenceUrlResultsDataList>;
|
|
1169
|
+
export interface PaginatedResponseEvidenceUrlResults {
|
|
1170
|
+
data: PaginatedResponseEvidenceUrlResultsDataList;
|
|
1171
|
+
pageInfo: PageInfo;
|
|
1172
|
+
}
|
|
1173
|
+
export declare const PaginatedResponseEvidenceUrlResults: S.Schema<PaginatedResponseEvidenceUrlResults>;
|
|
1174
|
+
export interface PaginatedResponseEvidenceUrl {
|
|
1175
|
+
results: PaginatedResponseEvidenceUrlResults;
|
|
1176
|
+
}
|
|
1177
|
+
export declare const PaginatedResponseEvidenceUrl: S.Schema<PaginatedResponseEvidenceUrl>;
|
|
1178
|
+
export type ListAuditIssuesRequestSnapshotIdMatchesAnyList = Array<string>;
|
|
1179
|
+
export declare const ListAuditIssuesRequestSnapshotIdMatchesAnyList: S.Schema<ListAuditIssuesRequestSnapshotIdMatchesAnyList>;
|
|
1180
|
+
/** Allowed values for the `orderBy` query parameter on issue snapshot item endpoints. */
|
|
1181
|
+
export type IssueSnapshotItemOrderBy = "createdAt" | "lastModifiedAt" | "detectedAt";
|
|
1182
|
+
export declare const IssueSnapshotItemOrderBy: any;
|
|
1183
|
+
/** `"asc"` for ascending, `"desc"` for descending. */
|
|
1184
|
+
export type OrderDirection = "asc" | "desc";
|
|
1185
|
+
export declare const OrderDirection: any;
|
|
1186
|
+
export interface ListAuditIssuesRequest {
|
|
1187
|
+
/** The audit ID */
|
|
1188
|
+
auditId: string;
|
|
1189
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1190
|
+
pageSize?: number;
|
|
1191
|
+
/** Pagination cursor from previous response */
|
|
1192
|
+
pageCursor?: string;
|
|
1193
|
+
/** Search term for filtering by issue title and description */
|
|
1194
|
+
search?: string;
|
|
1195
|
+
/** Filter issues to specific snapshots by snapshot ID */
|
|
1196
|
+
snapshotIdMatchesAny?: ListAuditIssuesRequestSnapshotIdMatchesAnyList;
|
|
1197
|
+
/** Filter to issues created on or after this date (ISO 8601) */
|
|
1198
|
+
createdAfterDate?: string;
|
|
1199
|
+
/** Filter to issues created on or before this date (ISO 8601) */
|
|
1200
|
+
createdBeforeDate?: string;
|
|
1201
|
+
/** Filter to issues detected on or after this date (ISO 8601) */
|
|
1202
|
+
detectedAfterDate?: string;
|
|
1203
|
+
/** Filter to issues detected on or before this date (ISO 8601) */
|
|
1204
|
+
detectedBeforeDate?: string;
|
|
1205
|
+
/** Field to sort results by. Allowed: "createdAt", "lastModifiedAt", "detectedAt". Default: "createdAt" */
|
|
1206
|
+
orderBy?: IssueSnapshotItemOrderBy | (string & {});
|
|
1207
|
+
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1208
|
+
orderDirection?: OrderDirection | (string & {});
|
|
1209
|
+
}
|
|
1210
|
+
export declare const ListAuditIssuesRequest: S.Schema<ListAuditIssuesRequest>;
|
|
1211
|
+
export type IssueStatusTypeForSnapshot = "IN_PROGRESS" | "NOT_STARTED" | "PENDING_REVIEW" | "CLOSED";
|
|
1212
|
+
export declare const IssueStatusTypeForSnapshot: any;
|
|
1213
|
+
/** Approval progress for an issue at the time the snapshot was captured. */
|
|
1214
|
+
export interface IssueSnapshotItemApprovalProgress {
|
|
1215
|
+
/** The number of approvers who have approved the issue. */
|
|
1216
|
+
approvedCount: number;
|
|
1217
|
+
/** The total number of approvers in the issue's approval chain. */
|
|
1218
|
+
totalApprovers: number;
|
|
1219
|
+
}
|
|
1220
|
+
export declare const IssueSnapshotItemApprovalProgress: S.Schema<IssueSnapshotItemApprovalProgress>;
|
|
1221
|
+
export interface IssueSnapshotItem {
|
|
1222
|
+
/** 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. */
|
|
1223
|
+
id: string;
|
|
1224
|
+
/** The issue title */
|
|
1225
|
+
title?: string;
|
|
1226
|
+
/** The issue description */
|
|
1227
|
+
description?: string;
|
|
1228
|
+
/** The human-readable identifier for the issue. This field is unique per-domain, and can be used to correlate this issue snapshot item to the underlying issue across different snapshots. */
|
|
1229
|
+
readableIssueId: string;
|
|
1230
|
+
/** The globally unique identifier for the underlying issue across snapshots. This field can be used to correlate this snapshot item to the underlying issue across different snapshots. */
|
|
1231
|
+
issueId: string;
|
|
1232
|
+
/** The identifier for the snapshot this issue item belongs to. */
|
|
1233
|
+
snapshotId: string;
|
|
1234
|
+
/** The due date for the issue. */
|
|
1235
|
+
dueDate?: string | null;
|
|
1236
|
+
/** The status of the issue. */
|
|
1237
|
+
status?: IssueStatusTypeForSnapshot;
|
|
1238
|
+
/** The issue's approval progress at the time the snapshot was captured, or null if no approval was in progress or issue approvals are not enabled. */
|
|
1239
|
+
approvalProgress?: IssueSnapshotItemApprovalProgress | null;
|
|
1240
|
+
/** The date and time when the issue was last modified. */
|
|
1241
|
+
lastModifiedAt?: string;
|
|
1242
|
+
/** The date and time when the issue was created. */
|
|
1243
|
+
createdAt?: string;
|
|
1244
|
+
/** The date and time when the issue was detected. */
|
|
1245
|
+
detectedAt?: string;
|
|
1246
|
+
}
|
|
1247
|
+
export declare const IssueSnapshotItem: S.Schema<IssueSnapshotItem>;
|
|
1248
|
+
export type PaginatedResponseIssueSnapshotItemResultsDataList = Array<IssueSnapshotItem>;
|
|
1249
|
+
export declare const PaginatedResponseIssueSnapshotItemResultsDataList: S.Schema<PaginatedResponseIssueSnapshotItemResultsDataList>;
|
|
1250
|
+
export interface PaginatedResponseIssueSnapshotItemResults {
|
|
1251
|
+
data: PaginatedResponseIssueSnapshotItemResultsDataList;
|
|
1252
|
+
pageInfo: PageInfo;
|
|
1253
|
+
}
|
|
1254
|
+
export declare const PaginatedResponseIssueSnapshotItemResults: S.Schema<PaginatedResponseIssueSnapshotItemResults>;
|
|
1255
|
+
export interface PaginatedResponseIssueSnapshotItem {
|
|
1256
|
+
results: PaginatedResponseIssueSnapshotItemResults;
|
|
1257
|
+
}
|
|
1258
|
+
export declare const PaginatedResponseIssueSnapshotItem: S.Schema<PaginatedResponseIssueSnapshotItem>;
|
|
1259
|
+
export type RiskOrderBy = "inherentRisk" | "riskId" | "riskScenario" | "treatment" | "residualRisk" | "reviewStatus" | "owner" | "categories" | "ciaCategories" | "identified";
|
|
1260
|
+
export declare const RiskOrderBy: any;
|
|
1261
|
+
export interface ListAuditRisksRequest {
|
|
1262
|
+
/** The audit ID */
|
|
1263
|
+
auditId: string;
|
|
1264
|
+
/** The risk assessment snapshot ID */
|
|
1265
|
+
snapshotId: string;
|
|
1266
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1267
|
+
pageSize?: number;
|
|
1268
|
+
/** Pagination cursor from previous response */
|
|
1269
|
+
pageCursor?: string;
|
|
1270
|
+
/** Search term for filtering by risk scenario description */
|
|
1271
|
+
search?: string;
|
|
1272
|
+
/** Field to sort results by. Allowed: "riskId", "riskScenario", "inherentRisk", "treatment", "residualRisk", "reviewStatus", "owner", "categories", "ciaCategories", "identified". Default: "identified" */
|
|
1273
|
+
orderBy?: RiskOrderBy | (string & {});
|
|
1274
|
+
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1275
|
+
orderDirection?: OrderDirection | (string & {});
|
|
1276
|
+
}
|
|
1277
|
+
export declare const ListAuditRisksRequest: S.Schema<ListAuditRisksRequest>;
|
|
1278
|
+
/** Risk treatment strategy returned by the auditor API. */
|
|
1279
|
+
export type AuditRiskTreatment = "ACCEPT" | "AVOID" | "MITIGATE" | "TRANSFER";
|
|
1280
|
+
export declare const AuditRiskTreatment: any;
|
|
1281
|
+
/** Treatment implementation status returned by the auditor API. */
|
|
1282
|
+
export type AuditRiskTreatmentStatus = "IN_PROGRESS" | "DONE";
|
|
1283
|
+
export declare const AuditRiskTreatmentStatus: any;
|
|
1284
|
+
/** Risk scenario review status returned by the auditor API. */
|
|
1285
|
+
export type AuditRiskReviewStatus = "APPROVED" | "DRAFT" | "NOT_REVIEWED" | "AWAITING_SUBMISSION" | "PENDING_APPROVAL" | "REQUESTED_CHANGES";
|
|
1286
|
+
export declare const AuditRiskReviewStatus: any;
|
|
1287
|
+
/** Owner information for a risk. */
|
|
1288
|
+
export interface AuditRiskOwner {
|
|
1289
|
+
/** Display name of the risk owner. */
|
|
1290
|
+
displayName: string;
|
|
1291
|
+
/** URL of the owner's profile image, or null if not available. */
|
|
1292
|
+
imageUrl: string | null;
|
|
1293
|
+
}
|
|
1294
|
+
export declare const AuditRiskOwner: S.Schema<AuditRiskOwner>;
|
|
1295
|
+
/** Risk category names, or empty array if not categorized. */
|
|
1296
|
+
export type AuditRiskCategoriesList = Array<string>;
|
|
1297
|
+
export declare const AuditRiskCategoriesList: S.Schema<AuditRiskCategoriesList>;
|
|
1298
|
+
/** CIA triad category returned by the auditor API. */
|
|
1299
|
+
export type AuditRiskCia = "AVAILABILITY" | "CONFIDENTIALITY" | "INTEGRITY";
|
|
1300
|
+
export declare const AuditRiskCia: any;
|
|
1301
|
+
/** CIA triad categories, or empty array if not categorized. */
|
|
1302
|
+
export type AuditRiskCiaCategoriesList = Array<AuditRiskCia>;
|
|
1303
|
+
export declare const AuditRiskCiaCategoriesList: S.Schema<AuditRiskCiaCategoriesList>;
|
|
1304
|
+
/** IDs of controls linked to this risk scenario, or empty array if none. Full Audit View only - omitted in Controlled Audit View. */
|
|
1305
|
+
export type AuditRiskLinkedControlIdsList = Array<string>;
|
|
1306
|
+
export declare const AuditRiskLinkedControlIdsList: S.Schema<AuditRiskLinkedControlIdsList>;
|
|
1307
|
+
/** 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. */
|
|
1308
|
+
export interface AuditRisk {
|
|
1309
|
+
/** Unique identifier for the risk scenario version. */
|
|
1310
|
+
id: string;
|
|
1311
|
+
/** Custom risk ID (e.g., "RISK-001"), or null if not available. */
|
|
1312
|
+
riskId: string | null;
|
|
1313
|
+
/** Description of the risk scenario, or null if not available. */
|
|
1314
|
+
riskScenario?: string | null;
|
|
1315
|
+
/** Likelihood score of the risk, or null if not scored. Full Audit View only - omitted in Controlled Audit View. */
|
|
1316
|
+
likelihood?: number | null;
|
|
1317
|
+
/** Impact score of the risk, or null if not scored. Full Audit View only - omitted in Controlled Audit View. */
|
|
1318
|
+
impact?: number | null;
|
|
1319
|
+
/** Inherent risk score, or null if not scored. Defaults to the likelihood * impact product; when the organization scores risks by factors, this is the rolled-up factor score rounded to two decimals. */
|
|
1320
|
+
inherentRisk?: number | null;
|
|
1321
|
+
/** Risk treatment strategy, or null if not set. */
|
|
1322
|
+
treatment?: AuditRiskTreatment | null;
|
|
1323
|
+
/** Treatment implementation status, or null if not set. */
|
|
1324
|
+
treatmentStatus?: AuditRiskTreatmentStatus | null;
|
|
1325
|
+
/** Residual risk score after treatment, or null if not calculable. */
|
|
1326
|
+
residualRisk?: number | null;
|
|
1327
|
+
/** Review status of the risk scenario, or null if not set. */
|
|
1328
|
+
reviewStatus?: AuditRiskReviewStatus | null;
|
|
1329
|
+
/** Risk owner information, or null if no owner assigned. */
|
|
1330
|
+
owner?: AuditRiskOwner | null;
|
|
1331
|
+
/** Risk category names, or empty array if not categorized. */
|
|
1332
|
+
categories?: AuditRiskCategoriesList;
|
|
1333
|
+
/** CIA triad categories, or empty array if not categorized. */
|
|
1334
|
+
ciaCategories?: AuditRiskCiaCategoriesList;
|
|
1335
|
+
/** IDs of controls linked to this risk scenario, or empty array if none. Full Audit View only - omitted in Controlled Audit View. */
|
|
1336
|
+
linkedControlIds?: AuditRiskLinkedControlIdsList;
|
|
1337
|
+
/** When the risk was identified, or null if not recorded. ISO 8601 format. */
|
|
1338
|
+
identified?: string | null;
|
|
1339
|
+
}
|
|
1340
|
+
export declare const AuditRisk: S.Schema<AuditRisk>;
|
|
1341
|
+
export type PaginatedResponseAuditRiskResultsDataList = Array<AuditRisk>;
|
|
1342
|
+
export declare const PaginatedResponseAuditRiskResultsDataList: S.Schema<PaginatedResponseAuditRiskResultsDataList>;
|
|
1343
|
+
export interface PaginatedResponseAuditRiskResults {
|
|
1344
|
+
data: PaginatedResponseAuditRiskResultsDataList;
|
|
1345
|
+
pageInfo: PageInfo;
|
|
1346
|
+
}
|
|
1347
|
+
export declare const PaginatedResponseAuditRiskResults: S.Schema<PaginatedResponseAuditRiskResults>;
|
|
1348
|
+
export interface PaginatedResponseAuditRisk {
|
|
1349
|
+
results: PaginatedResponseAuditRiskResults;
|
|
1350
|
+
}
|
|
1351
|
+
export declare const PaginatedResponseAuditRisk: S.Schema<PaginatedResponseAuditRisk>;
|
|
1352
|
+
export interface ListAuditsRequest {
|
|
1353
|
+
pageSize?: number;
|
|
1354
|
+
pageCursor?: string;
|
|
1355
|
+
/** Includes all audits that have changed since changedSinceDate. */
|
|
1356
|
+
changedSinceDate?: string;
|
|
1357
|
+
/** Includes only audits with no audit report uploaded */
|
|
1358
|
+
isActiveAudit?: boolean;
|
|
1359
|
+
}
|
|
1360
|
+
export declare const ListAuditsRequest: S.Schema<ListAuditsRequest>;
|
|
1361
|
+
export type PaginatedResponseAuditResultsDataList = Array<Audit>;
|
|
1362
|
+
export declare const PaginatedResponseAuditResultsDataList: S.Schema<PaginatedResponseAuditResultsDataList>;
|
|
1363
|
+
export interface PaginatedResponseAuditResults {
|
|
1364
|
+
data: PaginatedResponseAuditResultsDataList;
|
|
1365
|
+
pageInfo: PageInfo;
|
|
1366
|
+
}
|
|
1367
|
+
export declare const PaginatedResponseAuditResults: S.Schema<PaginatedResponseAuditResults>;
|
|
1368
|
+
export interface PaginatedResponseAudit {
|
|
1369
|
+
results: PaginatedResponseAuditResults;
|
|
1370
|
+
}
|
|
1371
|
+
export declare const PaginatedResponseAudit: S.Schema<PaginatedResponseAudit>;
|
|
1372
|
+
export interface ListAuditSnapshotsRequest {
|
|
1373
|
+
/** The audit ID */
|
|
1374
|
+
auditId: string;
|
|
1375
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1376
|
+
pageSize?: number;
|
|
1377
|
+
/** Pagination cursor from previous response */
|
|
1378
|
+
pageCursor?: string;
|
|
1379
|
+
/** Search term for filtering by snapshot title and description */
|
|
1380
|
+
search?: string;
|
|
1381
|
+
}
|
|
1382
|
+
export declare const ListAuditSnapshotsRequest: S.Schema<ListAuditSnapshotsRequest>;
|
|
1383
|
+
export interface IssueSnapshotMetadata {
|
|
1384
|
+
/** The unique identifier for the issue snapshot. */
|
|
1385
|
+
id: string;
|
|
1386
|
+
/** The title of the snapshot */
|
|
1387
|
+
title?: string;
|
|
1388
|
+
/** The description of the snapshot */
|
|
1389
|
+
description?: string;
|
|
1390
|
+
/** The date and time when the snapshot was created. */
|
|
1391
|
+
createdAt?: string;
|
|
1392
|
+
}
|
|
1393
|
+
export declare const IssueSnapshotMetadata: S.Schema<IssueSnapshotMetadata>;
|
|
1394
|
+
export type PaginatedResponseIssueSnapshotMetadataResultsDataList = Array<IssueSnapshotMetadata>;
|
|
1395
|
+
export declare const PaginatedResponseIssueSnapshotMetadataResultsDataList: S.Schema<PaginatedResponseIssueSnapshotMetadataResultsDataList>;
|
|
1396
|
+
export interface PaginatedResponseIssueSnapshotMetadataResults {
|
|
1397
|
+
data: PaginatedResponseIssueSnapshotMetadataResultsDataList;
|
|
1398
|
+
pageInfo: PageInfo;
|
|
1399
|
+
}
|
|
1400
|
+
export declare const PaginatedResponseIssueSnapshotMetadataResults: S.Schema<PaginatedResponseIssueSnapshotMetadataResults>;
|
|
1401
|
+
export interface PaginatedResponseIssueSnapshotMetadata {
|
|
1402
|
+
results: PaginatedResponseIssueSnapshotMetadataResults;
|
|
1403
|
+
}
|
|
1404
|
+
export declare const PaginatedResponseIssueSnapshotMetadata: S.Schema<PaginatedResponseIssueSnapshotMetadata>;
|
|
1405
|
+
/** Version control source service name for code changes. */
|
|
1406
|
+
export type ApiCodeChangeSource = "github" | "gitlab" | "bitbucket" | "azuredevops";
|
|
1407
|
+
export declare const ApiCodeChangeSource: any;
|
|
1408
|
+
export type ListCodeChangesRequestSourcesMatchesAnyList = Array<ApiCodeChangeSource | (string & {})>;
|
|
1409
|
+
export declare const ListCodeChangesRequestSourcesMatchesAnyList: S.Schema<ListCodeChangesRequestSourcesMatchesAnyList>;
|
|
1410
|
+
export interface ListCodeChangesRequest {
|
|
1411
|
+
/** The audit ID */
|
|
1412
|
+
auditId: string;
|
|
1413
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1414
|
+
pageSize?: number;
|
|
1415
|
+
/** Pagination cursor from previous response */
|
|
1416
|
+
pageCursor?: string;
|
|
1417
|
+
/** Search term for filtering by code change title or repository name */
|
|
1418
|
+
search?: string;
|
|
1419
|
+
/** Filter code changes by version control source (accepted values: github, gitlab, bitbucket, azuredevops) */
|
|
1420
|
+
sourcesMatchesAny?: ListCodeChangesRequestSourcesMatchesAnyList;
|
|
1421
|
+
/** Filter code changes closed on or after this date (ISO 8601) */
|
|
1422
|
+
closedAfterDate?: string;
|
|
1423
|
+
/** Filter code changes closed on or before this date (ISO 8601) */
|
|
1424
|
+
closedBeforeDate?: string;
|
|
1425
|
+
}
|
|
1426
|
+
export declare const ListCodeChangesRequest: S.Schema<ListCodeChangesRequest>;
|
|
1427
|
+
/** 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. */
|
|
1428
|
+
export interface CodeChange {
|
|
1429
|
+
/** Code change record ID - always present. */
|
|
1430
|
+
id: string;
|
|
1431
|
+
/** Code change title (e.g. PR title) - always present. */
|
|
1432
|
+
codeChange: string;
|
|
1433
|
+
/** Code change identifier (e.g. PR number). */
|
|
1434
|
+
identifier?: string;
|
|
1435
|
+
/** Version control source where the change originated. Known values are listed in {@link ApiCodeChangeSource}; other strings may appear if a new source is onboarded before this enum is updated. */
|
|
1436
|
+
service?: string;
|
|
1437
|
+
/** Repository name. */
|
|
1438
|
+
repository?: string;
|
|
1439
|
+
/** Date the code change was opened. */
|
|
1440
|
+
openedAt?: string;
|
|
1441
|
+
/** Date the code change was merged/closed. */
|
|
1442
|
+
closedAt?: string;
|
|
1443
|
+
}
|
|
1444
|
+
export declare const CodeChange: S.Schema<CodeChange>;
|
|
1445
|
+
export type PaginatedResponseCodeChangeResultsDataList = Array<CodeChange>;
|
|
1446
|
+
export declare const PaginatedResponseCodeChangeResultsDataList: S.Schema<PaginatedResponseCodeChangeResultsDataList>;
|
|
1447
|
+
export interface PaginatedResponseCodeChangeResults {
|
|
1448
|
+
data: PaginatedResponseCodeChangeResultsDataList;
|
|
1449
|
+
pageInfo: PageInfo;
|
|
1450
|
+
}
|
|
1451
|
+
export declare const PaginatedResponseCodeChangeResults: S.Schema<PaginatedResponseCodeChangeResults>;
|
|
1452
|
+
export interface PaginatedResponseCodeChange {
|
|
1453
|
+
results: PaginatedResponseCodeChangeResults;
|
|
1454
|
+
}
|
|
1455
|
+
export declare const PaginatedResponseCodeChange: S.Schema<PaginatedResponseCodeChange>;
|
|
1456
|
+
export interface ListCommentsForControlRequest {
|
|
1457
|
+
auditId: string;
|
|
1458
|
+
controlId: string;
|
|
1459
|
+
/** Maximum number of comments to return per page. */
|
|
1460
|
+
pageSize?: number;
|
|
1461
|
+
/** Pagination cursor from a previous response. Provide to fetch the next page of comments. */
|
|
1462
|
+
pageCursor?: string;
|
|
1463
|
+
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1464
|
+
changedSinceDate?: string;
|
|
1465
|
+
}
|
|
1466
|
+
export declare const ListCommentsForControlRequest: S.Schema<ListCommentsForControlRequest>;
|
|
1467
|
+
export type PaginatedResponseAuditControlCommentResultsDataList = Array<AuditControlComment>;
|
|
1468
|
+
export declare const PaginatedResponseAuditControlCommentResultsDataList: S.Schema<PaginatedResponseAuditControlCommentResultsDataList>;
|
|
1469
|
+
export interface PaginatedResponseAuditControlCommentResults {
|
|
1470
|
+
data: PaginatedResponseAuditControlCommentResultsDataList;
|
|
1471
|
+
pageInfo: PageInfo;
|
|
1472
|
+
}
|
|
1473
|
+
export declare const PaginatedResponseAuditControlCommentResults: S.Schema<PaginatedResponseAuditControlCommentResults>;
|
|
1474
|
+
export interface PaginatedResponseAuditControlComment {
|
|
1475
|
+
results: PaginatedResponseAuditControlCommentResults;
|
|
1476
|
+
}
|
|
1477
|
+
export declare const PaginatedResponseAuditControlComment: S.Schema<PaginatedResponseAuditControlComment>;
|
|
1478
|
+
export interface ListCommentsForInformationRequestRequest {
|
|
1479
|
+
auditId: string;
|
|
1480
|
+
requestId: string;
|
|
1481
|
+
/** Maximum number of comments to return per page. */
|
|
1482
|
+
pageSize?: number;
|
|
1483
|
+
/** Pagination cursor from a previous response. Provide to fetch the next page of comments. */
|
|
1484
|
+
pageCursor?: string;
|
|
1485
|
+
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1486
|
+
changedSinceDate?: string;
|
|
1487
|
+
}
|
|
1488
|
+
export declare const ListCommentsForInformationRequestRequest: S.Schema<ListCommentsForInformationRequestRequest>;
|
|
1489
|
+
export type PaginatedResponseInformationRequestCommentResultsDataList = Array<InformationRequestComment>;
|
|
1490
|
+
export declare const PaginatedResponseInformationRequestCommentResultsDataList: S.Schema<PaginatedResponseInformationRequestCommentResultsDataList>;
|
|
1491
|
+
export interface PaginatedResponseInformationRequestCommentResults {
|
|
1492
|
+
data: PaginatedResponseInformationRequestCommentResultsDataList;
|
|
1493
|
+
pageInfo: PageInfo;
|
|
1494
|
+
}
|
|
1495
|
+
export declare const PaginatedResponseInformationRequestCommentResults: S.Schema<PaginatedResponseInformationRequestCommentResults>;
|
|
1496
|
+
export interface PaginatedResponseInformationRequestComment {
|
|
1497
|
+
results: PaginatedResponseInformationRequestCommentResults;
|
|
1498
|
+
}
|
|
1499
|
+
export declare const PaginatedResponseInformationRequestComment: S.Schema<PaginatedResponseInformationRequestComment>;
|
|
1500
|
+
export interface ListInformationRequestActivityRequest {
|
|
1501
|
+
auditId: string;
|
|
1502
|
+
requestId: string;
|
|
1503
|
+
/** Maximum number of activity entries to return per page. */
|
|
1504
|
+
pageSize?: number;
|
|
1505
|
+
/** Pagination cursor from a previous response. Provide to fetch the next page of activity logs. */
|
|
1506
|
+
pageCursor?: string;
|
|
1507
|
+
/** Includes activity logs that have changed since changedSinceDate. */
|
|
1508
|
+
changedSinceDate?: string;
|
|
1509
|
+
}
|
|
1510
|
+
export declare const ListInformationRequestActivityRequest: S.Schema<ListInformationRequestActivityRequest>;
|
|
1511
|
+
export type InformationRequestActivityType = "AUDIT_DUPLICATION_AUDIT_TRAIL" | "AUDIT_INFORMATION_REQUEST_EVIDENCE_FILL" | "CHANGE_STATUS" | "EDIT_REQUEST" | "REMOVE_EVIDENCE" | "SHARE_EVIDENCE_WITH_AUDITOR" | "UPLOAD_EVIDENCE";
|
|
1512
|
+
export declare const InformationRequestActivityType: any;
|
|
1513
|
+
/** Previous approval status before the status change. Only populated for status change activities. Null for all other activity types. */
|
|
1514
|
+
export type InformationRequestActivityLogOldStatus = "READY_FOR_AUDIT" | "NEEDS_EVIDENCE" | "AUDITOR_APPROVED" | "AUDITOR_FLAGGED" | "READY_FOR_INTERNAL_REVIEW";
|
|
1515
|
+
export declare const InformationRequestActivityLogOldStatus: any;
|
|
1516
|
+
/** New approval status after the status change. Only populated for status change activities. Null for all other activity types. */
|
|
1517
|
+
export type InformationRequestActivityLogNewStatus = "READY_FOR_AUDIT" | "NEEDS_EVIDENCE" | "AUDITOR_APPROVED" | "AUDITOR_FLAGGED" | "READY_FOR_INTERNAL_REVIEW";
|
|
1518
|
+
export declare const InformationRequestActivityLogNewStatus: any;
|
|
1519
|
+
export type EvidenceFillOutcome = "SUCCESS" | "PARTIAL" | "FAILED";
|
|
1520
|
+
export declare const EvidenceFillOutcome: any;
|
|
1521
|
+
/** Activity log entry tracking changes and actions on an information request. The activity log provides a complete audit trail of all 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. */
|
|
1522
|
+
export interface InformationRequestActivityLog {
|
|
1523
|
+
/** The unique identifier for the activity log entry within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
1524
|
+
id: string;
|
|
1525
|
+
/** Type of activity that occurred on the information request. Determines which additional fields are populated. */
|
|
1526
|
+
activityType: InformationRequestActivityType;
|
|
1527
|
+
/** Timestamp when the activity occurred. Format: ISO 8601 UTC timestamp. */
|
|
1528
|
+
timestamp: string;
|
|
1529
|
+
/** Email address of the user who performed the activity. Null for system-generated activities (rare, such as automated status changes). This email uniquely identifies users across systems. */
|
|
1530
|
+
userEmail: string | null;
|
|
1531
|
+
/** Previous approval status before the status change. Only populated for status change activities. Null for all other activity types. */
|
|
1532
|
+
oldStatus: InformationRequestActivityLogOldStatus | null;
|
|
1533
|
+
/** New approval status after the status change. Only populated for status change activities. Null for all other activity types. */
|
|
1534
|
+
newStatus: InformationRequestActivityLogNewStatus | null;
|
|
1535
|
+
/** Optional explanation for the status change. Only populated for status change activities when a reason is provided (e.g., when flagging evidence). Null for all other cases. */
|
|
1536
|
+
reason: string | null;
|
|
1537
|
+
/** Result of an automated evidence fill. Only populated for evidence fill activities. Null for all other activity types. */
|
|
1538
|
+
fillOutcome: EvidenceFillOutcome | null;
|
|
1539
|
+
/** Identifier of the information request this one was copied from when its audit was duplicated. Only populated for audit-duplication trail activities. Null for all other activity types. Format: ObjectId as a string. */
|
|
1540
|
+
sourceInformationRequestId: string | null;
|
|
1541
|
+
/** 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. */
|
|
1542
|
+
sourceAuditId: string | null;
|
|
1543
|
+
}
|
|
1544
|
+
export declare const InformationRequestActivityLog: S.Schema<InformationRequestActivityLog>;
|
|
1545
|
+
export type PaginatedResponseInformationRequestActivityLogResultsDataList = Array<InformationRequestActivityLog>;
|
|
1546
|
+
export declare const PaginatedResponseInformationRequestActivityLogResultsDataList: S.Schema<PaginatedResponseInformationRequestActivityLogResultsDataList>;
|
|
1547
|
+
export interface PaginatedResponseInformationRequestActivityLogResults {
|
|
1548
|
+
data: PaginatedResponseInformationRequestActivityLogResultsDataList;
|
|
1549
|
+
pageInfo: PageInfo;
|
|
1550
|
+
}
|
|
1551
|
+
export declare const PaginatedResponseInformationRequestActivityLogResults: S.Schema<PaginatedResponseInformationRequestActivityLogResults>;
|
|
1552
|
+
export interface PaginatedResponseInformationRequestActivityLog {
|
|
1553
|
+
results: PaginatedResponseInformationRequestActivityLogResults;
|
|
1554
|
+
}
|
|
1555
|
+
export declare const PaginatedResponseInformationRequestActivityLog: S.Schema<PaginatedResponseInformationRequestActivityLog>;
|
|
1556
|
+
export type ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList = Array<InformationRequestSupportedEvidenceType | (string & {})>;
|
|
1557
|
+
export declare const ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList: S.Schema<ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList>;
|
|
1558
|
+
export interface ListInformationRequestEvidenceRequest {
|
|
1559
|
+
auditId: string;
|
|
1560
|
+
requestId: string;
|
|
1561
|
+
/** Maximum number of evidence entries to return per page. */
|
|
1562
|
+
pageSize?: number;
|
|
1563
|
+
/** Pagination cursor from a previous response. Provide to fetch the next page of evidence. */
|
|
1564
|
+
pageCursor?: string;
|
|
1565
|
+
/** Includes all evidence that have changed since changedSinceDate. Considers creationDate, modificationDate, deletionDate, and visibleToAuditorDate timestamps when determining changes. */
|
|
1566
|
+
changedSinceDate?: string;
|
|
1567
|
+
/** 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. */
|
|
1568
|
+
evidenceTypeMatchesAny?: ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList;
|
|
1569
|
+
}
|
|
1570
|
+
export declare const ListInformationRequestEvidenceRequest: S.Schema<ListInformationRequestEvidenceRequest>;
|
|
1571
|
+
export type PaginatedResponseInformationRequestEvidenceResultsDataList = Array<InformationRequestEvidence>;
|
|
1572
|
+
export declare const PaginatedResponseInformationRequestEvidenceResultsDataList: S.Schema<PaginatedResponseInformationRequestEvidenceResultsDataList>;
|
|
1573
|
+
export interface PaginatedResponseInformationRequestEvidenceResults {
|
|
1574
|
+
data: PaginatedResponseInformationRequestEvidenceResultsDataList;
|
|
1575
|
+
pageInfo: PageInfo;
|
|
1576
|
+
}
|
|
1577
|
+
export declare const PaginatedResponseInformationRequestEvidenceResults: S.Schema<PaginatedResponseInformationRequestEvidenceResults>;
|
|
1578
|
+
export interface PaginatedResponseInformationRequestEvidence {
|
|
1579
|
+
results: PaginatedResponseInformationRequestEvidenceResults;
|
|
1580
|
+
}
|
|
1581
|
+
export declare const PaginatedResponseInformationRequestEvidence: S.Schema<PaginatedResponseInformationRequestEvidence>;
|
|
1582
|
+
export interface ListInformationRequestsRequest {
|
|
1583
|
+
auditId: string;
|
|
1584
|
+
/** Maximum number of information requests to return per page. */
|
|
1585
|
+
pageSize?: number;
|
|
1586
|
+
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1587
|
+
pageCursor?: string;
|
|
1588
|
+
/** Includes all information requests that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1589
|
+
changedSinceDate?: string;
|
|
1590
|
+
}
|
|
1591
|
+
export declare const ListInformationRequestsRequest: S.Schema<ListInformationRequestsRequest>;
|
|
1592
|
+
export type PaginatedResponseInformationRequestResultsDataList = Array<InformationRequest>;
|
|
1593
|
+
export declare const PaginatedResponseInformationRequestResultsDataList: S.Schema<PaginatedResponseInformationRequestResultsDataList>;
|
|
1594
|
+
export interface PaginatedResponseInformationRequestResults {
|
|
1595
|
+
data: PaginatedResponseInformationRequestResultsDataList;
|
|
1596
|
+
pageInfo: PageInfo;
|
|
1597
|
+
}
|
|
1598
|
+
export declare const PaginatedResponseInformationRequestResults: S.Schema<PaginatedResponseInformationRequestResults>;
|
|
1599
|
+
export interface PaginatedResponseInformationRequest {
|
|
1600
|
+
results: PaginatedResponseInformationRequestResults;
|
|
1601
|
+
}
|
|
1602
|
+
export declare const PaginatedResponseInformationRequest: S.Schema<PaginatedResponseInformationRequest>;
|
|
1603
|
+
export interface ListInformationRequestsForControlRequest {
|
|
1604
|
+
auditId: string;
|
|
1605
|
+
controlId: string;
|
|
1606
|
+
/** Maximum number of information requests to return per page. */
|
|
1607
|
+
pageSize?: number;
|
|
1608
|
+
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1609
|
+
pageCursor?: string;
|
|
1610
|
+
}
|
|
1611
|
+
export declare const ListInformationRequestsForControlRequest: S.Schema<ListInformationRequestsForControlRequest>;
|
|
1612
|
+
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";
|
|
1613
|
+
export declare const AuditIntegrationTag: any;
|
|
1614
|
+
export type ListIntegrationsRequestTagsMatchesAnyList = Array<AuditIntegrationTag | (string & {})>;
|
|
1615
|
+
export declare const ListIntegrationsRequestTagsMatchesAnyList: S.Schema<ListIntegrationsRequestTagsMatchesAnyList>;
|
|
1616
|
+
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";
|
|
1617
|
+
export declare const AuditIntegrationCategory: any;
|
|
1618
|
+
export type ListIntegrationsRequestCategoriesMatchesAnyList = Array<AuditIntegrationCategory | (string & {})>;
|
|
1619
|
+
export declare const ListIntegrationsRequestCategoriesMatchesAnyList: S.Schema<ListIntegrationsRequestCategoriesMatchesAnyList>;
|
|
1620
|
+
export interface ListIntegrationsRequest {
|
|
1621
|
+
/** The audit ID */
|
|
1622
|
+
auditId: string;
|
|
1623
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1624
|
+
pageSize?: number;
|
|
1625
|
+
/** Pagination cursor from previous response */
|
|
1626
|
+
pageCursor?: string;
|
|
1627
|
+
/** Search term for filtering by integration name */
|
|
1628
|
+
search?: string;
|
|
1629
|
+
/** Filter integrations by tag values */
|
|
1630
|
+
tagsMatchesAny?: ListIntegrationsRequestTagsMatchesAnyList;
|
|
1631
|
+
/** Filter integrations by category values */
|
|
1632
|
+
categoriesMatchesAny?: ListIntegrationsRequestCategoriesMatchesAnyList;
|
|
1633
|
+
}
|
|
1634
|
+
export declare const ListIntegrationsRequest: S.Schema<ListIntegrationsRequest>;
|
|
1635
|
+
/** Integration tag display names describing what data this integration provides. */
|
|
1636
|
+
export type AuditIntegrationTagsList = Array<string>;
|
|
1637
|
+
export declare const AuditIntegrationTagsList: S.Schema<AuditIntegrationTagsList>;
|
|
1638
|
+
/** Category display names describing what the integration is used for. */
|
|
1639
|
+
export type AuditIntegrationCategoriesList = Array<string>;
|
|
1640
|
+
export declare const AuditIntegrationCategoriesList: S.Schema<AuditIntegrationCategoriesList>;
|
|
1641
|
+
/** 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. */
|
|
1642
|
+
export interface AuditIntegration {
|
|
1643
|
+
/** Integration identifier. */
|
|
1644
|
+
id: string;
|
|
1645
|
+
/** Display name of the integration. */
|
|
1646
|
+
name: string;
|
|
1647
|
+
/** Integration tag display names describing what data this integration provides. */
|
|
1648
|
+
tags?: AuditIntegrationTagsList;
|
|
1649
|
+
/** Category display names describing what the integration is used for. */
|
|
1650
|
+
categories?: AuditIntegrationCategoriesList;
|
|
1651
|
+
}
|
|
1652
|
+
export declare const AuditIntegration: S.Schema<AuditIntegration>;
|
|
1653
|
+
export type PaginatedResponseAuditIntegrationResultsDataList = Array<AuditIntegration>;
|
|
1654
|
+
export declare const PaginatedResponseAuditIntegrationResultsDataList: S.Schema<PaginatedResponseAuditIntegrationResultsDataList>;
|
|
1655
|
+
export interface PaginatedResponseAuditIntegrationResults {
|
|
1656
|
+
data: PaginatedResponseAuditIntegrationResultsDataList;
|
|
1657
|
+
pageInfo: PageInfo;
|
|
1658
|
+
}
|
|
1659
|
+
export declare const PaginatedResponseAuditIntegrationResults: S.Schema<PaginatedResponseAuditIntegrationResults>;
|
|
1660
|
+
export interface PaginatedResponseAuditIntegration {
|
|
1661
|
+
results: PaginatedResponseAuditIntegrationResults;
|
|
1662
|
+
}
|
|
1663
|
+
export declare const PaginatedResponseAuditIntegration: S.Schema<PaginatedResponseAuditIntegration>;
|
|
1664
|
+
/** Account status values for account access records. Unified status enum that covers all service types. */
|
|
1665
|
+
export type AccountAccessStatus = "ACTIVE" | "DEACTIVATED" | "UNKNOWN";
|
|
1666
|
+
export declare const AccountAccessStatus: any;
|
|
1667
|
+
export interface ListPersonnelAccountAccessRequest {
|
|
1668
|
+
/** The audit ID */
|
|
1669
|
+
auditId: string;
|
|
1670
|
+
/** The service ID from the /services endpoint */
|
|
1671
|
+
serviceId: string;
|
|
1672
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1673
|
+
pageSize?: number;
|
|
1674
|
+
/** Pagination cursor from previous response */
|
|
1675
|
+
pageCursor?: string;
|
|
1676
|
+
/** Search term for filtering by account name or email */
|
|
1677
|
+
search?: string;
|
|
1678
|
+
/** Filter by account status */
|
|
1679
|
+
status?: AccountAccessStatus | (string & {});
|
|
1680
|
+
}
|
|
1681
|
+
export declare const ListPersonnelAccountAccessRequest: S.Schema<ListPersonnelAccountAccessRequest>;
|
|
1682
|
+
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1683
|
+
export type AccountAccessRoleList = Array<string>;
|
|
1684
|
+
export declare const AccountAccessRoleList: S.Schema<AccountAccessRoleList>;
|
|
1685
|
+
/** 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`). */
|
|
1686
|
+
export interface AccountAccess {
|
|
1687
|
+
/** Unique identifier for the account. */
|
|
1688
|
+
id: string;
|
|
1689
|
+
/** Account name or email address (primary identifier). */
|
|
1690
|
+
accountName: string;
|
|
1691
|
+
/** Display name of the account owner, or null when the column is visible but unknown. */
|
|
1692
|
+
owner?: string | null;
|
|
1693
|
+
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1694
|
+
role?: AccountAccessRoleList;
|
|
1695
|
+
/** Account status when present; omitted when the column is not in the response. */
|
|
1696
|
+
status?: AccountAccessStatus;
|
|
1697
|
+
/** Multi-factor authentication (MFA) status when present. `true` = MFA enabled, `false` = MFA not enabled, `null` = visible but unknown. */
|
|
1698
|
+
mfa?: boolean | null;
|
|
1699
|
+
/** Account creation date when present, or null when visible but absent. */
|
|
1700
|
+
createdDate?: string | null;
|
|
1701
|
+
/** Account deactivation date when present, or null when active. */
|
|
1702
|
+
deactivatedDate?: string | null;
|
|
1703
|
+
}
|
|
1704
|
+
export declare const AccountAccess: S.Schema<AccountAccess>;
|
|
1705
|
+
export type PaginatedResponseAccountAccessResultsDataList = Array<AccountAccess>;
|
|
1706
|
+
export declare const PaginatedResponseAccountAccessResultsDataList: S.Schema<PaginatedResponseAccountAccessResultsDataList>;
|
|
1707
|
+
export interface PaginatedResponseAccountAccessResults {
|
|
1708
|
+
data: PaginatedResponseAccountAccessResultsDataList;
|
|
1709
|
+
pageInfo: PageInfo;
|
|
1710
|
+
}
|
|
1711
|
+
export declare const PaginatedResponseAccountAccessResults: S.Schema<PaginatedResponseAccountAccessResults>;
|
|
1712
|
+
export interface PaginatedResponseAccountAccess {
|
|
1713
|
+
results: PaginatedResponseAccountAccessResults;
|
|
1714
|
+
}
|
|
1715
|
+
export declare const PaginatedResponseAccountAccess: S.Schema<PaginatedResponseAccountAccess>;
|
|
1716
|
+
export type ListPersonnelGroupsRequestSourcesMatchesAnyList = Array<string>;
|
|
1717
|
+
export declare const ListPersonnelGroupsRequestSourcesMatchesAnyList: S.Schema<ListPersonnelGroupsRequestSourcesMatchesAnyList>;
|
|
1718
|
+
export type GroupOrderBy = "name" | "members" | "source" | "tasksLastUpdated" | "pointOfContact";
|
|
1719
|
+
export declare const GroupOrderBy: any;
|
|
1720
|
+
export interface ListPersonnelGroupsRequest {
|
|
1721
|
+
/** The audit ID */
|
|
1722
|
+
auditId: string;
|
|
1723
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1724
|
+
pageSize?: number;
|
|
1725
|
+
/** Pagination cursor from previous response */
|
|
1726
|
+
pageCursor?: string;
|
|
1727
|
+
/** Search term for filtering by group name */
|
|
1728
|
+
search?: string;
|
|
1729
|
+
/** Filter groups by IDP source service names */
|
|
1730
|
+
sourcesMatchesAny?: ListPersonnelGroupsRequestSourcesMatchesAnyList;
|
|
1731
|
+
/** Field to sort results by. Allowed: "name", "members", "source", "tasksLastUpdated", "pointOfContact". Default: "name" */
|
|
1732
|
+
orderBy?: GroupOrderBy | (string & {});
|
|
1733
|
+
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1734
|
+
orderDirection?: OrderDirection | (string & {});
|
|
1735
|
+
}
|
|
1736
|
+
export declare const ListPersonnelGroupsRequest: S.Schema<ListPersonnelGroupsRequest>;
|
|
1737
|
+
/** A task assigned to a personnel group. */
|
|
1738
|
+
export interface PersonnelGroupTask {
|
|
1739
|
+
/** Task name */
|
|
1740
|
+
name: string;
|
|
1741
|
+
}
|
|
1742
|
+
export declare const PersonnelGroupTask: S.Schema<PersonnelGroupTask>;
|
|
1743
|
+
/** Security tasks enabled for this group, or empty array if not available. */
|
|
1744
|
+
export type PersonnelGroupTasksList = Array<PersonnelGroupTask>;
|
|
1745
|
+
export declare const PersonnelGroupTasksList: S.Schema<PersonnelGroupTasksList>;
|
|
1746
|
+
/** 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. */
|
|
1747
|
+
export interface PersonnelGroup {
|
|
1748
|
+
/** Unique identifier for the group. */
|
|
1749
|
+
id: string;
|
|
1750
|
+
/** Display name of the group. */
|
|
1751
|
+
name: string;
|
|
1752
|
+
/** Number of people in this group within the audit scope. */
|
|
1753
|
+
members?: number;
|
|
1754
|
+
/** The source of this group. For IDP-synced groups, this is the provider name (e.g., "Okta", "Azure AD"). For manually created groups, this is "Vanta". */
|
|
1755
|
+
source?: string;
|
|
1756
|
+
/** Security tasks enabled for this group, or empty array if not available. */
|
|
1757
|
+
tasks?: PersonnelGroupTasksList;
|
|
1758
|
+
/** When the group's task configuration was last updated, or null if never updated. ISO 8601 format. */
|
|
1759
|
+
tasksLastUpdated?: string | null;
|
|
1760
|
+
/** Display name of the group's designated point of contact, or null if not set. */
|
|
1761
|
+
pointOfContact?: string | null;
|
|
1762
|
+
}
|
|
1763
|
+
export declare const PersonnelGroup: S.Schema<PersonnelGroup>;
|
|
1764
|
+
export type PaginatedResponsePersonnelGroupResultsDataList = Array<PersonnelGroup>;
|
|
1765
|
+
export declare const PaginatedResponsePersonnelGroupResultsDataList: S.Schema<PaginatedResponsePersonnelGroupResultsDataList>;
|
|
1766
|
+
export interface PaginatedResponsePersonnelGroupResults {
|
|
1767
|
+
data: PaginatedResponsePersonnelGroupResultsDataList;
|
|
1768
|
+
pageInfo: PageInfo;
|
|
1769
|
+
}
|
|
1770
|
+
export declare const PaginatedResponsePersonnelGroupResults: S.Schema<PaginatedResponsePersonnelGroupResults>;
|
|
1771
|
+
export interface PaginatedResponsePersonnelGroup {
|
|
1772
|
+
results: PaginatedResponsePersonnelGroupResults;
|
|
1773
|
+
}
|
|
1774
|
+
export declare const PaginatedResponsePersonnelGroup: S.Schema<PaginatedResponsePersonnelGroup>;
|
|
1775
|
+
/** Employment status filter for people queries. */
|
|
1776
|
+
export type PeopleEmploymentStatus = "CURRENTLY_EMPLOYED" | "INACTIVE_EMPLOYEE" | "NOT_PEOPLE" | "ON_LEAVE" | "PREVIOUSLY_EMPLOYED" | "UPCOMING_EMPLOYEE";
|
|
1777
|
+
export declare const PeopleEmploymentStatus: any;
|
|
1778
|
+
export type ListPersonnelPeopleRequestGroupsMatchesAnyList = Array<string>;
|
|
1779
|
+
export declare const ListPersonnelPeopleRequestGroupsMatchesAnyList: S.Schema<ListPersonnelPeopleRequestGroupsMatchesAnyList>;
|
|
1780
|
+
export type PeopleOrderBy = "name" | "employmentStatus";
|
|
1781
|
+
export declare const PeopleOrderBy: any;
|
|
1782
|
+
export interface ListPersonnelPeopleRequest {
|
|
1783
|
+
/** The audit ID */
|
|
1784
|
+
auditId: string;
|
|
1785
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1786
|
+
pageSize?: number;
|
|
1787
|
+
/** Pagination cursor from previous response */
|
|
1788
|
+
pageCursor?: string;
|
|
1789
|
+
/** Search term for filtering by name or email */
|
|
1790
|
+
search?: string;
|
|
1791
|
+
/** Employment status filter */
|
|
1792
|
+
status?: PeopleEmploymentStatus | (string & {});
|
|
1793
|
+
/** Filter people by group IDs */
|
|
1794
|
+
groupsMatchesAny?: ListPersonnelPeopleRequestGroupsMatchesAnyList;
|
|
1795
|
+
/** Field to sort results by. Allowed: "name", "employmentStatus". Default: "name" */
|
|
1796
|
+
orderBy?: PeopleOrderBy | (string & {});
|
|
1797
|
+
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1798
|
+
orderDirection?: OrderDirection | (string & {});
|
|
1799
|
+
}
|
|
1800
|
+
export declare const ListPersonnelPeopleRequest: S.Schema<ListPersonnelPeopleRequest>;
|
|
1801
|
+
export interface PersonnelPersonGroupsItem {
|
|
1802
|
+
name: string;
|
|
1803
|
+
}
|
|
1804
|
+
export declare const PersonnelPersonGroupsItem: S.Schema<PersonnelPersonGroupsItem>;
|
|
1805
|
+
/** Groups (roles) the person belongs to. Present only when the column is in the response; use an empty array when there are no groups. */
|
|
1806
|
+
export type PersonnelPersonGroupsList = Array<PersonnelPersonGroupsItem>;
|
|
1807
|
+
export declare const PersonnelPersonGroupsList: S.Schema<PersonnelPersonGroupsList>;
|
|
1808
|
+
/** Source information for a person's data. Full Audit View only - omitted in Controlled Audit View. */
|
|
1809
|
+
export interface PeopleSourceInfo {
|
|
1810
|
+
/** Main source of user data. */
|
|
1811
|
+
mainSource: string;
|
|
1812
|
+
/** Supplementary source, or null if none. */
|
|
1813
|
+
supplementarySource: string | null;
|
|
1814
|
+
}
|
|
1815
|
+
export declare const PeopleSourceInfo: S.Schema<PeopleSourceInfo>;
|
|
1816
|
+
/** Overall user task status. */
|
|
1817
|
+
export type PeopleTaskStatus = "NO_SECURITY_TASKS" | "OFFBOARDING_COMPLETE" | "OFFBOARDING_DUE_SOON" | "OFFBOARDING_OVERDUE" | "PAUSED" | "SECURITY_TASKS_COMPLETE" | "SECURITY_TASKS_DUE_SOON" | "SECURITY_TASKS_OVERDUE";
|
|
1818
|
+
export declare const PeopleTaskStatus: any;
|
|
1819
|
+
/** Overall task status information for a person. Full Audit View only - omitted in Controlled Audit View. */
|
|
1820
|
+
export interface PeopleTaskStatusInfo {
|
|
1821
|
+
/** Overall task status. */
|
|
1822
|
+
status: PeopleTaskStatus;
|
|
1823
|
+
/** Due date for the earliest incomplete task in ISO 8601 format, or null if none. */
|
|
1824
|
+
dueDate: string | null;
|
|
1825
|
+
/** Completion date when all tasks are complete in ISO 8601 format, or null if incomplete. */
|
|
1826
|
+
completionDate: string | null;
|
|
1827
|
+
/** Count of completed tasks, or null if not available. */
|
|
1828
|
+
numTasksCompleted: number | null;
|
|
1829
|
+
/** Count of overdue tasks, or null if not available. */
|
|
1830
|
+
numTasksOverdue: number | null;
|
|
1831
|
+
/** Count of tasks due soon, or null if not available. */
|
|
1832
|
+
numTasksDueSoon: number | null;
|
|
1833
|
+
}
|
|
1834
|
+
export declare const PeopleTaskStatusInfo: S.Schema<PeopleTaskStatusInfo>;
|
|
1835
|
+
/** Security task status for individual task categories. */
|
|
1836
|
+
export type PeopleSecurityTaskStatus = "NO_SECURITY_TASKS" | "SECURITY_TASKS_COMPLETE" | "SECURITY_TASKS_DUE_SOON" | "SECURITY_TASKS_OVERDUE";
|
|
1837
|
+
export declare const PeopleSecurityTaskStatus: any;
|
|
1838
|
+
/** Security task details for a specific task category. Full Audit View only - omitted in Controlled Audit View. */
|
|
1839
|
+
export interface PeopleSecurityTaskDetails {
|
|
1840
|
+
/** Task status for this category. */
|
|
1841
|
+
status: PeopleSecurityTaskStatus;
|
|
1842
|
+
/** Due date for incomplete task in ISO 8601 format, or null if none. */
|
|
1843
|
+
dueDate: string | null;
|
|
1844
|
+
/** Completion date for completed task in ISO 8601 format, or null if incomplete. */
|
|
1845
|
+
completionDate: string | null;
|
|
1846
|
+
}
|
|
1847
|
+
export declare const PeopleSecurityTaskDetails: S.Schema<PeopleSecurityTaskDetails>;
|
|
1848
|
+
/** 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. */
|
|
1849
|
+
export interface PersonnelPerson {
|
|
1850
|
+
/** User ID - always present. */
|
|
1851
|
+
id: string;
|
|
1852
|
+
/** Display name of the person - always present. */
|
|
1853
|
+
name: string;
|
|
1854
|
+
/** Email address of the person - always present. */
|
|
1855
|
+
email: string;
|
|
1856
|
+
/** Job title from HR system, or null if not available. */
|
|
1857
|
+
jobTitle?: string | null;
|
|
1858
|
+
/** Employment status, or null if not available. */
|
|
1859
|
+
employmentStatus?: PeopleEmploymentStatus | null;
|
|
1860
|
+
/** Start date in ISO 8601 format (YYYY-MM-DD), or null if not available. Timezone depends on source: UTC if from HR system, customer timezone if manually entered. */
|
|
1861
|
+
startDate?: string | null;
|
|
1862
|
+
/** End date in ISO 8601 format (YYYY-MM-DD), or null if currently employed. */
|
|
1863
|
+
endDate?: string | null;
|
|
1864
|
+
/** Groups (roles) the person belongs to. Present only when the column is in the response; use an empty array when there are no groups. */
|
|
1865
|
+
groups?: PersonnelPersonGroupsList;
|
|
1866
|
+
/** Source of user data, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1867
|
+
source?: PeopleSourceInfo | null;
|
|
1868
|
+
/** Overall task status information, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1869
|
+
taskStatus?: PeopleTaskStatusInfo | null;
|
|
1870
|
+
/** Last date user was sent an onboarding reminder email in ISO 8601 format, or null if never reminded. Full Audit View only - omitted in Controlled Audit View. */
|
|
1871
|
+
lastReminded?: string | null;
|
|
1872
|
+
/** Policy acceptance task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1873
|
+
policies?: PeopleSecurityTaskDetails | null;
|
|
1874
|
+
/** Security training task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1875
|
+
trainings?: PeopleSecurityTaskDetails | null;
|
|
1876
|
+
/** Background check task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1877
|
+
backgroundChecks?: PeopleSecurityTaskDetails | null;
|
|
1878
|
+
/** Device monitoring task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1879
|
+
deviceMonitoring?: PeopleSecurityTaskDetails | null;
|
|
1880
|
+
/** Custom onboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1881
|
+
customOnboarding?: PeopleSecurityTaskDetails | null;
|
|
1882
|
+
/** Custom offboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1883
|
+
customOffboarding?: PeopleSecurityTaskDetails | null;
|
|
1884
|
+
}
|
|
1885
|
+
export declare const PersonnelPerson: S.Schema<PersonnelPerson>;
|
|
1886
|
+
export type PaginatedResponsePersonnelPersonResultsDataList = Array<PersonnelPerson>;
|
|
1887
|
+
export declare const PaginatedResponsePersonnelPersonResultsDataList: S.Schema<PaginatedResponsePersonnelPersonResultsDataList>;
|
|
1888
|
+
export interface PaginatedResponsePersonnelPersonResults {
|
|
1889
|
+
data: PaginatedResponsePersonnelPersonResultsDataList;
|
|
1890
|
+
pageInfo: PageInfo;
|
|
1891
|
+
}
|
|
1892
|
+
export declare const PaginatedResponsePersonnelPersonResults: S.Schema<PaginatedResponsePersonnelPersonResults>;
|
|
1893
|
+
export interface PaginatedResponsePersonnelPerson {
|
|
1894
|
+
results: PaginatedResponsePersonnelPersonResults;
|
|
1895
|
+
}
|
|
1896
|
+
export declare const PaginatedResponsePersonnelPerson: S.Schema<PaginatedResponsePersonnelPerson>;
|
|
1897
|
+
export interface ListRiskSnapshotsRequest {
|
|
1898
|
+
/** The audit ID */
|
|
1899
|
+
auditId: string;
|
|
1900
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1901
|
+
pageSize?: number;
|
|
1902
|
+
/** Pagination cursor from previous response */
|
|
1903
|
+
pageCursor?: string;
|
|
1904
|
+
}
|
|
1905
|
+
export declare const ListRiskSnapshotsRequest: S.Schema<ListRiskSnapshotsRequest>;
|
|
1906
|
+
/** 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. */
|
|
1907
|
+
export interface RiskSnapshot {
|
|
1908
|
+
/** Unique identifier for the risk snapshot. */
|
|
1909
|
+
id: string;
|
|
1910
|
+
/** The date and time when this risk snapshot was created. */
|
|
1911
|
+
createdAt: string;
|
|
1912
|
+
}
|
|
1913
|
+
export declare const RiskSnapshot: S.Schema<RiskSnapshot>;
|
|
1914
|
+
export type PaginatedResponseRiskSnapshotResultsDataList = Array<RiskSnapshot>;
|
|
1915
|
+
export declare const PaginatedResponseRiskSnapshotResultsDataList: S.Schema<PaginatedResponseRiskSnapshotResultsDataList>;
|
|
1916
|
+
export interface PaginatedResponseRiskSnapshotResults {
|
|
1917
|
+
data: PaginatedResponseRiskSnapshotResultsDataList;
|
|
1918
|
+
pageInfo: PageInfo;
|
|
1919
|
+
}
|
|
1920
|
+
export declare const PaginatedResponseRiskSnapshotResults: S.Schema<PaginatedResponseRiskSnapshotResults>;
|
|
1921
|
+
export interface PaginatedResponseRiskSnapshot {
|
|
1922
|
+
results: PaginatedResponseRiskSnapshotResults;
|
|
1923
|
+
}
|
|
1924
|
+
export declare const PaginatedResponseRiskSnapshot: S.Schema<PaginatedResponseRiskSnapshot>;
|
|
1925
|
+
export interface ListShareInformationRequestRequest {
|
|
1926
|
+
auditId: string;
|
|
1927
|
+
}
|
|
1928
|
+
export declare const ListShareInformationRequestRequest: S.Schema<ListShareInformationRequestRequest>;
|
|
1929
|
+
export type AuditVendorStatus = "ACTIVE" | "ARCHIVED" | "IN_PROCUREMENT";
|
|
1930
|
+
export declare const AuditVendorStatus: any;
|
|
1931
|
+
export type ListVendorsRequestVendorStatusesMatchesAnyList = Array<AuditVendorStatus | (string & {})>;
|
|
1932
|
+
export declare const ListVendorsRequestVendorStatusesMatchesAnyList: S.Schema<ListVendorsRequestVendorStatusesMatchesAnyList>;
|
|
1933
|
+
export type AuditVendorRiskLevel = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "UNSCORED";
|
|
1934
|
+
export declare const AuditVendorRiskLevel: any;
|
|
1935
|
+
export type ListVendorsRequestInherentRiskMatchesAnyList = Array<AuditVendorRiskLevel | (string & {})>;
|
|
1936
|
+
export declare const ListVendorsRequestInherentRiskMatchesAnyList: S.Schema<ListVendorsRequestInherentRiskMatchesAnyList>;
|
|
1937
|
+
export type VendorOrderBy = "name" | "inherentRisk";
|
|
1938
|
+
export declare const VendorOrderBy: any;
|
|
1939
|
+
export interface ListVendorsRequest {
|
|
1940
|
+
/** The audit ID */
|
|
1941
|
+
auditId: string;
|
|
1942
|
+
/** Maximum number of results per page (1-100, default 10) */
|
|
1943
|
+
pageSize?: number;
|
|
1944
|
+
/** Pagination cursor from previous response */
|
|
1945
|
+
pageCursor?: string;
|
|
1946
|
+
/** Search term for filtering by vendor name */
|
|
1947
|
+
search?: string;
|
|
1948
|
+
/** Filter vendors by status values */
|
|
1949
|
+
vendorStatusesMatchesAny?: ListVendorsRequestVendorStatusesMatchesAnyList;
|
|
1950
|
+
/** Filter vendors by inherent risk level values */
|
|
1951
|
+
inherentRiskMatchesAny?: ListVendorsRequestInherentRiskMatchesAnyList;
|
|
1952
|
+
/** Field to sort results by. Allowed: "name", "inherentRisk". Default: "name" */
|
|
1953
|
+
orderBy?: VendorOrderBy | (string & {});
|
|
1954
|
+
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1955
|
+
orderDirection?: OrderDirection | (string & {});
|
|
1956
|
+
}
|
|
1957
|
+
export declare const ListVendorsRequest: S.Schema<ListVendorsRequest>;
|
|
1958
|
+
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1959
|
+
export interface AuditVendorDataAgreements {
|
|
1960
|
+
total: number;
|
|
1961
|
+
complete: number;
|
|
1962
|
+
}
|
|
1963
|
+
export declare const AuditVendorDataAgreements: S.Schema<AuditVendorDataAgreements>;
|
|
1964
|
+
/** 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. */
|
|
1965
|
+
export interface AuditVendor {
|
|
1966
|
+
/** Vendor record ID. */
|
|
1967
|
+
id: string;
|
|
1968
|
+
/** Vendor name. */
|
|
1969
|
+
name: string;
|
|
1970
|
+
/** Inherent risk level of the vendor. */
|
|
1971
|
+
inherentRisk?: AuditVendorRiskLevel;
|
|
1972
|
+
/** Vendor status. */
|
|
1973
|
+
status?: AuditVendorStatus;
|
|
1974
|
+
/** Number of findings associated with the vendor. */
|
|
1975
|
+
findings?: number;
|
|
1976
|
+
/** Date when the last security review was completed, or null if none. */
|
|
1977
|
+
lastReviewedCompleted?: string | null;
|
|
1978
|
+
/** Date when the next security review is due, or null if not scheduled. */
|
|
1979
|
+
nextSecurityReviewDueDate?: string | null;
|
|
1980
|
+
/** Vendor category (e.g. cloud provider, SaaS). */
|
|
1981
|
+
vendorCategory?: string | null;
|
|
1982
|
+
/** Residual risk level of the vendor. Full Audit View only - omitted in Controlled Audit View. */
|
|
1983
|
+
residualRisk?: AuditVendorRiskLevel | null;
|
|
1984
|
+
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1985
|
+
dataAgreements?: AuditVendorDataAgreements | null;
|
|
1986
|
+
}
|
|
1987
|
+
export declare const AuditVendor: S.Schema<AuditVendor>;
|
|
1988
|
+
export type PaginatedResponseAuditVendorResultsDataList = Array<AuditVendor>;
|
|
1989
|
+
export declare const PaginatedResponseAuditVendorResultsDataList: S.Schema<PaginatedResponseAuditVendorResultsDataList>;
|
|
1990
|
+
export interface PaginatedResponseAuditVendorResults {
|
|
1991
|
+
data: PaginatedResponseAuditVendorResultsDataList;
|
|
1992
|
+
pageInfo: PageInfo;
|
|
1993
|
+
}
|
|
1994
|
+
export declare const PaginatedResponseAuditVendorResults: S.Schema<PaginatedResponseAuditVendorResults>;
|
|
1995
|
+
export interface PaginatedResponseAuditVendor {
|
|
1996
|
+
results: PaginatedResponseAuditVendorResults;
|
|
1997
|
+
}
|
|
1998
|
+
export declare const PaginatedResponseAuditVendor: S.Schema<PaginatedResponseAuditVendor>;
|
|
1999
|
+
export type AuditorEnabledStateTransition = "ACCEPT" | "MARK_APPLICABLE" | "FLAG" | "MARK_NA" | "READY_FOR_AUDIT";
|
|
2000
|
+
export declare const AuditorEnabledStateTransition: any;
|
|
2001
|
+
export interface UpdateAuditEvidenceRequestStatusUpdate {
|
|
2002
|
+
/** Email of the auditor who changed the state */
|
|
2003
|
+
auditorEmail: string;
|
|
2004
|
+
/** State change for audit evidence */
|
|
2005
|
+
stateTransition: AuditorEnabledStateTransition | (string & {});
|
|
2006
|
+
}
|
|
2007
|
+
export declare const UpdateAuditEvidenceRequestStatusUpdate: S.Schema<UpdateAuditEvidenceRequestStatusUpdate>;
|
|
2008
|
+
export interface UpdateAuditEvidenceRequest {
|
|
2009
|
+
auditId: string;
|
|
2010
|
+
auditEvidenceId: string;
|
|
2011
|
+
statusUpdate?: UpdateAuditEvidenceRequestStatusUpdate;
|
|
2012
|
+
}
|
|
2013
|
+
export declare const UpdateAuditEvidenceRequest: S.Schema<UpdateAuditEvidenceRequest>;
|
|
2014
|
+
export interface UpdateCommentForControlRequest {
|
|
2015
|
+
auditId: string;
|
|
2016
|
+
controlId: string;
|
|
2017
|
+
commentId: string;
|
|
2018
|
+
/** The text content of the comment. Must be at least 1 character. Can include questions, clarifications, or explanations related to the control. */
|
|
2019
|
+
text: string;
|
|
2020
|
+
/** 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. */
|
|
2021
|
+
email: string;
|
|
2022
|
+
}
|
|
2023
|
+
export declare const UpdateCommentForControlRequest: S.Schema<UpdateCommentForControlRequest>;
|
|
2024
|
+
export interface UpdateCommentForInformationRequestRequest {
|
|
2025
|
+
auditId: string;
|
|
2026
|
+
requestId: string;
|
|
2027
|
+
commentId: string;
|
|
2028
|
+
/** The text content of the comment. Must be at least 1 character. Can include questions, clarifications, or explanations related to the information request. */
|
|
2029
|
+
text: string;
|
|
2030
|
+
/** 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. */
|
|
2031
|
+
email: string;
|
|
2032
|
+
}
|
|
2033
|
+
export declare const UpdateCommentForInformationRequestRequest: S.Schema<UpdateCommentForInformationRequestRequest>;
|
|
2034
|
+
/** The framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
2035
|
+
export type UpdateInformationRequestRequestFrameworkCodesList = Array<string>;
|
|
2036
|
+
export declare const UpdateInformationRequestRequestFrameworkCodesList: S.Schema<UpdateInformationRequestRequestFrameworkCodesList>;
|
|
2037
|
+
/** Control IDs to link directly to this request, beyond those automatically mapped from framework codes. Replaces the existing set: pass the complete desired list, an empty array to clear all direct control links, or omit to leave them unchanged. Each must be the `id` of an existing control in the customer's organization (the identifier returned by the controls endpoints). The request is rejected if any ID does not match a control. */
|
|
2038
|
+
export type UpdateInformationRequestRequestAdditionalControlIdsList = Array<string>;
|
|
2039
|
+
export declare const UpdateInformationRequestRequestAdditionalControlIdsList: S.Schema<UpdateInformationRequestRequestAdditionalControlIdsList>;
|
|
2040
|
+
export interface UpdateInformationRequestRequest {
|
|
2041
|
+
auditId: string;
|
|
2042
|
+
requestId: string;
|
|
2043
|
+
/** The framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
2044
|
+
frameworkCodes?: UpdateInformationRequestRequestFrameworkCodesList;
|
|
2045
|
+
/** Detailed description of what evidence is needed. */
|
|
2046
|
+
description?: string | null;
|
|
2047
|
+
/** Deadline for fulfilling this request. Null if no deadline. Format: ISO 8601 UTC timestamp. */
|
|
2048
|
+
dueDate?: string | null;
|
|
2049
|
+
/** Start date of the audit period. Evidence before this date may not be accepted. Null if not restricted. Format: ISO 8601 UTC timestamp. */
|
|
2050
|
+
evidenceCaptureDate?: string | null;
|
|
2051
|
+
/** Scope of evidence required. */
|
|
2052
|
+
requestType?: InformationRequestType | (string & {});
|
|
2053
|
+
/** Short, descriptive title. */
|
|
2054
|
+
title?: string;
|
|
2055
|
+
/** How frequently this request recurs. */
|
|
2056
|
+
cadence?: InformationRequestCadence | (string & {});
|
|
2057
|
+
/** Control IDs to link directly to this request, beyond those automatically mapped from framework codes. Replaces the existing set: pass the complete desired list, an empty array to clear all direct control links, or omit to leave them unchanged. Each must be the `id` of an existing control in the customer's organization (the identifier returned by the controls endpoints). The request is rejected if any ID does not match a control. */
|
|
2058
|
+
additionalControlIds?: UpdateInformationRequestRequestAdditionalControlIdsList;
|
|
2059
|
+
}
|
|
2060
|
+
export declare const UpdateInformationRequestRequest: S.Schema<UpdateInformationRequestRequest>;
|
|
2061
|
+
export interface UpsertAssessmentForControlRequest {
|
|
2062
|
+
auditId: string;
|
|
2063
|
+
controlId: string;
|
|
2064
|
+
/** The program segment to assess. Required when the audit has more than one program segment. Optional on a single-program audit (the only program is used). Must be a program segment on the audit; system segments are rejected. */
|
|
2065
|
+
segmentId?: string;
|
|
2066
|
+
/** The assessment state to record. Must be one of the states valid for the segment's framework; the request is rejected otherwise. */
|
|
2067
|
+
assessmentState: AuditControlAssessmentState | (string & {});
|
|
2068
|
+
/** Free-text reasoning for the assessment. Required, and at most 5000 characters. */
|
|
2069
|
+
justification: string;
|
|
2070
|
+
/** Email of the auditor performing the assessment. Must match an existing Vanta user who belongs to the audit firm making the API request. */
|
|
2071
|
+
auditorEmail: string;
|
|
2072
|
+
}
|
|
2073
|
+
export declare const UpsertAssessmentForControlRequest: S.Schema<UpsertAssessmentForControlRequest>;
|
|
2074
|
+
/** A control's auditor assessment, as persisted. Returned by the assessment write endpoint so the caller sees exactly what was recorded. */
|
|
2075
|
+
export interface AuditorControlAssessment {
|
|
2076
|
+
/** The control this assessment belongs to. */
|
|
2077
|
+
controlId: string;
|
|
2078
|
+
/** The program segment this assessment was written to. */
|
|
2079
|
+
segmentId: string;
|
|
2080
|
+
/** The recorded assessment state. */
|
|
2081
|
+
assessmentState: AuditControlAssessmentState;
|
|
2082
|
+
/** The recorded justification. */
|
|
2083
|
+
justification: string;
|
|
2084
|
+
}
|
|
2085
|
+
export declare const AuditorControlAssessment: S.Schema<AuditorControlAssessment>;
|
|
2086
|
+
export type AcceptInformationRequestEvidenceError = VantaOpError;
|
|
2087
|
+
/** 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. */
|
|
2088
|
+
export declare const acceptInformationRequestEvidence: API.OperationMethod<AcceptInformationRequestEvidenceRequest, InformationRequest, AcceptInformationRequestEvidenceError, VantaOpContext>;
|
|
2089
|
+
export type CreateAuditorError = VantaOpError;
|
|
2090
|
+
/** Create an auditor Create an auditor in Vanta. Rate limit: 10 requests / minute. */
|
|
2091
|
+
export declare const createAuditor: API.OperationMethod<CreateAuditorRequest, Auditor, CreateAuditorError, VantaOpContext>;
|
|
2092
|
+
export type CreateCommentForAuditEvidenceError = VantaOpError;
|
|
2093
|
+
/** Create a comment for audit evidence Create a comment in Vanta for a piece of evidence. Rate limit: 25 requests / minute. */
|
|
2094
|
+
export declare const createCommentForAuditEvidence: API.OperationMethod<CreateCommentForAuditEvidenceRequest, Comment, CreateCommentForAuditEvidenceError, VantaOpContext>;
|
|
2095
|
+
export type CreateCommentForControlError = VantaOpError;
|
|
2096
|
+
/** Create a comment for a control within an audit Creates a new comment on a control within an IRL audit. The comment author must be an auditor in the audit firm making the request. The comment will be associated with the control and visible to all authorized users. Returns 404 when the control is not part of the audit. Rate limit: 50 requests / minute. */
|
|
2097
|
+
export declare const createCommentForControl: API.OperationMethod<CreateCommentForControlRequest, AuditControlComment, CreateCommentForControlError, VantaOpContext>;
|
|
2098
|
+
export type CreateCommentForInformationRequestError = VantaOpError;
|
|
2099
|
+
/** Create a comment for an information request Creates a new comment for an information request. The comment author must be an auditor in the audit firm making the request. The comment will be associated with the information request and visible to all authorized users. Rate limit: 50 requests / minute. */
|
|
2100
|
+
export declare const createCommentForInformationRequest: API.OperationMethod<CreateCommentForInformationRequestRequest, InformationRequestComment, CreateCommentForInformationRequestError, VantaOpContext>;
|
|
2101
|
+
export type CreateCustomControlError = VantaOpError;
|
|
2102
|
+
/** Create a custom control for an audit Create a custom control for an audit. This endpoint supports classic audits only. Audits that use information request lists (IRL) are not supported and return a 422 error. Rate limit: 10 requests / minute. */
|
|
2103
|
+
export declare const createCustomControl: API.OperationMethod<CreateCustomControlRequest, Control, CreateCustomControlError, VantaOpContext>;
|
|
2104
|
+
export type CreateCustomEvidenceRequestError = VantaOpError;
|
|
2105
|
+
/** Create a custom evidence request for an audit Create a custom evidence request for an audit. Rate limit: 10 requests / minute. */
|
|
2106
|
+
export declare const createCustomEvidenceRequest: API.OperationMethod<CreateCustomEvidenceRequestRequest, CustomEvidenceRequest, CreateCustomEvidenceRequestError, VantaOpContext>;
|
|
2107
|
+
export type CreateInformationRequestError = VantaOpError;
|
|
2108
|
+
/** 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. */
|
|
2109
|
+
export declare const createInformationRequest: API.OperationMethod<CreateInformationRequestRequest, InformationRequest, CreateInformationRequestError, VantaOpContext>;
|
|
2110
|
+
export type DeleteCommentForControlError = VantaOpError;
|
|
2111
|
+
/** 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. */
|
|
2112
|
+
export declare const deleteCommentForControl: API.OperationMethod<DeleteCommentForControlRequest, DeleteCommentForControlResponse, DeleteCommentForControlError, VantaOpContext>;
|
|
2113
|
+
export type DeleteCommentForInformationRequestError = VantaOpError;
|
|
2114
|
+
/** Delete a comment for an information request Deletes an existing comment for an information request. 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: 25 requests / minute. */
|
|
2115
|
+
export declare const deleteCommentForInformationRequest: API.OperationMethod<DeleteCommentForInformationRequestRequest, DeleteCommentForInformationRequestResponse, DeleteCommentForInformationRequestError, VantaOpContext>;
|
|
2116
|
+
export type DeleteInformationRequestError = VantaOpError;
|
|
2117
|
+
/** 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 will not appear in normal list responses (without `changedSinceDate`) - The request's `deletionDate` field will be populated Rate limit: 50 requests / minute. */
|
|
2118
|
+
export declare const deleteInformationRequest: API.OperationMethod<DeleteInformationRequestRequest, DeleteInformationRequestResponse, DeleteInformationRequestError, VantaOpContext>;
|
|
2119
|
+
export type DuplicateError = VantaOpError;
|
|
2120
|
+
/** 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. */
|
|
2121
|
+
export declare const duplicate: API.OperationMethod<DuplicateRequest, Audit, DuplicateError, VantaOpContext>;
|
|
2122
|
+
export type FlagInformationRequestEvidenceError = VantaOpError;
|
|
2123
|
+
/** 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. */
|
|
2124
|
+
export declare const flagInformationRequestEvidence: API.OperationMethod<FlagInformationRequestEvidenceRequest, InformationRequest, FlagInformationRequestEvidenceError, VantaOpContext>;
|
|
2125
|
+
export type GetAuditError = VantaOpError;
|
|
2126
|
+
/** Get audit by ID Returns a single audit by ID, scoped to the audit firm. To identify IRL (Information Request List) audits, check for the presence of the `auditorRequestListMetadata` field. This field is only present for IRL-based audits and will be `undefined` for standard audits. The response includes `segments`, the audit's scope. A live single-framework audit has one entry; a live multi-framework audit has one entry per in-scope framework (and business unit or system, when applicable). Soft-deleted audits return an empty list. The top-level `framework` field is deprecated; use `segments` for framework identity. Rate limit: 250 requests / minute. */
|
|
2127
|
+
export declare const getAudit: API.OperationMethod<GetAuditRequest, Audit, GetAuditError, VantaOpContext>;
|
|
2128
|
+
export type GetAuditEvidenceError = VantaOpError;
|
|
2129
|
+
/** Get an audit evidence item by ID Retrieves a single classic audit evidence item by its ID, scoped to its audit. The response matches the entry `GET /audits/{auditId}/evidence` returns for the same item, so an evidence ID surfaced by a webhook can be resolved directly instead of paging the audit's full evidence list. Soft-deleted evidence (where `deletionDate !== null`) is included in the response. Clients should check `deletionDate` to determine whether the item has been deleted. This matches `GET /audits/{auditId}/evidence`, which supports `changedSinceDate` and returns soft-deleted evidence for delta sync. As on the list endpoint, `description` is null for deleted items. Rate limit: 250 requests / minute. */
|
|
2130
|
+
export declare const getAuditEvidence: API.OperationMethod<GetAuditEvidenceRequest, Evidence, GetAuditEvidenceError, VantaOpContext>;
|
|
2131
|
+
export type GetAuditEvidenceCommentError = VantaOpError;
|
|
2132
|
+
/** Get an audit evidence comment by ID Retrieves a single comment on a classic audit evidence item by its ID. Soft-deleted comments (where `deletionDate !== null`) are included in the response. Clients should check `deletionDate` to determine whether the comment has been deleted. This matches `GET /audits/{auditId}/comments`, which supports `changedSinceDate` and returns soft-deleted comments for delta sync. Comments remain fetchable when the parent evidence item has been soft-deleted, so delayed webhook consumers can still resolve a comment ID after evidence deletion. Rate limit: 50 requests / minute. */
|
|
2133
|
+
export declare const getAuditEvidenceComment: API.OperationMethod<GetAuditEvidenceCommentRequest, Comment, GetAuditEvidenceCommentError, VantaOpContext>;
|
|
2134
|
+
export type GetCommentForInformationRequestError = VantaOpError;
|
|
2135
|
+
/** Get an information request comment by ID Retrieves a single comment on an information request by its ID. Soft-deleted comments (where `deletionDate !== null`) are included in the response. Clients should check `deletionDate` to determine whether the comment has been deleted. This matches `GET /audits/{auditId}/information-requests/{requestId}/comments`, which supports `changedSinceDate` and returns soft-deleted comments for delta sync. Comments remain fetchable when the parent information request has been soft-deleted, so delayed webhook consumers can still resolve a comment ID after the request is deleted. Rate limit: 50 requests / minute. */
|
|
2136
|
+
export declare const getCommentForInformationRequest: API.OperationMethod<GetCommentForInformationRequestRequest, InformationRequestComment, GetCommentForInformationRequestError, VantaOpContext>;
|
|
2137
|
+
export type GetFrameworkCodesError = VantaOpError;
|
|
2138
|
+
/** Get framework codes for an audit Retrieves all valid framework codes for the specified audit. This endpoint helps users discover which framework codes are available for creating and updating information requests for this audit. Use this endpoint to: - Discover available framework codes before creating information requests - Validate framework codes against the audit's framework - Get context about what framework codes are available for the audit type Rate limit: 50 requests / minute. */
|
|
2139
|
+
export declare const getFrameworkCodes: API.OperationMethod<GetFrameworkCodesRequest, FrameworkCodes, GetFrameworkCodesError, VantaOpContext>;
|
|
2140
|
+
export type GetInformationRequestError = VantaOpError;
|
|
2141
|
+
/** Get an information request by ID Retrieves a single information request by its ID for an audit, allowing external audit management systems to fetch the latest state of a specific request without paginating through the full list. Soft-deleted records (where `deletionDate !== null`) are included in the response. Clients should check `deletionDate` to determine whether the request has been deleted. Rate limit: 50 requests / minute. */
|
|
2142
|
+
export declare const getInformationRequest: API.OperationMethod<GetInformationRequestRequest, InformationRequest, GetInformationRequestError, VantaOpContext>;
|
|
2143
|
+
export type GetInformationRequestEvidenceError = VantaOpError;
|
|
2144
|
+
/** Get information request evidence by ID Retrieves a single evidence item attached to an information request by its ID. This endpoint always includes soft-deleted evidence (where `deletionDate !== null`), so an evidence ID surfaced by a `changedSinceDate` delta sync stays fetchable after the evidence is deleted. Clients should check the `deletionDate` field to identify and handle deleted records appropriately in their systems. Evidence is only resolvable while its information request exists. Once the request itself is deleted, this endpoint reports the request as not found — matching `GET /audits/{auditId}/information-requests/{requestId}/evidence`. Clients reconciling a deleted request should treat its evidence as gone with it. Evidence that the customer has not shared with the auditor is reported as not found, rather than distinguishing it from an ID that does not exist. Rate limit: 250 requests / minute. */
|
|
2145
|
+
export declare const getInformationRequestEvidence: API.OperationMethod<GetInformationRequestEvidenceRequest, InformationRequestEvidence, GetInformationRequestEvidenceError, VantaOpContext>;
|
|
2146
|
+
export type GetInformationRequestTestSnapshotEvidenceDetailError = VantaOpError;
|
|
2147
|
+
/** Get test snapshot detail for an evidence row Retrieves the rich detail for a single VANTA_TEST_SNAPSHOT evidence row attached to an information request. The response includes test-level metadata (description, integrations, SLA), the raw test data captured at snapshot time, and the resources that were excluded from the test (out-of-scope resources). For structured snapshots, the `rawTestData` array contains one row per resource the test ran against; each row carries `resourceId`, `resourceType`, and the raw JSON for that resource. For unstructured snapshots, the `rawTestData` array contains a single row with `resourceId` and `resourceType` set to `null` and `rawJson` containing the entire test-run JSON blob. The `outOfScopeResources` field lists resources excluded at the test level (customer-disabled) and the framework level (segment configuration). Empty exclusion groups are filtered out. The `apiRequests` array contains the HTTP requests captured during API introspection tests. Empty when the test does not perform API introspection. Rate limit: 10 requests / minute. */
|
|
2148
|
+
export declare const getInformationRequestTestSnapshotEvidenceDetail: API.OperationMethod<GetInformationRequestTestSnapshotEvidenceDetailRequest, VantaTestSnapshotEvidenceDetail, GetInformationRequestTestSnapshotEvidenceDetailError, VantaOpContext>;
|
|
2149
|
+
export type GetOrganizationInformationError = VantaOpError;
|
|
2150
|
+
/** 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. */
|
|
2151
|
+
export declare const getOrganizationInformation: API.OperationMethod<GetOrganizationInformationRequest, AuditOrganizationInformation, GetOrganizationInformationError, VantaOpContext>;
|
|
2152
|
+
export type GetOrganizationNotificationsError = VantaOpError;
|
|
2153
|
+
/** 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. */
|
|
2154
|
+
export declare const getOrganizationNotifications: API.OperationMethod<GetOrganizationNotificationsRequest, AuditOrganizationNotifications, GetOrganizationNotificationsError, VantaOpContext>;
|
|
2155
|
+
export type ListAccountAccessServicesError = VantaOpError;
|
|
2156
|
+
/** 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. */
|
|
2157
|
+
export declare const listAccountAccessServices: API.OperationMethod<ListAccountAccessServicesRequest, PaginatedResponseAccountAccessService, ListAccountAccessServicesError, VantaOpContext>;
|
|
2158
|
+
export type ListAuditCommentsError = VantaOpError;
|
|
2159
|
+
/** List audit comments Returns a paginated list of comments for an audit. Rate limit: 250 requests / minute. */
|
|
2160
|
+
export declare const listAuditComments: API.OperationMethod<ListAuditCommentsRequest, PaginatedResponseComment, ListAuditCommentsError, VantaOpContext>;
|
|
2161
|
+
export type ListAuditControlsError = VantaOpError;
|
|
2162
|
+
/** List audit controls Returns a paginated list of controls for an audit. Rate limit: 250 requests / minute. */
|
|
2163
|
+
export declare const listAuditControls: API.OperationMethod<ListAuditControlsRequest, PaginatedResponseAuditorControl, ListAuditControlsError, VantaOpContext>;
|
|
2164
|
+
export type ListAuditEvidenceError = VantaOpError;
|
|
2165
|
+
/** List audit evidence Returns a paginated list of evidence for an audit. Rate limit: 250 requests / minute. */
|
|
2166
|
+
export declare const listAuditEvidence: API.OperationMethod<ListAuditEvidenceRequest, PaginatedResponseEvidence, ListAuditEvidenceError, VantaOpContext>;
|
|
2167
|
+
export type ListAuditEvidenceUrlsError = VantaOpError;
|
|
2168
|
+
/** List audit evidence url Returns a paginated list of evidence urls for an audit. This endpoint should be called whenever an evidence is created or has a statusUpdatedAt field that is more recent than the most recent polling event. Evidence must be in one of the following states to retrieve URLs: "Ready for audit", "Accepted", "Flagged", or "NA". Returns 422 when the audit does not have exactly one program segment (multi-framework audits are not supported on this endpoint). Rate limit: 600 requests / minute. */
|
|
2169
|
+
export declare const listAuditEvidenceUrls: API.OperationMethod<ListAuditEvidenceUrlsRequest, PaginatedResponseEvidenceUrl, ListAuditEvidenceUrlsError, VantaOpContext>;
|
|
2170
|
+
export type ListAuditIssuesError = VantaOpError;
|
|
2171
|
+
/** List snapshotted issues for an audit Retrieves a list of all issues that have been shared with an audit. The issues returned are immutable, point-in-time snapshots; there may be duplicates of issues that have been snapshotted at different times. The GET /audits/{auditId}/issues/snapshots endpoint can be used to retrieve metadata about the snapshots that issues belong to. Issues represent compliance findings from a variety of sources that need to be tracked and remediated. Supports filtering by: - `search`: full text search across issue title and description - `snapshotId`: filtering to a specific snapshot or snapshots, which represent point-in-time captures of issues. Use the GET /audits/{auditId}/issues/snapshots endpoint to retrieve snapshot IDs and metadata. - `createdAfterDate` / `createdBeforeDate`: filter to issues created within a date range (inclusive) - `detectedAfterDate` / `detectedBeforeDate`: filter to issues detected within a date range (inclusive) Results are sorted by issue creation date in descending order (newest first) by default. Use `orderBy` and `orderDirection` to customize sorting. Sort parameters must remain consistent across paginated requests. 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 Rate limit: 10 requests / minute. */
|
|
2172
|
+
export declare const listAuditIssues: API.OperationMethod<ListAuditIssuesRequest, PaginatedResponseIssueSnapshotItem, ListAuditIssuesError, VantaOpContext>;
|
|
2173
|
+
export type ListAuditRisksError = VantaOpError;
|
|
2174
|
+
/** List risks for an audit Retrieves risk population data for an audit. This endpoint provides access to the risk records visible to auditors during an audit engagement. Risk data is scoped to a specific risk assessment snapshot identified by the `snapshotId` parameter. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Supports filtering by: - `search`: Searches risk scenario descriptions (case-insensitive) Results are sorted by identified date (newest first) by default. Use `orderBy` and `orderDirection` to customize sorting. Sort parameters must remain consistent across paginated requests. 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 Rate limit: 10 requests / minute. */
|
|
2175
|
+
export declare const listAuditRisks: API.OperationMethod<ListAuditRisksRequest, PaginatedResponseAuditRisk, ListAuditRisksError, VantaOpContext>;
|
|
2176
|
+
export type ListAuditsError = VantaOpError;
|
|
2177
|
+
/** List audits Returns a paginated list of audits scoped to the audit firm. To identify IRL (Information Request List) audits, check for the presence of the `auditorRequestListMetadata` field. This field is only present for IRL-based audits and will be `undefined` for standard audits. Each audit includes `segments`, the audit's scope. A live single-framework audit has one entry; a live multi-framework audit has one entry per in-scope framework (and business unit or system, when applicable). Soft-deleted audits return an empty list. The top-level `framework` field is deprecated; use `segments` for framework identity. Rate limit: 250 requests / minute. */
|
|
2178
|
+
export declare const listAudits: API.OperationMethod<ListAuditsRequest, PaginatedResponseAudit, ListAuditsError, VantaOpContext>;
|
|
2179
|
+
export type ListAuditSnapshotsError = VantaOpError;
|
|
2180
|
+
/** List snapshotted issues for an audit Retrieves a list of snapshots that have been shared with an audit. The snapshots returned contain metadata about point-in-time captures of issues for an audit. This data can be used to filter down the list of issues to specific snapshots when querying the GET /audits/{auditId}/issues/items endpoint. Supports filtering by: - `search`: full text search across snapshot title and description Results are sorted by snapshot creation date in descending order (newest first). 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 Rate limit: 10 requests / minute. */
|
|
2181
|
+
export declare const listAuditSnapshots: API.OperationMethod<ListAuditSnapshotsRequest, PaginatedResponseIssueSnapshotMetadata, ListAuditSnapshotsError, VantaOpContext>;
|
|
2182
|
+
export type ListCodeChangesError = VantaOpError;
|
|
2183
|
+
/** List code changes for an audit Retrieves code changes population data for an audit. This endpoint provides access to code change records (pull requests) visible to auditors during an audit engagement. Supports filtering by: - `search`: Searches code change titles and repository names (case-insensitive) - `sourcesMatchesAny`: Filters by version control source (accepted values: github, gitlab, bitbucket, azuredevops) - `closedAfterDate` / `closedBeforeDate`: Filters by the closed date range 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 sorted by closed date (newest first). This sort order is fixed 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. */
|
|
2184
|
+
export declare const listCodeChanges: API.OperationMethod<ListCodeChangesRequest, PaginatedResponseCodeChange, ListCodeChangesError, VantaOpContext>;
|
|
2185
|
+
export type ListCommentsForControlError = VantaOpError;
|
|
2186
|
+
/** List comments for a control within an audit Retrieves a paginated list of comments on a control within an IRL audit, enabling auditors to view collaboration history on the control. 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. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Returns 404 when the control is not part of the audit. 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. */
|
|
2187
|
+
export declare const listCommentsForControl: API.OperationMethod<ListCommentsForControlRequest, PaginatedResponseAuditControlComment, ListCommentsForControlError, VantaOpContext>;
|
|
2188
|
+
export type ListCommentsForInformationRequestError = VantaOpError;
|
|
2189
|
+
/** 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. 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. */
|
|
2190
|
+
export declare const listCommentsForInformationRequest: API.OperationMethod<ListCommentsForInformationRequestRequest, PaginatedResponseInformationRequestComment, ListCommentsForInformationRequestError, VantaOpContext>;
|
|
2191
|
+
export type ListInformationRequestActivityError = VantaOpError;
|
|
2192
|
+
/** List information request activity Retrieves a paginated list of activity logs for an information request, providing a complete audit trail of all changes and actions. 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. */
|
|
2193
|
+
export declare const listInformationRequestActivity: API.OperationMethod<ListInformationRequestActivityRequest, PaginatedResponseInformationRequestActivityLog, ListInformationRequestActivityError, VantaOpContext>;
|
|
2194
|
+
export type ListInformationRequestEvidenceError = VantaOpError;
|
|
2195
|
+
/** 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. 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. */
|
|
2196
|
+
export declare const listInformationRequestEvidence: API.OperationMethod<ListInformationRequestEvidenceRequest, PaginatedResponseInformationRequestEvidence, ListInformationRequestEvidenceError, VantaOpContext>;
|
|
2197
|
+
export type ListInformationRequestsError = VantaOpError;
|
|
2198
|
+
/** List information requests for an audit Retrieves a paginated list of all information requests for an audit, enabling external audit management systems to display and track evidence requests. 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. 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 requests created, modified, or deleted since that timestamp are returned 4. Process updates and soft-deletes by checking the `deletionDate` field 5. Update your last sync timestamp to the current time Rate limit: 50 requests / minute. */
|
|
2199
|
+
export declare const listInformationRequests: API.OperationMethod<ListInformationRequestsRequest, PaginatedResponseInformationRequest, ListInformationRequestsError, VantaOpContext>;
|
|
2200
|
+
export type ListInformationRequestsForControlError = VantaOpError;
|
|
2201
|
+
/** List information requests linked to a control within an audit Returns a paginated list of active information requests linked to a specific control within an IRL audit. An information request is linked to a control either via its framework codes (`criteriaIds`) or via a direct association (`additionalControlIds`). Soft-deleted information requests are not included in the response. To synchronize deletions, use `GET /audits/{auditId}/information-requests`, which supports `changedSinceDate` and includes soft-deleted records. Returns 404 when the control is not part of the audit. Returns an empty page when the control is part of the audit but has no active IRLs linked to it. 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 Rate limit: 50 requests / minute. */
|
|
2202
|
+
export declare const listInformationRequestsForControl: API.OperationMethod<ListInformationRequestsForControlRequest, PaginatedResponseInformationRequest, ListInformationRequestsForControlError, VantaOpContext>;
|
|
2203
|
+
export type ListIntegrationsError = VantaOpError;
|
|
2204
|
+
/** List integrations for an audit Retrieves integration population data for an audit. This endpoint provides access to integration records visible to auditors during an audit engagement. Integrations represent connected services (e.g., GitHub, AWS, Slack) that provide data for the audit. Supports filtering by: - `search`: Searches integration names (case-insensitive) - `tagsMatchesAny`: Filters by integration tag (ACCESS, COMPUTERS, etc.) - `categoriesMatchesAny`: Filters by category (CLOUD_PROVIDER, HR_PROVIDER, etc.) 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 sorted by integration display name (ascending). This sort order is fixed and cannot be customized via query parameters. Rate limit: 10 requests / minute. */
|
|
2205
|
+
export declare const listIntegrations: API.OperationMethod<ListIntegrationsRequest, PaginatedResponseAuditIntegration, ListIntegrationsError, VantaOpContext>;
|
|
2206
|
+
export type ListPersonnelAccountAccessError = VantaOpError;
|
|
2207
|
+
/** List account access records for an audit Retrieves account access population data for an audit. This endpoint provides access to account access records visible to auditors during an audit engagement. Account access data comes from various sources: - **IDP Services** (Identity Providers): Okta, Azure AD, Google Workspace, OneLogin, PingOne - Returns user accounts from identity providers - Supports filtering by search and status - **Role Grants Services**: GCP, Azure (when role grants are enabled) - Returns accounts with role-based access grants - Supports filtering by search and status - **First-Party Account Services**: AWS, Oracle Cloud, Azure (when not using role grants), etc. - Returns cloud provider account access records - Supports filtering by search and status - **Received Account Services**: External applications (Jira, GitHub, Slack, etc.) - Returns user accounts from third-party integrations - Supports filtering by search and status Supports filtering by: - `search`: Searches account names/emails (case-insensitive) - `status`: Filters by account status 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 The default sort order depends on the service type: - Identity provider services (e.g. Okta, Azure AD): sorted by email, ascending - Cloud provider services (e.g. AWS, GCP): sorted by account name, ascending - Role grant services: sorted by account name, ascending - Third-party application services (e.g. GitHub, Jira): sorted by account name, ascending Sort order 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. */
|
|
2208
|
+
export declare const listPersonnelAccountAccess: API.OperationMethod<ListPersonnelAccountAccessRequest, PaginatedResponseAccountAccess, ListPersonnelAccountAccessError, VantaOpContext>;
|
|
2209
|
+
export type ListPersonnelGroupsError = VantaOpError;
|
|
2210
|
+
/** List groups for an audit Retrieves groups population data for an audit. This endpoint provides access to the group records visible to auditors during an audit engagement. Groups represent organizational units that contain people, either imported from an identity provider (IDP) or created manually in Vanta. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Supports filtering by: - `search`: Searches group names (case-insensitive) - `sourcesMatchesAny`: Filters by IDP source service names Results are sorted by name (ascending) by default. Use `orderBy` and `orderDirection` to customize sorting. Sort parameters must remain consistent across paginated requests. 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 Rate limit: 10 requests / minute. */
|
|
2211
|
+
export declare const listPersonnelGroups: API.OperationMethod<ListPersonnelGroupsRequest, PaginatedResponsePersonnelGroup, ListPersonnelGroupsError, VantaOpContext>;
|
|
2212
|
+
export type ListPersonnelPeopleError = VantaOpError;
|
|
2213
|
+
/** List people for an audit Retrieves people population data for an audit. This endpoint provides access to the people records visible to auditors during an audit engagement. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Supports filtering by: - `search`: Searches names and email addresses - `status`: Filters by employment status - `groupsMatchesAny`: Filter people by group/role IDs Results are sorted by name (ascending) by default. Use `orderBy` and `orderDirection` to customize sorting. Sort parameters must remain consistent across paginated requests. 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 Rate limit: 10 requests / minute. */
|
|
2214
|
+
export declare const listPersonnelPeople: API.OperationMethod<ListPersonnelPeopleRequest, PaginatedResponsePersonnelPerson, ListPersonnelPeopleError, VantaOpContext>;
|
|
2215
|
+
export type ListRiskSnapshotsError = VantaOpError;
|
|
2216
|
+
/** List risk snapshots for an audit Returns a paginated list of risk assessment snapshots available for an audit. Risk snapshots capture the state of an organization's risk register at a point in time. Each snapshot has an `id` that can be used with the `/audits/{auditId}/risks` endpoint to retrieve the individual risk scenarios within that snapshot. Results are sorted by creation date (newest first). This sort order is fixed and cannot be customized via query parameters. Only snapshots that are shared with auditors are included. 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 Rate limit: 10 requests / minute. */
|
|
2217
|
+
export declare const listRiskSnapshots: API.OperationMethod<ListRiskSnapshotsRequest, PaginatedResponseRiskSnapshot, ListRiskSnapshotsError, VantaOpContext>;
|
|
2218
|
+
export type ListShareInformationRequestError = VantaOpError;
|
|
2219
|
+
/** Share information request list with customer Shares the current information request list for an audit with the customer organization, making it visible in their portal. This action allows the customer to see all information requests that have been created for their audit. Only IRL audits are supported. Rate limit: 50 requests / minute. */
|
|
2220
|
+
export declare const listShareInformationRequest: API.OperationMethod<ListShareInformationRequestRequest, Audit, ListShareInformationRequestError, VantaOpContext>;
|
|
2221
|
+
export type ListVendorsError = VantaOpError;
|
|
2222
|
+
/** List vendors for an audit Retrieves vendor population data for an audit. This endpoint provides access to vendor records visible to auditors during an audit engagement. Supports filtering by: - `search`: Searches vendor names (case-insensitive) - `vendorStatusesMatchesAny`: Filters by vendor status (ACTIVE, ARCHIVED, IN_PROCUREMENT) - `inherentRiskMatchesAny`: Filters by inherent risk level Results are sorted by name (ascending) by default. Use `orderBy` and `orderDirection` to customize sorting. Sort parameters must remain consistent across paginated requests. 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 Rate limit: 10 requests / minute. */
|
|
2223
|
+
export declare const listVendors: API.OperationMethod<ListVendorsRequest, PaginatedResponseAuditVendor, ListVendorsError, VantaOpContext>;
|
|
2224
|
+
export type UpdateAuditEvidenceError = VantaOpError;
|
|
2225
|
+
/** Update audit evidence Update audit evidence. Rate limit: 50 requests / minute. */
|
|
2226
|
+
export declare const updateAuditEvidence: API.OperationMethod<UpdateAuditEvidenceRequest, Evidence, UpdateAuditEvidenceError, VantaOpContext>;
|
|
2227
|
+
export type UpdateCommentForControlError = VantaOpError;
|
|
2228
|
+
/** Update a comment for a control within an audit Updates an existing comment on a control. Only the original author of the comment can update 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. */
|
|
2229
|
+
export declare const updateCommentForControl: API.OperationMethod<UpdateCommentForControlRequest, AuditControlComment, UpdateCommentForControlError, VantaOpContext>;
|
|
2230
|
+
export type UpdateCommentForInformationRequestError = VantaOpError;
|
|
2231
|
+
/** Update a comment for an information request Updates an existing comment for an information request. Only the original author of the comment can update it. The author is identified by their email address, which must match the email of the user who created the comment. Rate limit: 25 requests / minute. */
|
|
2232
|
+
export declare const updateCommentForInformationRequest: API.OperationMethod<UpdateCommentForInformationRequestRequest, InformationRequestComment, UpdateCommentForInformationRequestError, VantaOpContext>;
|
|
2233
|
+
export type UpdateInformationRequestError = VantaOpError;
|
|
2234
|
+
/** 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. */
|
|
2235
|
+
export declare const updateInformationRequest: API.OperationMethod<UpdateInformationRequestRequest, InformationRequest, UpdateInformationRequestError, VantaOpContext>;
|
|
2236
|
+
export type UpsertAssessmentForControlError = VantaOpError;
|
|
2237
|
+
/** 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 single assessment for this control in the audit's program segment. The `assessmentState` must be valid for the 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 the audit does not have exactly one program segment (multi-framework audits are not supported on this endpoint). Applies to both Full and Controlled Audit View audits. Rate limit: 10 requests / minute. */
|
|
2238
|
+
export declare const upsertAssessmentForControl: API.OperationMethod<UpsertAssessmentForControlRequest, AuditorControlAssessment, UpsertAssessmentForControlError, VantaOpContext>;
|
|
2239
|
+
//# sourceMappingURL=auditor_api.d.ts.map
|