@distilled.cloud/vanta 1.0.0-rc.19 → 1.0.0-rc.21

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.
Files changed (48) hide show
  1. package/README.md +2 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +9 -4
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/errors.d.ts +12 -8
  8. package/lib/errors.d.ts.map +1 -1
  9. package/lib/errors.js +1 -1
  10. package/lib/index.d.ts +2 -3
  11. package/lib/index.d.ts.map +1 -1
  12. package/lib/index.js +0 -1
  13. package/lib/pagination.d.ts.map +1 -1
  14. package/lib/protocol.d.ts +9 -12
  15. package/lib/protocol.d.ts.map +1 -1
  16. package/lib/retry.d.ts.map +1 -1
  17. package/lib/services/auditor_api.d.ts +189 -6
  18. package/lib/services/auditor_api.d.ts.map +1 -1
  19. package/lib/services/auditor_api.js +81 -70
  20. package/lib/services/auditor_api.js.map +1 -1
  21. package/lib/services/build_integrations.d.ts.map +1 -1
  22. package/lib/services/build_integrations.js +44 -44
  23. package/lib/services/build_integrations.js.map +1 -1
  24. package/lib/services/index.d.ts.map +1 -1
  25. package/lib/services/manage_vanta.d.ts +635 -13
  26. package/lib/services/manage_vanta.d.ts.map +1 -1
  27. package/lib/services/manage_vanta.js +422 -401
  28. package/lib/services/manage_vanta.js.map +1 -1
  29. package/lib/services/webhooks.d.ts +39 -0
  30. package/lib/services/webhooks.d.ts.map +1 -1
  31. package/lib/services/webhooks.js +38 -34
  32. package/lib/services/webhooks.js.map +1 -1
  33. package/lib/services.lazy/auditor_api.js +3 -2
  34. package/lib/services.lazy/build_integrations.js +1 -1
  35. package/lib/services.lazy/manage_vanta.js +3 -3
  36. package/lib/services.lazy/webhooks.js +2 -2
  37. package/lib/traits.d.ts.map +1 -1
  38. package/package.json +5 -6
  39. package/src/credentials.ts +26 -20
  40. package/src/errors.ts +13 -5
  41. package/src/index.ts +2 -3
  42. package/src/protocol.ts +14 -29
  43. package/src/services/auditor_api.ts +1134 -625
  44. package/src/services/build_integrations.ts +51 -26
  45. package/src/services/manage_vanta.ts +4895 -3135
  46. package/src/services/webhooks.ts +331 -171
  47. package/lib/index.lazy.js +0 -7
  48. package/lib/index.lazy.js.map +0 -1
@@ -3,25 +3,44 @@ import * as S from "@distilled.cloud/core/schema-lite";
3
3
  import type * as Redacted from "effect/Redacted";
4
4
  import { type VantaOpError, type VantaOpContext } from "../protocol.ts";
5
5
  export type { VantaOpError, VantaOpContext };
6
+ declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
7
+ readonly code: any;
8
+ readonly message: any;
9
+ readonly body: any;
10
+ readonly headers: any;
11
+ }> & (new (...args: any[]) => {
12
+ "@distilled.cloud/error/categories": {
13
+ AuthError: true;
14
+ };
15
+ });
16
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
17
+ readonly body?: OutboundError | string;
18
+ }
6
19
  declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
7
20
  readonly code: any;
8
21
  readonly message: any;
22
+ readonly body: any;
23
+ readonly headers: any;
9
24
  }> & (new (...args: any[]) => {
10
25
  "@distilled.cloud/error/categories": {
11
26
  BadRequestError: true;
12
27
  };
13
28
  });
14
29
  export declare class NotFound extends /*@__PURE__*/ NotFound_base {
30
+ readonly body?: OutboundError | string;
15
31
  }
16
32
  declare const UnprocessableEntity_base: S.TaggedErrorClass<"UnprocessableEntity", {
17
33
  readonly code: any;
18
34
  readonly message: any;
35
+ readonly body: any;
36
+ readonly headers: any;
19
37
  }> & (new (...args: any[]) => {
20
38
  "@distilled.cloud/error/categories": {
21
39
  BadRequestError: true;
22
40
  };
23
41
  });
24
42
  export declare class UnprocessableEntity extends /*@__PURE__*/ UnprocessableEntity_base {
43
+ readonly body?: OutboundError | string;
25
44
  }
