@distilled.cloud/vanta 1.0.0-rc.18 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/auditor_api.d.ts +252 -214
- package/lib/services/auditor_api.d.ts.map +1 -1
- package/lib/services/auditor_api.js +68 -68
- package/lib/services/auditor_api.js.map +1 -1
- package/lib/services/build_integrations.d.ts +87 -87
- package/lib/services/build_integrations.d.ts.map +1 -1
- package/lib/services/build_integrations.js +43 -43
- package/lib/services/build_integrations.js.map +1 -1
- package/lib/services/manage_vanta.d.ts +1940 -637
- package/lib/services/manage_vanta.d.ts.map +1 -1
- package/lib/services/manage_vanta.js +401 -331
- package/lib/services/manage_vanta.js.map +1 -1
- package/lib/services/webhooks.d.ts +2 -2
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +32 -32
- package/lib/services/webhooks.js.map +1 -1
- package/lib/services.lazy/auditor_api.js +1 -1
- package/lib/services.lazy/manage_vanta.js +3 -2
- package/lib/services.lazy/webhooks.js +1 -1
- package/package.json +5 -5
- package/src/protocol.ts +3 -1
- package/src/services/auditor_api.ts +264 -214
- package/src/services/build_integrations.ts +111 -87
- package/src/services/manage_vanta.ts +7699 -4048
- package/src/services/webhooks.ts +6 -1
|
@@ -177,8 +177,10 @@ export interface InformationRequestComment {
|
|
|
177
177
|
}
|
|
178
178
|
export type ControlDomain = "ARTIFICIAL_&_AUTONOMOUS_TECHNOLOGY" | "ASSET_MANAGEMENT" | "BUSINESS_CONTINUITY_&_DISASTER_RECOVERY" | "CAPACITY_&_PERFORMANCE_PLANNING" | "CHANGE_MANAGEMENT" | "CLOUD_SECURITY" | "COMPLIANCE" | "CONFIGURATION_MANAGEMENT" | "CONTINUOUS_MONITORING" | "CRYPTOGRAPHIC_PROTECTIONS" | "DATA_CLASSIFICATION_&_HANDLING" | "EMBEDDED_TECHNOLOGY" | "ENDPOINT_SECURITY" | "HUMAN_RESOURCES_SECURITY" | "IDENTIFICATION_&_AUTHENTICATION" | "INCIDENT_RESPONSE" | "INFORMATION_ASSURANCE" | "MAINTENANCE" | "MOBILE_DEVICE_MANAGEMENT" | "NETWORK SECURITY" | "PHYSICAL_&_ENVIRONMENTAL_SECURITY" | "PRIVACY" | "PROJECT_&_RESOURCE MANAGEMENT" | "RISK_MANAGEMENT" | "SECURE_ENGINEERING_&_ARCHITECTURE" | "SECURITY_AWARENESS_&_TRAINING" | "SECURITY_OPERATIONS" | "SECURITY_&_PRIVACY_GOVERNANCE" | "TECHNOLOGY_DEVELOPMENT_&_ACQUISITION" | "THIRD-PARTY_MANAGEMENT" | "THREAT_MANAGEMENT" | "VULNERABILITY_&_PATCH_MANAGEMENT" | "WEB_SECURITY" | "ADMINISTRATIVE" | "PHYSICAL" | "TECHNICAL" | "BASIC" | "DERIVED";
|
|
179
179
|
export type FrameworkId = "AU_E_8" | "AWS_FTR" | "CCPA" | "CIS_V8" | "CPS_234" | "DORA" | "FEDRAMP" | "GDPR" | "HIPAA" | "HITRUST_E1" | "ISO_27001" | "ISO_27001_2022" | "ISO_27017" | "ISO_27018" | "ISO_27701" | "ISO_42001" | "ISO_9001" | "MSFT_SSPA" | "MVSP" | "NIS_2D" | "NIST_171" | "NIST_171_R3" | "NIST_53" | "NIST_AI_RMF" | "NIST_CSF" | "NIST_CSF_2" | "OFDSS" | "PCI_SAQ_A" | "PCI_SAQ_A_EP" | "PCI_SAQ_D_MERCHANT" | "PCI_SAQ_D_SP" | "PCI_DDS_4" | "SOC_2" | "SOX_ITGC" | "UK_CYBER_ESSENTIALS" | "US_DATA_PRIVACY";
|
|
180
|
+
/** The framework's id, such as `soc2` or the id of a custom framework. The `FrameworkId` enum values are deprecated aliases that are still accepted. */
|
|
180
181
|
export type FrameworkSectionFrameworkId = FrameworkId | string;
|
|
181
182
|
export interface FrameworkSection {
|
|
183
|
+
/** The framework's id, such as `soc2` or the id of a custom framework. The `FrameworkId` enum values are deprecated aliases that are still accepted. */
|
|
182
184
|
frameworkId: FrameworkSectionFrameworkId;
|
|
183
185
|
sectionId: string;
|
|
184
186
|
}
|
|
@@ -198,9 +200,9 @@ export interface CreateCustomControlRequest {
|
|
|
198
200
|
/** The category of the control. See the ControlDomain enum for possible values. */
|
|
199
201
|
category: ControlDomain | (string & {});
|
|
200
202
|
/** Framework sections that the control should be mapped to. */
|
|
201
|
-
sections?: CreateCustomControlRequestSectionsList | null;
|
|
203
|
+
sections?: CreateCustomControlRequestSectionsList | null | undefined;
|
|
202
204
|
/** 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. */
|
|
203
|
-
role?: GdprRole | (string & {}) | null;
|
|
205
|
+
role?: GdprRole | (string & {}) | null | undefined;
|
|
204
206
|
}
|
|
205
207
|
export type ControlSource = "Vanta" | "Custom";
|
|
206
208
|
/** The security domains that the control belongs to. */
|
|
@@ -237,7 +239,7 @@ export interface AuditorApiControl {
|
|
|
237
239
|
/** The control's owner. */
|
|
238
240
|
owner: Owner | null;
|
|
239
241
|
/** The control's GDPR role, if the control is a GDPR control. */
|
|
240
|
-
role?: string | null;
|
|
242
|
+
role?: string | null | undefined;
|
|
241
243
|
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
242
244
|
customFields: AuditorApiControlCustomFieldsList;
|
|
243
245
|
/** When the control was created. Returns null for Vanta library controls. */
|
|
@@ -296,17 +298,17 @@ export interface CreateInformationRequestRequest {
|
|
|
296
298
|
/** Scope of evidence required. */
|
|
297
299
|
requestType: InformationRequestType | (string & {});
|
|
298
300
|
/** Detailed description explaining what evidence is needed. Helps the customer understand what to submit. Optional. */
|
|
299
|
-
description?: string | null;
|
|
301
|
+
description?: string | null | undefined;
|
|
300
302
|
/** Framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
301
303
|
frameworkCodes: CreateInformationRequestRequestFrameworkCodesList;
|
|
302
304
|
/** How frequently this request recurs. Null or omitted for one-time requests. */
|
|
303
|
-
cadence?: InformationRequestCadence | (string & {}) | null;
|
|
305
|
+
cadence?: InformationRequestCadence | (string & {}) | null | undefined;
|
|
304
306
|
/** Deadline for fulfilling this request. Null or omitted if no deadline. Format: ISO 8601 UTC timestamp. */
|
|
305
|
-
dueDate?: string | null;
|
|
307
|
+
dueDate?: string | null | undefined;
|
|
306
308
|
/** 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. */
|
|
307
|
-
evidenceCaptureDate?: string | null;
|
|
309
|
+
evidenceCaptureDate?: string | null | undefined;
|
|
308
310
|
/** Control IDs to link directly to this request, beyond those automatically mapped from framework codes. Each must be the `id` of an existing control in the customer's organization (the identifier returned by the controls endpoints). Unknown IDs and controls without an active mapping to a framework in the audit are skipped. Omit or pass an empty array for no direct control links. */
|
|
309
|
-
additionalControlIds?: CreateInformationRequestRequestAdditionalControlIdsList;
|
|
311
|
+
additionalControlIds?: CreateInformationRequestRequestAdditionalControlIdsList | undefined;
|
|
310
312
|
}
|
|
311
313
|
export interface DeleteCommentForControlRequest {
|
|
312
314
|
auditId: string;
|
|
@@ -351,6 +353,7 @@ export interface DuplicateRequest {
|
|
|
351
353
|
/** Emails of auditors with access to audit */
|
|
352
354
|
export type AuditAllowAuditorEmailsList = Array<string>;
|
|
353
355
|
export type AuditFocus = "EXTERNAL" | "INTERNAL";
|
|
356
|
+
export type AuditView = "FULL" | "CONTROLLED";
|
|
354
357
|
export type AuditIrlGenerationStatus = "PENDING" | "RUNNING" | "READY" | "FAILED";
|
|
355
358
|
/** 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. */
|
|
356
359
|
export interface AuditAuditorRequestListMetadata {
|
|
@@ -433,10 +436,12 @@ export interface Audit {
|
|
|
433
436
|
completionDate: string | null;
|
|
434
437
|
/** Audit focus determines if the audit is internal or external facing */
|
|
435
438
|
auditFocus: AuditFocus;
|
|
439
|
+
/** How much population data the auditor can see: `FULL` (Full Audit View) or `CONTROLLED` (Controlled Audit View). Some population endpoints serve only one view; each endpoint's description says which. */
|
|
440
|
+
auditView: AuditView;
|
|
436
441
|
/** Generation status of this audit's Vanta-generated information request list (IRL). `PENDING`/`RUNNING` defer initial sync, `READY` permits a full sync, and `FAILED` is terminal. Null means the audit has no generated IRL. */
|
|
437
442
|
irlGenerationStatus: AuditIrlGenerationStatus | null;
|
|
438
443
|
/** 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. */
|
|
439
|
-
auditorRequestListMetadata?: AuditAuditorRequestListMetadata;
|
|
444
|
+
auditorRequestListMetadata?: AuditAuditorRequestListMetadata | undefined;
|
|
440
445
|
/** The audit's scope as a list of segments. Always present. A live audit returns every in-scope program and system segment; more than one segment does not by itself imply more than one framework. Soft-deleted audits return an empty list. Prefer this over the deprecated top-level `framework` field. */
|
|
441
446
|
segments: AuditSegmentsList;
|
|
442
447
|
}
|
|
@@ -535,12 +540,14 @@ export interface GetInformationRequestEvidenceRequest {
|
|
|
535
540
|
evidenceId: string;
|
|
536
541
|
}
|
|
537
542
|
export type InformationRequestSupportedEvidenceType = "UPLOADED_DOCUMENT" | "OBSERVATION" | "LINK" | "VANTA_DOCUMENT" | "VANTA_POLICY" | "VANTA_TEST" | "VANTA_TEST_SNAPSHOT";
|
|
543
|
+
/** IDs of the audit segments this evidence was relevant to when captured. Empty for uploaded, link and observation evidence, and for evidence captured before attribution was recorded. */
|
|
544
|
+
export type InformationRequestEvidenceCapturedSegmentIdsList = Array<string>;
|
|
538
545
|
/** Evidence in the form of an uploaded document file. The URL is a temporary presigned URL that expires after a certain period. */
|
|
539
546
|
export interface UploadedDocumentEvidence {
|
|
540
547
|
/** The unique identifier for the uploaded document in Vanta's system. */
|
|
541
548
|
id: string;
|
|
542
549
|
/** The original filename of the uploaded document. Undefined if the filename was not captured during upload. */
|
|
543
|
-
filename?: string;
|
|
550
|
+
filename?: string | undefined;
|
|
544
551
|
/** The MIME type of the document indicating its file format. Common types: "application/pdf", "image/png", "image/jpeg", "text/plain" */
|
|
545
552
|
mimeType: string;
|
|
546
553
|
/** 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. */
|
|
@@ -551,7 +558,7 @@ export interface LinkEvidence {
|
|
|
551
558
|
/** The title or descriptive name for the link. */
|
|
552
559
|
title: string;
|
|
553
560
|
/** Optional description providing additional context about the link. */
|
|
554
|
-
description?: string;
|
|
561
|
+
description?: string | undefined;
|
|
555
562
|
/** The URL pointing to the external documentation or resource. */
|
|
556
563
|
url: string;
|
|
557
564
|
}
|
|
@@ -574,7 +581,7 @@ export interface VantaDocumentUploadedEvidence {
|
|
|
574
581
|
/** The unique identifier for the file version in Vanta's system. */
|
|
575
582
|
id: string;
|
|
576
583
|
/** The original filename of the uploaded document. Undefined if the filename was not captured during upload. */
|
|
577
|
-
filename?: string;
|
|
584
|
+
filename?: string | undefined;
|
|
578
585
|
/** The MIME type of the document indicating its file format. Common types: "application/pdf", "image/png", "image/jpeg", "text/plain" */
|
|
579
586
|
mimeType: string;
|
|
580
587
|
/** 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. */
|
|
@@ -598,11 +605,11 @@ export interface VantaDocumentEvidence {
|
|
|
598
605
|
/** The title of the document as displayed in Vanta. */
|
|
599
606
|
title: string;
|
|
600
607
|
/** Optional description providing additional context about the document. */
|
|
601
|
-
description?: string;
|
|
608
|
+
description?: string | undefined;
|
|
602
609
|
/** The date when the document version expires and should be renewed. Undefined if no expiration is set. Format: ISO 8601 UTC timestamp. */
|
|
603
|
-
expirationDate?: string;
|
|
610
|
+
expirationDate?: string | undefined;
|
|
604
611
|
/** Information about the user who added this file version to the document. Undefined if the user information is not available. */
|
|
605
|
-
addedBy?: VantaDocumentEvidenceAddedBy;
|
|
612
|
+
addedBy?: VantaDocumentEvidenceAddedBy | undefined;
|
|
606
613
|
/** The unique identifier of the document version submitted as evidence. */
|
|
607
614
|
documentVersionId: string;
|
|
608
615
|
/** 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. */
|
|
@@ -621,7 +628,7 @@ export interface VantaPolicyEvidenceFile {
|
|
|
621
628
|
/** The MIME type of the policy document indicating its file format. Common types: "application/pdf", "application/msword" */
|
|
622
629
|
mimeType: string;
|
|
623
630
|
/** The original filename of the uploaded policy document. Undefined if the filename was not captured during upload. */
|
|
624
|
-
filename?: string;
|
|
631
|
+
filename?: string | undefined;
|
|
625
632
|
/** The unique identifier for the uploaded policy file in Vanta's system. */
|
|
626
633
|
id: string;
|
|
627
634
|
}
|
|
@@ -630,11 +637,11 @@ export interface VantaPolicyEvidence {
|
|
|
630
637
|
/** The title of the policy as displayed in Vanta. */
|
|
631
638
|
title: string;
|
|
632
639
|
/** Optional description providing additional context about the policy. */
|
|
633
|
-
description?: string;
|
|
640
|
+
description?: string | undefined;
|
|
634
641
|
/** The date when the policy version expires and should be renewed. Undefined if no expiration is set. Format: ISO 8601 UTC timestamp. */
|
|
635
|
-
expirationDate?: string;
|
|
642
|
+
expirationDate?: string | undefined;
|
|
636
643
|
/** Information about the user who last edited this policy version. Undefined if the user information is not available. */
|
|
637
|
-
lastEditedBy?: VantaDocumentEvidenceAddedBy;
|
|
644
|
+
lastEditedBy?: VantaDocumentEvidenceAddedBy | undefined;
|
|
638
645
|
/** 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. */
|
|
639
646
|
policyId: string;
|
|
640
647
|
/** 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. */
|
|
@@ -653,7 +660,7 @@ export interface VantaTestEvidenceFile {
|
|
|
653
660
|
/** 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. */
|
|
654
661
|
url: string;
|
|
655
662
|
}
|
|
656
|
-
/** Evidence in the form of a Vanta automated test run. Vanta Tests are automated compliance tests with metadata like test status, execution time, and file type. Tests generate evidence files that can be workpapers, raw data, or API request logs. */
|
|
663
|
+
/** 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. Each file in a snapshot is returned as a separate evidence item. These items share `testId` and `snapshotId` and differ by `fileType`. */
|
|
657
664
|
export interface VantaTestEvidence {
|
|
658
665
|
/** The title of the test run as displayed in Vanta. */
|
|
659
666
|
title: string;
|
|
@@ -690,18 +697,20 @@ export interface VantaTestSnapshotEvidence {
|
|
|
690
697
|
/** Union type representing the different forms of evidence content. The specific type is determined by the `evidenceType` field in InformationRequestEvidence. */
|
|
691
698
|
export type InformationRequestEvidenceUnion = UploadedDocumentEvidence | LinkEvidence | ObservationEvidence | VantaDocumentEvidence | VantaPolicyEvidence | VantaTestEvidence | VantaTestSnapshotEvidence;
|
|
692
699
|
export interface InformationRequestEvidence {
|
|
693
|
-
/** The unique identifier for the evidence within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
700
|
+
/** The unique identifier for the evidence within Vanta's system. Use it as the key when you sync evidence of any type. Each evidence item has at most one file. A file attached to two information requests appears as two evidence items with different IDs. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
694
701
|
id: string;
|
|
695
702
|
/** Type of evidence attached to this information request. Determines the structure of the `evidence` field. */
|
|
696
703
|
evidenceType: InformationRequestSupportedEvidenceType;
|
|
697
704
|
/** 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. */
|
|
698
|
-
visibleToAuditorDate?: string | null;
|
|
705
|
+
visibleToAuditorDate?: string | null | undefined;
|
|
699
706
|
/** Timestamp when the evidence was created/uploaded. Format: ISO 8601 UTC timestamp. */
|
|
700
707
|
creationDate: string;
|
|
701
708
|
/** Timestamp when the evidence was last modified. Format: ISO 8601 UTC timestamp. */
|
|
702
709
|
modificationDate: string;
|
|
703
710
|
/** 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. */
|
|
704
|
-
deletionDate?: string | null;
|
|
711
|
+
deletionDate?: string | null | undefined;
|
|
712
|
+
/** IDs of the audit segments this evidence was relevant to when captured. Empty for uploaded, link and observation evidence, and for evidence captured before attribution was recorded. */
|
|
713
|
+
capturedSegmentIds: InformationRequestEvidenceCapturedSegmentIdsList;
|
|
705
714
|
/** The evidence content. Structure varies based on evidenceType. */
|
|
706
715
|
evidence: InformationRequestEvidenceUnion;
|
|
707
716
|
}
|
|
@@ -788,9 +797,9 @@ export interface VantaTestSnapshotEvidenceDetail {
|
|
|
788
797
|
/** Raw test data captured at snapshot time. */
|
|
789
798
|
rawTestData: VantaTestSnapshotEvidenceDetailRawTestDataList;
|
|
790
799
|
/** 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". */
|
|
791
|
-
outOfScopeResources?: VantaTestSnapshotOutOfScopeResources;
|
|
800
|
+
outOfScopeResources?: VantaTestSnapshotOutOfScopeResources | undefined;
|
|
792
801
|
/** 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. */
|
|
793
|
-
apiRequests?: VantaTestSnapshotEvidenceDetailApiRequestsList;
|
|
802
|
+
apiRequests?: VantaTestSnapshotEvidenceDetailApiRequestsList | undefined;
|
|
794
803
|
}
|
|
795
804
|
export interface GetOrganizationInformationRequest {
|
|
796
805
|
/** The audit ID */
|
|
@@ -808,17 +817,17 @@ export interface AuditOrganizationInformation {
|
|
|
808
817
|
/** Display name of the organization. */
|
|
809
818
|
displayName: string;
|
|
810
819
|
/** Legal name of the organization. */
|
|
811
|
-
legalName?: string | null;
|
|
820
|
+
legalName?: string | null | undefined;
|
|
812
821
|
/** Incorporation status. Returns "Incorporated in the United States" when the organization is a US company, or null otherwise. */
|
|
813
|
-
incorporation?: string | null;
|
|
822
|
+
incorporation?: string | null | undefined;
|
|
814
823
|
/** Organization URL. */
|
|
815
|
-
url?: string | null;
|
|
824
|
+
url?: string | null | undefined;
|
|
816
825
|
/** Mailing address of the organization. */
|
|
817
|
-
mailingAddress?: string | null;
|
|
826
|
+
mailingAddress?: string | null | undefined;
|
|
818
827
|
/** Telephone number of the organization. */
|
|
819
|
-
telephone?: string | null;
|
|
828
|
+
telephone?: string | null | undefined;
|
|
820
829
|
/** Company logo reference (download URL), or null if no logo is uploaded. */
|
|
821
|
-
companyLogo?: AuditOrganizationCompanyLogo | null;
|
|
830
|
+
companyLogo?: AuditOrganizationCompanyLogo | null | undefined;
|
|
822
831
|
}
|
|
823
832
|
export interface GetOrganizationNotificationsRequest {
|
|
824
833
|
/** The audit ID */
|
|
@@ -846,21 +855,21 @@ export interface AuditOrganizationNotifications {
|
|
|
846
855
|
/** Domain identifier of the audited organization. */
|
|
847
856
|
id: string;
|
|
848
857
|
/** IANA timezone identifier that determines when scheduled reminder notifications are sent. `null` means the organization has no configured preference ("Anytime" in the UI). */
|
|
849
|
-
preferredTimeZone?: string | null;
|
|
858
|
+
preferredTimeZone?: string | null | undefined;
|
|
850
859
|
/** 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. */
|
|
851
|
-
employeeDigestFrequency?: string | null;
|
|
860
|
+
employeeDigestFrequency?: string | null | undefined;
|
|
852
861
|
/** Channels on which the personnel reminder digest is delivered (e.g. `["EMAIL"]` or `["EMAIL", "SLACK"]`). */
|
|
853
|
-
subscribedChannelTypes?: AuditOrganizationNotificationsSubscribedChannelTypesList;
|
|
862
|
+
subscribedChannelTypes?: AuditOrganizationNotificationsSubscribedChannelTypesList | undefined;
|
|
854
863
|
/** External notification subscriptions -- one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
855
|
-
externalNotifications?: AuditOrganizationNotificationsExternalNotificationsList;
|
|
864
|
+
externalNotifications?: AuditOrganizationNotificationsExternalNotificationsList | undefined;
|
|
856
865
|
}
|
|
857
866
|
export interface ListAccountAccessServicesRequest {
|
|
858
867
|
/** The audit ID */
|
|
859
868
|
auditId: string;
|
|
860
869
|
/** Maximum number of results per page (1-100, default 10) */
|
|
861
|
-
pageSize?: number;
|
|
870
|
+
pageSize?: number | undefined;
|
|
862
871
|
/** Pagination cursor from previous response */
|
|
863
|
-
pageCursor?: string;
|
|
872
|
+
pageCursor?: string | undefined;
|
|
864
873
|
}
|
|
865
874
|
/** 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. */
|
|
866
875
|
export interface AccountAccessService {
|
|
@@ -894,10 +903,10 @@ export interface PaginatedResponseAccountAccessService {
|
|
|
894
903
|
}
|
|
895
904
|
export interface ListAuditCommentsRequest {
|
|
896
905
|
auditId: string;
|
|
897
|
-
pageSize?: number;
|
|
898
|
-
pageCursor?: string;
|
|
906
|
+
pageSize?: number | undefined;
|
|
907
|
+
pageCursor?: string | undefined;
|
|
899
908
|
/** Includes all comments that have changed since changedSinceDate. */
|
|
900
|
-
changedSinceDate?: string;
|
|
909
|
+
changedSinceDate?: string | undefined;
|
|
901
910
|
}
|
|
902
911
|
export type PaginatedResponseCommentResultsDataList = Array<Comment>;
|
|
903
912
|
export interface PaginatedResponseCommentResults {
|
|
@@ -908,12 +917,15 @@ export interface PaginatedResponseComment {
|
|
|
908
917
|
results: PaginatedResponseCommentResults;
|
|
909
918
|
}
|
|
910
919
|
export type ListAuditControlsRequestExternalIdMatchesAnyList = Array<string>;
|
|
920
|
+
export type ListAuditControlsRequestSegmentIdsMatchesAnyList = Array<string>;
|
|
911
921
|
export interface ListAuditControlsRequest {
|
|
912
922
|
auditId: string;
|
|
913
|
-
pageSize?: number;
|
|
914
|
-
pageCursor?: string;
|
|
923
|
+
pageSize?: number | undefined;
|
|
924
|
+
pageCursor?: string | undefined;
|
|
915
925
|
/** Filter controls whose externalId matches any of the provided values (exact, case-sensitive match). */
|
|
916
|
-
externalIdMatchesAny?: ListAuditControlsRequestExternalIdMatchesAnyList;
|
|
926
|
+
externalIdMatchesAny?: ListAuditControlsRequestExternalIdMatchesAnyList | undefined;
|
|
927
|
+
/** Return only controls whose `inScopeSegmentIds` include at least one of these segment IDs from the audit's `segments[].id` (exact, case-sensitive). IDs that aren't segments on this audit match nothing. Repeat the parameter for several IDs, and send the same filters with every `pageCursor`. */
|
|
928
|
+
segmentIdsMatchesAny?: ListAuditControlsRequestSegmentIdsMatchesAnyList | undefined;
|
|
917
929
|
}
|
|
918
930
|
/** The security domains that the control belongs to. */
|
|
919
931
|
export type AuditorControlDomainsList = Array<string>;
|
|
@@ -966,7 +978,7 @@ export interface AuditorControl {
|
|
|
966
978
|
/** The control's owner. */
|
|
967
979
|
owner: Owner | null;
|
|
968
980
|
/** The control's GDPR role, if the control is a GDPR control. */
|
|
969
|
-
role?: string | null;
|
|
981
|
+
role?: string | null | undefined;
|
|
970
982
|
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
971
983
|
customFields: AuditorControlCustomFieldsList;
|
|
972
984
|
/** When the control was created. Returns null for Vanta library controls. */
|
|
@@ -992,10 +1004,10 @@ export interface PaginatedResponseAuditorControl {
|
|
|
992
1004
|
}
|
|
993
1005
|
export interface ListAuditEvidenceRequest {
|
|
994
1006
|
auditId: string;
|
|
995
|
-
pageSize?: number;
|
|
996
|
-
pageCursor?: string;
|
|
1007
|
+
pageSize?: number | undefined;
|
|
1008
|
+
pageCursor?: string | undefined;
|
|
997
1009
|
/** Includes all audit evidence that have changed since changedSinceDate. */
|
|
998
|
-
changedSinceDate?: string;
|
|
1010
|
+
changedSinceDate?: string | undefined;
|
|
999
1011
|
}
|
|
1000
1012
|
export type PaginatedResponseEvidenceResultsDataList = Array<Evidence>;
|
|
1001
1013
|
export interface PaginatedResponseEvidenceResults {
|
|
@@ -1008,8 +1020,8 @@ export interface PaginatedResponseEvidence {
|
|
|
1008
1020
|
export interface ListAuditEvidenceUrlsRequest {
|
|
1009
1021
|
auditId: string;
|
|
1010
1022
|
auditEvidenceId: string;
|
|
1011
|
-
pageSize?: number;
|
|
1012
|
-
pageCursor?: string;
|
|
1023
|
+
pageSize?: number | undefined;
|
|
1024
|
+
pageCursor?: string | undefined;
|
|
1013
1025
|
}
|
|
1014
1026
|
export interface EvidenceUrl {
|
|
1015
1027
|
/** Vanta internal reference to evidence */
|
|
@@ -1040,25 +1052,25 @@ export interface ListAuditIssuesRequest {
|
|
|
1040
1052
|
/** The audit ID */
|
|
1041
1053
|
auditId: string;
|
|
1042
1054
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1043
|
-
pageSize?: number;
|
|
1055
|
+
pageSize?: number | undefined;
|
|
1044
1056
|
/** Pagination cursor from previous response */
|
|
1045
|
-
pageCursor?: string;
|
|
1057
|
+
pageCursor?: string | undefined;
|
|
1046
1058
|
/** Search term for filtering by issue title and description */
|
|
1047
|
-
search?: string;
|
|
1059
|
+
search?: string | undefined;
|
|
1048
1060
|
/** Filter issues to specific snapshots by snapshot ID */
|
|
1049
|
-
snapshotIdMatchesAny?: ListAuditIssuesRequestSnapshotIdMatchesAnyList;
|
|
1061
|
+
snapshotIdMatchesAny?: ListAuditIssuesRequestSnapshotIdMatchesAnyList | undefined;
|
|
1050
1062
|
/** Filter to issues created on or after this date (ISO 8601) */
|
|
1051
|
-
createdAfterDate?: string;
|
|
1063
|
+
createdAfterDate?: string | undefined;
|
|
1052
1064
|
/** Filter to issues created on or before this date (ISO 8601) */
|
|
1053
|
-
createdBeforeDate?: string;
|
|
1065
|
+
createdBeforeDate?: string | undefined;
|
|
1054
1066
|
/** Filter to issues detected on or after this date (ISO 8601) */
|
|
1055
|
-
detectedAfterDate?: string;
|
|
1067
|
+
detectedAfterDate?: string | undefined;
|
|
1056
1068
|
/** Filter to issues detected on or before this date (ISO 8601) */
|
|
1057
|
-
detectedBeforeDate?: string;
|
|
1069
|
+
detectedBeforeDate?: string | undefined;
|
|
1058
1070
|
/** Field to sort results by. Allowed: "createdAt", "lastModifiedAt", "detectedAt". Default: "createdAt" */
|
|
1059
|
-
orderBy?: IssueSnapshotItemOrderBy | (string & {});
|
|
1071
|
+
orderBy?: IssueSnapshotItemOrderBy | (string & {}) | undefined;
|
|
1060
1072
|
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1061
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1073
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1062
1074
|
}
|
|
1063
1075
|
export type IssueStatusTypeForSnapshot = "IN_PROGRESS" | "NOT_STARTED" | "PENDING_REVIEW" | "CLOSED";
|
|
1064
1076
|
/** Approval progress for an issue at the time the snapshot was captured. */
|
|
@@ -1072,9 +1084,9 @@ export interface IssueSnapshotItem {
|
|
|
1072
1084
|
/** 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. */
|
|
1073
1085
|
id: string;
|
|
1074
1086
|
/** The issue title */
|
|
1075
|
-
title?: string;
|
|
1087
|
+
title?: string | undefined;
|
|
1076
1088
|
/** The issue description */
|
|
1077
|
-
description?: string;
|
|
1089
|
+
description?: string | undefined;
|
|
1078
1090
|
/** 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. */
|
|
1079
1091
|
readableIssueId: string;
|
|
1080
1092
|
/** 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. */
|
|
@@ -1082,17 +1094,17 @@ export interface IssueSnapshotItem {
|
|
|
1082
1094
|
/** The identifier for the snapshot this issue item belongs to. */
|
|
1083
1095
|
snapshotId: string;
|
|
1084
1096
|
/** The due date for the issue. */
|
|
1085
|
-
dueDate?: string | null;
|
|
1097
|
+
dueDate?: string | null | undefined;
|
|
1086
1098
|
/** The status of the issue. */
|
|
1087
|
-
status?: IssueStatusTypeForSnapshot;
|
|
1099
|
+
status?: IssueStatusTypeForSnapshot | undefined;
|
|
1088
1100
|
/** 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. */
|
|
1089
|
-
approvalProgress?: IssueSnapshotItemApprovalProgress | null;
|
|
1101
|
+
approvalProgress?: IssueSnapshotItemApprovalProgress | null | undefined;
|
|
1090
1102
|
/** The date and time when the issue was last modified. */
|
|
1091
|
-
lastModifiedAt?: string;
|
|
1103
|
+
lastModifiedAt?: string | undefined;
|
|
1092
1104
|
/** The date and time when the issue was created. */
|
|
1093
|
-
createdAt?: string;
|
|
1105
|
+
createdAt?: string | undefined;
|
|
1094
1106
|
/** The date and time when the issue was detected. */
|
|
1095
|
-
detectedAt?: string;
|
|
1107
|
+
detectedAt?: string | undefined;
|
|
1096
1108
|
}
|
|
1097
1109
|
export type PaginatedResponseIssueSnapshotItemResultsDataList = Array<IssueSnapshotItem>;
|
|
1098
1110
|
export interface PaginatedResponseIssueSnapshotItemResults {
|
|
@@ -1109,15 +1121,15 @@ export interface ListAuditRisksRequest {
|
|
|
1109
1121
|
/** The risk assessment snapshot ID */
|
|
1110
1122
|
snapshotId: string;
|
|
1111
1123
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1112
|
-
pageSize?: number;
|
|
1124
|
+
pageSize?: number | undefined;
|
|
1113
1125
|
/** Pagination cursor from previous response */
|
|
1114
|
-
pageCursor?: string;
|
|
1126
|
+
pageCursor?: string | undefined;
|
|
1115
1127
|
/** Search term for filtering by risk scenario description */
|
|
1116
|
-
search?: string;
|
|
1128
|
+
search?: string | undefined;
|
|
1117
1129
|
/** Field to sort results by. Allowed: "riskId", "riskScenario", "inherentRisk", "treatment", "residualRisk", "reviewStatus", "owner", "categories", "ciaCategories", "identified". Default: "identified" */
|
|
1118
|
-
orderBy?: RiskOrderBy | (string & {});
|
|
1130
|
+
orderBy?: RiskOrderBy | (string & {}) | undefined;
|
|
1119
1131
|
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1120
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1132
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1121
1133
|
}
|
|
1122
1134
|
/** Risk treatment strategy returned by the auditor API. */
|
|
1123
1135
|
export type AuditRiskTreatment = "ACCEPT" | "AVOID" | "MITIGATE" | "TRANSFER";
|
|
@@ -1147,31 +1159,31 @@ export interface AuditRisk {
|
|
|
1147
1159
|
/** Custom risk ID (e.g., "RISK-001"), or null if not available. */
|
|
1148
1160
|
riskId: string | null;
|
|
1149
1161
|
/** Description of the risk scenario, or null if not available. */
|
|
1150
|
-
riskScenario?: string | null;
|
|
1162
|
+
riskScenario?: string | null | undefined;
|
|
1151
1163
|
/** Likelihood score of the risk, or null if not scored. Full Audit View only - omitted in Controlled Audit View. */
|
|
1152
|
-
likelihood?: number | null;
|
|
1164
|
+
likelihood?: number | null | undefined;
|
|
1153
1165
|
/** Impact score of the risk, or null if not scored. Full Audit View only - omitted in Controlled Audit View. */
|
|
1154
|
-
impact?: number | null;
|
|
1166
|
+
impact?: number | null | undefined;
|
|
1155
1167
|
/** 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. */
|
|
1156
|
-
inherentRisk?: number | null;
|
|
1168
|
+
inherentRisk?: number | null | undefined;
|
|
1157
1169
|
/** Risk treatment strategy, or null if not set. */
|
|
1158
|
-
treatment?: AuditRiskTreatment | null;
|
|
1170
|
+
treatment?: AuditRiskTreatment | null | undefined;
|
|
1159
1171
|
/** Treatment implementation status, or null if not set. */
|
|
1160
|
-
treatmentStatus?: AuditRiskTreatmentStatus | null;
|
|
1172
|
+
treatmentStatus?: AuditRiskTreatmentStatus | null | undefined;
|
|
1161
1173
|
/** Residual risk score after treatment, or null if not calculable. */
|
|
1162
|
-
residualRisk?: number | null;
|
|
1174
|
+
residualRisk?: number | null | undefined;
|
|
1163
1175
|
/** Review status of the risk scenario, or null if not set. */
|
|
1164
|
-
reviewStatus?: AuditRiskReviewStatus | null;
|
|
1176
|
+
reviewStatus?: AuditRiskReviewStatus | null | undefined;
|
|
1165
1177
|
/** Risk owner information, or null if no owner assigned. */
|
|
1166
|
-
owner?: AuditRiskOwner | null;
|
|
1178
|
+
owner?: AuditRiskOwner | null | undefined;
|
|
1167
1179
|
/** Risk category names, or empty array if not categorized. */
|
|
1168
|
-
categories?: AuditRiskCategoriesList;
|
|
1180
|
+
categories?: AuditRiskCategoriesList | undefined;
|
|
1169
1181
|
/** CIA triad categories, or empty array if not categorized. */
|
|
1170
|
-
ciaCategories?: AuditRiskCiaCategoriesList;
|
|
1182
|
+
ciaCategories?: AuditRiskCiaCategoriesList | undefined;
|
|
1171
1183
|
/** IDs of controls linked to this risk scenario, or empty array if none. Full Audit View only - omitted in Controlled Audit View. */
|
|
1172
|
-
linkedControlIds?: AuditRiskLinkedControlIdsList;
|
|
1184
|
+
linkedControlIds?: AuditRiskLinkedControlIdsList | undefined;
|
|
1173
1185
|
/** When the risk was identified, or null if not recorded. ISO 8601 format. */
|
|
1174
|
-
identified?: string | null;
|
|
1186
|
+
identified?: string | null | undefined;
|
|
1175
1187
|
}
|
|
1176
1188
|
export type PaginatedResponseAuditRiskResultsDataList = Array<AuditRisk>;
|
|
1177
1189
|
export interface PaginatedResponseAuditRiskResults {
|
|
@@ -1182,12 +1194,12 @@ export interface PaginatedResponseAuditRisk {
|
|
|
1182
1194
|
results: PaginatedResponseAuditRiskResults;
|
|
1183
1195
|
}
|
|
1184
1196
|
export interface ListAuditsRequest {
|
|
1185
|
-
pageSize?: number;
|
|
1186
|
-
pageCursor?: string;
|
|
1197
|
+
pageSize?: number | undefined;
|
|
1198
|
+
pageCursor?: string | undefined;
|
|
1187
1199
|
/** Includes all audits that have changed since changedSinceDate, including soft-deleted audits whose deletionDate is on or after that timestamp. */
|
|
1188
|
-
changedSinceDate?: string;
|
|
1200
|
+
changedSinceDate?: string | undefined;
|
|
1189
1201
|
/** Includes only audits with no audit report uploaded */
|
|
1190
|
-
isActiveAudit?: boolean;
|
|
1202
|
+
isActiveAudit?: boolean | undefined;
|
|
1191
1203
|
}
|
|
1192
1204
|
export type PaginatedResponseAuditResultsDataList = Array<Audit>;
|
|
1193
1205
|
export interface PaginatedResponseAuditResults {
|
|
@@ -1201,21 +1213,21 @@ export interface ListAuditSnapshotsRequest {
|
|
|
1201
1213
|
/** The audit ID */
|
|
1202
1214
|
auditId: string;
|
|
1203
1215
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1204
|
-
pageSize?: number;
|
|
1216
|
+
pageSize?: number | undefined;
|
|
1205
1217
|
/** Pagination cursor from previous response */
|
|
1206
|
-
pageCursor?: string;
|
|
1218
|
+
pageCursor?: string | undefined;
|
|
1207
1219
|
/** Search term for filtering by snapshot title and description */
|
|
1208
|
-
search?: string;
|
|
1220
|
+
search?: string | undefined;
|
|
1209
1221
|
}
|
|
1210
1222
|
export interface IssueSnapshotMetadata {
|
|
1211
1223
|
/** The unique identifier for the issue snapshot. */
|
|
1212
1224
|
id: string;
|
|
1213
1225
|
/** The title of the snapshot */
|
|
1214
|
-
title?: string;
|
|
1226
|
+
title?: string | undefined;
|
|
1215
1227
|
/** The description of the snapshot */
|
|
1216
|
-
description?: string;
|
|
1228
|
+
description?: string | undefined;
|
|
1217
1229
|
/** The date and time when the snapshot was created. */
|
|
1218
|
-
createdAt?: string;
|
|
1230
|
+
createdAt?: string | undefined;
|
|
1219
1231
|
}
|
|
1220
1232
|
export type PaginatedResponseIssueSnapshotMetadataResultsDataList = Array<IssueSnapshotMetadata>;
|
|
1221
1233
|
export interface PaginatedResponseIssueSnapshotMetadataResults {
|
|
@@ -1232,34 +1244,38 @@ export interface ListCodeChangesRequest {
|
|
|
1232
1244
|
/** The audit ID */
|
|
1233
1245
|
auditId: string;
|
|
1234
1246
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1235
|
-
pageSize?: number;
|
|
1247
|
+
pageSize?: number | undefined;
|
|
1236
1248
|
/** Pagination cursor from previous response */
|
|
1237
|
-
pageCursor?: string;
|
|
1249
|
+
pageCursor?: string | undefined;
|
|
1238
1250
|
/** Search term for filtering by code change title or repository name */
|
|
1239
|
-
search?: string;
|
|
1251
|
+
search?: string | undefined;
|
|
1240
1252
|
/** Filter code changes by version control source (accepted values: github, gitlab, bitbucket, azuredevops) */
|
|
1241
|
-
sourcesMatchesAny?: ListCodeChangesRequestSourcesMatchesAnyList;
|
|
1253
|
+
sourcesMatchesAny?: ListCodeChangesRequestSourcesMatchesAnyList | undefined;
|
|
1242
1254
|
/** Filter code changes closed on or after this date (ISO 8601) */
|
|
1243
|
-
closedAfterDate?: string;
|
|
1255
|
+
closedAfterDate?: string | undefined;
|
|
1244
1256
|
/** Filter code changes closed on or before this date (ISO 8601) */
|
|
1245
|
-
closedBeforeDate?: string;
|
|
1257
|
+
closedBeforeDate?: string | undefined;
|
|
1246
1258
|
}
|
|
1259
|
+
/** IDs of the audit segments this code change is in scope for. Omitted when segment scoping is disabled. */
|
|
1260
|
+
export type CodeChangeSegmentIdsList = Array<string>;
|
|
1247
1261
|
/** 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. */
|
|
1248
1262
|
export interface CodeChange {
|
|
1249
1263
|
/** Code change record ID - always present. */
|
|
1250
1264
|
id: string;
|
|
1251
1265
|
/** Code change title (e.g. PR title) - always present. */
|
|
1252
1266
|
codeChange: string;
|
|
1267
|
+
/** IDs of the audit segments this code change is in scope for. Omitted when segment scoping is disabled. */
|
|
1268
|
+
segmentIds?: CodeChangeSegmentIdsList | undefined;
|
|
1253
1269
|
/** Code change identifier (e.g. PR number). */
|
|
1254
|
-
identifier?: string;
|
|
1270
|
+
identifier?: string | undefined;
|
|
1255
1271
|
/** 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. */
|
|
1256
|
-
service?: string;
|
|
1272
|
+
service?: string | undefined;
|
|
1257
1273
|
/** Repository name. */
|
|
1258
|
-
repository?: string;
|
|
1274
|
+
repository?: string | undefined;
|
|
1259
1275
|
/** Date the code change was opened. */
|
|
1260
|
-
openedAt?: string;
|
|
1276
|
+
openedAt?: string | undefined;
|
|
1261
1277
|
/** Date the code change was merged/closed. */
|
|
1262
|
-
closedAt?: string;
|
|
1278
|
+
closedAt?: string | undefined;
|
|
1263
1279
|
}
|
|
1264
1280
|
export type PaginatedResponseCodeChangeResultsDataList = Array<CodeChange>;
|
|
1265
1281
|
export interface PaginatedResponseCodeChangeResults {
|
|
@@ -1273,11 +1289,11 @@ export interface ListCommentsForControlRequest {
|
|
|
1273
1289
|
auditId: string;
|
|
1274
1290
|
controlId: string;
|
|
1275
1291
|
/** Maximum number of comments to return per page. */
|
|
1276
|
-
pageSize?: number;
|
|
1292
|
+
pageSize?: number | undefined;
|
|
1277
1293
|
/** Pagination cursor from a previous response. Provide to fetch the next page of comments. */
|
|
1278
|
-
pageCursor?: string;
|
|
1294
|
+
pageCursor?: string | undefined;
|
|
1279
1295
|
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1280
|
-
changedSinceDate?: string;
|
|
1296
|
+
changedSinceDate?: string | undefined;
|
|
1281
1297
|
}
|
|
1282
1298
|
export type PaginatedResponseAuditControlCommentResultsDataList = Array<AuditControlComment>;
|
|
1283
1299
|
export interface PaginatedResponseAuditControlCommentResults {
|
|
@@ -1291,11 +1307,11 @@ export interface ListCommentsForInformationRequestRequest {
|
|
|
1291
1307
|
auditId: string;
|
|
1292
1308
|
requestId: string;
|
|
1293
1309
|
/** Maximum number of comments to return per page. */
|
|
1294
|
-
pageSize?: number;
|
|
1310
|
+
pageSize?: number | undefined;
|
|
1295
1311
|
/** Pagination cursor from a previous response. Provide to fetch the next page of comments. */
|
|
1296
|
-
pageCursor?: string;
|
|
1312
|
+
pageCursor?: string | undefined;
|
|
1297
1313
|
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1298
|
-
changedSinceDate?: string;
|
|
1314
|
+
changedSinceDate?: string | undefined;
|
|
1299
1315
|
}
|
|
1300
1316
|
export type PaginatedResponseInformationRequestCommentResultsDataList = Array<InformationRequestComment>;
|
|
1301
1317
|
export interface PaginatedResponseInformationRequestCommentResults {
|
|
@@ -1309,11 +1325,11 @@ export interface ListInformationRequestActivityRequest {
|
|
|
1309
1325
|
auditId: string;
|
|
1310
1326
|
requestId: string;
|
|
1311
1327
|
/** Maximum number of activity entries to return per page. */
|
|
1312
|
-
pageSize?: number;
|
|
1328
|
+
pageSize?: number | undefined;
|
|
1313
1329
|
/** Pagination cursor from a previous response. Provide to fetch the next page of activity logs. */
|
|
1314
|
-
pageCursor?: string;
|
|
1330
|
+
pageCursor?: string | undefined;
|
|
1315
1331
|
/** Includes activity logs that have changed since changedSinceDate. */
|
|
1316
|
-
changedSinceDate?: string;
|
|
1332
|
+
changedSinceDate?: string | undefined;
|
|
1317
1333
|
}
|
|
1318
1334
|
export type InformationRequestActivityType = "AUDIT_DUPLICATION_AUDIT_TRAIL" | "AUDIT_INFORMATION_REQUEST_EVIDENCE_FILL" | "CHANGE_STATUS" | "EDIT_REQUEST" | "REMOVE_EVIDENCE" | "SHARE_EVIDENCE_WITH_AUDITOR" | "UPLOAD_EVIDENCE";
|
|
1319
1335
|
/** Previous approval status before the status change. Only populated for status change activities. Null for all other activity types. */
|
|
@@ -1357,13 +1373,13 @@ export interface ListInformationRequestEvidenceRequest {
|
|
|
1357
1373
|
auditId: string;
|
|
1358
1374
|
requestId: string;
|
|
1359
1375
|
/** Maximum number of evidence entries to return per page. */
|
|
1360
|
-
pageSize?: number;
|
|
1376
|
+
pageSize?: number | undefined;
|
|
1361
1377
|
/** Pagination cursor from a previous response. Provide to fetch the next page of evidence. */
|
|
1362
|
-
pageCursor?: string;
|
|
1378
|
+
pageCursor?: string | undefined;
|
|
1363
1379
|
/** Includes all evidence that have changed since changedSinceDate. Considers creationDate, modificationDate, deletionDate, and visibleToAuditorDate timestamps when determining changes. */
|
|
1364
|
-
changedSinceDate?: string;
|
|
1380
|
+
changedSinceDate?: string | undefined;
|
|
1365
1381
|
/** 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. */
|
|
1366
|
-
evidenceTypeMatchesAny?: ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList;
|
|
1382
|
+
evidenceTypeMatchesAny?: ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList | undefined;
|
|
1367
1383
|
}
|
|
1368
1384
|
export type PaginatedResponseInformationRequestEvidenceResultsDataList = Array<InformationRequestEvidence>;
|
|
1369
1385
|
export interface PaginatedResponseInformationRequestEvidenceResults {
|
|
@@ -1377,13 +1393,13 @@ export type ListInformationRequestsRequestSegmentIdsMatchesAnyList = Array<strin
|
|
|
1377
1393
|
export interface ListInformationRequestsRequest {
|
|
1378
1394
|
auditId: string;
|
|
1379
1395
|
/** Maximum number of information requests to return per page. */
|
|
1380
|
-
pageSize?: number;
|
|
1396
|
+
pageSize?: number | undefined;
|
|
1381
1397
|
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1382
|
-
pageCursor?: string;
|
|
1398
|
+
pageCursor?: string | undefined;
|
|
1383
1399
|
/** Includes all information requests that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. Does not include requests whose only change is the derived `segmentIds` projection after an audit-scope change. */
|
|
1384
|
-
changedSinceDate?: string;
|
|
1400
|
+
changedSinceDate?: string | undefined;
|
|
1385
1401
|
/** Return requests whose stored segment assignment includes any of these IDs (OR). Omit to return all. A match can still come back with `segmentIds: []` if the stored ID is no longer in the audit's scope. */
|
|
1386
|
-
segmentIdsMatchesAny?: ListInformationRequestsRequestSegmentIdsMatchesAnyList;
|
|
1402
|
+
segmentIdsMatchesAny?: ListInformationRequestsRequestSegmentIdsMatchesAnyList | undefined;
|
|
1387
1403
|
}
|
|
1388
1404
|
export type PaginatedResponseInformationRequestResultsDataList = Array<InformationRequest>;
|
|
1389
1405
|
export interface PaginatedResponseInformationRequestResults {
|
|
@@ -1397,9 +1413,9 @@ export interface ListInformationRequestsForControlRequest {
|
|
|
1397
1413
|
auditId: string;
|
|
1398
1414
|
controlId: string;
|
|
1399
1415
|
/** Maximum number of information requests to return per page. */
|
|
1400
|
-
pageSize?: number;
|
|
1416
|
+
pageSize?: number | undefined;
|
|
1401
1417
|
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1402
|
-
pageCursor?: string;
|
|
1418
|
+
pageCursor?: string | undefined;
|
|
1403
1419
|
}
|
|
1404
1420
|
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";
|
|
1405
1421
|
export type ListIntegrationsRequestTagsMatchesAnyList = Array<AuditIntegrationTag | (string & {})>;
|
|
@@ -1409,16 +1425,18 @@ export interface ListIntegrationsRequest {
|
|
|
1409
1425
|
/** The audit ID */
|
|
1410
1426
|
auditId: string;
|
|
1411
1427
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1412
|
-
pageSize?: number;
|
|
1428
|
+
pageSize?: number | undefined;
|
|
1413
1429
|
/** Pagination cursor from previous response */
|
|
1414
|
-
pageCursor?: string;
|
|
1430
|
+
pageCursor?: string | undefined;
|
|
1415
1431
|
/** Search term for filtering by integration name */
|
|
1416
|
-
search?: string;
|
|
1432
|
+
search?: string | undefined;
|
|
1417
1433
|
/** Filter integrations by tag values */
|
|
1418
|
-
tagsMatchesAny?: ListIntegrationsRequestTagsMatchesAnyList;
|
|
1434
|
+
tagsMatchesAny?: ListIntegrationsRequestTagsMatchesAnyList | undefined;
|
|
1419
1435
|
/** Filter integrations by category values */
|
|
1420
|
-
categoriesMatchesAny?: ListIntegrationsRequestCategoriesMatchesAnyList;
|
|
1436
|
+
categoriesMatchesAny?: ListIntegrationsRequestCategoriesMatchesAnyList | undefined;
|
|
1421
1437
|
}
|
|
1438
|
+
/** IDs of the audit segments this integration is in scope for. Omitted when segment scoping is disabled. */
|
|
1439
|
+
export type AuditIntegrationSegmentIdsList = Array<string>;
|
|
1422
1440
|
/** Integration tag display names describing what data this integration provides. */
|
|
1423
1441
|
export type AuditIntegrationTagsList = Array<string>;
|
|
1424
1442
|
/** Category display names describing what the integration is used for. */
|
|
@@ -1429,10 +1447,12 @@ export interface AuditIntegration {
|
|
|
1429
1447
|
id: string;
|
|
1430
1448
|
/** Display name of the integration. */
|
|
1431
1449
|
name: string;
|
|
1450
|
+
/** IDs of the audit segments this integration is in scope for. Omitted when segment scoping is disabled. */
|
|
1451
|
+
segmentIds?: AuditIntegrationSegmentIdsList | undefined;
|
|
1432
1452
|
/** Integration tag display names describing what data this integration provides. */
|
|
1433
|
-
tags?: AuditIntegrationTagsList;
|
|
1453
|
+
tags?: AuditIntegrationTagsList | undefined;
|
|
1434
1454
|
/** Category display names describing what the integration is used for. */
|
|
1435
|
-
categories?: AuditIntegrationCategoriesList;
|
|
1455
|
+
categories?: AuditIntegrationCategoriesList | undefined;
|
|
1436
1456
|
}
|
|
1437
1457
|
export type PaginatedResponseAuditIntegrationResultsDataList = Array<AuditIntegration>;
|
|
1438
1458
|
export interface PaginatedResponseAuditIntegrationResults {
|
|
@@ -1450,14 +1470,16 @@ export interface ListPersonnelAccountAccessRequest {
|
|
|
1450
1470
|
/** The service ID from the /services endpoint */
|
|
1451
1471
|
serviceId: string;
|
|
1452
1472
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1453
|
-
pageSize?: number;
|
|
1473
|
+
pageSize?: number | undefined;
|
|
1454
1474
|
/** Pagination cursor from previous response */
|
|
1455
|
-
pageCursor?: string;
|
|
1475
|
+
pageCursor?: string | undefined;
|
|
1456
1476
|
/** Search term for filtering by account name or email */
|
|
1457
|
-
search?: string;
|
|
1477
|
+
search?: string | undefined;
|
|
1458
1478
|
/** Filter by account status */
|
|
1459
|
-
status?: AccountAccessStatus | (string & {});
|
|
1479
|
+
status?: AccountAccessStatus | (string & {}) | undefined;
|
|
1460
1480
|
}
|
|
1481
|
+
/** IDs of the audit segments this account is in scope for. Omitted when segment attribution is unavailable or scoping is disabled. */
|
|
1482
|
+
export type AccountAccessSegmentIdsList = Array<string>;
|
|
1461
1483
|
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1462
1484
|
export type AccountAccessRoleList = Array<string>;
|
|
1463
1485
|
/** 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`). */
|
|
@@ -1466,18 +1488,20 @@ export interface AccountAccess {
|
|
|
1466
1488
|
id: string;
|
|
1467
1489
|
/** Account name or email address (primary identifier). */
|
|
1468
1490
|
accountName: string;
|
|
1491
|
+
/** IDs of the audit segments this account is in scope for. Omitted when segment attribution is unavailable or scoping is disabled. */
|
|
1492
|
+
segmentIds?: AccountAccessSegmentIdsList | undefined;
|
|
1469
1493
|
/** Display name of the account owner, or null when the column is visible but unknown. */
|
|
1470
|
-
owner?: string | null;
|
|
1494
|
+
owner?: string | null | undefined;
|
|
1471
1495
|
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1472
|
-
role?: AccountAccessRoleList;
|
|
1496
|
+
role?: AccountAccessRoleList | undefined;
|
|
1473
1497
|
/** Account status when present; omitted when the column is not in the response. */
|
|
1474
|
-
status?: AccountAccessStatus;
|
|
1498
|
+
status?: AccountAccessStatus | undefined;
|
|
1475
1499
|
/** Multi-factor authentication (MFA) status when present. `true` = MFA enabled, `false` = MFA not enabled, `null` = visible but unknown. */
|
|
1476
|
-
mfa?: boolean | null;
|
|
1500
|
+
mfa?: boolean | null | undefined;
|
|
1477
1501
|
/** Account creation date when present, or null when visible but absent. */
|
|
1478
|
-
createdDate?: string | null;
|
|
1502
|
+
createdDate?: string | null | undefined;
|
|
1479
1503
|
/** Account deactivation date when present, or null when active. */
|
|
1480
|
-
deactivatedDate?: string | null;
|
|
1504
|
+
deactivatedDate?: string | null | undefined;
|
|
1481
1505
|
}
|
|
1482
1506
|
export type PaginatedResponseAccountAccessResultsDataList = Array<AccountAccess>;
|
|
1483
1507
|
export interface PaginatedResponseAccountAccessResults {
|
|
@@ -1493,18 +1517,20 @@ export interface ListPersonnelGroupsRequest {
|
|
|
1493
1517
|
/** The audit ID */
|
|
1494
1518
|
auditId: string;
|
|
1495
1519
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1496
|
-
pageSize?: number;
|
|
1520
|
+
pageSize?: number | undefined;
|
|
1497
1521
|
/** Pagination cursor from previous response */
|
|
1498
|
-
pageCursor?: string;
|
|
1522
|
+
pageCursor?: string | undefined;
|
|
1499
1523
|
/** Search term for filtering by group name */
|
|
1500
|
-
search?: string;
|
|
1524
|
+
search?: string | undefined;
|
|
1501
1525
|
/** Filter groups by IDP source service names */
|
|
1502
|
-
sourcesMatchesAny?: ListPersonnelGroupsRequestSourcesMatchesAnyList;
|
|
1526
|
+
sourcesMatchesAny?: ListPersonnelGroupsRequestSourcesMatchesAnyList | undefined;
|
|
1503
1527
|
/** Field to sort results by. Allowed: "name", "members", "source", "tasksLastUpdated", "pointOfContact". Default: "name" */
|
|
1504
|
-
orderBy?: GroupOrderBy | (string & {});
|
|
1528
|
+
orderBy?: GroupOrderBy | (string & {}) | undefined;
|
|
1505
1529
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1506
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1530
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1507
1531
|
}
|
|
1532
|
+
/** IDs of the audit segments this group is in scope for. Omitted when segment scoping is disabled. */
|
|
1533
|
+
export type PersonnelGroupSegmentIdsList = Array<string>;
|
|
1508
1534
|
/** A task assigned to a personnel group. */
|
|
1509
1535
|
export interface PersonnelGroupTask {
|
|
1510
1536
|
/** Task name */
|
|
@@ -1518,16 +1544,18 @@ export interface PersonnelGroup {
|
|
|
1518
1544
|
id: string;
|
|
1519
1545
|
/** Display name of the group. */
|
|
1520
1546
|
name: string;
|
|
1547
|
+
/** IDs of the audit segments this group is in scope for. Omitted when segment scoping is disabled. */
|
|
1548
|
+
segmentIds?: PersonnelGroupSegmentIdsList | undefined;
|
|
1521
1549
|
/** Number of people in this group within the audit scope. */
|
|
1522
|
-
members?: number;
|
|
1550
|
+
members?: number | undefined;
|
|
1523
1551
|
/** 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". */
|
|
1524
|
-
source?: string;
|
|
1552
|
+
source?: string | undefined;
|
|
1525
1553
|
/** Security tasks enabled for this group, or empty array if not available. */
|
|
1526
|
-
tasks?: PersonnelGroupTasksList;
|
|
1554
|
+
tasks?: PersonnelGroupTasksList | undefined;
|
|
1527
1555
|
/** When the group's task configuration was last updated, or null if never updated. ISO 8601 format. */
|
|
1528
|
-
tasksLastUpdated?: string | null;
|
|
1556
|
+
tasksLastUpdated?: string | null | undefined;
|
|
1529
1557
|
/** Display name of the group's designated point of contact, or null if not set. */
|
|
1530
|
-
pointOfContact?: string | null;
|
|
1558
|
+
pointOfContact?: string | null | undefined;
|
|
1531
1559
|
}
|
|
1532
1560
|
export type PaginatedResponsePersonnelGroupResultsDataList = Array<PersonnelGroup>;
|
|
1533
1561
|
export interface PaginatedResponsePersonnelGroupResults {
|
|
@@ -1545,20 +1573,22 @@ export interface ListPersonnelPeopleRequest {
|
|
|
1545
1573
|
/** The audit ID */
|
|
1546
1574
|
auditId: string;
|
|
1547
1575
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1548
|
-
pageSize?: number;
|
|
1576
|
+
pageSize?: number | undefined;
|
|
1549
1577
|
/** Pagination cursor from previous response */
|
|
1550
|
-
pageCursor?: string;
|
|
1578
|
+
pageCursor?: string | undefined;
|
|
1551
1579
|
/** Search term for filtering by name or email */
|
|
1552
|
-
search?: string;
|
|
1580
|
+
search?: string | undefined;
|
|
1553
1581
|
/** Employment status filter */
|
|
1554
|
-
status?: PeopleEmploymentStatus | (string & {});
|
|
1582
|
+
status?: PeopleEmploymentStatus | (string & {}) | undefined;
|
|
1555
1583
|
/** Filter people by group IDs */
|
|
1556
|
-
groupsMatchesAny?: ListPersonnelPeopleRequestGroupsMatchesAnyList;
|
|
1584
|
+
groupsMatchesAny?: ListPersonnelPeopleRequestGroupsMatchesAnyList | undefined;
|
|
1557
1585
|
/** Field to sort results by. Allowed: "name", "employmentStatus". Default: "name" */
|
|
1558
|
-
orderBy?: PeopleOrderBy | (string & {});
|
|
1586
|
+
orderBy?: PeopleOrderBy | (string & {}) | undefined;
|
|
1559
1587
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1560
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1588
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1561
1589
|
}
|
|
1590
|
+
/** IDs of the audit segments this person is in scope for. Omitted when segment scoping is disabled. */
|
|
1591
|
+
export type PersonnelPersonSegmentIdsList = Array<string>;
|
|
1562
1592
|
export interface PersonnelPersonGroupsItem {
|
|
1563
1593
|
name: string;
|
|
1564
1594
|
}
|
|
@@ -1607,34 +1637,36 @@ export interface PersonnelPerson {
|
|
|
1607
1637
|
name: string;
|
|
1608
1638
|
/** Email address of the person - always present. */
|
|
1609
1639
|
email: string;
|
|
1640
|
+
/** IDs of the audit segments this person is in scope for. Omitted when segment scoping is disabled. */
|
|
1641
|
+
segmentIds?: PersonnelPersonSegmentIdsList | undefined;
|
|
1610
1642
|
/** Job title from HR system, or null if not available. */
|
|
1611
|
-
jobTitle?: string | null;
|
|
1643
|
+
jobTitle?: string | null | undefined;
|
|
1612
1644
|
/** Employment status, or null if not available. */
|
|
1613
|
-
employmentStatus?: PeopleEmploymentStatus | null;
|
|
1645
|
+
employmentStatus?: PeopleEmploymentStatus | null | undefined;
|
|
1614
1646
|
/** 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. */
|
|
1615
|
-
startDate?: string | null;
|
|
1647
|
+
startDate?: string | null | undefined;
|
|
1616
1648
|
/** End date in ISO 8601 format (YYYY-MM-DD), or null if currently employed. */
|
|
1617
|
-
endDate?: string | null;
|
|
1649
|
+
endDate?: string | null | undefined;
|
|
1618
1650
|
/** Groups (roles) the person belongs to. Present only when the column is in the response; use an empty array when there are no groups. */
|
|
1619
|
-
groups?: PersonnelPersonGroupsList;
|
|
1651
|
+
groups?: PersonnelPersonGroupsList | undefined;
|
|
1620
1652
|
/** Source of user data, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1621
|
-
source?: PeopleSourceInfo | null;
|
|
1653
|
+
source?: PeopleSourceInfo | null | undefined;
|
|
1622
1654
|
/** Overall task status information, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1623
|
-
taskStatus?: PeopleTaskStatusInfo | null;
|
|
1655
|
+
taskStatus?: PeopleTaskStatusInfo | null | undefined;
|
|
1624
1656
|
/** 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. */
|
|
1625
|
-
lastReminded?: string | null;
|
|
1657
|
+
lastReminded?: string | null | undefined;
|
|
1626
1658
|
/** Policy acceptance task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1627
|
-
policies?: PeopleSecurityTaskDetails | null;
|
|
1659
|
+
policies?: PeopleSecurityTaskDetails | null | undefined;
|
|
1628
1660
|
/** Security training task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1629
|
-
trainings?: PeopleSecurityTaskDetails | null;
|
|
1661
|
+
trainings?: PeopleSecurityTaskDetails | null | undefined;
|
|
1630
1662
|
/** Background check task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1631
|
-
backgroundChecks?: PeopleSecurityTaskDetails | null;
|
|
1663
|
+
backgroundChecks?: PeopleSecurityTaskDetails | null | undefined;
|
|
1632
1664
|
/** Device monitoring task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1633
|
-
deviceMonitoring?: PeopleSecurityTaskDetails | null;
|
|
1665
|
+
deviceMonitoring?: PeopleSecurityTaskDetails | null | undefined;
|
|
1634
1666
|
/** Custom onboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1635
|
-
customOnboarding?: PeopleSecurityTaskDetails | null;
|
|
1667
|
+
customOnboarding?: PeopleSecurityTaskDetails | null | undefined;
|
|
1636
1668
|
/** Custom offboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1637
|
-
customOffboarding?: PeopleSecurityTaskDetails | null;
|
|
1669
|
+
customOffboarding?: PeopleSecurityTaskDetails | null | undefined;
|
|
1638
1670
|
}
|
|
1639
1671
|
export type PaginatedResponsePersonnelPersonResultsDataList = Array<PersonnelPerson>;
|
|
1640
1672
|
export interface PaginatedResponsePersonnelPersonResults {
|
|
@@ -1648,9 +1680,9 @@ export interface ListRiskSnapshotsRequest {
|
|
|
1648
1680
|
/** The audit ID */
|
|
1649
1681
|
auditId: string;
|
|
1650
1682
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1651
|
-
pageSize?: number;
|
|
1683
|
+
pageSize?: number | undefined;
|
|
1652
1684
|
/** Pagination cursor from previous response */
|
|
1653
|
-
pageCursor?: string;
|
|
1685
|
+
pageCursor?: string | undefined;
|
|
1654
1686
|
}
|
|
1655
1687
|
/** 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. */
|
|
1656
1688
|
export interface RiskSnapshot {
|
|
@@ -1679,20 +1711,22 @@ export interface ListVendorsRequest {
|
|
|
1679
1711
|
/** The audit ID */
|
|
1680
1712
|
auditId: string;
|
|
1681
1713
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1682
|
-
pageSize?: number;
|
|
1714
|
+
pageSize?: number | undefined;
|
|
1683
1715
|
/** Pagination cursor from previous response */
|
|
1684
|
-
pageCursor?: string;
|
|
1716
|
+
pageCursor?: string | undefined;
|
|
1685
1717
|
/** Search term for filtering by vendor name */
|
|
1686
|
-
search?: string;
|
|
1718
|
+
search?: string | undefined;
|
|
1687
1719
|
/** Filter vendors by status values */
|
|
1688
|
-
vendorStatusesMatchesAny?: ListVendorsRequestVendorStatusesMatchesAnyList;
|
|
1720
|
+
vendorStatusesMatchesAny?: ListVendorsRequestVendorStatusesMatchesAnyList | undefined;
|
|
1689
1721
|
/** Filter vendors by inherent risk level values */
|
|
1690
|
-
inherentRiskMatchesAny?: ListVendorsRequestInherentRiskMatchesAnyList;
|
|
1722
|
+
inherentRiskMatchesAny?: ListVendorsRequestInherentRiskMatchesAnyList | undefined;
|
|
1691
1723
|
/** Field to sort results by. Allowed: "name", "inherentRisk". Default: "name" */
|
|
1692
|
-
orderBy?: VendorOrderBy | (string & {});
|
|
1724
|
+
orderBy?: VendorOrderBy | (string & {}) | undefined;
|
|
1693
1725
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1694
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1726
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1695
1727
|
}
|
|
1728
|
+
/** IDs of the audit segments this vendor is in scope for. Omitted when segment scoping is disabled. */
|
|
1729
|
+
export type AuditVendorSegmentIdsList = Array<string>;
|
|
1696
1730
|
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1697
1731
|
export interface AuditVendorDataAgreements {
|
|
1698
1732
|
total: number;
|
|
@@ -1704,22 +1738,26 @@ export interface AuditVendor {
|
|
|
1704
1738
|
id: string;
|
|
1705
1739
|
/** Vendor name. */
|
|
1706
1740
|
name: string;
|
|
1741
|
+
/** IDs of the audit segments this vendor is in scope for. Omitted when segment scoping is disabled. */
|
|
1742
|
+
segmentIds?: AuditVendorSegmentIdsList | undefined;
|
|
1707
1743
|
/** Inherent risk level of the vendor. */
|
|
1708
|
-
inherentRisk?: AuditVendorRiskLevel;
|
|
1744
|
+
inherentRisk?: AuditVendorRiskLevel | undefined;
|
|
1709
1745
|
/** Vendor status. */
|
|
1710
|
-
status?: AuditVendorStatus;
|
|
1746
|
+
status?: AuditVendorStatus | undefined;
|
|
1711
1747
|
/** Number of findings associated with the vendor. */
|
|
1712
|
-
findings?: number;
|
|
1748
|
+
findings?: number | undefined;
|
|
1713
1749
|
/** Date when the last security review was completed, or null if none. */
|
|
1714
|
-
lastReviewedCompleted?: string | null;
|
|
1750
|
+
lastReviewedCompleted?: string | null | undefined;
|
|
1715
1751
|
/** Date when the next security review is due, or null if not scheduled. */
|
|
1716
|
-
nextSecurityReviewDueDate?: string | null;
|
|
1752
|
+
nextSecurityReviewDueDate?: string | null | undefined;
|
|
1717
1753
|
/** Vendor category (e.g. cloud provider, SaaS). */
|
|
1718
|
-
vendorCategory?: string | null;
|
|
1754
|
+
vendorCategory?: string | null | undefined;
|
|
1755
|
+
/** ID of the vendor's category. */
|
|
1756
|
+
vendorCategoryId?: string | null | undefined;
|
|
1719
1757
|
/** Residual risk level of the vendor. Full Audit View only - omitted in Controlled Audit View. */
|
|
1720
|
-
residualRisk?: AuditVendorRiskLevel | null;
|
|
1758
|
+
residualRisk?: AuditVendorRiskLevel | null | undefined;
|
|
1721
1759
|
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1722
|
-
dataAgreements?: AuditVendorDataAgreements | null;
|
|
1760
|
+
dataAgreements?: AuditVendorDataAgreements | null | undefined;
|
|
1723
1761
|
}
|
|
1724
1762
|
export type PaginatedResponseAuditVendorResultsDataList = Array<AuditVendor>;
|
|
1725
1763
|
export interface PaginatedResponseAuditVendorResults {
|
|
@@ -1739,7 +1777,7 @@ export interface UpdateAuditEvidenceRequestStatusUpdate {
|
|
|
1739
1777
|
export interface UpdateAuditEvidenceRequest {
|
|
1740
1778
|
auditId: string;
|
|
1741
1779
|
auditEvidenceId: string;
|
|
1742
|
-
statusUpdate?: UpdateAuditEvidenceRequestStatusUpdate;
|
|
1780
|
+
statusUpdate?: UpdateAuditEvidenceRequestStatusUpdate | undefined;
|
|
1743
1781
|
}
|
|
1744
1782
|
export interface UpdateCommentForControlRequest {
|
|
1745
1783
|
auditId: string;
|
|
@@ -1769,29 +1807,29 @@ export interface UpdateInformationRequestRequest {
|
|
|
1769
1807
|
auditId: string;
|
|
1770
1808
|
requestId: string;
|
|
1771
1809
|
/** Framework codes are assigned only at creation; on update this field is a silent no-op -- a value sent here is accepted for backwards compatibility but ignored, leaving the request's framework codes unchanged. */
|
|
1772
|
-
frameworkCodes?: UpdateInformationRequestRequestFrameworkCodesList;
|
|
1810
|
+
frameworkCodes?: UpdateInformationRequestRequestFrameworkCodesList | undefined;
|
|
1773
1811
|
/** Detailed description of what evidence is needed. */
|
|
1774
|
-
description?: string | null;
|
|
1812
|
+
description?: string | null | undefined;
|
|
1775
1813
|
/** Deadline for fulfilling this request. Null if no deadline. Format: ISO 8601 UTC timestamp. */
|
|
1776
|
-
dueDate?: string | null;
|
|
1814
|
+
dueDate?: string | null | undefined;
|
|
1777
1815
|
/** Start date of the audit period. Evidence before this date may not be accepted. Null if not restricted. Format: ISO 8601 UTC timestamp. */
|
|
1778
|
-
evidenceCaptureDate?: string | null;
|
|
1816
|
+
evidenceCaptureDate?: string | null | undefined;
|
|
1779
1817
|
/** Scope of evidence required. */
|
|
1780
|
-
requestType?: InformationRequestType | (string & {});
|
|
1818
|
+
requestType?: InformationRequestType | (string & {}) | undefined;
|
|
1781
1819
|
/** Short, descriptive title. */
|
|
1782
|
-
title?: string;
|
|
1820
|
+
title?: string | undefined;
|
|
1783
1821
|
/** How frequently this request recurs. */
|
|
1784
|
-
cadence?: InformationRequestCadence | (string & {});
|
|
1822
|
+
cadence?: InformationRequestCadence | (string & {}) | undefined;
|
|
1785
1823
|
/** This legacy field is accepted for backwards compatibility but ignored. Use `linkedControlIds` to replace the complete set of linked controls. */
|
|
1786
|
-
additionalControlIds?: UpdateInformationRequestRequestAdditionalControlIdsList;
|
|
1824
|
+
additionalControlIds?: UpdateInformationRequestRequestAdditionalControlIdsList | undefined;
|
|
1787
1825
|
/** The complete desired set of control IDs linked to this request. Send the full list to replace the set, an empty array to clear it, or omit the property to leave links unchanged. Each ID must identify an existing control in the customer's organization and is returned by the audit controls endpoint. The request is rejected if any ID does not match a control. */
|
|
1788
|
-
linkedControlIds?: UpdateInformationRequestRequestLinkedControlIdsList;
|
|
1826
|
+
linkedControlIds?: UpdateInformationRequestRequestLinkedControlIdsList | undefined;
|
|
1789
1827
|
}
|
|
1790
1828
|
export interface UpsertAssessmentForControlRequest {
|
|
1791
1829
|
auditId: string;
|
|
1792
1830
|
controlId: string;
|
|
1793
1831
|
/** The segment to assess: any segment on the audit, `PROGRAM` or `SYSTEM`. May be omitted only when the audit has exactly one segment; required otherwise. */
|
|
1794
|
-
segmentId?: string;
|
|
1832
|
+
segmentId?: string | undefined;
|
|
1795
1833
|
/** The assessment state to record. Must be one of the states valid for the segment's framework; the request is rejected otherwise. */
|
|
1796
1834
|
assessmentState: AuditControlAssessmentState | (string & {});
|
|
1797
1835
|
/** Free-text reasoning for the assessment. Required, and at most 5000 characters. */
|
|
@@ -1874,13 +1912,13 @@ export type GetInformationRequestTestSnapshotEvidenceDetailError = VantaOpError;
|
|
|
1874
1912
|
/** 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. */
|
|
1875
1913
|
export declare const getInformationRequestTestSnapshotEvidenceDetail: API.OperationMethod<GetInformationRequestTestSnapshotEvidenceDetailRequest, VantaTestSnapshotEvidenceDetail, GetInformationRequestTestSnapshotEvidenceDetailError, VantaOpContext>;
|
|
1876
1914
|
export type GetOrganizationInformationError = VantaOpError;
|
|
1877
|
-
/** Get organization information for an audit Retrieves organization information for an audit. This endpoint returns a single record containing the organization's business information visible to auditors during an audit engagement. Sorting and pagination are not applicable. Rate limit: 10 requests / minute. */
|
|
1915
|
+
/** 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. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1878
1916
|
export declare const getOrganizationInformation: API.OperationMethod<GetOrganizationInformationRequest, AuditOrganizationInformation, GetOrganizationInformationError, VantaOpContext>;
|
|
1879
1917
|
export type GetOrganizationNotificationsError = VantaOpError;
|
|
1880
|
-
/** Get organization notification settings for an audit Retrieves organization notification settings for an audit. This endpoint returns a single record containing the auditee organization's notification configuration -- schedule, personnel reminder settings, and external notification subscriptions (Compliance, Vendors, Access Reviews, Trust Center). The response is a single aggregate object per domain. Sorting and pagination are not applicable.
|
|
1918
|
+
/** 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. Only CAV-approved fields are included. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1881
1919
|
export declare const getOrganizationNotifications: API.OperationMethod<GetOrganizationNotificationsRequest, AuditOrganizationNotifications, GetOrganizationNotificationsError, VantaOpContext>;
|
|
1882
1920
|
export type ListAccountAccessServicesError = VantaOpError;
|
|
1883
|
-
/** List account access services for an audit Retrieves connected account access services for an audit. Returns the list of identity providers and access integrations (such as Okta, Azure AD, Google Workspace, AWS IAM) that are connected to the organization and provide account access data for personnel. These integrations are used to verify user access and identity management during an audit engagement. Uses cursor-based pagination. To paginate: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request Results are returned in connection order. Sort order is not guaranteed and cannot be customized via query parameters.
|
|
1921
|
+
/** 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. On an audit that covers more than one framework, each service in scope for any of the audit's frameworks is listed once. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1884
1922
|
export declare const listAccountAccessServices: API.OperationMethod<ListAccountAccessServicesRequest, PaginatedResponseAccountAccessService, ListAccountAccessServicesError, VantaOpContext>;
|
|
1885
1923
|
export type ListAuditCommentsError = VantaOpError;
|
|
1886
1924
|
/** List audit comments Returns a paginated list of comments for an audit. Rate limit: 250 requests / minute. */
|
|
@@ -1898,7 +1936,7 @@ export type ListAuditIssuesError = VantaOpError;
|
|
|
1898
1936
|
/** 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. */
|
|
1899
1937
|
export declare const listAuditIssues: API.OperationMethod<ListAuditIssuesRequest, PaginatedResponseIssueSnapshotItem, ListAuditIssuesError, VantaOpContext>;
|
|
1900
1938
|
export type ListAuditRisksError = VantaOpError;
|
|
1901
|
-
/** 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.
|
|
1939
|
+
/** 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. 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 Supports audits with one or more program segments. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Also returns 403 if the snapshot is not shared with auditors, and 404 if the snapshot does not exist. Use snapshot IDs from `GET /audits/{auditId}/risks/snapshots`, which lists only snapshots shared with auditors. Rate limit: 10 requests / minute. */
|
|
1902
1940
|
export declare const listAuditRisks: API.OperationMethod<ListAuditRisksRequest, PaginatedResponseAuditRisk, ListAuditRisksError, VantaOpContext>;
|
|
1903
1941
|
export type ListAuditsError = VantaOpError;
|
|
1904
1942
|
/** 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 audit returns every in-scope program and system segment; more than one segment does not by itself imply more than one framework. The top-level `framework` field is deprecated; use `segments` for in-scope frameworks. This list may include soft-deleted audits so clients can reconcile deletions. Check `deletionDate`; a deleted audit has an empty `segments` list. Rate limit: 250 requests / minute. */
|
|
@@ -1907,7 +1945,7 @@ export type ListAuditSnapshotsError = VantaOpError;
|
|
|
1907
1945
|
/** 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. */
|
|
1908
1946
|
export declare const listAuditSnapshots: API.OperationMethod<ListAuditSnapshotsRequest, PaginatedResponseIssueSnapshotMetadata, ListAuditSnapshotsError, VantaOpContext>;
|
|
1909
1947
|
export type ListCodeChangesError = VantaOpError;
|
|
1910
|
-
/** 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.
|
|
1948
|
+
/** 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. On an audit that covers more than one framework, each code change in scope for any of the audit's frameworks is returned once. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1911
1949
|
export declare const listCodeChanges: API.OperationMethod<ListCodeChangesRequest, PaginatedResponseCodeChange, ListCodeChangesError, VantaOpContext>;
|
|
1912
1950
|
export type ListCommentsForControlError = VantaOpError;
|
|
1913
1951
|
/** 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. */
|
|
@@ -1919,7 +1957,7 @@ export type ListInformationRequestActivityError = VantaOpError;
|
|
|
1919
1957
|
/** List information request activity Retrieves a paginated list of activity logs for an information request, providing an audit trail of the changes and actions taken on it. Activity recording Vanta's automated preparation of a request is never returned by this endpoint, so `fillOutcome` is always null here. Some internal status transitions are also withheld, and those are removed after a page is selected, so a page can contain fewer entries than `pageSize` -- or none at all -- while more pages remain. Follow `results.pageInfo.hasNextPage` rather than treating a short or empty page as the end of the list. If the information request has been deleted, this endpoint returns a 4xx HTTP error instead of its activity. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Pagination usage: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` to see if more data exists 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request 4. Repeat until `hasNextPage` is false Delta sync usage: 1. Store the timestamp of your last sync 2. Pass that timestamp as `changedSinceDate` 3. Only activity created since that timestamp is returned 4. Process updates to track all changes to the information request 5. Update your last sync timestamp to the current time Rate limit: 50 requests / minute. */
|
|
1920
1958
|
export declare const listInformationRequestActivity: API.OperationMethod<ListInformationRequestActivityRequest, PaginatedResponseInformationRequestActivityLog, ListInformationRequestActivityError, VantaOpContext>;
|
|
1921
1959
|
export type ListInformationRequestEvidenceError = VantaOpError;
|
|
1922
|
-
/** List evidence for an information request Retrieves a paginated list of all evidence attached to an information request, enabling auditors to review evidence submitted by customers. This endpoint always includes soft-deleted records (where `deletionDate !== null`). Clients should check the `deletionDate` field to identify and handle deleted records appropriately in their systems. If the information request itself has been deleted, this endpoint returns a 4xx HTTP error instead of its evidence. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Pagination usage: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` to see if more data exists 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request 4. Repeat until `hasNextPage` is false Delta sync usage: 1. Store the timestamp of your last sync 2. Pass that timestamp as `changedSinceDate` 3. Only evidence created, modified, shared, or deleted since that timestamp is returned 4. Process updates, including soft-deletes (deletionDate !== null) 5. Update your last sync timestamp to the current time Rate limit: 50 requests / minute. */
|
|
1960
|
+
/** List evidence for an information request Retrieves a paginated list of all evidence attached to an information request, enabling auditors to review evidence submitted by customers. This endpoint always includes soft-deleted records (where `deletionDate !== null`). Clients should check the `deletionDate` field to identify and handle deleted records appropriately in their systems. If the information request itself has been deleted, this endpoint returns a 4xx HTTP error instead of its evidence. This endpoint supports delta synchronization via the `changedSinceDate` parameter, allowing efficient polling for changes without retrieving the entire dataset. Pagination usage: 1. Make initial request with desired `pageSize` 2. Check `results.pageInfo.hasNextPage` to see if more data exists 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request 4. Repeat until `hasNextPage` is false Delta sync usage: 1. Store the timestamp of your last sync 2. Pass that timestamp as `changedSinceDate` 3. Only evidence created, modified, shared, or deleted since that timestamp is returned 4. Process updates, including soft-deletes (deletionDate !== null) 5. Update your last sync timestamp to the current time Identifying evidence and files: - Use `id` as the key for each evidence item, whatever its type. - To recognize the same file across information requests, use the file key for the evidence type. UPLOADED_DOCUMENT uses `evidence.id`. VANTA_DOCUMENT and VANTA_POLICY use `evidence.file.id`, which identifies the source document or policy file. VANTA_TEST uses `evidence.snapshotId` plus `evidence.fileType`. LINK, OBSERVATION, and VANTA_TEST_SNAPSHOT evidence has no file. - Do not use `file.url` as a key. It is a temporary download link. Rate limit: 50 requests / minute. */
|
|
1923
1961
|
export declare const listInformationRequestEvidence: API.OperationMethod<ListInformationRequestEvidenceRequest, PaginatedResponseInformationRequestEvidence, ListInformationRequestEvidenceError, VantaOpContext>;
|
|
1924
1962
|
export type ListInformationRequestsError = VantaOpError;
|
|
1925
1963
|
/** 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 is the only endpoint that returns a deleted information request. No webhook fires when a request is deleted. Endpoints under `/audits/{auditId}/information-requests/{requestId}` return a 4xx HTTP error for a deleted request. To confirm deletion, check the request's `deletionDate` in this list. Deleting a request does not set `deletionDate` on its comments or evidence or send delete events for them. Once this list confirms the request was deleted, treat its comments and evidence as deleted too. 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 `segmentIds` on each returned request is resolved against the audit's current scope. A scope-only change (a segment leaving or joining the audit without the request row being written) is not a delta-sync event. Re-fetch without `changedSinceDate`, or GET by id, to see the current projection. Rate limit: 50 requests / minute. */
|
|
@@ -1928,25 +1966,25 @@ export type ListInformationRequestsForControlError = VantaOpError;
|
|
|
1928
1966
|
/** 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. Only links saved on the audit's current control rows are included. 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. */
|
|
1929
1967
|
export declare const listInformationRequestsForControl: API.OperationMethod<ListInformationRequestsForControlRequest, PaginatedResponseInformationRequest, ListInformationRequestsForControlError, VantaOpContext>;
|
|
1930
1968
|
export type ListIntegrationsError = VantaOpError;
|
|
1931
|
-
/** 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. */
|
|
1969
|
+
/** 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. Supports audits with one or more program segments. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1932
1970
|
export declare const listIntegrations: API.OperationMethod<ListIntegrationsRequest, PaginatedResponseAuditIntegration, ListIntegrationsError, VantaOpContext>;
|
|
1933
1971
|
export type ListPersonnelAccountAccessError = VantaOpError;
|
|
1934
|
-
/** 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
|
|
1972
|
+
/** 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 404 when `serviceId` is not listed by the `/personnel/account-access/services` endpoint for this audit. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1935
1973
|
export declare const listPersonnelAccountAccess: API.OperationMethod<ListPersonnelAccountAccessRequest, PaginatedResponseAccountAccess, ListPersonnelAccountAccessError, VantaOpContext>;
|
|
1936
1974
|
export type ListPersonnelGroupsError = VantaOpError;
|
|
1937
|
-
/** 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.
|
|
1975
|
+
/** 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. 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 Supports audits with one or more program segments. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1938
1976
|
export declare const listPersonnelGroups: API.OperationMethod<ListPersonnelGroupsRequest, PaginatedResponsePersonnelGroup, ListPersonnelGroupsError, VantaOpContext>;
|
|
1939
1977
|
export type ListPersonnelPeopleError = VantaOpError;
|
|
1940
|
-
/** 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.
|
|
1978
|
+
/** 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. 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 Supports audits with one or more program segments. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1941
1979
|
export declare const listPersonnelPeople: API.OperationMethod<ListPersonnelPeopleRequest, PaginatedResponsePersonnelPerson, ListPersonnelPeopleError, VantaOpContext>;
|
|
1942
1980
|
export type ListRiskSnapshotsError = VantaOpError;
|
|
1943
|
-
/** 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. */
|
|
1981
|
+
/** 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 Supports audits with one or more program segments. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1944
1982
|
export declare const listRiskSnapshots: API.OperationMethod<ListRiskSnapshotsRequest, PaginatedResponseRiskSnapshot, ListRiskSnapshotsError, VantaOpContext>;
|
|
1945
1983
|
export type ListShareInformationRequestError = VantaOpError;
|
|
1946
1984
|
/** 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. */
|
|
1947
1985
|
export declare const listShareInformationRequest: API.OperationMethod<ListShareInformationRequestRequest, Audit, ListShareInformationRequestError, VantaOpContext>;
|
|
1948
1986
|
export type ListVendorsError = VantaOpError;
|
|
1949
|
-
/** 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. */
|
|
1987
|
+
/** 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 Supports audits with one or more program segments. Audits with system segments are not supported by this endpoint. Only Controlled Audit View (CAV) audits are supported. Full Audit View audits are rejected with 403. Returns 403 if the customer has not made this population page visible to auditors. Rate limit: 10 requests / minute. */
|
|
1950
1988
|
export declare const listVendors: API.OperationMethod<ListVendorsRequest, PaginatedResponseAuditVendor, ListVendorsError, VantaOpContext>;
|
|
1951
1989
|
export type UpdateAuditEvidenceError = VantaOpError;
|
|
1952
1990
|
/** Update audit evidence Update audit evidence. Rate limit: 50 requests / minute. */
|