@distilled.cloud/vanta 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/auditor_api.d.ts +252 -214
- package/lib/services/auditor_api.d.ts.map +1 -1
- package/lib/services/auditor_api.js +70 -69
- package/lib/services/auditor_api.js.map +1 -1
- package/lib/services/build_integrations.d.ts +87 -87
- package/lib/services/build_integrations.d.ts.map +1 -1
- package/lib/services/build_integrations.js +46 -45
- package/lib/services/build_integrations.js.map +1 -1
- package/lib/services/manage_vanta.d.ts +1940 -637
- package/lib/services/manage_vanta.d.ts.map +1 -1
- package/lib/services/manage_vanta.js +401 -330
- package/lib/services/manage_vanta.js.map +1 -1
- package/lib/services/webhooks.d.ts +2 -2
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +34 -33
- package/lib/services/webhooks.js.map +1 -1
- package/lib/services.lazy/auditor_api.js +1 -1
- package/lib/services.lazy/build_integrations.js +1 -1
- package/lib/services.lazy/manage_vanta.js +3 -2
- package/lib/services.lazy/webhooks.js +1 -1
- package/package.json +7 -6
- package/src/credentials.ts +4 -2
- package/src/index.ts +2 -2
- package/src/protocol.ts +5 -2
- package/src/services/auditor_api.ts +379 -214
- package/src/services/build_integrations.ts +174 -87
- package/src/services/manage_vanta.ts +9092 -4934
- package/src/services/webhooks.ts +66 -1
|
@@ -11,6 +11,19 @@ const __s: any[] = [];
|
|
|
11
11
|
|
|
12
12
|
export type { VantaOpError, VantaOpContext };
|
|
13
13
|
|
|
14
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
15
|
+
const TELEMETRY = {
|
|
16
|
+
system: "vanta-api",
|
|
17
|
+
responseHeaders: [
|
|
18
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
19
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
20
|
+
],
|
|
21
|
+
prefix: "Vanta",
|
|
22
|
+
service: "AuditorApi",
|
|
23
|
+
labels: "vanta",
|
|
24
|
+
propagate: "w3c",
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
14
27
|
export interface AcceptInformationRequestEvidenceRequest {
|
|
15
28
|
auditId: string;
|
|
16
29
|
requestId: string;
|
|
@@ -265,8 +278,10 @@ export type FrameworkId =
|
|
|
265
278
|
| "SOX_ITGC"
|
|
266
279
|
| "UK_CYBER_ESSENTIALS"
|
|
267
280
|
| "US_DATA_PRIVACY";
|
|
281
|
+
/** 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. */
|
|
268
282
|
export type FrameworkSectionFrameworkId = FrameworkId | string;
|
|
269
283
|
export interface FrameworkSection {
|
|
284
|
+
/** 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. */
|
|
270
285
|
frameworkId: FrameworkSectionFrameworkId;
|
|
271
286
|
sectionId: string;
|
|
272
287
|
}
|
|
@@ -286,9 +301,9 @@ export interface CreateCustomControlRequest {
|
|
|
286
301
|
/** The category of the control. See the ControlDomain enum for possible values. */
|
|
287
302
|
category: ControlDomain | (string & {});
|
|
288
303
|
/** Framework sections that the control should be mapped to. */
|
|
289
|
-
sections?: CreateCustomControlRequestSectionsList | null;
|
|
304
|
+
sections?: CreateCustomControlRequestSectionsList | null | undefined;
|
|
290
305
|
/** 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. */
|
|
291
|
-
role?: GdprRole | (string & {}) | null;
|
|
306
|
+
role?: GdprRole | (string & {}) | null | undefined;
|
|
292
307
|
}
|
|
293
308
|
export type ControlSource = "Vanta" | "Custom";
|
|
294
309
|
/** The security domains that the control belongs to. */
|
|
@@ -325,7 +340,7 @@ export interface AuditorApiControl {
|
|
|
325
340
|
/** The control's owner. */
|
|
326
341
|
owner: Owner | null;
|
|
327
342
|
/** The control's GDPR role, if the control is a GDPR control. */
|
|
328
|
-
role?: string | null;
|
|
343
|
+
role?: string | null | undefined;
|
|
329
344
|
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
330
345
|
customFields: AuditorApiControlCustomFieldsList;
|
|
331
346
|
/** When the control was created. Returns null for Vanta library controls. */
|
|
@@ -384,17 +399,17 @@ export interface CreateInformationRequestRequest {
|
|
|
384
399
|
/** Scope of evidence required. */
|
|
385
400
|
requestType: InformationRequestType | (string & {});
|
|
386
401
|
/** Detailed description explaining what evidence is needed. Helps the customer understand what to submit. Optional. */
|
|
387
|
-
description?: string | null;
|
|
402
|
+
description?: string | null | undefined;
|
|
388
403
|
/** Framework codes this request addresses. An empty array if no framework codes are associated. */
|
|
389
404
|
frameworkCodes: CreateInformationRequestRequestFrameworkCodesList;
|
|
390
405
|
/** How frequently this request recurs. Null or omitted for one-time requests. */
|
|
391
|
-
cadence?: InformationRequestCadence | (string & {}) | null;
|
|
406
|
+
cadence?: InformationRequestCadence | (string & {}) | null | undefined;
|
|
392
407
|
/** Deadline for fulfilling this request. Null or omitted if no deadline. Format: ISO 8601 UTC timestamp. */
|
|
393
|
-
dueDate?: string | null;
|
|
408
|
+
dueDate?: string | null | undefined;
|
|
394
409
|
/** 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. */
|
|
395
|
-
evidenceCaptureDate?: string | null;
|
|
410
|
+
evidenceCaptureDate?: string | null | undefined;
|
|
396
411
|
/** 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. */
|
|
397
|
-
additionalControlIds?: CreateInformationRequestRequestAdditionalControlIdsList;
|
|
412
|
+
additionalControlIds?: CreateInformationRequestRequestAdditionalControlIdsList | undefined;
|
|
398
413
|
}
|
|
399
414
|
export interface DeleteCommentForControlRequest {
|
|
400
415
|
auditId: string;
|
|
@@ -436,6 +451,7 @@ export interface DuplicateRequest {
|
|
|
436
451
|
/** Emails of auditors with access to audit */
|
|
437
452
|
export type AuditAllowAuditorEmailsList = Array<string>;
|
|
438
453
|
export type AuditFocus = "EXTERNAL" | "INTERNAL";
|
|
454
|
+
export type AuditView = "FULL" | "CONTROLLED";
|
|
439
455
|
export type AuditIrlGenerationStatus = "PENDING" | "RUNNING" | "READY" | "FAILED";
|
|
440
456
|
/** 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. */
|
|
441
457
|
export interface AuditAuditorRequestListMetadata {
|
|
@@ -523,10 +539,12 @@ export interface Audit {
|
|
|
523
539
|
completionDate: string | null;
|
|
524
540
|
/** Audit focus determines if the audit is internal or external facing */
|
|
525
541
|
auditFocus: AuditFocus;
|
|
542
|
+
/** 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. */
|
|
543
|
+
auditView: AuditView;
|
|
526
544
|
/** 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. */
|
|
527
545
|
irlGenerationStatus: AuditIrlGenerationStatus | null;
|
|
528
546
|
/** 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. */
|
|
529
|
-
auditorRequestListMetadata?: AuditAuditorRequestListMetadata;
|
|
547
|
+
auditorRequestListMetadata?: AuditAuditorRequestListMetadata | undefined;
|
|
530
548
|
/** 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. */
|
|
531
549
|
segments: AuditSegmentsList;
|
|
532
550
|
}
|
|
@@ -638,12 +656,14 @@ export type InformationRequestSupportedEvidenceType =
|
|
|
638
656
|
| "VANTA_POLICY"
|
|
639
657
|
| "VANTA_TEST"
|
|
640
658
|
| "VANTA_TEST_SNAPSHOT";
|
|
659
|
+
/** 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. */
|
|
660
|
+
export type InformationRequestEvidenceCapturedSegmentIdsList = Array<string>;
|
|
641
661
|
/** Evidence in the form of an uploaded document file. The URL is a temporary presigned URL that expires after a certain period. */
|
|
642
662
|
export interface UploadedDocumentEvidence {
|
|
643
663
|
/** The unique identifier for the uploaded document in Vanta's system. */
|
|
644
664
|
id: string;
|
|
645
665
|
/** The original filename of the uploaded document. Undefined if the filename was not captured during upload. */
|
|
646
|
-
filename?: string;
|
|
666
|
+
filename?: string | undefined;
|
|
647
667
|
/** The MIME type of the document indicating its file format. Common types: "application/pdf", "image/png", "image/jpeg", "text/plain" */
|
|
648
668
|
mimeType: string;
|
|
649
669
|
/** 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. */
|
|
@@ -654,7 +674,7 @@ export interface LinkEvidence {
|
|
|
654
674
|
/** The title or descriptive name for the link. */
|
|
655
675
|
title: string;
|
|
656
676
|
/** Optional description providing additional context about the link. */
|
|
657
|
-
description?: string;
|
|
677
|
+
description?: string | undefined;
|
|
658
678
|
/** The URL pointing to the external documentation or resource. */
|
|
659
679
|
url: string;
|
|
660
680
|
}
|
|
@@ -677,7 +697,7 @@ export interface VantaDocumentUploadedEvidence {
|
|
|
677
697
|
/** The unique identifier for the file version in Vanta's system. */
|
|
678
698
|
id: string;
|
|
679
699
|
/** The original filename of the uploaded document. Undefined if the filename was not captured during upload. */
|
|
680
|
-
filename?: string;
|
|
700
|
+
filename?: string | undefined;
|
|
681
701
|
/** The MIME type of the document indicating its file format. Common types: "application/pdf", "image/png", "image/jpeg", "text/plain" */
|
|
682
702
|
mimeType: string;
|
|
683
703
|
/** 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. */
|
|
@@ -701,11 +721,11 @@ export interface VantaDocumentEvidence {
|
|
|
701
721
|
/** The title of the document as displayed in Vanta. */
|
|
702
722
|
title: string;
|
|
703
723
|
/** Optional description providing additional context about the document. */
|
|
704
|
-
description?: string;
|
|
724
|
+
description?: string | undefined;
|
|
705
725
|
/** The date when the document version expires and should be renewed. Undefined if no expiration is set. Format: ISO 8601 UTC timestamp. */
|
|
706
|
-
expirationDate?: string;
|
|
726
|
+
expirationDate?: string | undefined;
|
|
707
727
|
/** Information about the user who added this file version to the document. Undefined if the user information is not available. */
|
|
708
|
-
addedBy?: VantaDocumentEvidenceAddedBy;
|
|
728
|
+
addedBy?: VantaDocumentEvidenceAddedBy | undefined;
|
|
709
729
|
/** The unique identifier of the document version submitted as evidence. */
|
|
710
730
|
documentVersionId: string;
|
|
711
731
|
/** 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. */
|
|
@@ -724,7 +744,7 @@ export interface VantaPolicyEvidenceFile {
|
|
|
724
744
|
/** The MIME type of the policy document indicating its file format. Common types: "application/pdf", "application/msword" */
|
|
725
745
|
mimeType: string;
|
|
726
746
|
/** The original filename of the uploaded policy document. Undefined if the filename was not captured during upload. */
|
|
727
|
-
filename?: string;
|
|
747
|
+
filename?: string | undefined;
|
|
728
748
|
/** The unique identifier for the uploaded policy file in Vanta's system. */
|
|
729
749
|
id: string;
|
|
730
750
|
}
|
|
@@ -733,11 +753,11 @@ export interface VantaPolicyEvidence {
|
|
|
733
753
|
/** The title of the policy as displayed in Vanta. */
|
|
734
754
|
title: string;
|
|
735
755
|
/** Optional description providing additional context about the policy. */
|
|
736
|
-
description?: string;
|
|
756
|
+
description?: string | undefined;
|
|
737
757
|
/** The date when the policy version expires and should be renewed. Undefined if no expiration is set. Format: ISO 8601 UTC timestamp. */
|
|
738
|
-
expirationDate?: string;
|
|
758
|
+
expirationDate?: string | undefined;
|
|
739
759
|
/** Information about the user who last edited this policy version. Undefined if the user information is not available. */
|
|
740
|
-
lastEditedBy?: VantaDocumentEvidenceAddedBy;
|
|
760
|
+
lastEditedBy?: VantaDocumentEvidenceAddedBy | undefined;
|
|
741
761
|
/** 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. */
|
|
742
762
|
policyId: string;
|
|
743
763
|
/** 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. */
|
|
@@ -760,7 +780,7 @@ export interface VantaTestEvidenceFile {
|
|
|
760
780
|
/** 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. */
|
|
761
781
|
url: string;
|
|
762
782
|
}
|
|
763
|
-
/** 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. */
|
|
783
|
+
/** 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`. */
|
|
764
784
|
export interface VantaTestEvidence {
|
|
765
785
|
/** The title of the test run as displayed in Vanta. */
|
|
766
786
|
title: string;
|
|
@@ -810,18 +830,20 @@ export type InformationRequestEvidenceUnion =
|
|
|
810
830
|
| VantaTestEvidence
|
|
811
831
|
| VantaTestSnapshotEvidence;
|
|
812
832
|
export interface InformationRequestEvidence {
|
|
813
|
-
/** The unique identifier for the evidence within Vanta's system. Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7"). */
|
|
833
|
+
/** 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"). */
|
|
814
834
|
id: string;
|
|
815
835
|
/** Type of evidence attached to this information request. Determines the structure of the `evidence` field. */
|
|
816
836
|
evidenceType: InformationRequestSupportedEvidenceType;
|
|
817
837
|
/** 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. */
|
|
818
|
-
visibleToAuditorDate?: string | null;
|
|
838
|
+
visibleToAuditorDate?: string | null | undefined;
|
|
819
839
|
/** Timestamp when the evidence was created/uploaded. Format: ISO 8601 UTC timestamp. */
|
|
820
840
|
creationDate: string;
|
|
821
841
|
/** Timestamp when the evidence was last modified. Format: ISO 8601 UTC timestamp. */
|
|
822
842
|
modificationDate: string;
|
|
823
843
|
/** 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. */
|
|
824
|
-
deletionDate?: string | null;
|
|
844
|
+
deletionDate?: string | null | undefined;
|
|
845
|
+
/** 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. */
|
|
846
|
+
capturedSegmentIds: InformationRequestEvidenceCapturedSegmentIdsList;
|
|
825
847
|
/** The evidence content. Structure varies based on evidenceType. */
|
|
826
848
|
evidence: InformationRequestEvidenceUnion;
|
|
827
849
|
}
|
|
@@ -911,9 +933,9 @@ export interface VantaTestSnapshotEvidenceDetail {
|
|
|
911
933
|
/** Raw test data captured at snapshot time. */
|
|
912
934
|
rawTestData: VantaTestSnapshotEvidenceDetailRawTestDataList;
|
|
913
935
|
/** 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". */
|
|
914
|
-
outOfScopeResources?: VantaTestSnapshotOutOfScopeResources;
|
|
936
|
+
outOfScopeResources?: VantaTestSnapshotOutOfScopeResources | undefined;
|
|
915
937
|
/** 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. */
|
|
916
|
-
apiRequests?: VantaTestSnapshotEvidenceDetailApiRequestsList;
|
|
938
|
+
apiRequests?: VantaTestSnapshotEvidenceDetailApiRequestsList | undefined;
|
|
917
939
|
}
|
|
918
940
|
export interface GetOrganizationInformationRequest {
|
|
919
941
|
/** The audit ID */
|
|
@@ -931,17 +953,17 @@ export interface AuditOrganizationInformation {
|
|
|
931
953
|
/** Display name of the organization. */
|
|
932
954
|
displayName: string;
|
|
933
955
|
/** Legal name of the organization. */
|
|
934
|
-
legalName?: string | null;
|
|
956
|
+
legalName?: string | null | undefined;
|
|
935
957
|
/** Incorporation status. Returns "Incorporated in the United States" when the organization is a US company, or null otherwise. */
|
|
936
|
-
incorporation?: string | null;
|
|
958
|
+
incorporation?: string | null | undefined;
|
|
937
959
|
/** Organization URL. */
|
|
938
|
-
url?: string | null;
|
|
960
|
+
url?: string | null | undefined;
|
|
939
961
|
/** Mailing address of the organization. */
|
|
940
|
-
mailingAddress?: string | null;
|
|
962
|
+
mailingAddress?: string | null | undefined;
|
|
941
963
|
/** Telephone number of the organization. */
|
|
942
|
-
telephone?: string | null;
|
|
964
|
+
telephone?: string | null | undefined;
|
|
943
965
|
/** Company logo reference (download URL), or null if no logo is uploaded. */
|
|
944
|
-
companyLogo?: AuditOrganizationCompanyLogo | null;
|
|
966
|
+
companyLogo?: AuditOrganizationCompanyLogo | null | undefined;
|
|
945
967
|
}
|
|
946
968
|
export interface GetOrganizationNotificationsRequest {
|
|
947
969
|
/** The audit ID */
|
|
@@ -970,21 +992,21 @@ export interface AuditOrganizationNotifications {
|
|
|
970
992
|
/** Domain identifier of the audited organization. */
|
|
971
993
|
id: string;
|
|
972
994
|
/** IANA timezone identifier that determines when scheduled reminder notifications are sent. `null` means the organization has no configured preference ("Anytime" in the UI). */
|
|
973
|
-
preferredTimeZone?: string | null;
|
|
995
|
+
preferredTimeZone?: string | null | undefined;
|
|
974
996
|
/** 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. */
|
|
975
|
-
employeeDigestFrequency?: string | null;
|
|
997
|
+
employeeDigestFrequency?: string | null | undefined;
|
|
976
998
|
/** Channels on which the personnel reminder digest is delivered (e.g. `["EMAIL"]` or `["EMAIL", "SLACK"]`). */
|
|
977
|
-
subscribedChannelTypes?: AuditOrganizationNotificationsSubscribedChannelTypesList;
|
|
999
|
+
subscribedChannelTypes?: AuditOrganizationNotificationsSubscribedChannelTypesList | undefined;
|
|
978
1000
|
/** External notification subscriptions -- one row per mailing-list address plus category pairing. Covers Compliance, Vendors, Access Reviews, and Trust Center categories. */
|
|
979
|
-
externalNotifications?: AuditOrganizationNotificationsExternalNotificationsList;
|
|
1001
|
+
externalNotifications?: AuditOrganizationNotificationsExternalNotificationsList | undefined;
|
|
980
1002
|
}
|
|
981
1003
|
export interface ListAccountAccessServicesRequest {
|
|
982
1004
|
/** The audit ID */
|
|
983
1005
|
auditId: string;
|
|
984
1006
|
/** Maximum number of results per page (1-100, default 10) */
|
|
985
|
-
pageSize?: number;
|
|
1007
|
+
pageSize?: number | undefined;
|
|
986
1008
|
/** Pagination cursor from previous response */
|
|
987
|
-
pageCursor?: string;
|
|
1009
|
+
pageCursor?: string | undefined;
|
|
988
1010
|
}
|
|
989
1011
|
/** 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. */
|
|
990
1012
|
export interface AccountAccessService {
|
|
@@ -1018,10 +1040,10 @@ export interface PaginatedResponseAccountAccessService {
|
|
|
1018
1040
|
}
|
|
1019
1041
|
export interface ListAuditCommentsRequest {
|
|
1020
1042
|
auditId: string;
|
|
1021
|
-
pageSize?: number;
|
|
1022
|
-
pageCursor?: string;
|
|
1043
|
+
pageSize?: number | undefined;
|
|
1044
|
+
pageCursor?: string | undefined;
|
|
1023
1045
|
/** Includes all comments that have changed since changedSinceDate. */
|
|
1024
|
-
changedSinceDate?: string;
|
|
1046
|
+
changedSinceDate?: string | undefined;
|
|
1025
1047
|
}
|
|
1026
1048
|
export type PaginatedResponseCommentResultsDataList = Array<Comment>;
|
|
1027
1049
|
export interface PaginatedResponseCommentResults {
|
|
@@ -1032,12 +1054,15 @@ export interface PaginatedResponseComment {
|
|
|
1032
1054
|
results: PaginatedResponseCommentResults;
|
|
1033
1055
|
}
|
|
1034
1056
|
export type ListAuditControlsRequestExternalIdMatchesAnyList = Array<string>;
|
|
1057
|
+
export type ListAuditControlsRequestSegmentIdsMatchesAnyList = Array<string>;
|
|
1035
1058
|
export interface ListAuditControlsRequest {
|
|
1036
1059
|
auditId: string;
|
|
1037
|
-
pageSize?: number;
|
|
1038
|
-
pageCursor?: string;
|
|
1060
|
+
pageSize?: number | undefined;
|
|
1061
|
+
pageCursor?: string | undefined;
|
|
1039
1062
|
/** Filter controls whose externalId matches any of the provided values (exact, case-sensitive match). */
|
|
1040
|
-
externalIdMatchesAny?: ListAuditControlsRequestExternalIdMatchesAnyList;
|
|
1063
|
+
externalIdMatchesAny?: ListAuditControlsRequestExternalIdMatchesAnyList | undefined;
|
|
1064
|
+
/** 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`. */
|
|
1065
|
+
segmentIdsMatchesAny?: ListAuditControlsRequestSegmentIdsMatchesAnyList | undefined;
|
|
1041
1066
|
}
|
|
1042
1067
|
/** The security domains that the control belongs to. */
|
|
1043
1068
|
export type AuditorControlDomainsList = Array<string>;
|
|
@@ -1102,7 +1127,7 @@ export interface AuditorControl {
|
|
|
1102
1127
|
/** The control's owner. */
|
|
1103
1128
|
owner: Owner | null;
|
|
1104
1129
|
/** The control's GDPR role, if the control is a GDPR control. */
|
|
1105
|
-
role?: string | null;
|
|
1130
|
+
role?: string | null | undefined;
|
|
1106
1131
|
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
1107
1132
|
customFields: AuditorControlCustomFieldsList;
|
|
1108
1133
|
/** When the control was created. Returns null for Vanta library controls. */
|
|
@@ -1128,10 +1153,10 @@ export interface PaginatedResponseAuditorControl {
|
|
|
1128
1153
|
}
|
|
1129
1154
|
export interface ListAuditEvidenceRequest {
|
|
1130
1155
|
auditId: string;
|
|
1131
|
-
pageSize?: number;
|
|
1132
|
-
pageCursor?: string;
|
|
1156
|
+
pageSize?: number | undefined;
|
|
1157
|
+
pageCursor?: string | undefined;
|
|
1133
1158
|
/** Includes all audit evidence that have changed since changedSinceDate. */
|
|
1134
|
-
changedSinceDate?: string;
|
|
1159
|
+
changedSinceDate?: string | undefined;
|
|
1135
1160
|
}
|
|
1136
1161
|
export type PaginatedResponseEvidenceResultsDataList = Array<Evidence>;
|
|
1137
1162
|
export interface PaginatedResponseEvidenceResults {
|
|
@@ -1144,8 +1169,8 @@ export interface PaginatedResponseEvidence {
|
|
|
1144
1169
|
export interface ListAuditEvidenceUrlsRequest {
|
|
1145
1170
|
auditId: string;
|
|
1146
1171
|
auditEvidenceId: string;
|
|
1147
|
-
pageSize?: number;
|
|
1148
|
-
pageCursor?: string;
|
|
1172
|
+
pageSize?: number | undefined;
|
|
1173
|
+
pageCursor?: string | undefined;
|
|
1149
1174
|
}
|
|
1150
1175
|
export interface EvidenceUrl {
|
|
1151
1176
|
/** Vanta internal reference to evidence */
|
|
@@ -1176,25 +1201,25 @@ export interface ListAuditIssuesRequest {
|
|
|
1176
1201
|
/** The audit ID */
|
|
1177
1202
|
auditId: string;
|
|
1178
1203
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1179
|
-
pageSize?: number;
|
|
1204
|
+
pageSize?: number | undefined;
|
|
1180
1205
|
/** Pagination cursor from previous response */
|
|
1181
|
-
pageCursor?: string;
|
|
1206
|
+
pageCursor?: string | undefined;
|
|
1182
1207
|
/** Search term for filtering by issue title and description */
|
|
1183
|
-
search?: string;
|
|
1208
|
+
search?: string | undefined;
|
|
1184
1209
|
/** Filter issues to specific snapshots by snapshot ID */
|
|
1185
|
-
snapshotIdMatchesAny?: ListAuditIssuesRequestSnapshotIdMatchesAnyList;
|
|
1210
|
+
snapshotIdMatchesAny?: ListAuditIssuesRequestSnapshotIdMatchesAnyList | undefined;
|
|
1186
1211
|
/** Filter to issues created on or after this date (ISO 8601) */
|
|
1187
|
-
createdAfterDate?: string;
|
|
1212
|
+
createdAfterDate?: string | undefined;
|
|
1188
1213
|
/** Filter to issues created on or before this date (ISO 8601) */
|
|
1189
|
-
createdBeforeDate?: string;
|
|
1214
|
+
createdBeforeDate?: string | undefined;
|
|
1190
1215
|
/** Filter to issues detected on or after this date (ISO 8601) */
|
|
1191
|
-
detectedAfterDate?: string;
|
|
1216
|
+
detectedAfterDate?: string | undefined;
|
|
1192
1217
|
/** Filter to issues detected on or before this date (ISO 8601) */
|
|
1193
|
-
detectedBeforeDate?: string;
|
|
1218
|
+
detectedBeforeDate?: string | undefined;
|
|
1194
1219
|
/** Field to sort results by. Allowed: "createdAt", "lastModifiedAt", "detectedAt". Default: "createdAt" */
|
|
1195
|
-
orderBy?: IssueSnapshotItemOrderBy | (string & {});
|
|
1220
|
+
orderBy?: IssueSnapshotItemOrderBy | (string & {}) | undefined;
|
|
1196
1221
|
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1197
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1222
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1198
1223
|
}
|
|
1199
1224
|
export type IssueStatusTypeForSnapshot =
|
|
1200
1225
|
| "IN_PROGRESS"
|
|
@@ -1212,9 +1237,9 @@ export interface IssueSnapshotItem {
|
|
|
1212
1237
|
/** 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. */
|
|
1213
1238
|
id: string;
|
|
1214
1239
|
/** The issue title */
|
|
1215
|
-
title?: string;
|
|
1240
|
+
title?: string | undefined;
|
|
1216
1241
|
/** The issue description */
|
|
1217
|
-
description?: string;
|
|
1242
|
+
description?: string | undefined;
|
|
1218
1243
|
/** 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. */
|
|
1219
1244
|
readableIssueId: string;
|
|
1220
1245
|
/** 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. */
|
|
@@ -1222,17 +1247,17 @@ export interface IssueSnapshotItem {
|
|
|
1222
1247
|
/** The identifier for the snapshot this issue item belongs to. */
|
|
1223
1248
|
snapshotId: string;
|
|
1224
1249
|
/** The due date for the issue. */
|
|
1225
|
-
dueDate?: string | null;
|
|
1250
|
+
dueDate?: string | null | undefined;
|
|
1226
1251
|
/** The status of the issue. */
|
|
1227
|
-
status?: IssueStatusTypeForSnapshot;
|
|
1252
|
+
status?: IssueStatusTypeForSnapshot | undefined;
|
|
1228
1253
|
/** 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. */
|
|
1229
|
-
approvalProgress?: IssueSnapshotItemApprovalProgress | null;
|
|
1254
|
+
approvalProgress?: IssueSnapshotItemApprovalProgress | null | undefined;
|
|
1230
1255
|
/** The date and time when the issue was last modified. */
|
|
1231
|
-
lastModifiedAt?: string;
|
|
1256
|
+
lastModifiedAt?: string | undefined;
|
|
1232
1257
|
/** The date and time when the issue was created. */
|
|
1233
|
-
createdAt?: string;
|
|
1258
|
+
createdAt?: string | undefined;
|
|
1234
1259
|
/** The date and time when the issue was detected. */
|
|
1235
|
-
detectedAt?: string;
|
|
1260
|
+
detectedAt?: string | undefined;
|
|
1236
1261
|
}
|
|
1237
1262
|
export type PaginatedResponseIssueSnapshotItemResultsDataList = Array<IssueSnapshotItem>;
|
|
1238
1263
|
export interface PaginatedResponseIssueSnapshotItemResults {
|
|
@@ -1259,15 +1284,15 @@ export interface ListAuditRisksRequest {
|
|
|
1259
1284
|
/** The risk assessment snapshot ID */
|
|
1260
1285
|
snapshotId: string;
|
|
1261
1286
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1262
|
-
pageSize?: number;
|
|
1287
|
+
pageSize?: number | undefined;
|
|
1263
1288
|
/** Pagination cursor from previous response */
|
|
1264
|
-
pageCursor?: string;
|
|
1289
|
+
pageCursor?: string | undefined;
|
|
1265
1290
|
/** Search term for filtering by risk scenario description */
|
|
1266
|
-
search?: string;
|
|
1291
|
+
search?: string | undefined;
|
|
1267
1292
|
/** Field to sort results by. Allowed: "riskId", "riskScenario", "inherentRisk", "treatment", "residualRisk", "reviewStatus", "owner", "categories", "ciaCategories", "identified". Default: "identified" */
|
|
1268
|
-
orderBy?: RiskOrderBy | (string & {});
|
|
1293
|
+
orderBy?: RiskOrderBy | (string & {}) | undefined;
|
|
1269
1294
|
/** Sort direction: "asc" or "desc". Default: "desc" */
|
|
1270
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1295
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1271
1296
|
}
|
|
1272
1297
|
/** Risk treatment strategy returned by the auditor API. */
|
|
1273
1298
|
export type AuditRiskTreatment = "ACCEPT" | "AVOID" | "MITIGATE" | "TRANSFER";
|
|
@@ -1303,31 +1328,31 @@ export interface AuditRisk {
|
|
|
1303
1328
|
/** Custom risk ID (e.g., "RISK-001"), or null if not available. */
|
|
1304
1329
|
riskId: string | null;
|
|
1305
1330
|
/** Description of the risk scenario, or null if not available. */
|
|
1306
|
-
riskScenario?: string | null;
|
|
1331
|
+
riskScenario?: string | null | undefined;
|
|
1307
1332
|
/** Likelihood score of the risk, or null if not scored. Full Audit View only - omitted in Controlled Audit View. */
|
|
1308
|
-
likelihood?: number | null;
|
|
1333
|
+
likelihood?: number | null | undefined;
|
|
1309
1334
|
/** Impact score of the risk, or null if not scored. Full Audit View only - omitted in Controlled Audit View. */
|
|
1310
|
-
impact?: number | null;
|
|
1335
|
+
impact?: number | null | undefined;
|
|
1311
1336
|
/** 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. */
|
|
1312
|
-
inherentRisk?: number | null;
|
|
1337
|
+
inherentRisk?: number | null | undefined;
|
|
1313
1338
|
/** Risk treatment strategy, or null if not set. */
|
|
1314
|
-
treatment?: AuditRiskTreatment | null;
|
|
1339
|
+
treatment?: AuditRiskTreatment | null | undefined;
|
|
1315
1340
|
/** Treatment implementation status, or null if not set. */
|
|
1316
|
-
treatmentStatus?: AuditRiskTreatmentStatus | null;
|
|
1341
|
+
treatmentStatus?: AuditRiskTreatmentStatus | null | undefined;
|
|
1317
1342
|
/** Residual risk score after treatment, or null if not calculable. */
|
|
1318
|
-
residualRisk?: number | null;
|
|
1343
|
+
residualRisk?: number | null | undefined;
|
|
1319
1344
|
/** Review status of the risk scenario, or null if not set. */
|
|
1320
|
-
reviewStatus?: AuditRiskReviewStatus | null;
|
|
1345
|
+
reviewStatus?: AuditRiskReviewStatus | null | undefined;
|
|
1321
1346
|
/** Risk owner information, or null if no owner assigned. */
|
|
1322
|
-
owner?: AuditRiskOwner | null;
|
|
1347
|
+
owner?: AuditRiskOwner | null | undefined;
|
|
1323
1348
|
/** Risk category names, or empty array if not categorized. */
|
|
1324
|
-
categories?: AuditRiskCategoriesList;
|
|
1349
|
+
categories?: AuditRiskCategoriesList | undefined;
|
|
1325
1350
|
/** CIA triad categories, or empty array if not categorized. */
|
|
1326
|
-
ciaCategories?: AuditRiskCiaCategoriesList;
|
|
1351
|
+
ciaCategories?: AuditRiskCiaCategoriesList | undefined;
|
|
1327
1352
|
/** IDs of controls linked to this risk scenario, or empty array if none. Full Audit View only - omitted in Controlled Audit View. */
|
|
1328
|
-
linkedControlIds?: AuditRiskLinkedControlIdsList;
|
|
1353
|
+
linkedControlIds?: AuditRiskLinkedControlIdsList | undefined;
|
|
1329
1354
|
/** When the risk was identified, or null if not recorded. ISO 8601 format. */
|
|
1330
|
-
identified?: string | null;
|
|
1355
|
+
identified?: string | null | undefined;
|
|
1331
1356
|
}
|
|
1332
1357
|
export type PaginatedResponseAuditRiskResultsDataList = Array<AuditRisk>;
|
|
1333
1358
|
export interface PaginatedResponseAuditRiskResults {
|
|
@@ -1338,12 +1363,12 @@ export interface PaginatedResponseAuditRisk {
|
|
|
1338
1363
|
results: PaginatedResponseAuditRiskResults;
|
|
1339
1364
|
}
|
|
1340
1365
|
export interface ListAuditsRequest {
|
|
1341
|
-
pageSize?: number;
|
|
1342
|
-
pageCursor?: string;
|
|
1366
|
+
pageSize?: number | undefined;
|
|
1367
|
+
pageCursor?: string | undefined;
|
|
1343
1368
|
/** Includes all audits that have changed since changedSinceDate, including soft-deleted audits whose deletionDate is on or after that timestamp. */
|
|
1344
|
-
changedSinceDate?: string;
|
|
1369
|
+
changedSinceDate?: string | undefined;
|
|
1345
1370
|
/** Includes only audits with no audit report uploaded */
|
|
1346
|
-
isActiveAudit?: boolean;
|
|
1371
|
+
isActiveAudit?: boolean | undefined;
|
|
1347
1372
|
}
|
|
1348
1373
|
export type PaginatedResponseAuditResultsDataList = Array<Audit>;
|
|
1349
1374
|
export interface PaginatedResponseAuditResults {
|
|
@@ -1357,21 +1382,21 @@ export interface ListAuditSnapshotsRequest {
|
|
|
1357
1382
|
/** The audit ID */
|
|
1358
1383
|
auditId: string;
|
|
1359
1384
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1360
|
-
pageSize?: number;
|
|
1385
|
+
pageSize?: number | undefined;
|
|
1361
1386
|
/** Pagination cursor from previous response */
|
|
1362
|
-
pageCursor?: string;
|
|
1387
|
+
pageCursor?: string | undefined;
|
|
1363
1388
|
/** Search term for filtering by snapshot title and description */
|
|
1364
|
-
search?: string;
|
|
1389
|
+
search?: string | undefined;
|
|
1365
1390
|
}
|
|
1366
1391
|
export interface IssueSnapshotMetadata {
|
|
1367
1392
|
/** The unique identifier for the issue snapshot. */
|
|
1368
1393
|
id: string;
|
|
1369
1394
|
/** The title of the snapshot */
|
|
1370
|
-
title?: string;
|
|
1395
|
+
title?: string | undefined;
|
|
1371
1396
|
/** The description of the snapshot */
|
|
1372
|
-
description?: string;
|
|
1397
|
+
description?: string | undefined;
|
|
1373
1398
|
/** The date and time when the snapshot was created. */
|
|
1374
|
-
createdAt?: string;
|
|
1399
|
+
createdAt?: string | undefined;
|
|
1375
1400
|
}
|
|
1376
1401
|
export type PaginatedResponseIssueSnapshotMetadataResultsDataList = Array<IssueSnapshotMetadata>;
|
|
1377
1402
|
export interface PaginatedResponseIssueSnapshotMetadataResults {
|
|
@@ -1390,34 +1415,38 @@ export interface ListCodeChangesRequest {
|
|
|
1390
1415
|
/** The audit ID */
|
|
1391
1416
|
auditId: string;
|
|
1392
1417
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1393
|
-
pageSize?: number;
|
|
1418
|
+
pageSize?: number | undefined;
|
|
1394
1419
|
/** Pagination cursor from previous response */
|
|
1395
|
-
pageCursor?: string;
|
|
1420
|
+
pageCursor?: string | undefined;
|
|
1396
1421
|
/** Search term for filtering by code change title or repository name */
|
|
1397
|
-
search?: string;
|
|
1422
|
+
search?: string | undefined;
|
|
1398
1423
|
/** Filter code changes by version control source (accepted values: github, gitlab, bitbucket, azuredevops) */
|
|
1399
|
-
sourcesMatchesAny?: ListCodeChangesRequestSourcesMatchesAnyList;
|
|
1424
|
+
sourcesMatchesAny?: ListCodeChangesRequestSourcesMatchesAnyList | undefined;
|
|
1400
1425
|
/** Filter code changes closed on or after this date (ISO 8601) */
|
|
1401
|
-
closedAfterDate?: string;
|
|
1426
|
+
closedAfterDate?: string | undefined;
|
|
1402
1427
|
/** Filter code changes closed on or before this date (ISO 8601) */
|
|
1403
|
-
closedBeforeDate?: string;
|
|
1428
|
+
closedBeforeDate?: string | undefined;
|
|
1404
1429
|
}
|
|
1430
|
+
/** IDs of the audit segments this code change is in scope for. Omitted when segment scoping is disabled. */
|
|
1431
|
+
export type CodeChangeSegmentIdsList = Array<string>;
|
|
1405
1432
|
/** 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. */
|
|
1406
1433
|
export interface CodeChange {
|
|
1407
1434
|
/** Code change record ID - always present. */
|
|
1408
1435
|
id: string;
|
|
1409
1436
|
/** Code change title (e.g. PR title) - always present. */
|
|
1410
1437
|
codeChange: string;
|
|
1438
|
+
/** IDs of the audit segments this code change is in scope for. Omitted when segment scoping is disabled. */
|
|
1439
|
+
segmentIds?: CodeChangeSegmentIdsList | undefined;
|
|
1411
1440
|
/** Code change identifier (e.g. PR number). */
|
|
1412
|
-
identifier?: string;
|
|
1441
|
+
identifier?: string | undefined;
|
|
1413
1442
|
/** 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. */
|
|
1414
|
-
service?: string;
|
|
1443
|
+
service?: string | undefined;
|
|
1415
1444
|
/** Repository name. */
|
|
1416
|
-
repository?: string;
|
|
1445
|
+
repository?: string | undefined;
|
|
1417
1446
|
/** Date the code change was opened. */
|
|
1418
|
-
openedAt?: string;
|
|
1447
|
+
openedAt?: string | undefined;
|
|
1419
1448
|
/** Date the code change was merged/closed. */
|
|
1420
|
-
closedAt?: string;
|
|
1449
|
+
closedAt?: string | undefined;
|
|
1421
1450
|
}
|
|
1422
1451
|
export type PaginatedResponseCodeChangeResultsDataList = Array<CodeChange>;
|
|
1423
1452
|
export interface PaginatedResponseCodeChangeResults {
|
|
@@ -1431,11 +1460,11 @@ export interface ListCommentsForControlRequest {
|
|
|
1431
1460
|
auditId: string;
|
|
1432
1461
|
controlId: string;
|
|
1433
1462
|
/** Maximum number of comments to return per page. */
|
|
1434
|
-
pageSize?: number;
|
|
1463
|
+
pageSize?: number | undefined;
|
|
1435
1464
|
/** Pagination cursor from a previous response. Provide to fetch the next page of comments. */
|
|
1436
|
-
pageCursor?: string;
|
|
1465
|
+
pageCursor?: string | undefined;
|
|
1437
1466
|
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1438
|
-
changedSinceDate?: string;
|
|
1467
|
+
changedSinceDate?: string | undefined;
|
|
1439
1468
|
}
|
|
1440
1469
|
export type PaginatedResponseAuditControlCommentResultsDataList = Array<AuditControlComment>;
|
|
1441
1470
|
export interface PaginatedResponseAuditControlCommentResults {
|
|
@@ -1449,11 +1478,11 @@ export interface ListCommentsForInformationRequestRequest {
|
|
|
1449
1478
|
auditId: string;
|
|
1450
1479
|
requestId: string;
|
|
1451
1480
|
/** Maximum number of comments to return per page. */
|
|
1452
|
-
pageSize?: number;
|
|
1481
|
+
pageSize?: number | undefined;
|
|
1453
1482
|
/** Pagination cursor from a previous response. Provide to fetch the next page of comments. */
|
|
1454
|
-
pageCursor?: string;
|
|
1483
|
+
pageCursor?: string | undefined;
|
|
1455
1484
|
/** Includes all comments that have changed since changedSinceDate. Considers creationDate, modificationDate, and deletionDate timestamps when determining changes. */
|
|
1456
|
-
changedSinceDate?: string;
|
|
1485
|
+
changedSinceDate?: string | undefined;
|
|
1457
1486
|
}
|
|
1458
1487
|
export type PaginatedResponseInformationRequestCommentResultsDataList =
|
|
1459
1488
|
Array<InformationRequestComment>;
|
|
@@ -1468,11 +1497,11 @@ export interface ListInformationRequestActivityRequest {
|
|
|
1468
1497
|
auditId: string;
|
|
1469
1498
|
requestId: string;
|
|
1470
1499
|
/** Maximum number of activity entries to return per page. */
|
|
1471
|
-
pageSize?: number;
|
|
1500
|
+
pageSize?: number | undefined;
|
|
1472
1501
|
/** Pagination cursor from a previous response. Provide to fetch the next page of activity logs. */
|
|
1473
|
-
pageCursor?: string;
|
|
1502
|
+
pageCursor?: string | undefined;
|
|
1474
1503
|
/** Includes activity logs that have changed since changedSinceDate. */
|
|
1475
|
-
changedSinceDate?: string;
|
|
1504
|
+
changedSinceDate?: string | undefined;
|
|
1476
1505
|
}
|
|
1477
1506
|
export type InformationRequestActivityType =
|
|
1478
1507
|
| "AUDIT_DUPLICATION_AUDIT_TRAIL"
|
|
@@ -1536,13 +1565,15 @@ export interface ListInformationRequestEvidenceRequest {
|
|
|
1536
1565
|
auditId: string;
|
|
1537
1566
|
requestId: string;
|
|
1538
1567
|
/** Maximum number of evidence entries to return per page. */
|
|
1539
|
-
pageSize?: number;
|
|
1568
|
+
pageSize?: number | undefined;
|
|
1540
1569
|
/** Pagination cursor from a previous response. Provide to fetch the next page of evidence. */
|
|
1541
|
-
pageCursor?: string;
|
|
1570
|
+
pageCursor?: string | undefined;
|
|
1542
1571
|
/** Includes all evidence that have changed since changedSinceDate. Considers creationDate, modificationDate, deletionDate, and visibleToAuditorDate timestamps when determining changes. */
|
|
1543
|
-
changedSinceDate?: string;
|
|
1572
|
+
changedSinceDate?: string | undefined;
|
|
1544
1573
|
/** 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. */
|
|
1545
|
-
evidenceTypeMatchesAny?:
|
|
1574
|
+
evidenceTypeMatchesAny?:
|
|
1575
|
+
| ListInformationRequestEvidenceRequestEvidenceTypeMatchesAnyList
|
|
1576
|
+
| undefined;
|
|
1546
1577
|
}
|
|
1547
1578
|
export type PaginatedResponseInformationRequestEvidenceResultsDataList =
|
|
1548
1579
|
Array<InformationRequestEvidence>;
|
|
@@ -1557,13 +1588,13 @@ export type ListInformationRequestsRequestSegmentIdsMatchesAnyList = Array<strin
|
|
|
1557
1588
|
export interface ListInformationRequestsRequest {
|
|
1558
1589
|
auditId: string;
|
|
1559
1590
|
/** Maximum number of information requests to return per page. */
|
|
1560
|
-
pageSize?: number;
|
|
1591
|
+
pageSize?: number | undefined;
|
|
1561
1592
|
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1562
|
-
pageCursor?: string;
|
|
1593
|
+
pageCursor?: string | undefined;
|
|
1563
1594
|
/** 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. */
|
|
1564
|
-
changedSinceDate?: string;
|
|
1595
|
+
changedSinceDate?: string | undefined;
|
|
1565
1596
|
/** 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. */
|
|
1566
|
-
segmentIdsMatchesAny?: ListInformationRequestsRequestSegmentIdsMatchesAnyList;
|
|
1597
|
+
segmentIdsMatchesAny?: ListInformationRequestsRequestSegmentIdsMatchesAnyList | undefined;
|
|
1567
1598
|
}
|
|
1568
1599
|
export type PaginatedResponseInformationRequestResultsDataList = Array<InformationRequest>;
|
|
1569
1600
|
export interface PaginatedResponseInformationRequestResults {
|
|
@@ -1577,9 +1608,9 @@ export interface ListInformationRequestsForControlRequest {
|
|
|
1577
1608
|
auditId: string;
|
|
1578
1609
|
controlId: string;
|
|
1579
1610
|
/** Maximum number of information requests to return per page. */
|
|
1580
|
-
pageSize?: number;
|
|
1611
|
+
pageSize?: number | undefined;
|
|
1581
1612
|
/** Pagination cursor from a previous response. Provide to fetch the next page of results. */
|
|
1582
|
-
pageCursor?: string;
|
|
1613
|
+
pageCursor?: string | undefined;
|
|
1583
1614
|
}
|
|
1584
1615
|
export type AuditIntegrationTag =
|
|
1585
1616
|
| "ACCESS"
|
|
@@ -1634,16 +1665,18 @@ export interface ListIntegrationsRequest {
|
|
|
1634
1665
|
/** The audit ID */
|
|
1635
1666
|
auditId: string;
|
|
1636
1667
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1637
|
-
pageSize?: number;
|
|
1668
|
+
pageSize?: number | undefined;
|
|
1638
1669
|
/** Pagination cursor from previous response */
|
|
1639
|
-
pageCursor?: string;
|
|
1670
|
+
pageCursor?: string | undefined;
|
|
1640
1671
|
/** Search term for filtering by integration name */
|
|
1641
|
-
search?: string;
|
|
1672
|
+
search?: string | undefined;
|
|
1642
1673
|
/** Filter integrations by tag values */
|
|
1643
|
-
tagsMatchesAny?: ListIntegrationsRequestTagsMatchesAnyList;
|
|
1674
|
+
tagsMatchesAny?: ListIntegrationsRequestTagsMatchesAnyList | undefined;
|
|
1644
1675
|
/** Filter integrations by category values */
|
|
1645
|
-
categoriesMatchesAny?: ListIntegrationsRequestCategoriesMatchesAnyList;
|
|
1676
|
+
categoriesMatchesAny?: ListIntegrationsRequestCategoriesMatchesAnyList | undefined;
|
|
1646
1677
|
}
|
|
1678
|
+
/** IDs of the audit segments this integration is in scope for. Omitted when segment scoping is disabled. */
|
|
1679
|
+
export type AuditIntegrationSegmentIdsList = Array<string>;
|
|
1647
1680
|
/** Integration tag display names describing what data this integration provides. */
|
|
1648
1681
|
export type AuditIntegrationTagsList = Array<string>;
|
|
1649
1682
|
/** Category display names describing what the integration is used for. */
|
|
@@ -1654,10 +1687,12 @@ export interface AuditIntegration {
|
|
|
1654
1687
|
id: string;
|
|
1655
1688
|
/** Display name of the integration. */
|
|
1656
1689
|
name: string;
|
|
1690
|
+
/** IDs of the audit segments this integration is in scope for. Omitted when segment scoping is disabled. */
|
|
1691
|
+
segmentIds?: AuditIntegrationSegmentIdsList | undefined;
|
|
1657
1692
|
/** Integration tag display names describing what data this integration provides. */
|
|
1658
|
-
tags?: AuditIntegrationTagsList;
|
|
1693
|
+
tags?: AuditIntegrationTagsList | undefined;
|
|
1659
1694
|
/** Category display names describing what the integration is used for. */
|
|
1660
|
-
categories?: AuditIntegrationCategoriesList;
|
|
1695
|
+
categories?: AuditIntegrationCategoriesList | undefined;
|
|
1661
1696
|
}
|
|
1662
1697
|
export type PaginatedResponseAuditIntegrationResultsDataList = Array<AuditIntegration>;
|
|
1663
1698
|
export interface PaginatedResponseAuditIntegrationResults {
|
|
@@ -1675,14 +1710,16 @@ export interface ListPersonnelAccountAccessRequest {
|
|
|
1675
1710
|
/** The service ID from the /services endpoint */
|
|
1676
1711
|
serviceId: string;
|
|
1677
1712
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1678
|
-
pageSize?: number;
|
|
1713
|
+
pageSize?: number | undefined;
|
|
1679
1714
|
/** Pagination cursor from previous response */
|
|
1680
|
-
pageCursor?: string;
|
|
1715
|
+
pageCursor?: string | undefined;
|
|
1681
1716
|
/** Search term for filtering by account name or email */
|
|
1682
|
-
search?: string;
|
|
1717
|
+
search?: string | undefined;
|
|
1683
1718
|
/** Filter by account status */
|
|
1684
|
-
status?: AccountAccessStatus | (string & {});
|
|
1719
|
+
status?: AccountAccessStatus | (string & {}) | undefined;
|
|
1685
1720
|
}
|
|
1721
|
+
/** IDs of the audit segments this account is in scope for. Omitted when segment attribution is unavailable or scoping is disabled. */
|
|
1722
|
+
export type AccountAccessSegmentIdsList = Array<string>;
|
|
1686
1723
|
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1687
1724
|
export type AccountAccessRoleList = Array<string>;
|
|
1688
1725
|
/** 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`). */
|
|
@@ -1691,18 +1728,20 @@ export interface AccountAccess {
|
|
|
1691
1728
|
id: string;
|
|
1692
1729
|
/** Account name or email address (primary identifier). */
|
|
1693
1730
|
accountName: string;
|
|
1731
|
+
/** IDs of the audit segments this account is in scope for. Omitted when segment attribution is unavailable or scoping is disabled. */
|
|
1732
|
+
segmentIds?: AccountAccessSegmentIdsList | undefined;
|
|
1694
1733
|
/** Display name of the account owner, or null when the column is visible but unknown. */
|
|
1695
|
-
owner?: string | null;
|
|
1734
|
+
owner?: string | null | undefined;
|
|
1696
1735
|
/** Account roles; empty array when the column is visible but has no roles. */
|
|
1697
|
-
role?: AccountAccessRoleList;
|
|
1736
|
+
role?: AccountAccessRoleList | undefined;
|
|
1698
1737
|
/** Account status when present; omitted when the column is not in the response. */
|
|
1699
|
-
status?: AccountAccessStatus;
|
|
1738
|
+
status?: AccountAccessStatus | undefined;
|
|
1700
1739
|
/** Multi-factor authentication (MFA) status when present. `true` = MFA enabled, `false` = MFA not enabled, `null` = visible but unknown. */
|
|
1701
|
-
mfa?: boolean | null;
|
|
1740
|
+
mfa?: boolean | null | undefined;
|
|
1702
1741
|
/** Account creation date when present, or null when visible but absent. */
|
|
1703
|
-
createdDate?: string | null;
|
|
1742
|
+
createdDate?: string | null | undefined;
|
|
1704
1743
|
/** Account deactivation date when present, or null when active. */
|
|
1705
|
-
deactivatedDate?: string | null;
|
|
1744
|
+
deactivatedDate?: string | null | undefined;
|
|
1706
1745
|
}
|
|
1707
1746
|
export type PaginatedResponseAccountAccessResultsDataList = Array<AccountAccess>;
|
|
1708
1747
|
export interface PaginatedResponseAccountAccessResults {
|
|
@@ -1718,18 +1757,20 @@ export interface ListPersonnelGroupsRequest {
|
|
|
1718
1757
|
/** The audit ID */
|
|
1719
1758
|
auditId: string;
|
|
1720
1759
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1721
|
-
pageSize?: number;
|
|
1760
|
+
pageSize?: number | undefined;
|
|
1722
1761
|
/** Pagination cursor from previous response */
|
|
1723
|
-
pageCursor?: string;
|
|
1762
|
+
pageCursor?: string | undefined;
|
|
1724
1763
|
/** Search term for filtering by group name */
|
|
1725
|
-
search?: string;
|
|
1764
|
+
search?: string | undefined;
|
|
1726
1765
|
/** Filter groups by IDP source service names */
|
|
1727
|
-
sourcesMatchesAny?: ListPersonnelGroupsRequestSourcesMatchesAnyList;
|
|
1766
|
+
sourcesMatchesAny?: ListPersonnelGroupsRequestSourcesMatchesAnyList | undefined;
|
|
1728
1767
|
/** Field to sort results by. Allowed: "name", "members", "source", "tasksLastUpdated", "pointOfContact". Default: "name" */
|
|
1729
|
-
orderBy?: GroupOrderBy | (string & {});
|
|
1768
|
+
orderBy?: GroupOrderBy | (string & {}) | undefined;
|
|
1730
1769
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1731
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1770
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1732
1771
|
}
|
|
1772
|
+
/** IDs of the audit segments this group is in scope for. Omitted when segment scoping is disabled. */
|
|
1773
|
+
export type PersonnelGroupSegmentIdsList = Array<string>;
|
|
1733
1774
|
/** A task assigned to a personnel group. */
|
|
1734
1775
|
export interface PersonnelGroupTask {
|
|
1735
1776
|
/** Task name */
|
|
@@ -1743,16 +1784,18 @@ export interface PersonnelGroup {
|
|
|
1743
1784
|
id: string;
|
|
1744
1785
|
/** Display name of the group. */
|
|
1745
1786
|
name: string;
|
|
1787
|
+
/** IDs of the audit segments this group is in scope for. Omitted when segment scoping is disabled. */
|
|
1788
|
+
segmentIds?: PersonnelGroupSegmentIdsList | undefined;
|
|
1746
1789
|
/** Number of people in this group within the audit scope. */
|
|
1747
|
-
members?: number;
|
|
1790
|
+
members?: number | undefined;
|
|
1748
1791
|
/** 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". */
|
|
1749
|
-
source?: string;
|
|
1792
|
+
source?: string | undefined;
|
|
1750
1793
|
/** Security tasks enabled for this group, or empty array if not available. */
|
|
1751
|
-
tasks?: PersonnelGroupTasksList;
|
|
1794
|
+
tasks?: PersonnelGroupTasksList | undefined;
|
|
1752
1795
|
/** When the group's task configuration was last updated, or null if never updated. ISO 8601 format. */
|
|
1753
|
-
tasksLastUpdated?: string | null;
|
|
1796
|
+
tasksLastUpdated?: string | null | undefined;
|
|
1754
1797
|
/** Display name of the group's designated point of contact, or null if not set. */
|
|
1755
|
-
pointOfContact?: string | null;
|
|
1798
|
+
pointOfContact?: string | null | undefined;
|
|
1756
1799
|
}
|
|
1757
1800
|
export type PaginatedResponsePersonnelGroupResultsDataList = Array<PersonnelGroup>;
|
|
1758
1801
|
export interface PaginatedResponsePersonnelGroupResults {
|
|
@@ -1776,20 +1819,22 @@ export interface ListPersonnelPeopleRequest {
|
|
|
1776
1819
|
/** The audit ID */
|
|
1777
1820
|
auditId: string;
|
|
1778
1821
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1779
|
-
pageSize?: number;
|
|
1822
|
+
pageSize?: number | undefined;
|
|
1780
1823
|
/** Pagination cursor from previous response */
|
|
1781
|
-
pageCursor?: string;
|
|
1824
|
+
pageCursor?: string | undefined;
|
|
1782
1825
|
/** Search term for filtering by name or email */
|
|
1783
|
-
search?: string;
|
|
1826
|
+
search?: string | undefined;
|
|
1784
1827
|
/** Employment status filter */
|
|
1785
|
-
status?: PeopleEmploymentStatus | (string & {});
|
|
1828
|
+
status?: PeopleEmploymentStatus | (string & {}) | undefined;
|
|
1786
1829
|
/** Filter people by group IDs */
|
|
1787
|
-
groupsMatchesAny?: ListPersonnelPeopleRequestGroupsMatchesAnyList;
|
|
1830
|
+
groupsMatchesAny?: ListPersonnelPeopleRequestGroupsMatchesAnyList | undefined;
|
|
1788
1831
|
/** Field to sort results by. Allowed: "name", "employmentStatus". Default: "name" */
|
|
1789
|
-
orderBy?: PeopleOrderBy | (string & {});
|
|
1832
|
+
orderBy?: PeopleOrderBy | (string & {}) | undefined;
|
|
1790
1833
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1791
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1834
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1792
1835
|
}
|
|
1836
|
+
/** IDs of the audit segments this person is in scope for. Omitted when segment scoping is disabled. */
|
|
1837
|
+
export type PersonnelPersonSegmentIdsList = Array<string>;
|
|
1793
1838
|
export interface PersonnelPersonGroupsItem {
|
|
1794
1839
|
name: string;
|
|
1795
1840
|
}
|
|
@@ -1850,34 +1895,36 @@ export interface PersonnelPerson {
|
|
|
1850
1895
|
name: string;
|
|
1851
1896
|
/** Email address of the person - always present. */
|
|
1852
1897
|
email: string;
|
|
1898
|
+
/** IDs of the audit segments this person is in scope for. Omitted when segment scoping is disabled. */
|
|
1899
|
+
segmentIds?: PersonnelPersonSegmentIdsList | undefined;
|
|
1853
1900
|
/** Job title from HR system, or null if not available. */
|
|
1854
|
-
jobTitle?: string | null;
|
|
1901
|
+
jobTitle?: string | null | undefined;
|
|
1855
1902
|
/** Employment status, or null if not available. */
|
|
1856
|
-
employmentStatus?: PeopleEmploymentStatus | null;
|
|
1903
|
+
employmentStatus?: PeopleEmploymentStatus | null | undefined;
|
|
1857
1904
|
/** 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. */
|
|
1858
|
-
startDate?: string | null;
|
|
1905
|
+
startDate?: string | null | undefined;
|
|
1859
1906
|
/** End date in ISO 8601 format (YYYY-MM-DD), or null if currently employed. */
|
|
1860
|
-
endDate?: string | null;
|
|
1907
|
+
endDate?: string | null | undefined;
|
|
1861
1908
|
/** Groups (roles) the person belongs to. Present only when the column is in the response; use an empty array when there are no groups. */
|
|
1862
|
-
groups?: PersonnelPersonGroupsList;
|
|
1909
|
+
groups?: PersonnelPersonGroupsList | undefined;
|
|
1863
1910
|
/** Source of user data, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1864
|
-
source?: PeopleSourceInfo | null;
|
|
1911
|
+
source?: PeopleSourceInfo | null | undefined;
|
|
1865
1912
|
/** Overall task status information, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1866
|
-
taskStatus?: PeopleTaskStatusInfo | null;
|
|
1913
|
+
taskStatus?: PeopleTaskStatusInfo | null | undefined;
|
|
1867
1914
|
/** 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. */
|
|
1868
|
-
lastReminded?: string | null;
|
|
1915
|
+
lastReminded?: string | null | undefined;
|
|
1869
1916
|
/** Policy acceptance task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1870
|
-
policies?: PeopleSecurityTaskDetails | null;
|
|
1917
|
+
policies?: PeopleSecurityTaskDetails | null | undefined;
|
|
1871
1918
|
/** Security training task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1872
|
-
trainings?: PeopleSecurityTaskDetails | null;
|
|
1919
|
+
trainings?: PeopleSecurityTaskDetails | null | undefined;
|
|
1873
1920
|
/** Background check task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1874
|
-
backgroundChecks?: PeopleSecurityTaskDetails | null;
|
|
1921
|
+
backgroundChecks?: PeopleSecurityTaskDetails | null | undefined;
|
|
1875
1922
|
/** Device monitoring task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1876
|
-
deviceMonitoring?: PeopleSecurityTaskDetails | null;
|
|
1923
|
+
deviceMonitoring?: PeopleSecurityTaskDetails | null | undefined;
|
|
1877
1924
|
/** Custom onboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1878
|
-
customOnboarding?: PeopleSecurityTaskDetails | null;
|
|
1925
|
+
customOnboarding?: PeopleSecurityTaskDetails | null | undefined;
|
|
1879
1926
|
/** Custom offboarding task details, or null if not available. Full Audit View only - omitted in Controlled Audit View. */
|
|
1880
|
-
customOffboarding?: PeopleSecurityTaskDetails | null;
|
|
1927
|
+
customOffboarding?: PeopleSecurityTaskDetails | null | undefined;
|
|
1881
1928
|
}
|
|
1882
1929
|
export type PaginatedResponsePersonnelPersonResultsDataList = Array<PersonnelPerson>;
|
|
1883
1930
|
export interface PaginatedResponsePersonnelPersonResults {
|
|
@@ -1891,9 +1938,9 @@ export interface ListRiskSnapshotsRequest {
|
|
|
1891
1938
|
/** The audit ID */
|
|
1892
1939
|
auditId: string;
|
|
1893
1940
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1894
|
-
pageSize?: number;
|
|
1941
|
+
pageSize?: number | undefined;
|
|
1895
1942
|
/** Pagination cursor from previous response */
|
|
1896
|
-
pageCursor?: string;
|
|
1943
|
+
pageCursor?: string | undefined;
|
|
1897
1944
|
}
|
|
1898
1945
|
/** 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. */
|
|
1899
1946
|
export interface RiskSnapshot {
|
|
@@ -1926,20 +1973,22 @@ export interface ListVendorsRequest {
|
|
|
1926
1973
|
/** The audit ID */
|
|
1927
1974
|
auditId: string;
|
|
1928
1975
|
/** Maximum number of results per page (1-100, default 10) */
|
|
1929
|
-
pageSize?: number;
|
|
1976
|
+
pageSize?: number | undefined;
|
|
1930
1977
|
/** Pagination cursor from previous response */
|
|
1931
|
-
pageCursor?: string;
|
|
1978
|
+
pageCursor?: string | undefined;
|
|
1932
1979
|
/** Search term for filtering by vendor name */
|
|
1933
|
-
search?: string;
|
|
1980
|
+
search?: string | undefined;
|
|
1934
1981
|
/** Filter vendors by status values */
|
|
1935
|
-
vendorStatusesMatchesAny?: ListVendorsRequestVendorStatusesMatchesAnyList;
|
|
1982
|
+
vendorStatusesMatchesAny?: ListVendorsRequestVendorStatusesMatchesAnyList | undefined;
|
|
1936
1983
|
/** Filter vendors by inherent risk level values */
|
|
1937
|
-
inherentRiskMatchesAny?: ListVendorsRequestInherentRiskMatchesAnyList;
|
|
1984
|
+
inherentRiskMatchesAny?: ListVendorsRequestInherentRiskMatchesAnyList | undefined;
|
|
1938
1985
|
/** Field to sort results by. Allowed: "name", "inherentRisk". Default: "name" */
|
|
1939
|
-
orderBy?: VendorOrderBy | (string & {});
|
|
1986
|
+
orderBy?: VendorOrderBy | (string & {}) | undefined;
|
|
1940
1987
|
/** Sort direction: "asc" or "desc". Default: "asc" */
|
|
1941
|
-
orderDirection?: OrderDirection | (string & {});
|
|
1988
|
+
orderDirection?: OrderDirection | (string & {}) | undefined;
|
|
1942
1989
|
}
|
|
1990
|
+
/** IDs of the audit segments this vendor is in scope for. Omitted when segment scoping is disabled. */
|
|
1991
|
+
export type AuditVendorSegmentIdsList = Array<string>;
|
|
1943
1992
|
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1944
1993
|
export interface AuditVendorDataAgreements {
|
|
1945
1994
|
total: number;
|
|
@@ -1951,22 +2000,26 @@ export interface AuditVendor {
|
|
|
1951
2000
|
id: string;
|
|
1952
2001
|
/** Vendor name. */
|
|
1953
2002
|
name: string;
|
|
2003
|
+
/** IDs of the audit segments this vendor is in scope for. Omitted when segment scoping is disabled. */
|
|
2004
|
+
segmentIds?: AuditVendorSegmentIdsList | undefined;
|
|
1954
2005
|
/** Inherent risk level of the vendor. */
|
|
1955
|
-
inherentRisk?: AuditVendorRiskLevel;
|
|
2006
|
+
inherentRisk?: AuditVendorRiskLevel | undefined;
|
|
1956
2007
|
/** Vendor status. */
|
|
1957
|
-
status?: AuditVendorStatus;
|
|
2008
|
+
status?: AuditVendorStatus | undefined;
|
|
1958
2009
|
/** Number of findings associated with the vendor. */
|
|
1959
|
-
findings?: number;
|
|
2010
|
+
findings?: number | undefined;
|
|
1960
2011
|
/** Date when the last security review was completed, or null if none. */
|
|
1961
|
-
lastReviewedCompleted?: string | null;
|
|
2012
|
+
lastReviewedCompleted?: string | null | undefined;
|
|
1962
2013
|
/** Date when the next security review is due, or null if not scheduled. */
|
|
1963
|
-
nextSecurityReviewDueDate?: string | null;
|
|
2014
|
+
nextSecurityReviewDueDate?: string | null | undefined;
|
|
1964
2015
|
/** Vendor category (e.g. cloud provider, SaaS). */
|
|
1965
|
-
vendorCategory?: string | null;
|
|
2016
|
+
vendorCategory?: string | null | undefined;
|
|
2017
|
+
/** ID of the vendor's category. */
|
|
2018
|
+
vendorCategoryId?: string | null | undefined;
|
|
1966
2019
|
/** Residual risk level of the vendor. Full Audit View only - omitted in Controlled Audit View. */
|
|
1967
|
-
residualRisk?: AuditVendorRiskLevel | null;
|
|
2020
|
+
residualRisk?: AuditVendorRiskLevel | null | undefined;
|
|
1968
2021
|
/** BAA/DPA document completion counts, or null if no such documents are required. Full Audit View only - omitted in Controlled Audit View. */
|
|
1969
|
-
dataAgreements?: AuditVendorDataAgreements | null;
|
|
2022
|
+
dataAgreements?: AuditVendorDataAgreements | null | undefined;
|
|
1970
2023
|
}
|
|
1971
2024
|
export type PaginatedResponseAuditVendorResultsDataList = Array<AuditVendor>;
|
|
1972
2025
|
export interface PaginatedResponseAuditVendorResults {
|
|
@@ -1991,7 +2044,7 @@ export interface UpdateAuditEvidenceRequestStatusUpdate {
|
|
|
1991
2044
|
export interface UpdateAuditEvidenceRequest {
|
|
1992
2045
|
auditId: string;
|
|
1993
2046
|
auditEvidenceId: string;
|
|
1994
|
-
statusUpdate?: UpdateAuditEvidenceRequestStatusUpdate;
|
|
2047
|
+
statusUpdate?: UpdateAuditEvidenceRequestStatusUpdate | undefined;
|
|
1995
2048
|
}
|
|
1996
2049
|
export interface UpdateCommentForControlRequest {
|
|
1997
2050
|
auditId: string;
|
|
@@ -2021,29 +2074,29 @@ export interface UpdateInformationRequestRequest {
|
|
|
2021
2074
|
auditId: string;
|
|
2022
2075
|
requestId: string;
|
|
2023
2076
|
/** 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. */
|
|
2024
|
-
frameworkCodes?: UpdateInformationRequestRequestFrameworkCodesList;
|
|
2077
|
+
frameworkCodes?: UpdateInformationRequestRequestFrameworkCodesList | undefined;
|
|
2025
2078
|
/** Detailed description of what evidence is needed. */
|
|
2026
|
-
description?: string | null;
|
|
2079
|
+
description?: string | null | undefined;
|
|
2027
2080
|
/** Deadline for fulfilling this request. Null if no deadline. Format: ISO 8601 UTC timestamp. */
|
|
2028
|
-
dueDate?: string | null;
|
|
2081
|
+
dueDate?: string | null | undefined;
|
|
2029
2082
|
/** Start date of the audit period. Evidence before this date may not be accepted. Null if not restricted. Format: ISO 8601 UTC timestamp. */
|
|
2030
|
-
evidenceCaptureDate?: string | null;
|
|
2083
|
+
evidenceCaptureDate?: string | null | undefined;
|
|
2031
2084
|
/** Scope of evidence required. */
|
|
2032
|
-
requestType?: InformationRequestType | (string & {});
|
|
2085
|
+
requestType?: InformationRequestType | (string & {}) | undefined;
|
|
2033
2086
|
/** Short, descriptive title. */
|
|
2034
|
-
title?: string;
|
|
2087
|
+
title?: string | undefined;
|
|
2035
2088
|
/** How frequently this request recurs. */
|
|
2036
|
-
cadence?: InformationRequestCadence | (string & {});
|
|
2089
|
+
cadence?: InformationRequestCadence | (string & {}) | undefined;
|
|
2037
2090
|
/** This legacy field is accepted for backwards compatibility but ignored. Use `linkedControlIds` to replace the complete set of linked controls. */
|
|
2038
|
-
additionalControlIds?: UpdateInformationRequestRequestAdditionalControlIdsList;
|
|
2091
|
+
additionalControlIds?: UpdateInformationRequestRequestAdditionalControlIdsList | undefined;
|
|
2039
2092
|
/** 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. */
|
|
2040
|
-
linkedControlIds?: UpdateInformationRequestRequestLinkedControlIdsList;
|
|
2093
|
+
linkedControlIds?: UpdateInformationRequestRequestLinkedControlIdsList | undefined;
|
|
2041
2094
|
}
|
|
2042
2095
|
export interface UpsertAssessmentForControlRequest {
|
|
2043
2096
|
auditId: string;
|
|
2044
2097
|
controlId: string;
|
|
2045
2098
|
/** 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. */
|
|
2046
|
-
segmentId?: string;
|
|
2099
|
+
segmentId?: string | undefined;
|
|
2047
2100
|
/** The assessment state to record. Must be one of the states valid for the segment's framework; the request is rejected otherwise. */
|
|
2048
2101
|
assessmentState: AuditControlAssessmentState | (string & {});
|
|
2049
2102
|
/** Free-text reasoning for the assessment. Required, and at most 5000 characters. */
|
|
@@ -2075,6 +2128,8 @@ export const acceptInformationRequestEvidence: API.OperationMethod<
|
|
|
2075
2128
|
errors: [UnknownVantaError],
|
|
2076
2129
|
protocol: VantaProtocol,
|
|
2077
2130
|
retry: Retry.Retry,
|
|
2131
|
+
telemetry: TELEMETRY,
|
|
2132
|
+
span: "AcceptInformationRequestEvidence",
|
|
2078
2133
|
}));
|
|
2079
2134
|
|
|
2080
2135
|
export type CreateAuditorError = VantaOpError;
|
|
@@ -2090,6 +2145,8 @@ export const createAuditor: API.OperationMethod<
|
|
|
2090
2145
|
errors: [UnknownVantaError],
|
|
2091
2146
|
protocol: VantaProtocol,
|
|
2092
2147
|
retry: Retry.Retry,
|
|
2148
|
+
telemetry: TELEMETRY,
|
|
2149
|
+
span: "CreateAuditor",
|
|
2093
2150
|
}));
|
|
2094
2151
|
|
|
2095
2152
|
export type CreateCommentForAuditEvidenceError = VantaOpError;
|
|
@@ -2105,6 +2162,8 @@ export const createCommentForAuditEvidence: API.OperationMethod<
|
|
|
2105
2162
|
errors: [UnknownVantaError],
|
|
2106
2163
|
protocol: VantaProtocol,
|
|
2107
2164
|
retry: Retry.Retry,
|
|
2165
|
+
telemetry: TELEMETRY,
|
|
2166
|
+
span: "CreateCommentForAuditEvidence",
|
|
2108
2167
|
}));
|
|
2109
2168
|
|
|
2110
2169
|
export type CreateCommentForControlError = VantaOpError;
|
|
@@ -2120,6 +2179,8 @@ export const createCommentForControl: API.OperationMethod<
|
|
|
2120
2179
|
errors: [UnknownVantaError],
|
|
2121
2180
|
protocol: VantaProtocol,
|
|
2122
2181
|
retry: Retry.Retry,
|
|
2182
|
+
telemetry: TELEMETRY,
|
|
2183
|
+
span: "CreateCommentForControl",
|
|
2123
2184
|
}));
|
|
2124
2185
|
|
|
2125
2186
|
export type CreateCommentForInformationRequestError = VantaOpError;
|
|
@@ -2135,6 +2196,8 @@ export const createCommentForInformationRequest: API.OperationMethod<
|
|
|
2135
2196
|
errors: [UnknownVantaError],
|
|
2136
2197
|
protocol: VantaProtocol,
|
|
2137
2198
|
retry: Retry.Retry,
|
|
2199
|
+
telemetry: TELEMETRY,
|
|
2200
|
+
span: "CreateCommentForInformationRequest",
|
|
2138
2201
|
}));
|
|
2139
2202
|
|
|
2140
2203
|
export type CreateCustomControlError = VantaOpError;
|
|
@@ -2150,6 +2213,8 @@ export const createCustomControl: API.OperationMethod<
|
|
|
2150
2213
|
errors: [UnknownVantaError],
|
|
2151
2214
|
protocol: VantaProtocol,
|
|
2152
2215
|
retry: Retry.Retry,
|
|
2216
|
+
telemetry: TELEMETRY,
|
|
2217
|
+
span: "CreateCustomControl",
|
|
2153
2218
|
}));
|
|
2154
2219
|
|
|
2155
2220
|
export type CreateCustomEvidenceRequestError = VantaOpError;
|
|
@@ -2165,6 +2230,8 @@ export const createCustomEvidenceRequest: API.OperationMethod<
|
|
|
2165
2230
|
errors: [UnknownVantaError],
|
|
2166
2231
|
protocol: VantaProtocol,
|
|
2167
2232
|
retry: Retry.Retry,
|
|
2233
|
+
telemetry: TELEMETRY,
|
|
2234
|
+
span: "CreateCustomEvidenceRequest",
|
|
2168
2235
|
}));
|
|
2169
2236
|
|
|
2170
2237
|
export type CreateInformationRequestError = VantaOpError;
|
|
@@ -2180,6 +2247,8 @@ export const createInformationRequest: API.OperationMethod<
|
|
|
2180
2247
|
errors: [UnknownVantaError],
|
|
2181
2248
|
protocol: VantaProtocol,
|
|
2182
2249
|
retry: Retry.Retry,
|
|
2250
|
+
telemetry: TELEMETRY,
|
|
2251
|
+
span: "CreateInformationRequest",
|
|
2183
2252
|
}));
|
|
2184
2253
|
|
|
2185
2254
|
export type DeleteCommentForControlError = VantaOpError;
|
|
@@ -2195,6 +2264,8 @@ export const deleteCommentForControl: API.OperationMethod<
|
|
|
2195
2264
|
errors: [UnknownVantaError],
|
|
2196
2265
|
protocol: VantaProtocol,
|
|
2197
2266
|
retry: Retry.Retry,
|
|
2267
|
+
telemetry: TELEMETRY,
|
|
2268
|
+
span: "DeleteCommentForControl",
|
|
2198
2269
|
}));
|
|
2199
2270
|
|
|
2200
2271
|
export type DeleteCommentForInformationRequestError = VantaOpError;
|
|
@@ -2210,6 +2281,8 @@ export const deleteCommentForInformationRequest: API.OperationMethod<
|
|
|
2210
2281
|
errors: [UnknownVantaError],
|
|
2211
2282
|
protocol: VantaProtocol,
|
|
2212
2283
|
retry: Retry.Retry,
|
|
2284
|
+
telemetry: TELEMETRY,
|
|
2285
|
+
span: "DeleteCommentForInformationRequest",
|
|
2213
2286
|
}));
|
|
2214
2287
|
|
|
2215
2288
|
export type DeleteInformationRequestError = VantaOpError;
|
|
@@ -2225,6 +2298,8 @@ export const deleteInformationRequest: API.OperationMethod<
|
|
|
2225
2298
|
errors: [UnknownVantaError],
|
|
2226
2299
|
protocol: VantaProtocol,
|
|
2227
2300
|
retry: Retry.Retry,
|
|
2301
|
+
telemetry: TELEMETRY,
|
|
2302
|
+
span: "DeleteInformationRequest",
|
|
2228
2303
|
}));
|
|
2229
2304
|
|
|
2230
2305
|
export type DuplicateError = VantaOpError;
|
|
@@ -2240,6 +2315,8 @@ export const duplicate: API.OperationMethod<
|
|
|
2240
2315
|
errors: [UnknownVantaError],
|
|
2241
2316
|
protocol: VantaProtocol,
|
|
2242
2317
|
retry: Retry.Retry,
|
|
2318
|
+
telemetry: TELEMETRY,
|
|
2319
|
+
span: "Duplicate",
|
|
2243
2320
|
}));
|
|
2244
2321
|
|
|
2245
2322
|
export type FlagInformationRequestEvidenceError = VantaOpError;
|
|
@@ -2255,6 +2332,8 @@ export const flagInformationRequestEvidence: API.OperationMethod<
|
|
|
2255
2332
|
errors: [UnknownVantaError],
|
|
2256
2333
|
protocol: VantaProtocol,
|
|
2257
2334
|
retry: Retry.Retry,
|
|
2335
|
+
telemetry: TELEMETRY,
|
|
2336
|
+
span: "FlagInformationRequestEvidence",
|
|
2258
2337
|
}));
|
|
2259
2338
|
|
|
2260
2339
|
export type GetAuditError = VantaOpError;
|
|
@@ -2266,6 +2345,8 @@ export const getAudit: API.OperationMethod<GetAuditRequest, Audit, GetAuditError
|
|
|
2266
2345
|
errors: [UnknownVantaError],
|
|
2267
2346
|
protocol: VantaProtocol,
|
|
2268
2347
|
retry: Retry.Retry,
|
|
2348
|
+
telemetry: TELEMETRY,
|
|
2349
|
+
span: "GetAudit",
|
|
2269
2350
|
}));
|
|
2270
2351
|
|
|
2271
2352
|
export type GetAuditEvidenceError = VantaOpError;
|
|
@@ -2281,6 +2362,8 @@ export const getAuditEvidence: API.OperationMethod<
|
|
|
2281
2362
|
errors: [UnknownVantaError],
|
|
2282
2363
|
protocol: VantaProtocol,
|
|
2283
2364
|
retry: Retry.Retry,
|
|
2365
|
+
telemetry: TELEMETRY,
|
|
2366
|
+
span: "GetAuditEvidence",
|
|
2284
2367
|
}));
|
|
2285
2368
|
|
|
2286
2369
|
export type GetAuditEvidenceCommentError = VantaOpError;
|
|
@@ -2296,6 +2379,8 @@ export const getAuditEvidenceComment: API.OperationMethod<
|
|
|
2296
2379
|
errors: [UnknownVantaError],
|
|
2297
2380
|
protocol: VantaProtocol,
|
|
2298
2381
|
retry: Retry.Retry,
|
|
2382
|
+
telemetry: TELEMETRY,
|
|
2383
|
+
span: "GetAuditEvidenceComment",
|
|
2299
2384
|
}));
|
|
2300
2385
|
|
|
2301
2386
|
export type GetCommentForInformationRequestError = VantaOpError;
|
|
@@ -2311,6 +2396,8 @@ export const getCommentForInformationRequest: API.OperationMethod<
|
|
|
2311
2396
|
errors: [UnknownVantaError],
|
|
2312
2397
|
protocol: VantaProtocol,
|
|
2313
2398
|
retry: Retry.Retry,
|
|
2399
|
+
telemetry: TELEMETRY,
|
|
2400
|
+
span: "GetCommentForInformationRequest",
|
|
2314
2401
|
}));
|
|
2315
2402
|
|
|
2316
2403
|
export type GetFrameworkCodesError = VantaOpError;
|
|
@@ -2326,6 +2413,8 @@ export const getFrameworkCodes: API.OperationMethod<
|
|
|
2326
2413
|
errors: [UnknownVantaError],
|
|
2327
2414
|
protocol: VantaProtocol,
|
|
2328
2415
|
retry: Retry.Retry,
|
|
2416
|
+
telemetry: TELEMETRY,
|
|
2417
|
+
span: "GetFrameworkCodes",
|
|
2329
2418
|
}));
|
|
2330
2419
|
|
|
2331
2420
|
export type GetInformationRequestError = VantaOpError;
|
|
@@ -2341,6 +2430,8 @@ export const getInformationRequest: API.OperationMethod<
|
|
|
2341
2430
|
errors: [UnknownVantaError],
|
|
2342
2431
|
protocol: VantaProtocol,
|
|
2343
2432
|
retry: Retry.Retry,
|
|
2433
|
+
telemetry: TELEMETRY,
|
|
2434
|
+
span: "GetInformationRequest",
|
|
2344
2435
|
}));
|
|
2345
2436
|
|
|
2346
2437
|
export type GetInformationRequestEvidenceError = VantaOpError;
|
|
@@ -2356,6 +2447,8 @@ export const getInformationRequestEvidence: API.OperationMethod<
|
|
|
2356
2447
|
errors: [UnknownVantaError],
|
|
2357
2448
|
protocol: VantaProtocol,
|
|
2358
2449
|
retry: Retry.Retry,
|
|
2450
|
+
telemetry: TELEMETRY,
|
|
2451
|
+
span: "GetInformationRequestEvidence",
|
|
2359
2452
|
}));
|
|
2360
2453
|
|
|
2361
2454
|
export type GetInformationRequestTestSnapshotEvidenceDetailError = VantaOpError;
|
|
@@ -2375,10 +2468,12 @@ export const getInformationRequestTestSnapshotEvidenceDetail: API.OperationMetho
|
|
|
2375
2468
|
errors: [UnknownVantaError],
|
|
2376
2469
|
protocol: VantaProtocol,
|
|
2377
2470
|
retry: Retry.Retry,
|
|
2471
|
+
telemetry: TELEMETRY,
|
|
2472
|
+
span: "GetInformationRequestTestSnapshotEvidenceDetail",
|
|
2378
2473
|
}));
|
|
2379
2474
|
|
|
2380
2475
|
export type GetOrganizationInformationError = VantaOpError;
|
|
2381
|
-
/** 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. */
|
|
2476
|
+
/** 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. */
|
|
2382
2477
|
export const getOrganizationInformation: API.OperationMethod<
|
|
2383
2478
|
GetOrganizationInformationRequest,
|
|
2384
2479
|
AuditOrganizationInformation,
|
|
@@ -2390,10 +2485,12 @@ export const getOrganizationInformation: API.OperationMethod<
|
|
|
2390
2485
|
errors: [UnknownVantaError],
|
|
2391
2486
|
protocol: VantaProtocol,
|
|
2392
2487
|
retry: Retry.Retry,
|
|
2488
|
+
telemetry: TELEMETRY,
|
|
2489
|
+
span: "GetOrganizationInformation",
|
|
2393
2490
|
}));
|
|
2394
2491
|
|
|
2395
2492
|
export type GetOrganizationNotificationsError = VantaOpError;
|
|
2396
|
-
/** 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.
|
|
2493
|
+
/** 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. */
|
|
2397
2494
|
export const getOrganizationNotifications: API.OperationMethod<
|
|
2398
2495
|
GetOrganizationNotificationsRequest,
|
|
2399
2496
|
AuditOrganizationNotifications,
|
|
@@ -2405,10 +2502,12 @@ export const getOrganizationNotifications: API.OperationMethod<
|
|
|
2405
2502
|
errors: [UnknownVantaError],
|
|
2406
2503
|
protocol: VantaProtocol,
|
|
2407
2504
|
retry: Retry.Retry,
|
|
2505
|
+
telemetry: TELEMETRY,
|
|
2506
|
+
span: "GetOrganizationNotifications",
|
|
2408
2507
|
}));
|
|
2409
2508
|
|
|
2410
2509
|
export type ListAccountAccessServicesError = VantaOpError;
|
|
2411
|
-
/** 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.
|
|
2510
|
+
/** 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. */
|
|
2412
2511
|
export const listAccountAccessServices: API.OperationMethod<
|
|
2413
2512
|
ListAccountAccessServicesRequest,
|
|
2414
2513
|
PaginatedResponseAccountAccessService,
|
|
@@ -2420,6 +2519,8 @@ export const listAccountAccessServices: API.OperationMethod<
|
|
|
2420
2519
|
errors: [UnknownVantaError],
|
|
2421
2520
|
protocol: VantaProtocol,
|
|
2422
2521
|
retry: Retry.Retry,
|
|
2522
|
+
telemetry: TELEMETRY,
|
|
2523
|
+
span: "ListAccountAccessServices",
|
|
2423
2524
|
}));
|
|
2424
2525
|
|
|
2425
2526
|
export type ListAuditCommentsError = VantaOpError;
|
|
@@ -2435,6 +2536,8 @@ export const listAuditComments: API.OperationMethod<
|
|
|
2435
2536
|
errors: [UnknownVantaError],
|
|
2436
2537
|
protocol: VantaProtocol,
|
|
2437
2538
|
retry: Retry.Retry,
|
|
2539
|
+
telemetry: TELEMETRY,
|
|
2540
|
+
span: "ListAuditComments",
|
|
2438
2541
|
}));
|
|
2439
2542
|
|
|
2440
2543
|
export type ListAuditControlsError = VantaOpError;
|
|
@@ -2450,6 +2553,8 @@ export const listAuditControls: API.OperationMethod<
|
|
|
2450
2553
|
errors: [UnknownVantaError],
|
|
2451
2554
|
protocol: VantaProtocol,
|
|
2452
2555
|
retry: Retry.Retry,
|
|
2556
|
+
telemetry: TELEMETRY,
|
|
2557
|
+
span: "ListAuditControls",
|
|
2453
2558
|
}));
|
|
2454
2559
|
|
|
2455
2560
|
export type ListAuditEvidenceError = VantaOpError;
|
|
@@ -2465,6 +2570,8 @@ export const listAuditEvidence: API.OperationMethod<
|
|
|
2465
2570
|
errors: [UnknownVantaError],
|
|
2466
2571
|
protocol: VantaProtocol,
|
|
2467
2572
|
retry: Retry.Retry,
|
|
2573
|
+
telemetry: TELEMETRY,
|
|
2574
|
+
span: "ListAuditEvidence",
|
|
2468
2575
|
}));
|
|
2469
2576
|
|
|
2470
2577
|
export type ListAuditEvidenceUrlsError = VantaOpError;
|
|
@@ -2480,6 +2587,8 @@ export const listAuditEvidenceUrls: API.OperationMethod<
|
|
|
2480
2587
|
errors: [UnknownVantaError],
|
|
2481
2588
|
protocol: VantaProtocol,
|
|
2482
2589
|
retry: Retry.Retry,
|
|
2590
|
+
telemetry: TELEMETRY,
|
|
2591
|
+
span: "ListAuditEvidenceUrls",
|
|
2483
2592
|
}));
|
|
2484
2593
|
|
|
2485
2594
|
export type ListAuditIssuesError = VantaOpError;
|
|
@@ -2495,10 +2604,12 @@ export const listAuditIssues: API.OperationMethod<
|
|
|
2495
2604
|
errors: [UnknownVantaError],
|
|
2496
2605
|
protocol: VantaProtocol,
|
|
2497
2606
|
retry: Retry.Retry,
|
|
2607
|
+
telemetry: TELEMETRY,
|
|
2608
|
+
span: "ListAuditIssues",
|
|
2498
2609
|
}));
|
|
2499
2610
|
|
|
2500
2611
|
export type ListAuditRisksError = VantaOpError;
|
|
2501
|
-
/** 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.
|
|
2612
|
+
/** 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. */
|
|
2502
2613
|
export const listAuditRisks: API.OperationMethod<
|
|
2503
2614
|
ListAuditRisksRequest,
|
|
2504
2615
|
PaginatedResponseAuditRisk,
|
|
@@ -2510,6 +2621,8 @@ export const listAuditRisks: API.OperationMethod<
|
|
|
2510
2621
|
errors: [UnknownVantaError],
|
|
2511
2622
|
protocol: VantaProtocol,
|
|
2512
2623
|
retry: Retry.Retry,
|
|
2624
|
+
telemetry: TELEMETRY,
|
|
2625
|
+
span: "ListAuditRisks",
|
|
2513
2626
|
}));
|
|
2514
2627
|
|
|
2515
2628
|
export type ListAuditsError = VantaOpError;
|
|
@@ -2525,6 +2638,8 @@ export const listAudits: API.OperationMethod<
|
|
|
2525
2638
|
errors: [UnknownVantaError],
|
|
2526
2639
|
protocol: VantaProtocol,
|
|
2527
2640
|
retry: Retry.Retry,
|
|
2641
|
+
telemetry: TELEMETRY,
|
|
2642
|
+
span: "ListAudits",
|
|
2528
2643
|
}));
|
|
2529
2644
|
|
|
2530
2645
|
export type ListAuditSnapshotsError = VantaOpError;
|
|
@@ -2540,10 +2655,12 @@ export const listAuditSnapshots: API.OperationMethod<
|
|
|
2540
2655
|
errors: [UnknownVantaError],
|
|
2541
2656
|
protocol: VantaProtocol,
|
|
2542
2657
|
retry: Retry.Retry,
|
|
2658
|
+
telemetry: TELEMETRY,
|
|
2659
|
+
span: "ListAuditSnapshots",
|
|
2543
2660
|
}));
|
|
2544
2661
|
|
|
2545
2662
|
export type ListCodeChangesError = VantaOpError;
|
|
2546
|
-
/** 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.
|
|
2663
|
+
/** 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. */
|
|
2547
2664
|
export const listCodeChanges: API.OperationMethod<
|
|
2548
2665
|
ListCodeChangesRequest,
|
|
2549
2666
|
PaginatedResponseCodeChange,
|
|
@@ -2555,6 +2672,8 @@ export const listCodeChanges: API.OperationMethod<
|
|
|
2555
2672
|
errors: [UnknownVantaError],
|
|
2556
2673
|
protocol: VantaProtocol,
|
|
2557
2674
|
retry: Retry.Retry,
|
|
2675
|
+
telemetry: TELEMETRY,
|
|
2676
|
+
span: "ListCodeChanges",
|
|
2558
2677
|
}));
|
|
2559
2678
|
|
|
2560
2679
|
export type ListCommentsForControlError = VantaOpError;
|
|
@@ -2570,6 +2689,8 @@ export const listCommentsForControl: API.OperationMethod<
|
|
|
2570
2689
|
errors: [UnknownVantaError],
|
|
2571
2690
|
protocol: VantaProtocol,
|
|
2572
2691
|
retry: Retry.Retry,
|
|
2692
|
+
telemetry: TELEMETRY,
|
|
2693
|
+
span: "ListCommentsForControl",
|
|
2573
2694
|
}));
|
|
2574
2695
|
|
|
2575
2696
|
export type ListCommentsForInformationRequestError = VantaOpError;
|
|
@@ -2585,6 +2706,8 @@ export const listCommentsForInformationRequest: API.OperationMethod<
|
|
|
2585
2706
|
errors: [UnknownVantaError],
|
|
2586
2707
|
protocol: VantaProtocol,
|
|
2587
2708
|
retry: Retry.Retry,
|
|
2709
|
+
telemetry: TELEMETRY,
|
|
2710
|
+
span: "ListCommentsForInformationRequest",
|
|
2588
2711
|
}));
|
|
2589
2712
|
|
|
2590
2713
|
export type ListInformationRequestActivityError = VantaOpError;
|
|
@@ -2600,10 +2723,12 @@ export const listInformationRequestActivity: API.OperationMethod<
|
|
|
2600
2723
|
errors: [UnknownVantaError],
|
|
2601
2724
|
protocol: VantaProtocol,
|
|
2602
2725
|
retry: Retry.Retry,
|
|
2726
|
+
telemetry: TELEMETRY,
|
|
2727
|
+
span: "ListInformationRequestActivity",
|
|
2603
2728
|
}));
|
|
2604
2729
|
|
|
2605
2730
|
export type ListInformationRequestEvidenceError = VantaOpError;
|
|
2606
|
-
/** 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. */
|
|
2731
|
+
/** 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. */
|
|
2607
2732
|
export const listInformationRequestEvidence: API.OperationMethod<
|
|
2608
2733
|
ListInformationRequestEvidenceRequest,
|
|
2609
2734
|
PaginatedResponseInformationRequestEvidence,
|
|
@@ -2615,6 +2740,8 @@ export const listInformationRequestEvidence: API.OperationMethod<
|
|
|
2615
2740
|
errors: [UnknownVantaError],
|
|
2616
2741
|
protocol: VantaProtocol,
|
|
2617
2742
|
retry: Retry.Retry,
|
|
2743
|
+
telemetry: TELEMETRY,
|
|
2744
|
+
span: "ListInformationRequestEvidence",
|
|
2618
2745
|
}));
|
|
2619
2746
|
|
|
2620
2747
|
export type ListInformationRequestsError = VantaOpError;
|
|
@@ -2630,6 +2757,8 @@ export const listInformationRequests: API.OperationMethod<
|
|
|
2630
2757
|
errors: [UnknownVantaError],
|
|
2631
2758
|
protocol: VantaProtocol,
|
|
2632
2759
|
retry: Retry.Retry,
|
|
2760
|
+
telemetry: TELEMETRY,
|
|
2761
|
+
span: "ListInformationRequests",
|
|
2633
2762
|
}));
|
|
2634
2763
|
|
|
2635
2764
|
export type ListInformationRequestsForControlError = VantaOpError;
|
|
@@ -2645,10 +2774,12 @@ export const listInformationRequestsForControl: API.OperationMethod<
|
|
|
2645
2774
|
errors: [UnknownVantaError],
|
|
2646
2775
|
protocol: VantaProtocol,
|
|
2647
2776
|
retry: Retry.Retry,
|
|
2777
|
+
telemetry: TELEMETRY,
|
|
2778
|
+
span: "ListInformationRequestsForControl",
|
|
2648
2779
|
}));
|
|
2649
2780
|
|
|
2650
2781
|
export type ListIntegrationsError = VantaOpError;
|
|
2651
|
-
/** 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. */
|
|
2782
|
+
/** 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. */
|
|
2652
2783
|
export const listIntegrations: API.OperationMethod<
|
|
2653
2784
|
ListIntegrationsRequest,
|
|
2654
2785
|
PaginatedResponseAuditIntegration,
|
|
@@ -2660,10 +2791,12 @@ export const listIntegrations: API.OperationMethod<
|
|
|
2660
2791
|
errors: [UnknownVantaError],
|
|
2661
2792
|
protocol: VantaProtocol,
|
|
2662
2793
|
retry: Retry.Retry,
|
|
2794
|
+
telemetry: TELEMETRY,
|
|
2795
|
+
span: "ListIntegrations",
|
|
2663
2796
|
}));
|
|
2664
2797
|
|
|
2665
2798
|
export type ListPersonnelAccountAccessError = VantaOpError;
|
|
2666
|
-
/** 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
|
|
2799
|
+
/** 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. */
|
|
2667
2800
|
export const listPersonnelAccountAccess: API.OperationMethod<
|
|
2668
2801
|
ListPersonnelAccountAccessRequest,
|
|
2669
2802
|
PaginatedResponseAccountAccess,
|
|
@@ -2675,10 +2808,12 @@ export const listPersonnelAccountAccess: API.OperationMethod<
|
|
|
2675
2808
|
errors: [UnknownVantaError],
|
|
2676
2809
|
protocol: VantaProtocol,
|
|
2677
2810
|
retry: Retry.Retry,
|
|
2811
|
+
telemetry: TELEMETRY,
|
|
2812
|
+
span: "ListPersonnelAccountAccess",
|
|
2678
2813
|
}));
|
|
2679
2814
|
|
|
2680
2815
|
export type ListPersonnelGroupsError = VantaOpError;
|
|
2681
|
-
/** 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.
|
|
2816
|
+
/** 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. */
|
|
2682
2817
|
export const listPersonnelGroups: API.OperationMethod<
|
|
2683
2818
|
ListPersonnelGroupsRequest,
|
|
2684
2819
|
PaginatedResponsePersonnelGroup,
|
|
@@ -2690,10 +2825,12 @@ export const listPersonnelGroups: API.OperationMethod<
|
|
|
2690
2825
|
errors: [UnknownVantaError],
|
|
2691
2826
|
protocol: VantaProtocol,
|
|
2692
2827
|
retry: Retry.Retry,
|
|
2828
|
+
telemetry: TELEMETRY,
|
|
2829
|
+
span: "ListPersonnelGroups",
|
|
2693
2830
|
}));
|
|
2694
2831
|
|
|
2695
2832
|
export type ListPersonnelPeopleError = VantaOpError;
|
|
2696
|
-
/** 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.
|
|
2833
|
+
/** 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. */
|
|
2697
2834
|
export const listPersonnelPeople: API.OperationMethod<
|
|
2698
2835
|
ListPersonnelPeopleRequest,
|
|
2699
2836
|
PaginatedResponsePersonnelPerson,
|
|
@@ -2705,10 +2842,12 @@ export const listPersonnelPeople: API.OperationMethod<
|
|
|
2705
2842
|
errors: [UnknownVantaError],
|
|
2706
2843
|
protocol: VantaProtocol,
|
|
2707
2844
|
retry: Retry.Retry,
|
|
2845
|
+
telemetry: TELEMETRY,
|
|
2846
|
+
span: "ListPersonnelPeople",
|
|
2708
2847
|
}));
|
|
2709
2848
|
|
|
2710
2849
|
export type ListRiskSnapshotsError = VantaOpError;
|
|
2711
|
-
/** 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. */
|
|
2850
|
+
/** 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. */
|
|
2712
2851
|
export const listRiskSnapshots: API.OperationMethod<
|
|
2713
2852
|
ListRiskSnapshotsRequest,
|
|
2714
2853
|
PaginatedResponseRiskSnapshot,
|
|
@@ -2720,6 +2859,8 @@ export const listRiskSnapshots: API.OperationMethod<
|
|
|
2720
2859
|
errors: [UnknownVantaError],
|
|
2721
2860
|
protocol: VantaProtocol,
|
|
2722
2861
|
retry: Retry.Retry,
|
|
2862
|
+
telemetry: TELEMETRY,
|
|
2863
|
+
span: "ListRiskSnapshots",
|
|
2723
2864
|
}));
|
|
2724
2865
|
|
|
2725
2866
|
export type ListShareInformationRequestError = VantaOpError;
|
|
@@ -2735,10 +2876,12 @@ export const listShareInformationRequest: API.OperationMethod<
|
|
|
2735
2876
|
errors: [UnknownVantaError],
|
|
2736
2877
|
protocol: VantaProtocol,
|
|
2737
2878
|
retry: Retry.Retry,
|
|
2879
|
+
telemetry: TELEMETRY,
|
|
2880
|
+
span: "ListShareInformationRequest",
|
|
2738
2881
|
}));
|
|
2739
2882
|
|
|
2740
2883
|
export type ListVendorsError = VantaOpError;
|
|
2741
|
-
/** 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. */
|
|
2884
|
+
/** 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. */
|
|
2742
2885
|
export const listVendors: API.OperationMethod<
|
|
2743
2886
|
ListVendorsRequest,
|
|
2744
2887
|
PaginatedResponseAuditVendor,
|
|
@@ -2750,6 +2893,8 @@ export const listVendors: API.OperationMethod<
|
|
|
2750
2893
|
errors: [UnknownVantaError],
|
|
2751
2894
|
protocol: VantaProtocol,
|
|
2752
2895
|
retry: Retry.Retry,
|
|
2896
|
+
telemetry: TELEMETRY,
|
|
2897
|
+
span: "ListVendors",
|
|
2753
2898
|
}));
|
|
2754
2899
|
|
|
2755
2900
|
export type UpdateAuditEvidenceError = VantaOpError;
|
|
@@ -2765,6 +2910,8 @@ export const updateAuditEvidence: API.OperationMethod<
|
|
|
2765
2910
|
errors: [UnknownVantaError],
|
|
2766
2911
|
protocol: VantaProtocol,
|
|
2767
2912
|
retry: Retry.Retry,
|
|
2913
|
+
telemetry: TELEMETRY,
|
|
2914
|
+
span: "UpdateAuditEvidence",
|
|
2768
2915
|
}));
|
|
2769
2916
|
|
|
2770
2917
|
export type UpdateCommentForControlError = VantaOpError;
|
|
@@ -2780,6 +2927,8 @@ export const updateCommentForControl: API.OperationMethod<
|
|
|
2780
2927
|
errors: [UnknownVantaError],
|
|
2781
2928
|
protocol: VantaProtocol,
|
|
2782
2929
|
retry: Retry.Retry,
|
|
2930
|
+
telemetry: TELEMETRY,
|
|
2931
|
+
span: "UpdateCommentForControl",
|
|
2783
2932
|
}));
|
|
2784
2933
|
|
|
2785
2934
|
export type UpdateCommentForInformationRequestError = VantaOpError;
|
|
@@ -2795,6 +2944,8 @@ export const updateCommentForInformationRequest: API.OperationMethod<
|
|
|
2795
2944
|
errors: [UnknownVantaError],
|
|
2796
2945
|
protocol: VantaProtocol,
|
|
2797
2946
|
retry: Retry.Retry,
|
|
2947
|
+
telemetry: TELEMETRY,
|
|
2948
|
+
span: "UpdateCommentForInformationRequest",
|
|
2798
2949
|
}));
|
|
2799
2950
|
|
|
2800
2951
|
export type UpdateInformationRequestError = VantaOpError;
|
|
@@ -2810,6 +2961,8 @@ export const updateInformationRequest: API.OperationMethod<
|
|
|
2810
2961
|
errors: [UnknownVantaError],
|
|
2811
2962
|
protocol: VantaProtocol,
|
|
2812
2963
|
retry: Retry.Retry,
|
|
2964
|
+
telemetry: TELEMETRY,
|
|
2965
|
+
span: "UpdateInformationRequest",
|
|
2813
2966
|
}));
|
|
2814
2967
|
|
|
2815
2968
|
export type UpsertAssessmentForControlError = VantaOpError;
|
|
@@ -2825,6 +2978,8 @@ export const upsertAssessmentForControl: API.OperationMethod<
|
|
|
2825
2978
|
errors: [UnknownVantaError],
|
|
2826
2979
|
protocol: VantaProtocol,
|
|
2827
2980
|
retry: Retry.Retry,
|
|
2981
|
+
telemetry: TELEMETRY,
|
|
2982
|
+
span: "UpsertAssessmentForControl",
|
|
2828
2983
|
}));
|
|
2829
2984
|
|
|
2830
2985
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -3000,6 +3155,7 @@ function __c7(j: number): any {
|
|
|
3000
3155
|
modificationDate: S.NullOr(S.String),
|
|
3001
3156
|
completionDate: S.NullOr(S.String),
|
|
3002
3157
|
auditFocus: S.String,
|
|
3158
|
+
auditView: S.String,
|
|
3003
3159
|
irlGenerationStatus: S.NullOr(S.String),
|
|
3004
3160
|
auditorRequestListMetadata: S.optional(__S(224, __c7, 0)),
|
|
3005
3161
|
segments: __S(229, __c7, 5),
|
|
@@ -3187,6 +3343,7 @@ function __c17(j: number): any {
|
|
|
3187
3343
|
creationDate: S.String,
|
|
3188
3344
|
modificationDate: S.String,
|
|
3189
3345
|
deletionDate: S.optional(S.NullOr(S.String)),
|
|
3346
|
+
capturedSegmentIds: __S(32, __c1, 0),
|
|
3190
3347
|
evidence: S.Unknown,
|
|
3191
3348
|
}),
|
|
3192
3349
|
).annotate({ identifier: "InformationRequestEvidence" });
|
|
@@ -3501,6 +3658,7 @@ function __c26(j: number): any {
|
|
|
3501
3658
|
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
3502
3659
|
pageCursor: S.optional(S.String.pipe(T.Query())),
|
|
3503
3660
|
externalIdMatchesAny: S.optional(__S(32, __c1, 0).pipe(T.Query())),
|
|
3661
|
+
segmentIdsMatchesAny: S.optional(__S(32, __c1, 0).pipe(T.Query())),
|
|
3504
3662
|
}).pipe(T.Http({ method: "GET", uri: "/audits/{auditId}/controls", code: 200 })),
|
|
3505
3663
|
).annotate({ identifier: "ListAuditControlsRequest" });
|
|
3506
3664
|
case 1:
|
|
@@ -3876,6 +4034,7 @@ function __c35(j: number): any {
|
|
|
3876
4034
|
S.Struct({
|
|
3877
4035
|
id: S.String,
|
|
3878
4036
|
codeChange: S.String,
|
|
4037
|
+
segmentIds: S.optional(__S(32, __c1, 0)),
|
|
3879
4038
|
identifier: S.optional(S.String),
|
|
3880
4039
|
service: S.optional(S.String),
|
|
3881
4040
|
repository: S.optional(S.String),
|
|
@@ -4117,6 +4276,7 @@ function __c44(j: number): any {
|
|
|
4117
4276
|
S.Struct({
|
|
4118
4277
|
id: S.String,
|
|
4119
4278
|
name: S.String,
|
|
4279
|
+
segmentIds: S.optional(__S(32, __c1, 0)),
|
|
4120
4280
|
tags: S.optional(__S(32, __c1, 0)),
|
|
4121
4281
|
categories: S.optional(__S(32, __c1, 0)),
|
|
4122
4282
|
}),
|
|
@@ -4182,6 +4342,7 @@ function __c46(j: number): any {
|
|
|
4182
4342
|
S.Struct({
|
|
4183
4343
|
id: S.String,
|
|
4184
4344
|
accountName: S.String,
|
|
4345
|
+
segmentIds: S.optional(__S(32, __c1, 0)),
|
|
4185
4346
|
owner: S.optional(S.NullOr(S.String)),
|
|
4186
4347
|
role: S.optional(__S(32, __c1, 0)),
|
|
4187
4348
|
status: S.optional(S.String),
|
|
@@ -4226,6 +4387,7 @@ function __c47(j: number): any {
|
|
|
4226
4387
|
S.Struct({
|
|
4227
4388
|
id: S.String,
|
|
4228
4389
|
name: S.String,
|
|
4390
|
+
segmentIds: S.optional(__S(32, __c1, 0)),
|
|
4229
4391
|
members: S.optional(S.Number),
|
|
4230
4392
|
source: S.optional(S.String),
|
|
4231
4393
|
tasks: S.optional(__S(1537, __c48, 1)),
|
|
@@ -4309,6 +4471,7 @@ function __c49(j: number): any {
|
|
|
4309
4471
|
id: S.String,
|
|
4310
4472
|
name: S.String,
|
|
4311
4473
|
email: S.String,
|
|
4474
|
+
segmentIds: S.optional(__S(32, __c1, 0)),
|
|
4312
4475
|
jobTitle: S.optional(S.NullOr(S.String)),
|
|
4313
4476
|
employmentStatus: S.optional(S.NullOr(S.String)),
|
|
4314
4477
|
startDate: S.optional(S.NullOr(S.String)),
|
|
@@ -4419,12 +4582,14 @@ function __c52(j: number): any {
|
|
|
4419
4582
|
S.Struct({
|
|
4420
4583
|
id: S.String,
|
|
4421
4584
|
name: S.String,
|
|
4585
|
+
segmentIds: S.optional(__S(32, __c1, 0)),
|
|
4422
4586
|
inherentRisk: S.optional(S.String),
|
|
4423
4587
|
status: S.optional(S.String),
|
|
4424
4588
|
findings: S.optional(S.Number),
|
|
4425
4589
|
lastReviewedCompleted: S.optional(S.NullOr(S.String)),
|
|
4426
4590
|
nextSecurityReviewDueDate: S.optional(S.NullOr(S.String)),
|
|
4427
4591
|
vendorCategory: S.optional(S.NullOr(S.String)),
|
|
4592
|
+
vendorCategoryId: S.optional(S.NullOr(S.String)),
|
|
4428
4593
|
residualRisk: S.optional(S.NullOr(S.String)),
|
|
4429
4594
|
dataAgreements: S.optional(S.NullOr(__S(1665, __c52, 1))),
|
|
4430
4595
|
}),
|