26
45
  export interface AcknowledgeSlaMissVulnerabilityRemediationsRequestUpdatesItem {
27
46
  /** SLA miss acknowledgement comment. This comment should describe why the SLA was missed. */
@@ -808,7 +827,7 @@ export interface ApproveQuestionnaireRequest {
808
827
  statusChangeMessage?: string | undefined;
809
828
  }
810
829
  export type CustomerTrustQuestionnaireType = "SPREADSHEET" | "WEBSITE" | "DOCUMENT";
811
- export type QuestionnaireStatus = "APPROVED" | "IN_PROGRESS" | "IN_REVIEW" | "READY_FOR_REVIEW" | "WAITING_ON_ANSWERS" | "ON_HOLD" | "NO_LONGER_NEEDED" | "COMPLETE" | "ERROR" | "EXTRACTING_QUESTIONS" | "QUEUED_FOR_SECTION_EXTRACTION" | "EXTRACTING_SECTIONS" | "MAPPING_SECTIONS" | "QUEUED_FOR_ANSWERING" | "GENERATING_ANSWERS" | "QUEUED_FOR_EXTRACTION" | "PROCESSING" | "QUEUED_FOR_PROCESSING" | "WAITING_ON_COLUMN_SELECTION" | "WAITING_ON_COLUMN_APPROVAL" | "QUEUED_FOR_COLUMN_DETECTION" | "DETECTING_COLUMNS";
830
+ export type QuestionnaireStatus = "IN_PROGRESS" | "APPROVED" | "IN_REVIEW" | "READY_FOR_REVIEW" | "WAITING_ON_ANSWERS" | "ON_HOLD" | "NO_LONGER_NEEDED" | "COMPLETE" | "ERROR" | "EXTRACTING_QUESTIONS" | "QUEUED_FOR_SECTION_EXTRACTION" | "EXTRACTING_SECTIONS" | "MAPPING_SECTIONS" | "QUEUED_FOR_ANSWERING" | "GENERATING_ANSWERS" | "QUEUED_FOR_EXTRACTION" | "PROCESSING" | "QUEUED_FOR_PROCESSING" | "WAITING_ON_COLUMN_SELECTION" | "WAITING_ON_COLUMN_APPROVAL" | "QUEUED_FOR_COLUMN_DETECTION" | "DETECTING_COLUMNS";
812
831
  export interface QuestionnaireUser {
813
832
  id: string;
814
833
  displayName: string | null;
@@ -1049,7 +1068,7 @@ export interface KnowledgeBaseAnswerLibraryEntryOutput {
1049
1068
  tags: KnowledgeBaseAnswerLibraryEntryOutputTagsList;
1050
1069
  }
1051
1070
  /** Compliance standard to associate with this framework. */
1052
- export type CreateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aiuc1_26q3" | "aiuc1_26q4" | "atc" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps230" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "fedramp20x_classA" | "fedramp20x_classBC" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27017_2026" | "iso27018" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "nydfs500_2023" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
1071
+ export type CreateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aiuc1_26q3" | "aiuc1_26q4" | "atc" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps230" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "fedramp20x_classA" | "fedramp20x_classBC" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27017_2026" | "iso27018" | "iso27018_2025" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "nydfs500_2023" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
1053
1072
  export interface CreateComplianceFrameworkRequest {
1054
1073
  slugId: string;
1055
1074
  /** Display name of the framework. */
@@ -1323,6 +1342,8 @@ export interface KnowledgeBaseDocumentResourceOutput {
1323
1342
  type: KnowledgeBaseDocumentResourceOutputType;
1324
1343
  title: string;
1325
1344
  description: string | null;
1345
+ /** Durable Trust Center link, including for private resources. Null when unavailable. This link does not grant access or publish the resource. The resource may be inaccessible until added to the Trust Center with appropriate visibility and permissions. */
1346
+ externalUrl: string | null;
1326
1347
  /** Presigned S3 URL for the underlying document. Expires after 1 hour due to AWS IAM Role limitations on presigned URL lifetimes. Re-fetch the resource to obtain a fresh URL once this one expires. */
1327
1348
  fileUrl: string;
1328
1349
  customerVisibility: KnowledgeBaseDocumentResourceOutputCustomerVisibility | null;
@@ -1785,6 +1806,8 @@ export type CreateTrustCenterUpdateRequestNotifiedEmailsList = Array<string>;
1785
1806
  export type UpdateNotificationTarget = "ALL" | "GROUPS" | "NONE";
1786
1807
  /** IDs of subscriber groups to notify. Required when `notificationTarget` is `GROUPS`. */
1787
1808
  export type CreateTrustCenterUpdateRequestSubscriberGroupIdsList = Array<string>;
1809
+ /** The update's tags. Omit, or pass an empty array, to create the update without tags. Tags must belong to categories enabled for the Trust Center. Ignored without Trust Center Pro. */
1810
+ export type CreateTrustCenterUpdateRequestTagsList = Array<TagInput>;
1788
1811
  export interface CreateTrustCenterUpdateRequest {
1789
1812
  slugId: string;
1790
1813
  /** Title of the update. */
@@ -1801,9 +1824,13 @@ export interface CreateTrustCenterUpdateRequest {
1801
1824
  notificationTarget?: UpdateNotificationTarget | (string & {}) | undefined;
1802
1825
  /** IDs of subscriber groups to notify. Required when `notificationTarget` is `GROUPS`. */
1803
1826
  subscriberGroupIds?: CreateTrustCenterUpdateRequestSubscriberGroupIdsList | undefined;
1827
+ /** The update's tags. Omit, or pass an empty array, to create the update without tags. Tags must belong to categories enabled for the Trust Center. Ignored without Trust Center Pro. */
1828
+ tags?: CreateTrustCenterUpdateRequestTagsList | undefined;
1804
1829
  }
1805
1830
  /** Emails to notify about the update. */
1806
1831
  export type TrustCenterUpdateAPIResponseNotifiedEmailsList = Array<string>;
1832
+ /** Tags on the update, in categories enabled for the Trust Center. */
1833
+ export type TrustCenterUpdateAPIResponseTagsList = Array<TagInput>;
1807
1834
  export interface TrustCenterUpdateAPIResponse {
1808
1835
  /** Unique identifier for the update. */
1809
1836
  id: string;
@@ -1821,6 +1848,8 @@ export interface TrustCenterUpdateAPIResponse {
1821
1848
  visibilityType: UpdateVisibilityType;
1822
1849
  /** Emails to notify about the update. */
1823
1850
  notifiedEmails?: TrustCenterUpdateAPIResponseNotifiedEmailsList | undefined;
1851
+ /** Tags on the update, in categories enabled for the Trust Center. */
1852
+ tags: TrustCenterUpdateAPIResponseTagsList;
1824
1853
  }
1825
1854
  /** The authentication details about the vendor. */
1826
1855
  export interface CreateVendorRequestAuthDetails {
@@ -1999,6 +2028,8 @@ export interface KnowledgeBaseWebpageResourceOutput {
1999
2028
  type: KnowledgeBaseWebpageResourceOutputType;
2000
2029
  title: string;
2001
2030
  description: string | null;
2031
+ /** Durable Trust Center link, including for private resources. Null when unavailable. This link does not grant access or publish the resource. The resource may be inaccessible until added to the Trust Center with appropriate visibility and permissions. */
2032
+ externalUrl: string | null;
2002
2033
  url: string;
2003
2034
  customerVisibility: KnowledgeBaseWebpageResourceOutputCustomerVisibility | null;
2004
2035
  includeSubPages: boolean | null;
@@ -2061,6 +2092,16 @@ export interface DeactivateTestEntityRequest {
2061
2092
  }
2062
2093
  export interface DeactivateTestEntityResponse {
2063
2094
  }
2095
+ export interface DeactivateUsersRequestUpdatesItem {
2096
+ /** ID of the user to deactivate */
2097
+ id: string;
2098
+ }
2099
+ /** List of the users to deactivate. */
2100
+ export type DeactivateUsersRequestUpdatesList = Array<DeactivateUsersRequestUpdatesItem>;
2101
+ export interface DeactivateUsersRequest {
2102
+ /** List of the users to deactivate. */
2103
+ updates: DeactivateUsersRequestUpdatesList;
2104
+ }
2064
2105
  export interface VulnerabilityDeactivateRequest {
2065
2106
  /** ID of the vulnerability to deactivate. */
2066
2107
  id: string;
@@ -2434,6 +2475,49 @@ export type ArrayResponseTrustCenterChatbotMessageResultsList = Array<TrustCente
2434
2475
  export interface ArrayResponseTrustCenterChatbotMessage {
2435
2476
  results: ArrayResponseTrustCenterChatbotMessageResultsList;
2436
2477
  }
2478
+ export interface GetCompanyProfileRequest {
2479
+ }
2480
+ /** Websites associated with the organization; may include `websiteUrl`. */
2481
+ export type CompanyProfileUrlsList = Array<string>;
2482
+ /** Regions the organization operates in, such as `north-america` or `europe`. */
2483
+ export type CompanyProfileOperatingRegionsList = Array<string>;
2484
+ /** Employment model: `company-office`, `coworking`, or `home`. */
2485
+ export type CompanyProfileWorkplaceTypesList = Array<string>;
2486
+ /** Types of sensitive data the organization handles: `pii`, `phi`, `pci`, or `financial`. */
2487
+ export type CompanyProfileSensitiveDataTypesList = Array<string>;
2488
+ /** The business details an organization provides so Vanta can tailor its compliance program. Fields that haven't been provided are null; lists that haven't been provided are empty. */
2489
+ export interface CompanyProfile {
2490
+ /** The name the organization goes by. */
2491
+ displayName: string | null;
2492
+ /** The organization's registered legal name. */
2493
+ legalName: string | null;
2494
+ mailingAddress: string | null;
2495
+ telephone: string | null;
2496
+ /** The organization's primary website. */
2497
+ websiteUrl: string | null;
2498
+ /** Websites associated with the organization; may include `websiteUrl`. */
2499
+ urls: CompanyProfileUrlsList;
2500
+ /** Whether the organization is incorporated in the United States. */
2501
+ USCompany: boolean | null;
2502
+ /** The organization's email domain. */
2503
+ emailDomain: string | null;
2504
+ /** Employee count range, such as `1-20` or `50001+`. */
2505
+ companySize: string | null;
2506
+ /** Regions the organization operates in, such as `north-america` or `europe`. */
2507
+ operatingRegions: CompanyProfileOperatingRegionsList;
2508
+ /** Employment model: `company-office`, `coworking`, or `home`. */
2509
+ workplaceTypes: CompanyProfileWorkplaceTypesList;
2510
+ /** Whether the organization has physical data centers. */
2511
+ physicalDataCenters: boolean | null;
2512
+ /** Whether the organization has a board of directors. */
2513
+ boardOfDirectors: boolean | null;
2514
+ /** Whether the organization uses portable devices. */
2515
+ portableDevices: boolean | null;
2516
+ /** Whether the organization provides external support. */
2517
+ externalSupport: boolean | null;
2518
+ /** Types of sensitive data the organization handles: `pii`, `phi`, `pci`, or `financial`. */
2519
+ sensitiveDataTypes: CompanyProfileSensitiveDataTypesList;
2520
+ }
2437
2521
  export interface GetConnectedIntegrationRequest {
2438
2522
  /** Unique identifier of the integration */
2439
2523
  integrationId: string;
@@ -3133,7 +3217,7 @@ export interface GetResourceRequest {
3133
3217
  /** Unique identifier of the resource. */
3134
3218
  resourceId: string;
3135
3219
  }
3136
- export type ResourceResponseType = "Account" | "AutoScalingGroup" | "ClusterDeployment" | "ComputeInstance" | "ContainerCluster" | "ContainerRepository" | "Database" | "Device" | "GitRepository" | "KubernetesCluster" | "LoadBalancer" | "PaaS" | "Resource" | "Queue" | "ServerlessFunction" | "StorageBucket";
3220
+ export type ResourceResponseType = "Account" | "Artifact" | "AutoScalingGroup" | "ClusterDeployment" | "ComputeInstance" | "ContainerCluster" | "ContainerRepository" | "Database" | "Device" | "GitRepository" | "KubernetesCluster" | "LoadBalancer" | "PaaS" | "Resource" | "Queue" | "ServerlessFunction" | "StorageBucket";
3137
3221
  export interface Resource {
3138
3222
  responseType: ResourceResponseType;
3139
3223
  /** The identifier for the resource type, unique within the scope of an Integration. */
@@ -3155,6 +3239,66 @@ export interface Resource {
3155
3239
  /** When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted. */
3156
3240
  deletedDate?: string | null | undefined;
3157
3241
  }
3242
+ export type ResourceResponseTypeArtifact = "Artifact";
3243
+ export interface Artifact {
3244
+ responseType: ResourceResponseTypeArtifact;
3245
+ /** The identifier for the resource type, unique within the scope of an Integration. */
3246
+ resourceKind: string;
3247
+ /** The unique identifier for the Resource. */
3248
+ resourceId: string;
3249
+ /** The unique identifier for the Connection used to ingest the Resource if it exists. */
3250
+ connectionId: string | null;
3251
+ /** The Resource's display name. */
3252
+ displayName: string;
3253
+ /** The unique identifier for the owner of the resource in Vanta. */
3254
+ owner: string | null;
3255
+ /** Whether the resource is in scope for audits. */
3256
+ inScope: boolean;
3257
+ /** The description of the resource in Vanta. */
3258
+ description: string | null;
3259
+ /** When Vanta first ingested the Resource. */
3260
+ creationDate: string;
3261
+ /** When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted. */
3262
+ deletedDate?: string | null | undefined;
3263
+ /** The package format, such as Maven or npm. */
3264
+ packageType: string;
3265
+ /** The repository key in JFrog. */
3266
+ repository: string;
3267
+ /** The JFrog repository class. Currently `LOCAL` or `FEDERATED`. */
3268
+ repositoryClass: string;
3269
+ /** The directory path within the repository. A dot denotes the root. */
3270
+ path: string | null;
3271
+ /** The file size in bytes. */
3272
+ sizeBytes: number | null;
3273
+ /** The file's SHA-256 checksum. */
3274
+ sha256: string | null;
3275
+ /** The SHA-1 checksum calculated by JFrog. */
3276
+ sha1: string | null;
3277
+ /** The original SHA-1 checksum supplied on upload, when available. */
3278
+ sha1Original: string | null;
3279
+ /** The MD5 checksum calculated by JFrog. */
3280
+ md5: string | null;
3281
+ /** The original MD5 checksum supplied on upload, when available. */
3282
+ md5Original: string | null;
3283
+ /** When JFrog created the file. */
3284
+ fileCreationDate: string | null;
3285
+ /** When JFrog recorded the file upload. */
3286
+ uploadDate: string | null;
3287
+ /** When JFrog last modified the file. */
3288
+ lastModifiedDate: string | null;
3289
+ /** The JFrog user who uploaded the file. */
3290
+ createdBy: string | null;
3291
+ /** The JFrog user who last modified the file. */
3292
+ modifiedBy: string | null;
3293
+ /** The download count recorded by JFrog. */
3294
+ downloadCount: number | null;
3295
+ /** The remote download count recorded by JFrog. */
3296
+ remoteDownloadCount: number | null;
3297
+ /** When JFrog last recorded a download of the file. */
3298
+ lastDownloadDate: string | null;
3299
+ /** The JFrog user who last downloaded the file. */
3300
+ lastDownloadedBy: string | null;
3301
+ }
3158
3302
  export interface CloudInfrastructure {
3159
3303
  responseType: ResourceResponseType;
3160
3304
  /** The identifier for the resource type, unique within the scope of an Integration. */
@@ -3206,6 +3350,10 @@ export interface ContainerRepository {
3206
3350
  region: string;
3207
3351
  /** Whether autoscans have been enabled */
3208
3352
  isAutoscanEnabled: boolean | null;
3353
+ /** The JFrog package format. Currently `DOCKER`, `OCI`, or `HELMOCI`. Null for other providers. */
3354
+ packageType: string | null;
3355
+ /** The JFrog repository class. Currently `LOCAL` or `FEDERATED`. Null for other providers. */
3356
+ repositoryClass: string | null;
3209
3357
  }
3210
3358
  export interface Database {
3211
3359
  responseType: ResourceResponseType;
@@ -3461,7 +3609,7 @@ export interface OrganizationSubunit {
3461
3609
  /** Account ID corresponding to the subunit. Could be null if the subunit is not an account, e.g. a subscription */
3462
3610
  accountId: string | null;
3463
3611
  }
3464
- export type AnyResource = Resource | CloudInfrastructure | ContainerRepository | Database | Device | PaaS | Queue | StorageBucket | Account | AwsAccount | OrganizationSubunit;
3612
+ export type AnyResource = Resource | Artifact | CloudInfrastructure | ContainerRepository | Database | Device | PaaS | Queue | StorageBucket | Account | AwsAccount | OrganizationSubunit;
3465
3613
  export type GetResourceResponse = AnyResource;
3466
3614
  export interface GetResourceKindDetailsRequest {
3467
3615
  /** Unique identifier of the integration. */
@@ -3491,9 +3639,94 @@ export interface ResourceKindDetails {
3491
3639
  /** The count of resources of the given type that have been given a description in Vanta. */
3492
3640
  numWithDescription: number;
3493
3641
  }
3642
+ export interface GetRiskRegisterRequest {
3643
+ riskRegisterId: string;
3644
+ }
3645
+ export type RestRiskRegisterType = "SCOPED" | "ENTERPRISE";
3646
+ /** Labels of the custom fields that apply to risk scenarios in this register. These are the labels accepted in the `customFields` field on risk-scenario create and update requests for this register. The enterprise register lists every custom field, since enterprise risks accept all of them. Empty if the organization doesn't have custom fields. */
3647
+ export type RiskRegisterSettingsApplicableCustomFieldsList = Array<string>;
3648
+ export interface RiskRegisterSettings {
3649
+ /** Labels of the custom fields that apply to risk scenarios in this register. These are the labels accepted in the `customFields` field on risk-scenario create and update requests for this register. The enterprise register lists every custom field, since enterprise risks accept all of them. Empty if the organization doesn't have custom fields. */
3650
+ applicableCustomFields: RiskRegisterSettingsApplicableCustomFieldsList;
3651
+ }
3652
+ /** A risk register -- a grouping of risk scenarios. Risk scenarios reference their register by **name** (the `riskRegister` field on `CreateRiskScenarioInput` and `RiskScenario`). Domains with multiple registers must specify a register name on create. */
3653
+ export interface RiskRegister {
3654
+ /** The unique ID of the risk register. */
3655
+ id: string;
3656
+ /** The name of the risk register. This is the value used in the `riskRegister` field on risk-scenario create and update requests. */
3657
+ name: string;
3658
+ /** Optional description of this register. */
3659
+ description: string | null;
3660
+ /** Whether this is a scoped user-managed register or the system-managed enterprise register. */
3661
+ registerType: RestRiskRegisterType;
3662
+ /** When this risk register was created. */
3663
+ creationDate: string;
3664
+ /** Configuration that applies to the risk scenarios in this register. */
3665
+ settings: RiskRegisterSettings;
3666
+ }
3494
3667
  export interface GetRiskScenarioRequest {
3495
3668
  riskScenarioId: string;
3496
3669
  }
3670
+ export interface GetRiskSettingsRequest {
3671
+ }
3672
+ export type RiskScoreProfileType = "CLASSIC" | "ADVANCED";
3673
+ export type RiskScoreStageKey = "INHERENT" | "CURRENT" | "TARGET";
3674
+ export interface RiskScoreStage {
3675
+ /** What the stage measures. `INHERENT` is risk before any controls, `CURRENT` is risk with today's controls, and `TARGET` is risk expected after planned treatment. */
3676
+ stageKey: RiskScoreStageKey;
3677
+ /** The domain's name for this stage. */
3678
+ label: string;
3679
+ description: string | null;
3680
+ }
3681
+ /** The stages, in display order. */
3682
+ export type RiskScoreProfileScoreStagesList = Array<RiskScoreStage>;
3683
+ export interface RiskScoreProfile {
3684
+ /** `CLASSIC` scores the `CURRENT` and `TARGET` stages. `ADVANCED` also scores `INHERENT`. */
3685
+ profileType: RiskScoreProfileType;
3686
+ /** The stages, in display order. */
3687
+ scoreStages: RiskScoreProfileScoreStagesList;
3688
+ }
3689
+ export type RiskCategoryType = "VANTA_DEFAULT" | "CUSTOM";
3690
+ export interface RiskCategory {
3691
+ name: string;
3692
+ /** `VANTA_DEFAULT` for a category Vanta provides, or `CUSTOM` for one the domain created. */
3693
+ type: RiskCategoryType;
3694
+ }
3695
+ /** The categories risk scenarios can belong to: Vanta's default categories followed by the domain's custom ones. A category's `name` is the value accepted in the `categories` field on risk-scenario create and update requests. */
3696
+ export type RiskSettingsCategoriesList = Array<RiskCategory>;
3697
+ export type RiskCustomFieldDataType = "CURRENCY" | "DATE" | "DECIMAL" | "INTEGER" | "PICKLIST" | "STRING" | "USER";
3698
+ /** The values a `PICKLIST` field accepts. `null` for other data types. */
3699
+ export type RiskCustomFieldPicklistOptionsList = Array<string>;
3700
+ export type RiskCustomFieldCurrencyUnit = "DEFAULT" | "K" | "M" | "B";
3701
+ export interface RiskCustomFieldCurrency {
3702
+ /** ISO 4217 currency code, such as `USD`. */
3703
+ code: string;
3704
+ /** The unit amounts are shown in: `K` (thousands), `M` (millions), `B` (billions), or `DEFAULT` (no unit). */
3705
+ unit: RiskCustomFieldCurrencyUnit;
3706
+ }
3707
+ export interface RiskCustomField {
3708
+ /** The value accepted as `label` in the `customFields` field on risk-scenario create and update requests. */
3709
+ label: string;
3710
+ description: string | null;
3711
+ dataType: RiskCustomFieldDataType;
3712
+ /** The values a `PICKLIST` field accepts. `null` for other data types. */
3713
+ picklistOptions: RiskCustomFieldPicklistOptionsList | null;
3714
+ /** The number of decimal places a `DECIMAL` field keeps. `null` for other data types. */
3715
+ decimalPlaces: number | null;
3716
+ /** The currency of a `CURRENCY` field. `null` for other data types. */
3717
+ currency: RiskCustomFieldCurrency | null;
3718
+ }
3719
+ /** The custom fields configured for risk scenarios, in display order. */
3720
+ export type RiskSettingsCustomFieldsList = Array<RiskCustomField>;
3721
+ /** The domain's risk settings: the stages risks are scored at, and the categories and custom fields available on risk scenarios. */
3722
+ export interface RiskSettings {
3723
+ /** The stages every risk is scored at, with the domain's names for them. `null` when score stages aren't available to the domain. */
3724
+ scoreProfile: RiskScoreProfile | null;
3725
+ /** The categories risk scenarios can belong to: Vanta's default categories followed by the domain's custom ones. A category's `name` is the value accepted in the `categories` field on risk-scenario create and update requests. */
3726
+ categories: RiskSettingsCategoriesList;
3727
+ /** The custom fields configured for risk scenarios, in display order. */
3728
+ customFields: RiskSettingsCustomFieldsList;
3729
+ }
3497
3730
  export interface GetSecurityReviewDocumentsRequest {
3498
3731
  vendorId: string;
3499
3732
  securityReviewId: string;
@@ -3887,6 +4120,31 @@ export interface VendorAssessmentType {
3887
4120
  /** Who fills out assessments of this type. */
3888
4121
  audience: VendorAssessmentTypeAudience;
3889
4122
  }
4123
+ export interface GetVendorAssessmentTypeRulesRequest {
4124
+ assessmentTypeId: string;
4125
+ }
4126
+ /** Document types requested as evidence from vendors at this risk level. Values match the `type` field returned by the list vendor document types endpoint. */
4127
+ export type VendorAssessmentTypeRiskLevelRulesPreferredEvidenceTypesList = Array<string>;
4128
+ /** IDs of the in-app and spreadsheet questionnaires sent to vendors at this risk level. */
4129
+ export type VendorAssessmentTypeRiskLevelRulesPreferredQuestionnaireIdsList = Array<string>;
4130
+ export interface VendorAssessmentTypeRiskLevelRules {
4131
+ /** The vendor risk level these rules apply to. */
4132
+ riskLevel: VendorRiskLevel;
4133
+ /** Document types requested as evidence from vendors at this risk level. Values match the `type` field returned by the list vendor document types endpoint. */
4134
+ preferredEvidenceTypes: VendorAssessmentTypeRiskLevelRulesPreferredEvidenceTypesList;
4135
+ /** IDs of the in-app and spreadsheet questionnaires sent to vendors at this risk level. */
4136
+ preferredQuestionnaireIds: VendorAssessmentTypeRiskLevelRulesPreferredQuestionnaireIdsList;
4137
+ /** How often vendors at this risk level are reassessed, as an ISO 8601 duration (e.g. `P12M`). Null when no recurring assessment is required. */
4138
+ cadence: string | null;
4139
+ }
4140
+ /** The rules for each vendor risk level, ordered from CRITICAL to UNSCORED. */
4141
+ export type VendorAssessmentTypeRulesRulesList = Array<VendorAssessmentTypeRiskLevelRules>;
4142
+ export interface VendorAssessmentTypeRules {
4143
+ /** The ID of the assessment type the rules belong to. */
4144
+ assessmentTypeId: string;
4145
+ /** The rules for each vendor risk level, ordered from CRITICAL to UNSCORED. */
4146
+ rules: VendorAssessmentTypeRulesRulesList;
4147
+ }
3890
4148
  export interface GetVendorCategoryRequest {
3891
4149
  categoryId: string;
3892
4150
  }
@@ -4192,9 +4450,9 @@ export interface ListRequest {
4192
4450
  statusMatchesAny?: ListRequestStatusMatchesAnyList | undefined;
4193
4451
  /** Filter to issues matching any of the provided severities. */
4194
4452
  severityMatchesAny?: ListRequestSeverityMatchesAnyList | undefined;
4195
- /** Filter to issues matching any of the provided sources. */
4453
+ /** Filter to issues matching any of the provided sources. Some values never apply to a given organization; requesting them returns 400. */
4196
4454
  sourceMatchesAny?: ListRequestSourceMatchesAnyList | undefined;
4197
- /** Filter to issues matching any of the provided types. */
4455
+ /** Filter to issues matching any of the provided types. Some values never apply to a given organization; requesting them returns 400. */
4198
4456
  typeMatchesAny?: ListRequestTypeMatchesAnyList | undefined;
4199
4457
  /** Filter to issues owned by any of the provided owner IDs. */
4200
4458
  ownerIdMatchesAny?: ListRequestOwnerIdMatchesAnyList | undefined;
@@ -4222,7 +4480,7 @@ export interface ListRequest {
4222
4480
  createdAfterDate?: string | undefined;
4223
4481
  /** Filter to issues created on or before this date. */
4224
4482
  createdBeforeDate?: string | undefined;
4225
- /** Filter to issues sourced from any of the provided audit IDs. */
4483
+ /** Filter to issues sourced from any of the provided audit IDs. Returns 400 when audits don't apply to the organization. */
4226
4484
  auditIdMatchesAny?: ListRequestAuditIdMatchesAnyList | undefined;
4227
4485
  /** Filter to issues mapped to any of the provided control IDs. */
4228
4486
  controlIdMatchesAny?: ListRequestControlIdMatchesAnyList | undefined;
@@ -4276,6 +4534,134 @@ export interface PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutputResults {
4276
4534
  export interface PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutput {
4277
4535
  results: PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutputResults;
4278
4536
  }
4537
+ export interface ListAssessmentQuestionsRequest {
4538
+ vendorId: string;
4539
+ assessmentId: string;
4540
+ pageSize?: number | undefined;
4541
+ pageCursor?: string | undefined;
4542
+ /** Only return questions whose Vanta AI answer has an active finding flag */
4543
+ onlyFlagged?: boolean | undefined;
4544
+ /** Only return questions whose text contains this phrase (case-insensitive), up to 50 words */
4545
+ searchQuery?: string | undefined;
4546
+ /** Only return the question with this ID */
4547
+ questionId?: string | undefined;
4548
+ }
4549
+ export type VendorAssessmentQuestionType = "TEXT" | "BOOLEAN" | "SINGLE_SELECT" | "MULTI_SELECT";
4550
+ export type VendorAssessmentQuestionTextAnswerType = "TEXT";
4551
+ export interface VendorAssessmentQuestionTextAnswer {
4552
+ type: VendorAssessmentQuestionTextAnswerType;
4553
+ value: string;
4554
+ }
4555
+ export type VendorAssessmentQuestionBooleanAnswerType = "BOOLEAN";
4556
+ export interface VendorAssessmentQuestionBooleanAnswer {
4557
+ type: VendorAssessmentQuestionBooleanAnswerType;
4558
+ /** The yes/no answer, or null when the answer is N/A. */
4559
+ value: boolean | null;
4560
+ }
4561
+ export type VendorAssessmentQuestionSingleSelectAnswerType = "SINGLE_SELECT";
4562
+ export interface VendorAssessmentQuestionSingleSelectAnswer {
4563
+ type: VendorAssessmentQuestionSingleSelectAnswerType;
4564
+ /** The selected option, or null when no option is selected. */
4565
+ value: string | null;
4566
+ }
4567
+ export type VendorAssessmentQuestionMultiSelectAnswerType = "MULTI_SELECT";
4568
+ /** The selected options. */
4569
+ export type VendorAssessmentQuestionMultiSelectAnswerValueList = Array<string>;
4570
+ export interface VendorAssessmentQuestionMultiSelectAnswer {
4571
+ type: VendorAssessmentQuestionMultiSelectAnswerType;
4572
+ /** The selected options. */
4573
+ value: VendorAssessmentQuestionMultiSelectAnswerValueList;
4574
+ }
4575
+ /** An answer to an assessment question, shaped by the question's type. */
4576
+ export type VendorAssessmentQuestionAnswer = VendorAssessmentQuestionTextAnswer | VendorAssessmentQuestionBooleanAnswer | VendorAssessmentQuestionSingleSelectAnswer | VendorAssessmentQuestionMultiSelectAnswer;
4577
+ export interface VendorAssessmentQuestionAiSource {
4578
+ /** The excerpt of the source document that supports the AI answer. */
4579
+ content: string;
4580
+ /** Unique identifier for the excerpt within its source document. */
4581
+ chunkId: string;
4582
+ /** Unique identifier for the source document. */
4583
+ documentId: string | null;
4584
+ /** The source document's file name. */
4585
+ filename: string | null;
4586
+ /** The page of the source document the excerpt comes from. */
4587
+ page: number | null;
4588
+ /** The URL of the source, for web sources. */
4589
+ url: string | null;
4590
+ /** The source's title. */
4591
+ title: string | null;
4592
+ /** The timestamp of when the source was last updated. */
4593
+ updatedDate: string | null;
4594
+ }
4595
+ /** The document excerpts that support the AI answer. */
4596
+ export type VendorAssessmentQuestionAiAnswerSourcesList = Array<VendorAssessmentQuestionAiSource>;
4597
+ export interface VendorAssessmentQuestionAiAnswer {
4598
+ /** The answer Vanta AI suggested, or null when it could not answer. */
4599
+ value: VendorAssessmentQuestionAnswer | null;
4600
+ /** Vanta AI's explanation of its answer. */
4601
+ rationale: string | null;
4602
+ /** Whether the AI answer is a valid answer for the question's type. */
4603
+ isValid: boolean;
4604
+ /** The document excerpts that support the AI answer. */
4605
+ sources: VendorAssessmentQuestionAiAnswerSourcesList;
4606
+ /** Whether Vanta AI flagged the answer as a finding. Remains true after the flag is dismissed; see `activeFindingText`. */
4607
+ flaggedAsFinding: boolean;
4608
+ /** Why Vanta AI flagged the answer, or null when there is no active (undismissed) flag. */
4609
+ activeFindingText: string | null;
4610
+ /** The timestamp of when the AI answer was generated. */
4611
+ createdDate: string;
4612
+ }
4613
+ /** Whether the vendor's answer is a draft or has been submitted. */
4614
+ export type VendorAssessmentQuestionVendorAnswerState = "DRAFT" | "SUBMITTED";
4615
+ export interface VendorAssessmentQuestionVendorAnswer {
4616
+ /** The vendor's answer, or null when the vendor has not answered. */
4617
+ value: VendorAssessmentQuestionAnswer | null;
4618
+ /** Whether the vendor's answer is a draft or has been submitted. */
4619
+ state: VendorAssessmentQuestionVendorAnswerState;
4620
+ /** Whether the vendor accepted the current Vanta AI answer as its own. */
4621
+ endorsesCurrentAiAnswer: boolean;
4622
+ /** The timestamp of when the vendor's answer was last updated. */
4623
+ updatedDate: string | null;
4624
+ }
4625
+ /** Which answer the user's answer was copied from, or null when entered directly. */
4626
+ export type VendorAssessmentQuestionUserAnswerOriginType = "AI" | "VENDOR";
4627
+ export interface VendorAssessmentQuestionUserAnswer {
4628
+ /** The answer a user in your organization entered, or null when it was cleared. */
4629
+ value: VendorAssessmentQuestionAnswer | null;
4630
+ /** Which answer the user's answer was copied from, or null when entered directly. */
4631
+ originType: VendorAssessmentQuestionUserAnswerOriginType | null;
4632
+ /** The timestamp of when the user's answer was last updated. */
4633
+ updatedDate: string;
4634
+ }
4635
+ /** Which answer is selected as the answer of record. */
4636
+ export type VendorAssessmentQuestionSelectedSource = "VENDOR" | "VANTA_USER" | "VANTA_AI";
4637
+ export interface VendorAssessmentQuestion {
4638
+ /** Unique identifier for the question. */
4639
+ id: string;
4640
+ /** Unique identifier for the questionnaire the question belongs to. */
4641
+ questionnaireId: string;
4642
+ /** The question text. */
4643
+ question: string;
4644
+ /** The kind of answer the question takes. */
4645
+ questionType: VendorAssessmentQuestionType;
4646
+ /** The answer suggested by Vanta AI, if any. */
4647
+ aiAnswer: VendorAssessmentQuestionAiAnswer | null;
4648
+ /** The vendor's answer, if any. */
4649
+ vendorAnswer: VendorAssessmentQuestionVendorAnswer | null;
4650
+ /** The answer entered by a user in your organization, if any. */
4651
+ userAnswer: VendorAssessmentQuestionUserAnswer | null;
4652
+ /** Which answer is selected as the answer of record. */
4653
+ selectedSource: VendorAssessmentQuestionSelectedSource | null;
4654
+ /** The answer of record. It can differ from the current source answers, e.g. when it is a snapshot taken at review. */
4655
+ selectedAnswer: VendorAssessmentQuestionAnswer | null;
4656
+ }
4657
+ export type PaginatedResponseVendorAssessmentQuestionResultsDataList = Array<VendorAssessmentQuestion>;
4658
+ export interface PaginatedResponseVendorAssessmentQuestionResults {
4659
+ data: PaginatedResponseVendorAssessmentQuestionResultsDataList;
4660
+ pageInfo: PageInfo;
4661
+ }
4662
+ export interface PaginatedResponseVendorAssessmentQuestion {
4663
+ results: PaginatedResponseVendorAssessmentQuestionResults;
4664
+ }
4279
4665
  export type QuestionnaireAssignableUserRole = "owner" | "approver";
4280
4666
  export interface ListAssignableUsersRequest {
4281
4667
  /** Filter by role: "owner" or "approver". */
@@ -4728,6 +5114,80 @@ export interface PaginatedResponseUploadedFileTResults {
4728
5114
  export interface PaginatedResponseUploadedFileT {
4729
5115
  results: PaginatedResponseUploadedFileTResults;
4730
5116
  }
5117
+ export type ListFourthPartiesRequestUsedByVendorIdMatchesAnyList = Array<string>;
5118
+ export type ListFourthPartiesRequestResidualRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5119
+ export type ListFourthPartiesRequestInherentRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5120
+ export interface ListFourthPartiesRequest {
5121
+ /** Select fourth parties used by any of these vendors after risk filtering, preserving the remaining counts. */
5122
+ usedByVendorIdMatchesAny?: ListFourthPartiesRequestUsedByVendorIdMatchesAnyList | undefined;
5123
+ /** Keep dependents matching any residual risk level. */
5124
+ residualRiskLevelMatchesAny?: ListFourthPartiesRequestResidualRiskLevelMatchesAnyList | undefined;
5125
+ /** Keep dependents matching any inherent risk level; combines with residual risk using AND. */
5126
+ inherentRiskLevelMatchesAny?: ListFourthPartiesRequestInherentRiskLevelMatchesAnyList | undefined;
5127
+ pageCursor?: string | undefined;
5128
+ pageSize?: number | undefined;
5129
+ }
5130
+ export type FourthPartyLocationsList = Array<string>;
5131
+ export interface FourthPartySourcesItem {
5132
+ ingestionMethod: string;
5133
+ url: string;
5134
+ }
5135
+ /** Disclosures identifying this fourth party. */
5136
+ export type FourthPartySourcesList = Array<FourthPartySourcesItem>;
5137
+ export interface FourthParty {
5138
+ id: string;
5139
+ name: string;
5140
+ url: string | null;
5141
+ isMatched: boolean;
5142
+ category: string | null;
5143
+ locations: FourthPartyLocationsList;
5144
+ /** Disclosures identifying this fourth party. */
5145
+ sources: FourthPartySourcesList;
5146
+ dependentVendorCount: number;
5147
+ }
5148
+ export type PaginatedResponseFourthPartyResultsDataList = Array<FourthParty>;
5149
+ export interface PaginatedResponseFourthPartyResults {
5150
+ data: PaginatedResponseFourthPartyResultsDataList;
5151
+ pageInfo: PageInfo;
5152
+ }
5153
+ export interface PaginatedResponseFourthParty {
5154
+ results: PaginatedResponseFourthPartyResults;
5155
+ }
5156
+ export type ListFourthPartyVendorsRequestResidualRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5157
+ export type ListFourthPartyVendorsRequestInherentRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5158
+ export interface ListFourthPartyVendorsRequest {
5159
+ fourthPartyId: string;
5160
+ /** Keep dependents matching any residual risk level. */
5161
+ residualRiskLevelMatchesAny?: ListFourthPartyVendorsRequestResidualRiskLevelMatchesAnyList | undefined;
5162
+ /** Keep dependents matching any inherent risk level; combines with residual risk using AND. */
5163
+ inherentRiskLevelMatchesAny?: ListFourthPartyVendorsRequestInherentRiskLevelMatchesAnyList | undefined;
5164
+ pageCursor?: string | undefined;
5165
+ pageSize?: number | undefined;
5166
+ }
5167
+ export type FourthPartyVendorUsageSourcesItem = FourthPartySourcesItem;
5168
+ /** Disclosures identifying this fourth party. */
5169
+ export type FourthPartyVendorUsageSourcesList = Array<FourthPartySourcesItem>;
5170
+ export type FourthPartyVendorUsageLocationsList = Array<string>;
5171
+ export interface FourthPartyVendorUsage {
5172
+ /** Disclosures identifying this fourth party. */
5173
+ sources: FourthPartyVendorUsageSourcesList;
5174
+ locations: FourthPartyVendorUsageLocationsList;
5175
+ category: string | null;
5176
+ purpose: string | null;
5177
+ }
5178
+ export interface FourthPartyVendor {
5179
+ vendorId: string;
5180
+ name: string;
5181
+ usage: FourthPartyVendorUsage;
5182
+ }
5183
+ export type PaginatedResponseFourthPartyVendorResultsDataList = Array<FourthPartyVendor>;
5184
+ export interface PaginatedResponseFourthPartyVendorResults {
5185
+ data: PaginatedResponseFourthPartyVendorResultsDataList;
5186
+ pageInfo: PageInfo;
5187
+ }
5188
+ export interface PaginatedResponseFourthPartyVendor {
5189
+ results: PaginatedResponseFourthPartyVendorResults;
5190
+ }
4731
5191
  export interface ListFrameworksRequest {
4732
5192
  pageSize?: number | undefined;
4733
5193
  pageCursor?: string | undefined;
@@ -5059,6 +5519,18 @@ export interface PaginatedResponseAnyResourceResults {
5059
5519
  export interface PaginatedResponseAnyResource {
5060
5520
  results: PaginatedResponseAnyResourceResults;
5061
5521
  }
5522
+ export interface ListRiskRegistersRequest {
5523
+ pageSize?: number | undefined;
5524
+ pageCursor?: string | undefined;
5525
+ }
5526
+ export type PaginatedResponseRiskRegisterResultsDataList = Array<RiskRegister>;
5527
+ export interface PaginatedResponseRiskRegisterResults {
5528
+ data: PaginatedResponseRiskRegisterResultsDataList;
5529
+ pageInfo: PageInfo;
5530
+ }
5531
+ export interface PaginatedResponseRiskRegister {
5532
+ results: PaginatedResponseRiskRegisterResults;
5533
+ }
5062
5534
  export type ListRiskScenarioRequestOwnerMatchesAnyList = Array<string>;
5063
5535
  export type ListRiskScenarioRequestCategoryMatchesAnyList = Array<string>;
5064
5536
  export type UNCATEGORIZED = "Uncategorized";
@@ -5373,6 +5845,8 @@ export interface ListTrustCenterUpdatesRequest {
5373
5845
  slugId: string;
5374
5846
  pageSize?: number | undefined;
5375
5847
  pageCursor?: string | undefined;
5848
+ /** JSON-encoded array of `{categoryId, tagId}` pairs. Tags within the same category are OR'd together; tags across different categories are AND'd. For example, passing two tags from "Framework" and one tag from "Region" matches updates that have either of the two frameworks AND the given region. Untagged updates never match. Discover valid `categoryId` and `tagId` values via `GET /v1/customer-trust/tag-categories` (to list categories) and `GET /v1/customer-trust/tag-categories/{tagCategoryId}` (to list tags within a category). */
5849
+ matchesTags?: string | undefined;
5376
5850
  }
5377
5851
  export type PaginatedResponseTrustCenterUpdateAPIResponseResultsDataList = Array<TrustCenterUpdateAPIResponse>;
5378
5852
  export interface PaginatedResponseTrustCenterUpdateAPIResponseResults {
@@ -5487,11 +5961,66 @@ export interface PaginatedResponseVendorCategoryResults {
5487
5961
  export interface PaginatedResponseVendorCategory {
5488
5962
  results: PaginatedResponseVendorCategoryResults;
5489
5963
  }
5964
+ export interface ListVendorCustomFieldDefinitionsRequest {
5965
+ pageSize?: number | undefined;
5966
+ pageCursor?: string | undefined;
5967
+ }
5968
+ export type VendorCustomFieldDefinitionType = "STRING" | "DATE" | "INTEGER" | "DECIMAL" | "PICKLIST";
5969
+ export interface VendorCustomFieldDefinitionOption {
5970
+ /** Stable identifier for the option. */
5971
+ id: string;
5972
+ /** Use this label as a picklist value when creating or updating a vendor. */
5973
+ label: string;
5974
+ }
5975
+ /** Allowed choices for PICKLIST fields; omitted for other field types. */
5976
+ export type VendorCustomFieldDefinitionOptionsList = Array<VendorCustomFieldDefinitionOption>;
5977
+ export interface VendorCustomFieldDefinition {
5978
+ /** Stable identifier for the configured field. */
5979
+ id: string;
5980
+ /** Use this exact, case-sensitive label in vendor customFields writes. */
5981
+ label: string;
5982
+ description: string | null;
5983
+ type: VendorCustomFieldDefinitionType;
5984
+ /** Allowed choices for PICKLIST fields; omitted for other field types. */
5985
+ options?: VendorCustomFieldDefinitionOptionsList | undefined;
5986
+ /** Configured precision for DECIMAL fields; omitted for other field types. */
5987
+ decimalPlaces?: number | null | undefined;
5988
+ }
5989
+ export type PaginatedResponseVendorCustomFieldDefinitionResultsDataList = Array<VendorCustomFieldDefinition>;
5990
+ export interface PaginatedResponseVendorCustomFieldDefinitionResults {
5991
+ data: PaginatedResponseVendorCustomFieldDefinitionResultsDataList;
5992
+ pageInfo: PageInfo;
5993
+ }
5994
+ export interface PaginatedResponseVendorCustomFieldDefinition {
5995
+ results: PaginatedResponseVendorCustomFieldDefinitionResults;
5996
+ }
5490
5997
  export interface ListVendorDocumentsRequest {
5491
5998
  vendorId: string;
5492
5999
  pageSize?: number | undefined;
5493
6000
  pageCursor?: string | undefined;
5494
6001
  }
6002
+ export interface ListVendorDocumentTypesRequest {
6003
+ pageSize?: number | undefined;
6004
+ pageCursor?: string | undefined;
6005
+ }
6006
+ export interface VendorDocumentTypeCatalogEntry {
6007
+ /** Unique identifier for the document type. Use this to save a mapping to a document type; use the `type` field when uploading a document. */
6008
+ id: string;
6009
+ /** Display name of the document type. */
6010
+ name: string;
6011
+ /** Value to provide in the `type` field when uploading a vendor document. */
6012
+ type: string;
6013
+ /** Whether this document type was created by your organization. */
6014
+ isCustom: boolean;
6015
+ }
6016
+ export type PaginatedResponseVendorDocumentTypeCatalogEntryResultsDataList = Array<VendorDocumentTypeCatalogEntry>;
6017
+ export interface PaginatedResponseVendorDocumentTypeCatalogEntryResults {
6018
+ data: PaginatedResponseVendorDocumentTypeCatalogEntryResultsDataList;
6019
+ pageInfo: PageInfo;
6020
+ }
6021
+ export interface PaginatedResponseVendorDocumentTypeCatalogEntry {
6022
+ results: PaginatedResponseVendorDocumentTypeCatalogEntryResults;
6023
+ }
5495
6024
  export type ListVendorExternalFindingsRequestSeverityMatchesAnyItem = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO";
5496
6025
  export type ListVendorExternalFindingsRequestSeverityMatchesAnyList = Array<ListVendorExternalFindingsRequestSeverityMatchesAnyItem | (string & {})>;
5497
6026
  export type ListVendorExternalFindingsRequestStatusMatchesAnyItem = "ACTIVE" | "RESOLVED";
@@ -5563,6 +6092,31 @@ export interface PaginatedResponseVendorFindingResults {
5563
6092
  export interface PaginatedResponseVendorFinding {
5564
6093
  results: PaginatedResponseVendorFindingResults;
5565
6094
  }
6095
+ export interface ListVendorFourthPartiesRequest {
6096
+ vendorId: string;
6097
+ pageSize?: number | undefined;
6098
+ pageCursor?: string | undefined;
6099
+ }
6100
+ export interface ListVendorQuestionnairesRequest {
6101
+ pageSize?: number | undefined;
6102
+ pageCursor?: string | undefined;
6103
+ }
6104
+ export interface VendorQuestionnaire {
6105
+ id: string;
6106
+ name: string;
6107
+ description: string | null;
6108
+ /** Number of top-level questions across all sections. Conditional follow-up questions are not counted. */
6109
+ questionCount: number;
6110
+ createdAt: string;
6111
+ }
6112
+ export type PaginatedResponseVendorQuestionnaireResultsDataList = Array<VendorQuestionnaire>;
6113
+ export interface PaginatedResponseVendorQuestionnaireResults {
6114
+ data: PaginatedResponseVendorQuestionnaireResultsDataList;
6115
+ pageInfo: PageInfo;
6116
+ }
6117
+ export interface PaginatedResponseVendorQuestionnaire {
6118
+ results: PaginatedResponseVendorQuestionnaireResults;
6119
+ }
5566
6120
  export interface ListVendorRiskAttributesRequest {
5567
6121
  pageSize?: number | undefined;
5568
6122
  pageCursor?: string | undefined;
@@ -5997,6 +6551,11 @@ export interface SnoozeFrameworkRequest {
5997
6551
  /** Date the framework becomes active again at 00:00 UTC, in YYYY-MM-DD format. Must be tomorrow or later. */
5998
6552
  snoozedUntilDate: string;
5999
6553
  }
6554
+ export interface StartAssessmentForVendorRequest {
6555
+ vendorId: string;
6556
+ /** ID of the assessment type to start for this vendor. */
6557
+ assessmentTypeId: string;
6558
+ }
6000
6559
  export interface SubmitDocumentCollectionRequest {
6001
6560
  documentId: string;
6002
6561
  }
@@ -6023,7 +6582,7 @@ export interface UpdateAnswerLibraryEntryRouteRequest {
6023
6582
  tags?: UpdateAnswerLibraryEntryRouteRequestTagsList | undefined;
6024
6583
  }
6025
6584
  /** Compliance standard to associate with this framework. Pass null to unset. */
6026
- export type UpdateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aiuc1_26q3" | "aiuc1_26q4" | "atc" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps230" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "fedramp20x_classA" | "fedramp20x_classBC" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27017_2026" | "iso27018" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "nydfs500_2023" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
6585
+ export type UpdateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aiuc1_26q3" | "aiuc1_26q4" | "atc" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps230" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "fedramp20x_classA" | "fedramp20x_classBC" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27017_2026" | "iso27018" | "iso27018_2025" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "nydfs500_2023" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
6027
6586
  export interface UpdateComplianceFrameworkRequest {
6028
6587
  slugId: string;
6029
6588
  frameworkId: string;
@@ -6411,6 +6970,8 @@ export interface UpdateTrustCenterSubscriberGroupRequest {
6411
6970
  /** Updated name of the subscriber group. */
6412
6971
  name: string;
6413
6972
  }
6973
+ /** Replaces the update's tags in categories enabled for the Trust Center. Omit to leave tags unchanged; an empty array removes them. Tags in a disabled category are kept and return if it is enabled again. Tags must belong to enabled categories. Ignored without Trust Center Pro. */
6974
+ export type UpdateTrustCenterUpdateRequestTagsList = Array<TagInput>;
6414
6975
  export interface UpdateTrustCenterUpdateRequest {
6415
6976
  slugId: string;
6416
6977
  updateId: string;
@@ -6422,6 +6983,8 @@ export interface UpdateTrustCenterUpdateRequest {
6422
6983
  category: UpdateCategory | (string & {});
6423
6984
  /** Visibility type of the update. */
6424
6985
  visibilityType?: UpdateVisibilityType | (string & {}) | undefined;
6986
+ /** Replaces the update's tags in categories enabled for the Trust Center. Omit to leave tags unchanged; an empty array removes them. Tags in a disabled category are kept and return if it is enabled again. Tags must belong to enabled categories. Ignored without Trust Center Pro. */
6987
+ tags?: UpdateTrustCenterUpdateRequestTagsList | undefined;
6425
6988
  }
6426
6989
  /** Identifiers for the resources that this viewer should have access to. */
6427
6990
  export type UpdateTrustCenterViewerRequestResourceIdsList = Array<string>;
@@ -6608,6 +7171,17 @@ export interface UploadContractRequest {
6608
7171
  /** Stable source-system identifier used to reject duplicate contract uploads; repeats return 409. Use the upstream document or record ID when available, such as the Microsoft Graph DriveItem ID for SharePoint or the Ironclad record ID for Ironclad. If there is no source system, generate and store a durable idempotency key. Maximum 256 characters. */
6609
7172
  externalId?: string | undefined;
6610
7173
  }
7174
+ export interface UploadDocumentForAssessmentRequest {
7175
+ vendorId: string;
7176
+ assessmentId: string;
7177
+ file: string;
7178
+ /** Type of the vendor document. */
7179
+ type: string;
7180
+ /** The document's title. */
7181
+ title?: string | undefined;
7182
+ /** The document's description. */
7183
+ description?: string | undefined;
7184
+ }
6611
7185
  export interface UploadDocumentForSecurityReviewRequest {
6612
7186
  vendorId: string;
6613
7187
  securityReviewId: string;
@@ -6719,6 +7293,9 @@ export interface VerifyKnowledgeBaseResourceRequest {
6719
7293
  expirationDate?: string | undefined;
6720
7294
  }
6721
7295
  export type VerifyKnowledgeBaseResourceResponse = TrustKnowledgeBaseResourceOutput;
7296
+ export interface OutboundError {
7297
+ message: string;
7298
+ }
6722
7299
  export type AcknowledgeSlaMissVulnerabilityRemediationsError = VantaOpError;
6723
7300
  /** Acknowledge SLA miss Acknowledge an SLA miss for a vulnerability remediation. */
6724
7301
  export declare const acknowledgeSlaMissVulnerabilityRemediations: API.OperationMethod<AcknowledgeSlaMissVulnerabilityRemediationsRequest, BulkResponse, AcknowledgeSlaMissVulnerabilityRemediationsError, VantaOpContext>;
@@ -6878,6 +7455,9 @@ export declare const createWebsiteQuestionnaire: API.OperationMethod<CreateWebsi
6878
7455
  export type DeactivateTestEntityError = VantaOpError;
6879
7456
  /** Deactivate test entity Deactivates a single test item (test entity). There may be a delay in the deactivation of the test entity until the next test run. Use the /vulnerabilities/deactivate endpoint for vulnerabilities. */
6880
7457
  export declare const deactivateTestEntity: API.OperationMethod<DeactivateTestEntityRequest, DeactivateTestEntityResponse, DeactivateTestEntityError, VantaOpContext>;
7458
+ export type DeactivateUsersError = VantaOpError;
7459
+ /** Deactivate users Deactivate a list of users that were added to Vanta manually. Deactivated users can no longer sign in to Vanta. Users provisioned by your identity provider, for example through SCIM, cannot be deactivated here; remove them through your identity provider instead. The last active admin in the organization cannot be deactivated. Each user is processed independently, so a user that cannot be deactivated does not stop the others in the request. */
7460
+ export declare const deactivateUsers: API.OperationMethod<DeactivateUsersRequest, BulkResponse, DeactivateUsersError, VantaOpContext>;
6881
7461
  export type DeactivateVulnerabilitiesError = VantaOpError;
6882
7462
  /** Deactivate vulnerability monitoring for a vulnerability Deactivate monitoring for select vulnerabilities. Vanta will not monitor a deactivated vulnerability until it is reactivated. */
6883
7463
  export declare const deactivateVulnerabilities: API.OperationMethod<DeactivateVulnerabilitiesRequest, BulkResponse, DeactivateVulnerabilitiesError, VantaOpContext>;
@@ -6989,6 +7569,9 @@ export declare const getBusinessUnit: API.OperationMethod<GetBusinessUnitRequest
6989
7569
  export type GetChatbotConversationMessagesError = VantaOpError;
6990
7570
  /** Get Trust Center chatbot conversation messages Gets the messages for a specific chatbot conversation on a Trust Center. */
6991
7571
  export declare const getChatbotConversationMessages: API.OperationMethod<GetChatbotConversationMessagesRequest, ArrayResponseTrustCenterChatbotMessage, GetChatbotConversationMessagesError, VantaOpContext>;
7572
+ export type GetCompanyProfileError = VantaOpError;
7573
+ /** Get company profile Returns the company profile of the organization selected by the authenticated token: the business details Vanta uses to tailor its compliance program, such as legal name, company size, operating regions, and the types of sensitive data the organization handles. Fields that haven't been provided are null, and lists that haven't been provided are empty. Requires vanta-api.all:read or vanta-api.all:write. No organization selector is accepted. */
7574
+ export declare const getCompanyProfile: API.OperationMethod<GetCompanyProfileRequest, CompanyProfile, GetCompanyProfileError, VantaOpContext>;
6992
7575
  export type GetConnectedIntegrationError = VantaOpError;
6993
7576
  /** Get a connected integration Gets details for a specific integration by connection ID. */
6994
7577
  export declare const getConnectedIntegration: API.OperationMethod<GetConnectedIntegrationRequest, Integration, GetConnectedIntegrationError, VantaOpContext>;
@@ -7022,8 +7605,8 @@ export declare const getGroupMembers: API.OperationMethod<GetGroupMembersRequest
7022
7605
  export type GetGroupTaskRequirementSetError = VantaOpError;
7023
7606
  /** Get group task requirement set Gets the task requirement set applied to a group. Returns no content if the group has no task requirement set. */
7024
7607
  export declare const getGroupTaskRequirementSet: API.OperationMethod<GetGroupTaskRequirementSetRequest, GetGroupTaskRequirementSetResponse, GetGroupTaskRequirementSetError, VantaOpContext>;
7025
- export type GetIssueError = VantaOpError;
7026
- /** Get issue by ID Get the details of an issue by its ID. */
7608
+ export type GetIssueError = Forbidden | VantaOpError;
7609
+ /** Get issue by ID Get the details of an issue by its ID. Returns 403 when the organization does not have Issues. */
7027
7610
  export declare const getIssue: API.OperationMethod<GetIssueRequest, GetIssueResponse, GetIssueError, VantaOpContext>;
7028
7611
  export type GetKnowledgeBaseResourceError = VantaOpError;
7029
7612
  /** Get Knowledge Base resource Fetch a single Knowledge Base resource (FILE or URL) by id. Returns the same `type`-discriminated union as the list endpoint, so callers can branch on `type` without knowing the kind ahead of time. Returns 404 when the resource does not exist in the domain or -- for FILE rows -- when the underlying uploaded document has been deleted. */
@@ -7058,9 +7641,15 @@ export declare const getResource: API.OperationMethod<GetResourceRequest, GetRes
7058
7641
  export type GetResourceKindDetailsError = VantaOpError;
7059
7642
  /** Get details for resource kind Gets details for a specific resource type (kind) such as S3Bucket or CloudwatchLogGroup. */
7060
7643
  export declare const getResourceKindDetails: API.OperationMethod<GetResourceKindDetailsRequest, ResourceKindDetails, GetResourceKindDetailsError, VantaOpContext>;
7644
+ export type GetRiskRegisterError = VantaOpError;
7645
+ /** Get risk register by ID Get a risk register by ID. Returns the same fields as each item in `GET /risk-registers`. */
7646
+ export declare const getRiskRegister: API.OperationMethod<GetRiskRegisterRequest, RiskRegister, GetRiskRegisterError, VantaOpContext>;
7061
7647
  export type GetRiskScenarioError = VantaOpError;
7062
7648
  /** Get risk scenario by ID Get a risk scenario by ID (can be the Risk ID or the object ID). */
7063
7649
  export declare const getRiskScenario: API.OperationMethod<GetRiskScenarioRequest, RiskScenario, GetRiskScenarioError, VantaOpContext>;
7650
+ export type GetRiskSettingsError = VantaOpError;
7651
+ /** Get risk settings Get this domain's risk settings: the stages risks are scored at, the categories risk scenarios can belong to, and the custom fields configured for risk scenarios. Use `GET /risk-registers` to see which custom fields apply to each register. */
7652
+ export declare const getRiskSettings: API.OperationMethod<GetRiskSettingsRequest, RiskSettings, GetRiskSettingsError, VantaOpContext>;
7064
7653
  export type GetSecurityReviewDocumentsError = VantaOpError;
7065
7654
  /** List security review documents Lists a security review's documents. */
7066
7655
  export declare const getSecurityReviewDocuments: API.OperationMethod<GetSecurityReviewDocumentsRequest, PaginatedResponseVendorDocument, GetSecurityReviewDocumentsError, VantaOpContext>;
@@ -7142,6 +7731,9 @@ export declare const getVendorAlertSettings: API.OperationMethod<GetVendorAlertS
7142
7731
  export type GetVendorAssessmentTypeError = VantaOpError;
7143
7732
  /** Get assessment type by ID Gets an assessment type by ID. */
7144
7733
  export declare const getVendorAssessmentType: API.OperationMethod<GetVendorAssessmentTypeRequest, VendorAssessmentType, GetVendorAssessmentTypeError, VantaOpContext>;
7734
+ export type GetVendorAssessmentTypeRulesError = VantaOpError;
7735
+ /** Get assessment type rules Gets an assessment type's rules for each vendor risk level: the evidence and questionnaires requested from vendors at that level, and how often they are reassessed. */
7736
+ export declare const getVendorAssessmentTypeRules: API.OperationMethod<GetVendorAssessmentTypeRulesRequest, VendorAssessmentTypeRules, GetVendorAssessmentTypeRulesError, VantaOpContext>;
7145
7737
  export type GetVendorCategoryError = VantaOpError;
7146
7738
  /** Get vendor category by ID Gets a system or custom vendor category by ID. */
7147
7739
  export declare const getVendorCategory: API.OperationMethod<GetVendorCategoryRequest, VendorCategory2, GetVendorCategoryError, VantaOpContext>;
@@ -7160,8 +7752,8 @@ export declare const getVulnerableAsset: API.OperationMethod<GetVulnerableAssetR
7160
7752
  export type ImportIdpGroupsError = VantaOpError;
7161
7753
  /** Import IdP groups Imports groups from an identity provider. */
7162
7754
  export declare const importIdpGroups: API.OperationMethod<ImportIdpGroupsRequest, ImportIdpGroupsResponse, ImportIdpGroupsError, VantaOpContext>;
7163
- export type ListError = VantaOpError;
7164
- /** List issues List issues on a domain (paginated). Returns a paginated list of issues that the authenticated app has permission to view, optionally filtered and sorted. */
7755
+ export type ListError = Forbidden | VantaOpError;
7756
+ /** List issues List issues on a domain (paginated). Returns a paginated list of issues that the authenticated app has permission to view, optionally filtered and sorted. Returns 403 when the organization does not have Issues. */
7165
7757
  export declare const list: API.OperationMethod<ListRequest, PaginatedResponseIssue, ListError, VantaOpContext>;
7166
7758
  export type ListAccountMappingsError = VantaOpError;
7167
7759
  /** List accounts mapped to a risk scenario List explicitly linked integration accounts. Accounts included through a whole-integration mapping are represented by the integrations collection. Each mapping has a serviceId, Vanta connection accountId, and optional subunitId. Replay pagination cursors exactly as returned. Supply the risk scenario's Risk ID or object ID. */
@@ -7169,6 +7761,9 @@ export declare const listAccountMappings: API.OperationMethod<ListAccountMapping
7169
7761
  export type ListAnswerLibraryEntriesError = VantaOpError;
7170
7762
  /** List Answer Library entries List Answer Library entries. Supports full-text search, tag filtering (OR across the given tags), and date-range filters on last-updated and expiration. Entries are returned most-recently-updated first. */
7171
7763
  export declare const listAnswerLibraryEntries: API.OperationMethod<ListAnswerLibraryEntriesRequest, PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutput, ListAnswerLibraryEntriesError, VantaOpContext>;
7764
+ export type ListAssessmentQuestionsError = VantaOpError;
7765
+ /** List assessment questions with answers Lists the questions in an assessment's questionnaire with their Vanta AI, vendor, and user answers. Returns an empty list when the assessment has no questionnaire. */
7766
+ export declare const listAssessmentQuestions: API.OperationMethod<ListAssessmentQuestionsRequest, PaginatedResponseVendorAssessmentQuestion, ListAssessmentQuestionsError, VantaOpContext>;
7172
7767
  export type ListAssignableUsersError = VantaOpError;
7173
7768
  /** List assignable users List users who can be assigned as owner or approver on a questionnaire. When a role is specified, results are filtered to users with that role's required permission. When omitted, users assignable to either role are returned. Results can optionally be narrowed by a search string. */
7174
7769
  export declare const listAssignableUsers: API.OperationMethod<ListAssignableUsersRequest, QuestionnaireAssignableUsersResponse, ListAssignableUsersError, VantaOpContext>;
@@ -7232,6 +7827,12 @@ export declare const listEventLogs: API.OperationMethod<ListEventLogsRequest, Pa
7232
7827
  export type ListFilesForDocumentError = VantaOpError;
7233
7828
  /** List document's uploads List the uploaded files for a document. */
7234
7829
  export declare const listFilesForDocument: API.OperationMethod<ListFilesForDocumentRequest, PaginatedResponseUploadedFileT, ListFilesForDocumentError, VantaOpContext>;
7830
+ export type ListFourthPartiesError = VantaOpError;
7831
+ /** List fourth parties Lists fourth parties ordered by dependent vendor count, highest first. Risk filters recalculate counts using matching dependents; the used-by filter selects rows without further narrowing counts. Requires vendor and fourth-party read access, with fourth parties enabled for your organization. Otherwise returns 403. Fourth parties and counts include all active and procurement vendors in your organization. Results aren't limited by per-vendor access. */
7832
+ export declare const listFourthParties: API.OperationMethod<ListFourthPartiesRequest, PaginatedResponseFourthParty, ListFourthPartiesError, VantaOpContext>;
7833
+ export type ListFourthPartyVendorsError = VantaOpError;
7834
+ /** List fourth party vendors Lists the vendors that depend on a fourth party, ordered by vendor name, optionally filtered by inherent and residual risk with AND semantics. Requires vendor and fourth-party read access, with fourth parties enabled for your organization. Otherwise returns 403. Includes every active and procurement vendor in your organization that depends on the fourth party. Results aren't limited by per-vendor access. */
7835
+ export declare const listFourthPartyVendors: API.OperationMethod<ListFourthPartyVendorsRequest, PaginatedResponseFourthPartyVendor, ListFourthPartyVendorsError, VantaOpContext>;
7235
7836
  export type ListFrameworksError = VantaOpError;
7236
7837
  /** List available frameworks Lists frameworks in your program, or every available framework. */
7237
7838
  export declare const listFrameworks: API.OperationMethod<ListFrameworksRequest, PaginatedResponseFramework, ListFrameworksError, VantaOpContext>;
@@ -7269,7 +7870,7 @@ export type ListQuestionnaireResponsesError = VantaOpError;
7269
7870
  /** List questionnaire responses List the responses on a questionnaire. Each response carries its `answerPartsSchema` and `answerPartsValues`, which describe the parts an answer is composed of and their current values. */
7270
7871
  export declare const listQuestionnaireResponses: API.OperationMethod<ListQuestionnaireResponsesRequest, PaginatedResponseQuestionnaireResponseWithoutViewerPermissions, ListQuestionnaireResponsesError, VantaOpContext>;
7271
7872
  export type ListQuestionnairesError = VantaOpError;
7272
- /** List questionnaires List questionnaires with filtering and pagination. */
7873
+ /** List questionnaires List questionnaires with filtering and pagination. Callers with organization-level access to questionnaires see every questionnaire. Other callers see only the questionnaires they can view, for example ones they own, approve, or own a response on. Filters narrow that set further. A caller with access to no questionnaires gets a 403; one whose viewable questionnaires are all deleted or filtered out gets an empty page. */
7273
7874
  export declare const listQuestionnaires: API.OperationMethod<ListQuestionnairesRequest, PaginatedResponseCustomerTrustQuestionnaire, ListQuestionnairesError, VantaOpContext>;
7274
7875
  export type ListResourceKindSummariesError = VantaOpError;
7275
7876
  /** List integration resource kinds Lists a connected integration's resource types (kinds) such as S3Bucket or CloudwatchLogGroup. */
@@ -7277,6 +7878,9 @@ export declare const listResourceKindSummaries: API.OperationMethod<ListResource
7277
7878
  export type ListResourcesError = VantaOpError;
7278
7879
  /** List resources Lists resources for a specific integration and resource type (kind) such as S3Bucket or CloudwatchLogGroup. */
7279
7880
  export declare const listResources: API.OperationMethod<ListResourcesRequest, PaginatedResponseAnyResource, ListResourcesError, VantaOpContext>;
7881
+ export type ListRiskRegistersError = VantaOpError;
7882
+ /** List risk registers List the risk registers in this domain. The `name` field of each register is the value to use in the `riskRegister` field on `POST /risk-scenarios` and `PATCH /risk-scenarios/{id}`. In domains with multiple registers, `riskRegister` is required on risk-scenario create. Registers with `registerType: "ENTERPRISE"` are system-managed. Each register's `settings.applicableCustomFields` lists the custom field labels that can be set on its risk scenarios. */
7883
+ export declare const listRiskRegisters: API.OperationMethod<ListRiskRegistersRequest, PaginatedResponseRiskRegister, ListRiskRegistersError, VantaOpContext>;
7280
7884
  export type ListRiskScenarioError = VantaOpError;
7281
7885
  /** List risk scenarios List risk scenarios. */
7282
7886
  export declare const listRiskScenario: API.OperationMethod<ListRiskScenarioRequest, PaginatedResponseRiskScenario, ListRiskScenarioError, VantaOpContext>;
@@ -7352,9 +7956,15 @@ export declare const listVendorAssessmentTypes: API.OperationMethod<ListVendorAs
7352
7956
  export type ListVendorCategoriesError = VantaOpError;
7353
7957
  /** List vendor categories Lists Vanta's system vendor categories followed by your custom categories. */
7354
7958
  export declare const listVendorCategories: API.OperationMethod<ListVendorCategoriesRequest, PaginatedResponseVendorCategory, ListVendorCategoriesError, VantaOpContext>;
7959
+ export type ListVendorCustomFieldDefinitionsError = VantaOpError;
7960
+ /** List vendor custom field definitions Lists the organization's configured vendor custom fields, including fields without values on any vendor. Results are ordered by stable field ID. Use field labels and option labels when writing vendor customFields values. */
7961
+ export declare const listVendorCustomFieldDefinitions: API.OperationMethod<ListVendorCustomFieldDefinitionsRequest, PaginatedResponseVendorCustomFieldDefinition, ListVendorCustomFieldDefinitionsError, VantaOpContext>;
7355
7962
  export type ListVendorDocumentsError = VantaOpError;
7356
7963
  /** List vendor documents Returns a vendor's list of documents. */
7357
7964
  export declare const listVendorDocuments: API.OperationMethod<ListVendorDocumentsRequest, PaginatedResponseVendorDocument, ListVendorDocumentsError, VantaOpContext>;
7965
+ export type ListVendorDocumentTypesError = VantaOpError;
7966
+ /** List vendor document types Lists Vanta-provided and custom document types accepted by the vendor document upload APIs. Use the returned `type` value when uploading a vendor document. Use `id` to save a mapping to a document type. For custom document types, the `id` stays the same if the document type is renamed, while `name` and `type` reflect the current name. Refresh this catalog before uploading documents if custom document type names may have changed. Results return Vanta-provided document types first, then custom document types, with each group sorted by display name and ID. Custom document types with names matching values reserved for Vanta-provided document types are excluded because uploads would otherwise use the Vanta-provided type. */
7967
+ export declare const listVendorDocumentTypes: API.OperationMethod<ListVendorDocumentTypesRequest, PaginatedResponseVendorDocumentTypeCatalogEntry, ListVendorDocumentTypesError, VantaOpContext>;
7358
7968
  export type ListVendorExternalFindingsError = VantaOpError;
7359
7969
  /** List vendor external findings Lists the security findings continuous monitoring has found on a vendor's external-facing assets, such as exposed assets and vulnerabilities. When you use pageCursor, keep the filters and sorting the same as in your previous request. Requires continuous monitoring. */
7360
7970
  export declare const listVendorExternalFindings: API.OperationMethod<ListVendorExternalFindingsRequest, PaginatedResponseVendorExternalFinding, ListVendorExternalFindingsError, VantaOpContext>;
@@ -7364,6 +7974,12 @@ export declare const listVendorFindingMappings: API.OperationMethod<ListVendorFi
7364
7974
  export type ListVendorFindingsError = VantaOpError;
7365
7975
  /** List vendor findings Lists a vendor's findings. */
7366
7976
  export declare const listVendorFindings: API.OperationMethod<ListVendorFindingsRequest, PaginatedResponseVendorFinding, ListVendorFindingsError, VantaOpContext>;
7977
+ export type ListVendorFourthPartiesError = VantaOpError;
7978
+ /** List vendor fourth parties Lists a vendor's fourth parties with full portfolio dependent counts. Requires vendor and fourth-party read access, with fourth parties enabled for your organization. Otherwise returns 403. Fourth parties and counts include all active and procurement vendors in your organization. Results aren't limited by per-vendor access. */
7979
+ export declare const listVendorFourthParties: API.OperationMethod<ListVendorFourthPartiesRequest, PaginatedResponseFourthParty, ListVendorFourthPartiesError, VantaOpContext>;
7980
+ export type ListVendorQuestionnairesError = VantaOpError;
7981
+ /** List vendor questionnaires Lists the organization's in-app vendor questionnaire templates. Uploaded spreadsheet questionnaires are not included. */
7982
+ export declare const listVendorQuestionnaires: API.OperationMethod<ListVendorQuestionnairesRequest, PaginatedResponseVendorQuestionnaire, ListVendorQuestionnairesError, VantaOpContext>;
7367
7983
  export type ListVendorRiskAttributesError = VantaOpError;
7368
7984
  /** List vendor risk attributes Returns a list of vendor risk attributes. */
7369
7985
  export declare const listVendorRiskAttributes: API.OperationMethod<ListVendorRiskAttributesRequest, PaginatedResponseVendorRiskAttribute, ListVendorRiskAttributesError, VantaOpContext>;
@@ -7463,6 +8079,9 @@ export declare const setStatusForVendor: API.OperationMethod<SetStatusForVendorR
7463
8079
  export type SnoozeFrameworkError = VantaOpError;
7464
8080
  /** Snooze a framework Snoozes an active framework in your organization until a date, or changes the end date of an existing snooze. While a framework is snoozed, its tests and documents are hidden and send no notifications, and its policies are marked inactive. Vanta keeps collecting data in the background, and the framework returns to active at 00:00 UTC on snoozedUntilDate. Draft and archived frameworks cannot be snoozed. */
7465
8081
  export declare const snoozeFramework: API.OperationMethod<SnoozeFrameworkRequest, FrameworkSnooze, SnoozeFrameworkError, VantaOpContext>;
8082
+ export type StartAssessmentForVendorError = VantaOpError;
8083
+ /** Start assessment Starts an assessment for the specified vendor and assessment type. Creates an assessment if needed, or starts an eligible existing assessment. Assessments associated with security incidents cannot be started through this endpoint. Requires both the `vendors:view` and `vendors_data:manage` organization permissions: `vendors:view` to read the assessment type and `vendors_data:manage` to start the assessment. Returns 403 Forbidden when the caller lacks either permission. Returns 404 Not Found when the vendor or the assessment type does not exist in the customer's organization. Returns 422 Unprocessable Entity when an eligible assessment cannot be started, including when it is already in progress. */
8084
+ export declare const startAssessmentForVendor: API.OperationMethod<StartAssessmentForVendorRequest, VendorAssessment, StartAssessmentForVendorError, VantaOpContext>;
7466
8085
  export type SubmitDocumentCollectionError = VantaOpError;
7467
8086
  /** Submit document collection Submit document collection. */
7468
8087
  export declare const submitDocumentCollection: API.OperationMethod<SubmitDocumentCollectionRequest, SubmitDocumentCollectionResponse, SubmitDocumentCollectionError, VantaOpContext>;
@@ -7583,6 +8202,9 @@ export declare const uploadComplianceFrameworkBadge: API.OperationMethod<UploadC
7583
8202
  export type UploadContractError = VantaOpError;
7584
8203
  /** Upload contract Upload a contract. Rate limit: 10 requests / minute. */
7585
8204
  export declare const uploadContract: API.OperationMethod<UploadContractRequest, Contract, UploadContractError, VantaOpContext>;
8205
+ export type UploadDocumentForAssessmentError = VantaOpError;
8206
+ /** Add document to assessment Add a document to a vendor assessment of any type. */
8207
+ export declare const uploadDocumentForAssessment: API.OperationMethod<UploadDocumentForAssessmentRequest, VendorDocument, UploadDocumentForAssessmentError, VantaOpContext>;
7586
8208
  export type UploadDocumentForSecurityReviewError = VantaOpError;
7587
8209
  /** Add document to security review Add document to a security review. */
7588
8210
  export declare const uploadDocumentForSecurityReview: API.OperationMethod<UploadDocumentForSecurityReviewRequest, VendorDocument, UploadDocumentForSecurityReviewError, VantaOpContext>;