@distilled.cloud/vanta 1.0.0-rc.20 → 1.0.0-rc.22

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 +7 -0
  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 +45 -45
  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 +637 -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 +9 -1
  41. package/src/index.ts +2 -3
  42. package/src/protocol.ts +13 -23
  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 +4897 -3134
  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;
@@ -955,6 +974,8 @@ export interface ScoreBreakdownEntry {
955
974
  /** Overall inherent score, dimensions, and nested factors, ordered parents before children and linked by `parentId`. `null` when Flexible Risk Scoring is off or the scenario has no score or matching config. Closed beta. */
956
975
  export type RiskScenarioScoreBreakdownList = Array<ScoreBreakdownEntry>;
957
976
  export interface RiskScenario {
977
+ /** The risk scenario's object ID, assigned by Vanta. */
978
+ id: string;
958
979
  /** The unique ID of the risk specified by the user. Used to reference and update existing risks. */
959
980
  riskId: string;
960
981
  /** This describes an actual or potential risk to your organization's people, processes, technology, data, and facilities. Document actual issues or likely scenarios based on your specific environment or a potential vulnerability. Naming note: in the UI, `description` is labelled "Title" and `detailedDescription` is labelled "Description". The field names are preserved for backwards compatibility with the public REST API and existing data. */
@@ -1049,7 +1070,7 @@ export interface KnowledgeBaseAnswerLibraryEntryOutput {
1049
1070
  tags: KnowledgeBaseAnswerLibraryEntryOutputTagsList;
1050
1071
  }
1051
1072
  /** 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";
1073
+ 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
1074
  export interface CreateComplianceFrameworkRequest {
1054
1075
  slugId: string;
1055
1076
  /** Display name of the framework. */
@@ -1323,6 +1344,8 @@ export interface KnowledgeBaseDocumentResourceOutput {
1323
1344
  type: KnowledgeBaseDocumentResourceOutputType;
1324
1345
  title: string;
1325
1346
  description: string | null;
1347
+ /** 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. */
1348
+ externalUrl: string | null;
1326
1349
  /** 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
1350
  fileUrl: string;
1328
1351
  customerVisibility: KnowledgeBaseDocumentResourceOutputCustomerVisibility | null;
@@ -1785,6 +1808,8 @@ export type CreateTrustCenterUpdateRequestNotifiedEmailsList = Array<string>;
1785
1808
  export type UpdateNotificationTarget = "ALL" | "GROUPS" | "NONE";
1786
1809
  /** IDs of subscriber groups to notify. Required when `notificationTarget` is `GROUPS`. */
1787
1810
  export type CreateTrustCenterUpdateRequestSubscriberGroupIdsList = Array<string>;
1811
+ /** 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. */
1812
+ export type CreateTrustCenterUpdateRequestTagsList = Array<TagInput>;
1788
1813
  export interface CreateTrustCenterUpdateRequest {
1789
1814
  slugId: string;
1790
1815
  /** Title of the update. */
@@ -1801,9 +1826,13 @@ export interface CreateTrustCenterUpdateRequest {
1801
1826
  notificationTarget?: UpdateNotificationTarget | (string & {}) | undefined;
1802
1827
  /** IDs of subscriber groups to notify. Required when `notificationTarget` is `GROUPS`. */
1803
1828
  subscriberGroupIds?: CreateTrustCenterUpdateRequestSubscriberGroupIdsList | undefined;
1829
+ /** 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. */
1830
+ tags?: CreateTrustCenterUpdateRequestTagsList | undefined;
1804
1831
  }
1805
1832
  /** Emails to notify about the update. */
1806
1833
  export type TrustCenterUpdateAPIResponseNotifiedEmailsList = Array<string>;
1834
+ /** Tags on the update, in categories enabled for the Trust Center. */
1835
+ export type TrustCenterUpdateAPIResponseTagsList = Array<TagInput>;
1807
1836
  export interface TrustCenterUpdateAPIResponse {
1808
1837
  /** Unique identifier for the update. */
1809
1838
  id: string;
@@ -1821,6 +1850,8 @@ export interface TrustCenterUpdateAPIResponse {
1821
1850
  visibilityType: UpdateVisibilityType;
1822
1851
  /** Emails to notify about the update. */
1823
1852
  notifiedEmails?: TrustCenterUpdateAPIResponseNotifiedEmailsList | undefined;
1853
+ /** Tags on the update, in categories enabled for the Trust Center. */
1854
+ tags: TrustCenterUpdateAPIResponseTagsList;
1824
1855
  }
1825
1856
  /** The authentication details about the vendor. */
1826
1857
  export interface CreateVendorRequestAuthDetails {
@@ -1999,6 +2030,8 @@ export interface KnowledgeBaseWebpageResourceOutput {
1999
2030
  type: KnowledgeBaseWebpageResourceOutputType;
2000
2031
  title: string;
2001
2032
  description: string | null;
2033
+ /** 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. */
2034
+ externalUrl: string | null;
2002
2035
  url: string;
2003
2036
  customerVisibility: KnowledgeBaseWebpageResourceOutputCustomerVisibility | null;
2004
2037
  includeSubPages: boolean | null;
@@ -2061,6 +2094,16 @@ export interface DeactivateTestEntityRequest {
2061
2094
  }
2062
2095
  export interface DeactivateTestEntityResponse {
2063
2096
  }
2097
+ export interface DeactivateUsersRequestUpdatesItem {
2098
+ /** ID of the user to deactivate */
2099
+ id: string;
2100
+ }
2101
+ /** List of the users to deactivate. */
2102
+ export type DeactivateUsersRequestUpdatesList = Array<DeactivateUsersRequestUpdatesItem>;
2103
+ export interface DeactivateUsersRequest {
2104
+ /** List of the users to deactivate. */
2105
+ updates: DeactivateUsersRequestUpdatesList;
2106
+ }
2064
2107
  export interface VulnerabilityDeactivateRequest {
2065
2108
  /** ID of the vulnerability to deactivate. */
2066
2109
  id: string;
@@ -2434,6 +2477,49 @@ export type ArrayResponseTrustCenterChatbotMessageResultsList = Array<TrustCente
2434
2477
  export interface ArrayResponseTrustCenterChatbotMessage {
2435
2478
  results: ArrayResponseTrustCenterChatbotMessageResultsList;
2436
2479
  }
2480
+ export interface GetCompanyProfileRequest {
2481
+ }
2482
+ /** Websites associated with the organization; may include `websiteUrl`. */
2483
+ export type CompanyProfileUrlsList = Array<string>;
2484
+ /** Regions the organization operates in, such as `north-america` or `europe`. */
2485
+ export type CompanyProfileOperatingRegionsList = Array<string>;
2486
+ /** Employment model: `company-office`, `coworking`, or `home`. */
2487
+ export type CompanyProfileWorkplaceTypesList = Array<string>;
2488
+ /** Types of sensitive data the organization handles: `pii`, `phi`, `pci`, or `financial`. */
2489
+ export type CompanyProfileSensitiveDataTypesList = Array<string>;
2490
+ /** 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. */
2491
+ export interface CompanyProfile {
2492
+ /** The name the organization goes by. */
2493
+ displayName: string | null;
2494
+ /** The organization's registered legal name. */
2495
+ legalName: string | null;
2496
+ mailingAddress: string | null;
2497
+ telephone: string | null;
2498
+ /** The organization's primary website. */
2499
+ websiteUrl: string | null;
2500
+ /** Websites associated with the organization; may include `websiteUrl`. */
2501
+ urls: CompanyProfileUrlsList;
2502
+ /** Whether the organization is incorporated in the United States. */
2503
+ USCompany: boolean | null;
2504
+ /** The organization's email domain. */
2505
+ emailDomain: string | null;
2506
+ /** Employee count range, such as `1-20` or `50001+`. */
2507
+ companySize: string | null;
2508
+ /** Regions the organization operates in, such as `north-america` or `europe`. */
2509
+ operatingRegions: CompanyProfileOperatingRegionsList;
2510
+ /** Employment model: `company-office`, `coworking`, or `home`. */
2511
+ workplaceTypes: CompanyProfileWorkplaceTypesList;
2512
+ /** Whether the organization has physical data centers. */
2513
+ physicalDataCenters: boolean | null;
2514
+ /** Whether the organization has a board of directors. */
2515
+ boardOfDirectors: boolean | null;
2516
+ /** Whether the organization uses portable devices. */
2517
+ portableDevices: boolean | null;
2518
+ /** Whether the organization provides external support. */
2519
+ externalSupport: boolean | null;
2520
+ /** Types of sensitive data the organization handles: `pii`, `phi`, `pci`, or `financial`. */
2521
+ sensitiveDataTypes: CompanyProfileSensitiveDataTypesList;
2522
+ }
2437
2523
  export interface GetConnectedIntegrationRequest {
2438
2524
  /** Unique identifier of the integration */
2439
2525
  integrationId: string;
@@ -3133,7 +3219,7 @@ export interface GetResourceRequest {
3133
3219
  /** Unique identifier of the resource. */
3134
3220
  resourceId: string;
3135
3221
  }
3136
- export type ResourceResponseType = "Account" | "AutoScalingGroup" | "ClusterDeployment" | "ComputeInstance" | "ContainerCluster" | "ContainerRepository" | "Database" | "Device" | "GitRepository" | "KubernetesCluster" | "LoadBalancer" | "PaaS" | "Resource" | "Queue" | "ServerlessFunction" | "StorageBucket";
3222
+ export type ResourceResponseType = "Account" | "Artifact" | "AutoScalingGroup" | "ClusterDeployment" | "ComputeInstance" | "ContainerCluster" | "ContainerRepository" | "Database" | "Device" | "GitRepository" | "KubernetesCluster" | "LoadBalancer" | "PaaS" | "Resource" | "Queue" | "ServerlessFunction" | "StorageBucket";
3137
3223
  export interface Resource {
3138
3224
  responseType: ResourceResponseType;
3139
3225
  /** The identifier for the resource type, unique within the scope of an Integration. */
@@ -3155,6 +3241,66 @@ export interface Resource {
3155
3241
  /** When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted. */
3156
3242
  deletedDate?: string | null | undefined;
3157
3243
  }
3244
+ export type ResourceResponseTypeArtifact = "Artifact";
3245
+ export interface Artifact {
3246
+ responseType: ResourceResponseTypeArtifact;
3247
+ /** The identifier for the resource type, unique within the scope of an Integration. */
3248
+ resourceKind: string;
3249
+ /** The unique identifier for the Resource. */
3250
+ resourceId: string;
3251
+ /** The unique identifier for the Connection used to ingest the Resource if it exists. */
3252
+ connectionId: string | null;
3253
+ /** The Resource's display name. */
3254
+ displayName: string;
3255
+ /** The unique identifier for the owner of the resource in Vanta. */
3256
+ owner: string | null;
3257
+ /** Whether the resource is in scope for audits. */
3258
+ inScope: boolean;
3259
+ /** The description of the resource in Vanta. */
3260
+ description: string | null;
3261
+ /** When Vanta first ingested the Resource. */
3262
+ creationDate: string;
3263
+ /** When the resource was deleted/removed from the integration, if applicable. This field is only present when the resource has been deleted. */
3264
+ deletedDate?: string | null | undefined;
3265
+ /** The package format, such as Maven or npm. */
3266
+ packageType: string;
3267
+ /** The repository key in JFrog. */
3268
+ repository: string;
3269
+ /** The JFrog repository class. Currently `LOCAL` or `FEDERATED`. */
3270
+ repositoryClass: string;
3271
+ /** The directory path within the repository. A dot denotes the root. */
3272
+ path: string | null;
3273
+ /** The file size in bytes. */
3274
+ sizeBytes: number | null;
3275
+ /** The file's SHA-256 checksum. */
3276
+ sha256: string | null;
3277
+ /** The SHA-1 checksum calculated by JFrog. */
3278
+ sha1: string | null;
3279
+ /** The original SHA-1 checksum supplied on upload, when available. */
3280
+ sha1Original: string | null;
3281
+ /** The MD5 checksum calculated by JFrog. */
3282
+ md5: string | null;
3283
+ /** The original MD5 checksum supplied on upload, when available. */
3284
+ md5Original: string | null;
3285
+ /** When JFrog created the file. */
3286
+ fileCreationDate: string | null;
3287
+ /** When JFrog recorded the file upload. */
3288
+ uploadDate: string | null;
3289
+ /** When JFrog last modified the file. */
3290
+ lastModifiedDate: string | null;
3291
+ /** The JFrog user who uploaded the file. */
3292
+ createdBy: string | null;
3293
+ /** The JFrog user who last modified the file. */
3294
+ modifiedBy: string | null;
3295
+ /** The download count recorded by JFrog. */
3296
+ downloadCount: number | null;
3297
+ /** The remote download count recorded by JFrog. */
3298
+ remoteDownloadCount: number | null;
3299
+ /** When JFrog last recorded a download of the file. */
3300
+ lastDownloadDate: string | null;
3301
+ /** The JFrog user who last downloaded the file. */
3302
+ lastDownloadedBy: string | null;
3303
+ }
3158
3304
  export interface CloudInfrastructure {
3159
3305
  responseType: ResourceResponseType;
3160
3306
  /** The identifier for the resource type, unique within the scope of an Integration. */
@@ -3206,6 +3352,10 @@ export interface ContainerRepository {
3206
3352
  region: string;
3207
3353
  /** Whether autoscans have been enabled */
3208
3354
  isAutoscanEnabled: boolean | null;
3355
+ /** The JFrog package format. Currently `DOCKER`, `OCI`, or `HELMOCI`. Null for other providers. */
3356
+ packageType: string | null;
3357
+ /** The JFrog repository class. Currently `LOCAL` or `FEDERATED`. Null for other providers. */
3358
+ repositoryClass: string | null;
3209
3359
  }
3210
3360
  export interface Database {
3211
3361
  responseType: ResourceResponseType;
@@ -3461,7 +3611,7 @@ export interface OrganizationSubunit {
3461
3611
  /** Account ID corresponding to the subunit. Could be null if the subunit is not an account, e.g. a subscription */
3462
3612
  accountId: string | null;
3463
3613
  }
3464
- export type AnyResource = Resource | CloudInfrastructure | ContainerRepository | Database | Device | PaaS | Queue | StorageBucket | Account | AwsAccount | OrganizationSubunit;
3614
+ export type AnyResource = Resource | Artifact | CloudInfrastructure | ContainerRepository | Database | Device | PaaS | Queue | StorageBucket | Account | AwsAccount | OrganizationSubunit;
3465
3615
  export type GetResourceResponse = AnyResource;
3466
3616
  export interface GetResourceKindDetailsRequest {
3467
3617
  /** Unique identifier of the integration. */
@@ -3491,9 +3641,94 @@ export interface ResourceKindDetails {
3491
3641
  /** The count of resources of the given type that have been given a description in Vanta. */
3492
3642
  numWithDescription: number;
3493
3643
  }
3644
+ export interface GetRiskRegisterRequest {
3645
+ riskRegisterId: string;
3646
+ }
3647
+ export type RestRiskRegisterType = "SCOPED" | "ENTERPRISE";
3648
+ /** 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. */
3649
+ export type RiskRegisterSettingsApplicableCustomFieldsList = Array<string>;
3650
+ export interface RiskRegisterSettings {
3651
+ /** 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. */
3652
+ applicableCustomFields: RiskRegisterSettingsApplicableCustomFieldsList;
3653
+ }
3654
+ /** 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. */
3655
+ export interface RiskRegister {
3656
+ /** The unique ID of the risk register. */
3657
+ id: string;
3658
+ /** The name of the risk register. This is the value used in the `riskRegister` field on risk-scenario create and update requests. */
3659
+ name: string;
3660
+ /** Optional description of this register. */
3661
+ description: string | null;
3662
+ /** Whether this is a scoped user-managed register or the system-managed enterprise register. */
3663
+ registerType: RestRiskRegisterType;
3664
+ /** When this risk register was created. */
3665
+ creationDate: string;
3666
+ /** Configuration that applies to the risk scenarios in this register. */
3667
+ settings: RiskRegisterSettings;
3668
+ }
3494
3669
  export interface GetRiskScenarioRequest {
3495
3670
  riskScenarioId: string;
3496
3671
  }
3672
+ export interface GetRiskSettingsRequest {
3673
+ }
3674
+ export type RiskScoreProfileType = "CLASSIC" | "ADVANCED";
3675
+ export type RiskScoreStageKey = "INHERENT" | "CURRENT" | "TARGET";
3676
+ export interface RiskScoreStage {
3677
+ /** 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. */
3678
+ stageKey: RiskScoreStageKey;
3679
+ /** The domain's name for this stage. */
3680
+ label: string;
3681
+ description: string | null;
3682
+ }
3683
+ /** The stages, in display order. */
3684
+ export type RiskScoreProfileScoreStagesList = Array<RiskScoreStage>;
3685
+ export interface RiskScoreProfile {
3686
+ /** `CLASSIC` scores the `CURRENT` and `TARGET` stages. `ADVANCED` also scores `INHERENT`. */
3687
+ profileType: RiskScoreProfileType;
3688
+ /** The stages, in display order. */
3689
+ scoreStages: RiskScoreProfileScoreStagesList;
3690
+ }
3691
+ export type RiskCategoryType = "VANTA_DEFAULT" | "CUSTOM";
3692
+ export interface RiskCategory {
3693
+ name: string;
3694
+ /** `VANTA_DEFAULT` for a category Vanta provides, or `CUSTOM` for one the domain created. */
3695
+ type: RiskCategoryType;
3696
+ }
3697
+ /** 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. */
3698
+ export type RiskSettingsCategoriesList = Array<RiskCategory>;
3699
+ export type RiskCustomFieldDataType = "CURRENCY" | "DATE" | "DECIMAL" | "INTEGER" | "PICKLIST" | "STRING" | "USER";
3700
+ /** The values a `PICKLIST` field accepts. `null` for other data types. */
3701
+ export type RiskCustomFieldPicklistOptionsList = Array<string>;
3702
+ export type RiskCustomFieldCurrencyUnit = "DEFAULT" | "K" | "M" | "B";
3703
+ export interface RiskCustomFieldCurrency {
3704
+ /** ISO 4217 currency code, such as `USD`. */
3705
+ code: string;
3706
+ /** The unit amounts are shown in: `K` (thousands), `M` (millions), `B` (billions), or `DEFAULT` (no unit). */
3707
+ unit: RiskCustomFieldCurrencyUnit;
3708
+ }
3709
+ export interface RiskCustomField {
3710
+ /** The value accepted as `label` in the `customFields` field on risk-scenario create and update requests. */
3711
+ label: string;
3712
+ description: string | null;
3713
+ dataType: RiskCustomFieldDataType;
3714
+ /** The values a `PICKLIST` field accepts. `null` for other data types. */
3715
+ picklistOptions: RiskCustomFieldPicklistOptionsList | null;
3716
+ /** The number of decimal places a `DECIMAL` field keeps. `null` for other data types. */
3717
+ decimalPlaces: number | null;
3718
+ /** The currency of a `CURRENCY` field. `null` for other data types. */
3719
+ currency: RiskCustomFieldCurrency | null;
3720
+ }
3721
+ /** The custom fields configured for risk scenarios, in display order. */
3722
+ export type RiskSettingsCustomFieldsList = Array<RiskCustomField>;
3723
+ /** The domain's risk settings: the stages risks are scored at, and the categories and custom fields available on risk scenarios. */
3724
+ export interface RiskSettings {
3725
+ /** The stages every risk is scored at, with the domain's names for them. `null` when score stages aren't available to the domain. */
3726
+ scoreProfile: RiskScoreProfile | null;
3727
+ /** 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. */
3728
+ categories: RiskSettingsCategoriesList;
3729
+ /** The custom fields configured for risk scenarios, in display order. */
3730
+ customFields: RiskSettingsCustomFieldsList;
3731
+ }
3497
3732
  export interface GetSecurityReviewDocumentsRequest {
3498
3733
  vendorId: string;
3499
3734
  securityReviewId: string;
@@ -3887,6 +4122,31 @@ export interface VendorAssessmentType {
3887
4122
  /** Who fills out assessments of this type. */
3888
4123
  audience: VendorAssessmentTypeAudience;
3889
4124
  }
4125
+ export interface GetVendorAssessmentTypeRulesRequest {
4126
+ assessmentTypeId: string;
4127
+ }
4128
+ /** Document types requested as evidence from vendors at this risk level. Values match the `type` field returned by the list vendor document types endpoint. */
4129
+ export type VendorAssessmentTypeRiskLevelRulesPreferredEvidenceTypesList = Array<string>;
4130
+ /** IDs of the in-app and spreadsheet questionnaires sent to vendors at this risk level. */
4131
+ export type VendorAssessmentTypeRiskLevelRulesPreferredQuestionnaireIdsList = Array<string>;
4132
+ export interface VendorAssessmentTypeRiskLevelRules {
4133
+ /** The vendor risk level these rules apply to. */
4134
+ riskLevel: VendorRiskLevel;
4135
+ /** Document types requested as evidence from vendors at this risk level. Values match the `type` field returned by the list vendor document types endpoint. */
4136
+ preferredEvidenceTypes: VendorAssessmentTypeRiskLevelRulesPreferredEvidenceTypesList;
4137
+ /** IDs of the in-app and spreadsheet questionnaires sent to vendors at this risk level. */
4138
+ preferredQuestionnaireIds: VendorAssessmentTypeRiskLevelRulesPreferredQuestionnaireIdsList;
4139
+ /** How often vendors at this risk level are reassessed, as an ISO 8601 duration (e.g. `P12M`). Null when no recurring assessment is required. */
4140
+ cadence: string | null;
4141
+ }
4142
+ /** The rules for each vendor risk level, ordered from CRITICAL to UNSCORED. */
4143
+ export type VendorAssessmentTypeRulesRulesList = Array<VendorAssessmentTypeRiskLevelRules>;
4144
+ export interface VendorAssessmentTypeRules {
4145
+ /** The ID of the assessment type the rules belong to. */
4146
+ assessmentTypeId: string;
4147
+ /** The rules for each vendor risk level, ordered from CRITICAL to UNSCORED. */
4148
+ rules: VendorAssessmentTypeRulesRulesList;
4149
+ }
3890
4150
  export interface GetVendorCategoryRequest {
3891
4151
  categoryId: string;
3892
4152
  }
@@ -4192,9 +4452,9 @@ export interface ListRequest {
4192
4452
  statusMatchesAny?: ListRequestStatusMatchesAnyList | undefined;
4193
4453
  /** Filter to issues matching any of the provided severities. */
4194
4454
  severityMatchesAny?: ListRequestSeverityMatchesAnyList | undefined;
4195
- /** Filter to issues matching any of the provided sources. */
4455
+ /** Filter to issues matching any of the provided sources. Some values never apply to a given organization; requesting them returns 400. */
4196
4456
  sourceMatchesAny?: ListRequestSourceMatchesAnyList | undefined;
4197
- /** Filter to issues matching any of the provided types. */
4457
+ /** Filter to issues matching any of the provided types. Some values never apply to a given organization; requesting them returns 400. */
4198
4458
  typeMatchesAny?: ListRequestTypeMatchesAnyList | undefined;
4199
4459
  /** Filter to issues owned by any of the provided owner IDs. */
4200
4460
  ownerIdMatchesAny?: ListRequestOwnerIdMatchesAnyList | undefined;
@@ -4222,7 +4482,7 @@ export interface ListRequest {
4222
4482
  createdAfterDate?: string | undefined;
4223
4483
  /** Filter to issues created on or before this date. */
4224
4484
  createdBeforeDate?: string | undefined;
4225
- /** Filter to issues sourced from any of the provided audit IDs. */
4485
+ /** Filter to issues sourced from any of the provided audit IDs. Returns 400 when audits don't apply to the organization. */
4226
4486
  auditIdMatchesAny?: ListRequestAuditIdMatchesAnyList | undefined;
4227
4487
  /** Filter to issues mapped to any of the provided control IDs. */
4228
4488
  controlIdMatchesAny?: ListRequestControlIdMatchesAnyList | undefined;
@@ -4276,6 +4536,134 @@ export interface PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutputResults {
4276
4536
  export interface PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutput {
4277
4537
  results: PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutputResults;
4278
4538
  }
4539
+ export interface ListAssessmentQuestionsRequest {
4540
+ vendorId: string;
4541
+ assessmentId: string;
4542
+ pageSize?: number | undefined;
4543
+ pageCursor?: string | undefined;
4544
+ /** Only return questions whose Vanta AI answer has an active finding flag */
4545
+ onlyFlagged?: boolean | undefined;
4546
+ /** Only return questions whose text contains this phrase (case-insensitive), up to 50 words */
4547
+ searchQuery?: string | undefined;
4548
+ /** Only return the question with this ID */
4549
+ questionId?: string | undefined;
4550
+ }
4551
+ export type VendorAssessmentQuestionType = "TEXT" | "BOOLEAN" | "SINGLE_SELECT" | "MULTI_SELECT";
4552
+ export type VendorAssessmentQuestionTextAnswerType = "TEXT";
4553
+ export interface VendorAssessmentQuestionTextAnswer {
4554
+ type: VendorAssessmentQuestionTextAnswerType;
4555
+ value: string;
4556
+ }
4557
+ export type VendorAssessmentQuestionBooleanAnswerType = "BOOLEAN";
4558
+ export interface VendorAssessmentQuestionBooleanAnswer {
4559
+ type: VendorAssessmentQuestionBooleanAnswerType;
4560
+ /** The yes/no answer, or null when the answer is N/A. */
4561
+ value: boolean | null;
4562
+ }
4563
+ export type VendorAssessmentQuestionSingleSelectAnswerType = "SINGLE_SELECT";
4564
+ export interface VendorAssessmentQuestionSingleSelectAnswer {
4565
+ type: VendorAssessmentQuestionSingleSelectAnswerType;
4566
+ /** The selected option, or null when no option is selected. */
4567
+ value: string | null;
4568
+ }
4569
+ export type VendorAssessmentQuestionMultiSelectAnswerType = "MULTI_SELECT";
4570
+ /** The selected options. */
4571
+ export type VendorAssessmentQuestionMultiSelectAnswerValueList = Array<string>;
4572
+ export interface VendorAssessmentQuestionMultiSelectAnswer {
4573
+ type: VendorAssessmentQuestionMultiSelectAnswerType;
4574
+ /** The selected options. */
4575
+ value: VendorAssessmentQuestionMultiSelectAnswerValueList;
4576
+ }
4577
+ /** An answer to an assessment question, shaped by the question's type. */
4578
+ export type VendorAssessmentQuestionAnswer = VendorAssessmentQuestionTextAnswer | VendorAssessmentQuestionBooleanAnswer | VendorAssessmentQuestionSingleSelectAnswer | VendorAssessmentQuestionMultiSelectAnswer;
4579
+ export interface VendorAssessmentQuestionAiSource {
4580
+ /** The excerpt of the source document that supports the AI answer. */
4581
+ content: string;
4582
+ /** Unique identifier for the excerpt within its source document. */
4583
+ chunkId: string;
4584
+ /** Unique identifier for the source document. */
4585
+ documentId: string | null;
4586
+ /** The source document's file name. */
4587
+ filename: string | null;
4588
+ /** The page of the source document the excerpt comes from. */
4589
+ page: number | null;
4590
+ /** The URL of the source, for web sources. */
4591
+ url: string | null;
4592
+ /** The source's title. */
4593
+ title: string | null;
4594
+ /** The timestamp of when the source was last updated. */
4595
+ updatedDate: string | null;
4596
+ }
4597
+ /** The document excerpts that support the AI answer. */
4598
+ export type VendorAssessmentQuestionAiAnswerSourcesList = Array<VendorAssessmentQuestionAiSource>;
4599
+ export interface VendorAssessmentQuestionAiAnswer {
4600
+ /** The answer Vanta AI suggested, or null when it could not answer. */
4601
+ value: VendorAssessmentQuestionAnswer | null;
4602
+ /** Vanta AI's explanation of its answer. */
4603
+ rationale: string | null;
4604
+ /** Whether the AI answer is a valid answer for the question's type. */
4605
+ isValid: boolean;
4606
+ /** The document excerpts that support the AI answer. */
4607
+ sources: VendorAssessmentQuestionAiAnswerSourcesList;
4608
+ /** Whether Vanta AI flagged the answer as a finding. Remains true after the flag is dismissed; see `activeFindingText`. */
4609
+ flaggedAsFinding: boolean;
4610
+ /** Why Vanta AI flagged the answer, or null when there is no active (undismissed) flag. */
4611
+ activeFindingText: string | null;
4612
+ /** The timestamp of when the AI answer was generated. */
4613
+ createdDate: string;
4614
+ }
4615
+ /** Whether the vendor's answer is a draft or has been submitted. */
4616
+ export type VendorAssessmentQuestionVendorAnswerState = "DRAFT" | "SUBMITTED";
4617
+ export interface VendorAssessmentQuestionVendorAnswer {
4618
+ /** The vendor's answer, or null when the vendor has not answered. */
4619
+ value: VendorAssessmentQuestionAnswer | null;
4620
+ /** Whether the vendor's answer is a draft or has been submitted. */
4621
+ state: VendorAssessmentQuestionVendorAnswerState;
4622
+ /** Whether the vendor accepted the current Vanta AI answer as its own. */
4623
+ endorsesCurrentAiAnswer: boolean;
4624
+ /** The timestamp of when the vendor's answer was last updated. */
4625
+ updatedDate: string | null;
4626
+ }
4627
+ /** Which answer the user's answer was copied from, or null when entered directly. */
4628
+ export type VendorAssessmentQuestionUserAnswerOriginType = "AI" | "VENDOR";
4629
+ export interface VendorAssessmentQuestionUserAnswer {
4630
+ /** The answer a user in your organization entered, or null when it was cleared. */
4631
+ value: VendorAssessmentQuestionAnswer | null;
4632
+ /** Which answer the user's answer was copied from, or null when entered directly. */
4633
+ originType: VendorAssessmentQuestionUserAnswerOriginType | null;
4634
+ /** The timestamp of when the user's answer was last updated. */
4635
+ updatedDate: string;
4636
+ }
4637
+ /** Which answer is selected as the answer of record. */
4638
+ export type VendorAssessmentQuestionSelectedSource = "VENDOR" | "VANTA_USER" | "VANTA_AI";
4639
+ export interface VendorAssessmentQuestion {
4640
+ /** Unique identifier for the question. */
4641
+ id: string;
4642
+ /** Unique identifier for the questionnaire the question belongs to. */
4643
+ questionnaireId: string;
4644
+ /** The question text. */
4645
+ question: string;
4646
+ /** The kind of answer the question takes. */
4647
+ questionType: VendorAssessmentQuestionType;
4648
+ /** The answer suggested by Vanta AI, if any. */
4649
+ aiAnswer: VendorAssessmentQuestionAiAnswer | null;
4650
+ /** The vendor's answer, if any. */
4651
+ vendorAnswer: VendorAssessmentQuestionVendorAnswer | null;
4652
+ /** The answer entered by a user in your organization, if any. */
4653
+ userAnswer: VendorAssessmentQuestionUserAnswer | null;
4654
+ /** Which answer is selected as the answer of record. */
4655
+ selectedSource: VendorAssessmentQuestionSelectedSource | null;
4656
+ /** The answer of record. It can differ from the current source answers, e.g. when it is a snapshot taken at review. */
4657
+ selectedAnswer: VendorAssessmentQuestionAnswer | null;
4658
+ }
4659
+ export type PaginatedResponseVendorAssessmentQuestionResultsDataList = Array<VendorAssessmentQuestion>;
4660
+ export interface PaginatedResponseVendorAssessmentQuestionResults {
4661
+ data: PaginatedResponseVendorAssessmentQuestionResultsDataList;
4662
+ pageInfo: PageInfo;
4663
+ }
4664
+ export interface PaginatedResponseVendorAssessmentQuestion {
4665
+ results: PaginatedResponseVendorAssessmentQuestionResults;
4666
+ }
4279
4667
  export type QuestionnaireAssignableUserRole = "owner" | "approver";
4280
4668
  export interface ListAssignableUsersRequest {
4281
4669
  /** Filter by role: "owner" or "approver". */
@@ -4728,6 +5116,80 @@ export interface PaginatedResponseUploadedFileTResults {
4728
5116
  export interface PaginatedResponseUploadedFileT {
4729
5117
  results: PaginatedResponseUploadedFileTResults;
4730
5118
  }
5119
+ export type ListFourthPartiesRequestUsedByVendorIdMatchesAnyList = Array<string>;
5120
+ export type ListFourthPartiesRequestResidualRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5121
+ export type ListFourthPartiesRequestInherentRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5122
+ export interface ListFourthPartiesRequest {
5123
+ /** Select fourth parties used by any of these vendors after risk filtering, preserving the remaining counts. */
5124
+ usedByVendorIdMatchesAny?: ListFourthPartiesRequestUsedByVendorIdMatchesAnyList | undefined;
5125
+ /** Keep dependents matching any residual risk level. */
5126
+ residualRiskLevelMatchesAny?: ListFourthPartiesRequestResidualRiskLevelMatchesAnyList | undefined;
5127
+ /** Keep dependents matching any inherent risk level; combines with residual risk using AND. */
5128
+ inherentRiskLevelMatchesAny?: ListFourthPartiesRequestInherentRiskLevelMatchesAnyList | undefined;
5129
+ pageCursor?: string | undefined;
5130
+ pageSize?: number | undefined;
5131
+ }
5132
+ export type FourthPartyLocationsList = Array<string>;
5133
+ export interface FourthPartySourcesItem {
5134
+ ingestionMethod: string;
5135
+ url: string;
5136
+ }
5137
+ /** Disclosures identifying this fourth party. */
5138
+ export type FourthPartySourcesList = Array<FourthPartySourcesItem>;
5139
+ export interface FourthParty {
5140
+ id: string;
5141
+ name: string;
5142
+ url: string | null;
5143
+ isMatched: boolean;
5144
+ category: string | null;
5145
+ locations: FourthPartyLocationsList;
5146
+ /** Disclosures identifying this fourth party. */
5147
+ sources: FourthPartySourcesList;
5148
+ dependentVendorCount: number;
5149
+ }
5150
+ export type PaginatedResponseFourthPartyResultsDataList = Array<FourthParty>;
5151
+ export interface PaginatedResponseFourthPartyResults {
5152
+ data: PaginatedResponseFourthPartyResultsDataList;
5153
+ pageInfo: PageInfo;
5154
+ }
5155
+ export interface PaginatedResponseFourthParty {
5156
+ results: PaginatedResponseFourthPartyResults;
5157
+ }
5158
+ export type ListFourthPartyVendorsRequestResidualRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5159
+ export type ListFourthPartyVendorsRequestInherentRiskLevelMatchesAnyList = Array<VendorRiskLevel | (string & {})>;
5160
+ export interface ListFourthPartyVendorsRequest {
5161
+ fourthPartyId: string;
5162
+ /** Keep dependents matching any residual risk level. */
5163
+ residualRiskLevelMatchesAny?: ListFourthPartyVendorsRequestResidualRiskLevelMatchesAnyList | undefined;
5164
+ /** Keep dependents matching any inherent risk level; combines with residual risk using AND. */
5165
+ inherentRiskLevelMatchesAny?: ListFourthPartyVendorsRequestInherentRiskLevelMatchesAnyList | undefined;
5166
+ pageCursor?: string | undefined;
5167
+ pageSize?: number | undefined;
5168
+ }
5169
+ export type FourthPartyVendorUsageSourcesItem = FourthPartySourcesItem;
5170
+ /** Disclosures identifying this fourth party. */
5171
+ export type FourthPartyVendorUsageSourcesList = Array<FourthPartySourcesItem>;
5172
+ export type FourthPartyVendorUsageLocationsList = Array<string>;
5173
+ export interface FourthPartyVendorUsage {
5174
+ /** Disclosures identifying this fourth party. */
5175
+ sources: FourthPartyVendorUsageSourcesList;
5176
+ locations: FourthPartyVendorUsageLocationsList;
5177
+ category: string | null;
5178
+ purpose: string | null;
5179
+ }
5180
+ export interface FourthPartyVendor {
5181
+ vendorId: string;
5182
+ name: string;
5183
+ usage: FourthPartyVendorUsage;
5184
+ }
5185
+ export type PaginatedResponseFourthPartyVendorResultsDataList = Array<FourthPartyVendor>;
5186
+ export interface PaginatedResponseFourthPartyVendorResults {
5187
+ data: PaginatedResponseFourthPartyVendorResultsDataList;
5188
+ pageInfo: PageInfo;
5189
+ }
5190
+ export interface PaginatedResponseFourthPartyVendor {
5191
+ results: PaginatedResponseFourthPartyVendorResults;
5192
+ }
4731
5193
  export interface ListFrameworksRequest {
4732
5194
  pageSize?: number | undefined;
4733
5195
  pageCursor?: string | undefined;
@@ -5059,6 +5521,18 @@ export interface PaginatedResponseAnyResourceResults {
5059
5521
  export interface PaginatedResponseAnyResource {
5060
5522
  results: PaginatedResponseAnyResourceResults;
5061
5523
  }
5524
+ export interface ListRiskRegistersRequest {
5525
+ pageSize?: number | undefined;
5526
+ pageCursor?: string | undefined;
5527
+ }
5528
+ export type PaginatedResponseRiskRegisterResultsDataList = Array<RiskRegister>;
5529
+ export interface PaginatedResponseRiskRegisterResults {
5530
+ data: PaginatedResponseRiskRegisterResultsDataList;
5531
+ pageInfo: PageInfo;
5532
+ }
5533
+ export interface PaginatedResponseRiskRegister {
5534
+ results: PaginatedResponseRiskRegisterResults;
5535
+ }
5062
5536
  export type ListRiskScenarioRequestOwnerMatchesAnyList = Array<string>;
5063
5537
  export type ListRiskScenarioRequestCategoryMatchesAnyList = Array<string>;
5064
5538
  export type UNCATEGORIZED = "Uncategorized";
@@ -5373,6 +5847,8 @@ export interface ListTrustCenterUpdatesRequest {
5373
5847
  slugId: string;
5374
5848
  pageSize?: number | undefined;
5375
5849
  pageCursor?: string | undefined;
5850
+ /** 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). */
5851
+ matchesTags?: string | undefined;
5376
5852
  }
5377
5853
  export type PaginatedResponseTrustCenterUpdateAPIResponseResultsDataList = Array<TrustCenterUpdateAPIResponse>;
5378
5854
  export interface PaginatedResponseTrustCenterUpdateAPIResponseResults {
@@ -5487,11 +5963,66 @@ export interface PaginatedResponseVendorCategoryResults {
5487
5963
  export interface PaginatedResponseVendorCategory {
5488
5964
  results: PaginatedResponseVendorCategoryResults;
5489
5965
  }
5966
+ export interface ListVendorCustomFieldDefinitionsRequest {
5967
+ pageSize?: number | undefined;
5968
+ pageCursor?: string | undefined;
5969
+ }
5970
+ export type VendorCustomFieldDefinitionType = "STRING" | "DATE" | "INTEGER" | "DECIMAL" | "PICKLIST";
5971
+ export interface VendorCustomFieldDefinitionOption {
5972
+ /** Stable identifier for the option. */
5973
+ id: string;
5974
+ /** Use this label as a picklist value when creating or updating a vendor. */
5975
+ label: string;
5976
+ }
5977
+ /** Allowed choices for PICKLIST fields; omitted for other field types. */
5978
+ export type VendorCustomFieldDefinitionOptionsList = Array<VendorCustomFieldDefinitionOption>;
5979
+ export interface VendorCustomFieldDefinition {
5980
+ /** Stable identifier for the configured field. */
5981
+ id: string;
5982
+ /** Use this exact, case-sensitive label in vendor customFields writes. */
5983
+ label: string;
5984
+ description: string | null;
5985
+ type: VendorCustomFieldDefinitionType;
5986
+ /** Allowed choices for PICKLIST fields; omitted for other field types. */
5987
+ options?: VendorCustomFieldDefinitionOptionsList | undefined;
5988
+ /** Configured precision for DECIMAL fields; omitted for other field types. */
5989
+ decimalPlaces?: number | null | undefined;
5990
+ }
5991
+ export type PaginatedResponseVendorCustomFieldDefinitionResultsDataList = Array<VendorCustomFieldDefinition>;
5992
+ export interface PaginatedResponseVendorCustomFieldDefinitionResults {
5993
+ data: PaginatedResponseVendorCustomFieldDefinitionResultsDataList;
5994
+ pageInfo: PageInfo;
5995
+ }
5996
+ export interface PaginatedResponseVendorCustomFieldDefinition {
5997
+ results: PaginatedResponseVendorCustomFieldDefinitionResults;
5998
+ }
5490
5999
  export interface ListVendorDocumentsRequest {
5491
6000
  vendorId: string;
5492
6001
  pageSize?: number | undefined;
5493
6002
  pageCursor?: string | undefined;
5494
6003
  }
6004
+ export interface ListVendorDocumentTypesRequest {
6005
+ pageSize?: number | undefined;
6006
+ pageCursor?: string | undefined;
6007
+ }
6008
+ export interface VendorDocumentTypeCatalogEntry {
6009
+ /** Unique identifier for the document type. Use this to save a mapping to a document type; use the `type` field when uploading a document. */
6010
+ id: string;
6011
+ /** Display name of the document type. */
6012
+ name: string;
6013
+ /** Value to provide in the `type` field when uploading a vendor document. */
6014
+ type: string;
6015
+ /** Whether this document type was created by your organization. */
6016
+ isCustom: boolean;
6017
+ }
6018
+ export type PaginatedResponseVendorDocumentTypeCatalogEntryResultsDataList = Array<VendorDocumentTypeCatalogEntry>;
6019
+ export interface PaginatedResponseVendorDocumentTypeCatalogEntryResults {
6020
+ data: PaginatedResponseVendorDocumentTypeCatalogEntryResultsDataList;
6021
+ pageInfo: PageInfo;
6022
+ }
6023
+ export interface PaginatedResponseVendorDocumentTypeCatalogEntry {
6024
+ results: PaginatedResponseVendorDocumentTypeCatalogEntryResults;
6025
+ }
5495
6026
  export type ListVendorExternalFindingsRequestSeverityMatchesAnyItem = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO";
5496
6027
  export type ListVendorExternalFindingsRequestSeverityMatchesAnyList = Array<ListVendorExternalFindingsRequestSeverityMatchesAnyItem | (string & {})>;
5497
6028
  export type ListVendorExternalFindingsRequestStatusMatchesAnyItem = "ACTIVE" | "RESOLVED";
@@ -5563,6 +6094,31 @@ export interface PaginatedResponseVendorFindingResults {
5563
6094
  export interface PaginatedResponseVendorFinding {
5564
6095
  results: PaginatedResponseVendorFindingResults;
5565
6096
  }
6097
+ export interface ListVendorFourthPartiesRequest {
6098
+ vendorId: string;
6099
+ pageSize?: number | undefined;
6100
+ pageCursor?: string | undefined;
6101
+ }
6102
+ export interface ListVendorQuestionnairesRequest {
6103
+ pageSize?: number | undefined;
6104
+ pageCursor?: string | undefined;
6105
+ }
6106
+ export interface VendorQuestionnaire {
6107
+ id: string;
6108
+ name: string;
6109
+ description: string | null;
6110
+ /** Number of top-level questions across all sections. Conditional follow-up questions are not counted. */
6111
+ questionCount: number;
6112
+ createdAt: string;
6113
+ }
6114
+ export type PaginatedResponseVendorQuestionnaireResultsDataList = Array<VendorQuestionnaire>;
6115
+ export interface PaginatedResponseVendorQuestionnaireResults {
6116
+ data: PaginatedResponseVendorQuestionnaireResultsDataList;
6117
+ pageInfo: PageInfo;
6118
+ }
6119
+ export interface PaginatedResponseVendorQuestionnaire {
6120
+ results: PaginatedResponseVendorQuestionnaireResults;
6121
+ }
5566
6122
  export interface ListVendorRiskAttributesRequest {
5567
6123
  pageSize?: number | undefined;
5568
6124
  pageCursor?: string | undefined;
@@ -5997,6 +6553,11 @@ export interface SnoozeFrameworkRequest {
5997
6553
  /** Date the framework becomes active again at 00:00 UTC, in YYYY-MM-DD format. Must be tomorrow or later. */
5998
6554
  snoozedUntilDate: string;
5999
6555
  }
6556
+ export interface StartAssessmentForVendorRequest {
6557
+ vendorId: string;
6558
+ /** ID of the assessment type to start for this vendor. */
6559
+ assessmentTypeId: string;
6560
+ }
6000
6561
  export interface SubmitDocumentCollectionRequest {
6001
6562
  documentId: string;
6002
6563
  }
@@ -6023,7 +6584,7 @@ export interface UpdateAnswerLibraryEntryRouteRequest {
6023
6584
  tags?: UpdateAnswerLibraryEntryRouteRequestTagsList | undefined;
6024
6585
  }
6025
6586
  /** 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";
6587
+ 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
6588
  export interface UpdateComplianceFrameworkRequest {
6028
6589
  slugId: string;
6029
6590
  frameworkId: string;
@@ -6411,6 +6972,8 @@ export interface UpdateTrustCenterSubscriberGroupRequest {
6411
6972
  /** Updated name of the subscriber group. */
6412
6973
  name: string;
6413
6974
  }
6975
+ /** 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. */
6976
+ export type UpdateTrustCenterUpdateRequestTagsList = Array<TagInput>;
6414
6977
  export interface UpdateTrustCenterUpdateRequest {
6415
6978
  slugId: string;
6416
6979
  updateId: string;
@@ -6422,6 +6985,8 @@ export interface UpdateTrustCenterUpdateRequest {
6422
6985
  category: UpdateCategory | (string & {});
6423
6986
  /** Visibility type of the update. */
6424
6987
  visibilityType?: UpdateVisibilityType | (string & {}) | undefined;
6988
+ /** 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. */
6989
+ tags?: UpdateTrustCenterUpdateRequestTagsList | undefined;
6425
6990
  }
6426
6991
  /** Identifiers for the resources that this viewer should have access to. */
6427
6992
  export type UpdateTrustCenterViewerRequestResourceIdsList = Array<string>;
@@ -6608,6 +7173,17 @@ export interface UploadContractRequest {
6608
7173
  /** 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
7174
  externalId?: string | undefined;
6610
7175
  }
7176
+ export interface UploadDocumentForAssessmentRequest {
7177
+ vendorId: string;
7178
+ assessmentId: string;
7179
+ file: string;
7180
+ /** Type of the vendor document. */
7181
+ type: string;
7182
+ /** The document's title. */
7183
+ title?: string | undefined;
7184
+ /** The document's description. */
7185
+ description?: string | undefined;
7186
+ }
6611
7187
  export interface UploadDocumentForSecurityReviewRequest {
6612
7188
  vendorId: string;
6613
7189
  securityReviewId: string;
@@ -6719,6 +7295,9 @@ export interface VerifyKnowledgeBaseResourceRequest {
6719
7295
  expirationDate?: string | undefined;
6720
7296
  }
6721
7297
  export type VerifyKnowledgeBaseResourceResponse = TrustKnowledgeBaseResourceOutput;
7298
+ export interface OutboundError {
7299
+ message: string;
7300
+ }
6722
7301
  export type AcknowledgeSlaMissVulnerabilityRemediationsError = VantaOpError;
6723
7302
  /** Acknowledge SLA miss Acknowledge an SLA miss for a vulnerability remediation. */
6724
7303
  export declare const acknowledgeSlaMissVulnerabilityRemediations: API.OperationMethod<AcknowledgeSlaMissVulnerabilityRemediationsRequest, BulkResponse, AcknowledgeSlaMissVulnerabilityRemediationsError, VantaOpContext>;
@@ -6878,6 +7457,9 @@ export declare const createWebsiteQuestionnaire: API.OperationMethod<CreateWebsi
6878
7457
  export type DeactivateTestEntityError = VantaOpError;
6879
7458
  /** 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
7459
  export declare const deactivateTestEntity: API.OperationMethod<DeactivateTestEntityRequest, DeactivateTestEntityResponse, DeactivateTestEntityError, VantaOpContext>;
7460
+ export type DeactivateUsersError = VantaOpError;
7461
+ /** 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. */
7462
+ export declare const deactivateUsers: API.OperationMethod<DeactivateUsersRequest, BulkResponse, DeactivateUsersError, VantaOpContext>;
6881
7463
  export type DeactivateVulnerabilitiesError = VantaOpError;
6882
7464
  /** Deactivate vulnerability monitoring for a vulnerability Deactivate monitoring for select vulnerabilities. Vanta will not monitor a deactivated vulnerability until it is reactivated. */
6883
7465
  export declare const deactivateVulnerabilities: API.OperationMethod<DeactivateVulnerabilitiesRequest, BulkResponse, DeactivateVulnerabilitiesError, VantaOpContext>;
@@ -6989,6 +7571,9 @@ export declare const getBusinessUnit: API.OperationMethod<GetBusinessUnitRequest
6989
7571
  export type GetChatbotConversationMessagesError = VantaOpError;
6990
7572
  /** Get Trust Center chatbot conversation messages Gets the messages for a specific chatbot conversation on a Trust Center. */
6991
7573
  export declare const getChatbotConversationMessages: API.OperationMethod<GetChatbotConversationMessagesRequest, ArrayResponseTrustCenterChatbotMessage, GetChatbotConversationMessagesError, VantaOpContext>;
7574
+ export type GetCompanyProfileError = VantaOpError;
7575
+ /** 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. */
7576
+ export declare const getCompanyProfile: API.OperationMethod<GetCompanyProfileRequest, CompanyProfile, GetCompanyProfileError, VantaOpContext>;
6992
7577
  export type GetConnectedIntegrationError = VantaOpError;
6993
7578
  /** Get a connected integration Gets details for a specific integration by connection ID. */
6994
7579
  export declare const getConnectedIntegration: API.OperationMethod<GetConnectedIntegrationRequest, Integration, GetConnectedIntegrationError, VantaOpContext>;
@@ -7022,8 +7607,8 @@ export declare const getGroupMembers: API.OperationMethod<GetGroupMembersRequest
7022
7607
  export type GetGroupTaskRequirementSetError = VantaOpError;
7023
7608
  /** 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
7609
  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. */
7610
+ export type GetIssueError = Forbidden | VantaOpError;
7611
+ /** Get issue by ID Get the details of an issue by its ID. Returns 403 when the organization does not have Issues. */
7027
7612
  export declare const getIssue: API.OperationMethod<GetIssueRequest, GetIssueResponse, GetIssueError, VantaOpContext>;
7028
7613
  export type GetKnowledgeBaseResourceError = VantaOpError;
7029
7614
  /** 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 +7643,15 @@ export declare const getResource: API.OperationMethod<GetResourceRequest, GetRes
7058
7643
  export type GetResourceKindDetailsError = VantaOpError;
7059
7644
  /** Get details for resource kind Gets details for a specific resource type (kind) such as S3Bucket or CloudwatchLogGroup. */
7060
7645
  export declare const getResourceKindDetails: API.OperationMethod<GetResourceKindDetailsRequest, ResourceKindDetails, GetResourceKindDetailsError, VantaOpContext>;
7646
+ export type GetRiskRegisterError = VantaOpError;
7647
+ /** Get risk register by ID Get a risk register by ID. Returns the same fields as each item in `GET /risk-registers`. */
7648
+ export declare const getRiskRegister: API.OperationMethod<GetRiskRegisterRequest, RiskRegister, GetRiskRegisterError, VantaOpContext>;
7061
7649
  export type GetRiskScenarioError = VantaOpError;
7062
7650
  /** Get risk scenario by ID Get a risk scenario by ID (can be the Risk ID or the object ID). */
7063
7651
  export declare const getRiskScenario: API.OperationMethod<GetRiskScenarioRequest, RiskScenario, GetRiskScenarioError, VantaOpContext>;
7652
+ export type GetRiskSettingsError = VantaOpError;
7653
+ /** 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. */
7654
+ export declare const getRiskSettings: API.OperationMethod<GetRiskSettingsRequest, RiskSettings, GetRiskSettingsError, VantaOpContext>;
7064
7655
  export type GetSecurityReviewDocumentsError = VantaOpError;
7065
7656
  /** List security review documents Lists a security review's documents. */
7066
7657
  export declare const getSecurityReviewDocuments: API.OperationMethod<GetSecurityReviewDocumentsRequest, PaginatedResponseVendorDocument, GetSecurityReviewDocumentsError, VantaOpContext>;
@@ -7142,6 +7733,9 @@ export declare const getVendorAlertSettings: API.OperationMethod<GetVendorAlertS
7142
7733
  export type GetVendorAssessmentTypeError = VantaOpError;
7143
7734
  /** Get assessment type by ID Gets an assessment type by ID. */
7144
7735
  export declare const getVendorAssessmentType: API.OperationMethod<GetVendorAssessmentTypeRequest, VendorAssessmentType, GetVendorAssessmentTypeError, VantaOpContext>;
7736
+ export type GetVendorAssessmentTypeRulesError = VantaOpError;
7737
+ /** 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. */
7738
+ export declare const getVendorAssessmentTypeRules: API.OperationMethod<GetVendorAssessmentTypeRulesRequest, VendorAssessmentTypeRules, GetVendorAssessmentTypeRulesError, VantaOpContext>;
7145
7739
  export type GetVendorCategoryError = VantaOpError;
7146
7740
  /** Get vendor category by ID Gets a system or custom vendor category by ID. */
7147
7741
  export declare const getVendorCategory: API.OperationMethod<GetVendorCategoryRequest, VendorCategory2, GetVendorCategoryError, VantaOpContext>;
@@ -7160,8 +7754,8 @@ export declare const getVulnerableAsset: API.OperationMethod<GetVulnerableAssetR
7160
7754
  export type ImportIdpGroupsError = VantaOpError;
7161
7755
  /** Import IdP groups Imports groups from an identity provider. */
7162
7756
  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. */
7757
+ export type ListError = Forbidden | VantaOpError;
7758
+ /** 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
7759
  export declare const list: API.OperationMethod<ListRequest, PaginatedResponseIssue, ListError, VantaOpContext>;
7166
7760
  export type ListAccountMappingsError = VantaOpError;
7167
7761
  /** 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 +7763,9 @@ export declare const listAccountMappings: API.OperationMethod<ListAccountMapping
7169
7763
  export type ListAnswerLibraryEntriesError = VantaOpError;
7170
7764
  /** 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
7765
  export declare const listAnswerLibraryEntries: API.OperationMethod<ListAnswerLibraryEntriesRequest, PaginatedResponseKnowledgeBaseAnswerLibraryEntryOutput, ListAnswerLibraryEntriesError, VantaOpContext>;
7766
+ export type ListAssessmentQuestionsError = VantaOpError;
7767
+ /** 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. */
7768
+ export declare const listAssessmentQuestions: API.OperationMethod<ListAssessmentQuestionsRequest, PaginatedResponseVendorAssessmentQuestion, ListAssessmentQuestionsError, VantaOpContext>;
7172
7769
  export type ListAssignableUsersError = VantaOpError;
7173
7770
  /** 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
7771
  export declare const listAssignableUsers: API.OperationMethod<ListAssignableUsersRequest, QuestionnaireAssignableUsersResponse, ListAssignableUsersError, VantaOpContext>;
@@ -7232,6 +7829,12 @@ export declare const listEventLogs: API.OperationMethod<ListEventLogsRequest, Pa
7232
7829
  export type ListFilesForDocumentError = VantaOpError;
7233
7830
  /** List document's uploads List the uploaded files for a document. */
7234
7831
  export declare const listFilesForDocument: API.OperationMethod<ListFilesForDocumentRequest, PaginatedResponseUploadedFileT, ListFilesForDocumentError, VantaOpContext>;
7832
+ export type ListFourthPartiesError = VantaOpError;
7833
+ /** 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. */
7834
+ export declare const listFourthParties: API.OperationMethod<ListFourthPartiesRequest, PaginatedResponseFourthParty, ListFourthPartiesError, VantaOpContext>;
7835
+ export type ListFourthPartyVendorsError = VantaOpError;
7836
+ /** 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. */
7837
+ export declare const listFourthPartyVendors: API.OperationMethod<ListFourthPartyVendorsRequest, PaginatedResponseFourthPartyVendor, ListFourthPartyVendorsError, VantaOpContext>;
7235
7838
  export type ListFrameworksError = VantaOpError;
7236
7839
  /** List available frameworks Lists frameworks in your program, or every available framework. */
7237
7840
  export declare const listFrameworks: API.OperationMethod<ListFrameworksRequest, PaginatedResponseFramework, ListFrameworksError, VantaOpContext>;
@@ -7269,7 +7872,7 @@ export type ListQuestionnaireResponsesError = VantaOpError;
7269
7872
  /** 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
7873
  export declare const listQuestionnaireResponses: API.OperationMethod<ListQuestionnaireResponsesRequest, PaginatedResponseQuestionnaireResponseWithoutViewerPermissions, ListQuestionnaireResponsesError, VantaOpContext>;
7271
7874
  export type ListQuestionnairesError = VantaOpError;
7272
- /** List questionnaires List questionnaires with filtering and pagination. */
7875
+ /** 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
7876
  export declare const listQuestionnaires: API.OperationMethod<ListQuestionnairesRequest, PaginatedResponseCustomerTrustQuestionnaire, ListQuestionnairesError, VantaOpContext>;
7274
7877
  export type ListResourceKindSummariesError = VantaOpError;
7275
7878
  /** List integration resource kinds Lists a connected integration's resource types (kinds) such as S3Bucket or CloudwatchLogGroup. */
@@ -7277,6 +7880,9 @@ export declare const listResourceKindSummaries: API.OperationMethod<ListResource
7277
7880
  export type ListResourcesError = VantaOpError;
7278
7881
  /** List resources Lists resources for a specific integration and resource type (kind) such as S3Bucket or CloudwatchLogGroup. */
7279
7882
  export declare const listResources: API.OperationMethod<ListResourcesRequest, PaginatedResponseAnyResource, ListResourcesError, VantaOpContext>;
7883
+ export type ListRiskRegistersError = VantaOpError;
7884
+ /** 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. */
7885
+ export declare const listRiskRegisters: API.OperationMethod<ListRiskRegistersRequest, PaginatedResponseRiskRegister, ListRiskRegistersError, VantaOpContext>;
7280
7886
  export type ListRiskScenarioError = VantaOpError;
7281
7887
  /** List risk scenarios List risk scenarios. */
7282
7888
  export declare const listRiskScenario: API.OperationMethod<ListRiskScenarioRequest, PaginatedResponseRiskScenario, ListRiskScenarioError, VantaOpContext>;
@@ -7352,9 +7958,15 @@ export declare const listVendorAssessmentTypes: API.OperationMethod<ListVendorAs
7352
7958
  export type ListVendorCategoriesError = VantaOpError;
7353
7959
  /** List vendor categories Lists Vanta's system vendor categories followed by your custom categories. */
7354
7960
  export declare const listVendorCategories: API.OperationMethod<ListVendorCategoriesRequest, PaginatedResponseVendorCategory, ListVendorCategoriesError, VantaOpContext>;
7961
+ export type ListVendorCustomFieldDefinitionsError = VantaOpError;
7962
+ /** 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. */
7963
+ export declare const listVendorCustomFieldDefinitions: API.OperationMethod<ListVendorCustomFieldDefinitionsRequest, PaginatedResponseVendorCustomFieldDefinition, ListVendorCustomFieldDefinitionsError, VantaOpContext>;
7355
7964
  export type ListVendorDocumentsError = VantaOpError;
7356
7965
  /** List vendor documents Returns a vendor's list of documents. */
7357
7966
  export declare const listVendorDocuments: API.OperationMethod<ListVendorDocumentsRequest, PaginatedResponseVendorDocument, ListVendorDocumentsError, VantaOpContext>;
7967
+ export type ListVendorDocumentTypesError = VantaOpError;
7968
+ /** 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. */
7969
+ export declare const listVendorDocumentTypes: API.OperationMethod<ListVendorDocumentTypesRequest, PaginatedResponseVendorDocumentTypeCatalogEntry, ListVendorDocumentTypesError, VantaOpContext>;
7358
7970
  export type ListVendorExternalFindingsError = VantaOpError;
7359
7971
  /** 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
7972
  export declare const listVendorExternalFindings: API.OperationMethod<ListVendorExternalFindingsRequest, PaginatedResponseVendorExternalFinding, ListVendorExternalFindingsError, VantaOpContext>;
@@ -7364,6 +7976,12 @@ export declare const listVendorFindingMappings: API.OperationMethod<ListVendorFi
7364
7976
  export type ListVendorFindingsError = VantaOpError;
7365
7977
  /** List vendor findings Lists a vendor's findings. */
7366
7978
  export declare const listVendorFindings: API.OperationMethod<ListVendorFindingsRequest, PaginatedResponseVendorFinding, ListVendorFindingsError, VantaOpContext>;
7979
+ export type ListVendorFourthPartiesError = VantaOpError;
7980
+ /** 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. */
7981
+ export declare const listVendorFourthParties: API.OperationMethod<ListVendorFourthPartiesRequest, PaginatedResponseFourthParty, ListVendorFourthPartiesError, VantaOpContext>;
7982
+ export type ListVendorQuestionnairesError = VantaOpError;
7983
+ /** List vendor questionnaires Lists the organization's in-app vendor questionnaire templates. Uploaded spreadsheet questionnaires are not included. */
7984
+ export declare const listVendorQuestionnaires: API.OperationMethod<ListVendorQuestionnairesRequest, PaginatedResponseVendorQuestionnaire, ListVendorQuestionnairesError, VantaOpContext>;
7367
7985
  export type ListVendorRiskAttributesError = VantaOpError;
7368
7986
  /** List vendor risk attributes Returns a list of vendor risk attributes. */
7369
7987
  export declare const listVendorRiskAttributes: API.OperationMethod<ListVendorRiskAttributesRequest, PaginatedResponseVendorRiskAttribute, ListVendorRiskAttributesError, VantaOpContext>;
@@ -7463,6 +8081,9 @@ export declare const setStatusForVendor: API.OperationMethod<SetStatusForVendorR
7463
8081
  export type SnoozeFrameworkError = VantaOpError;
7464
8082
  /** 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
8083
  export declare const snoozeFramework: API.OperationMethod<SnoozeFrameworkRequest, FrameworkSnooze, SnoozeFrameworkError, VantaOpContext>;
8084
+ export type StartAssessmentForVendorError = VantaOpError;
8085
+ /** 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. */
8086
+ export declare const startAssessmentForVendor: API.OperationMethod<StartAssessmentForVendorRequest, VendorAssessment, StartAssessmentForVendorError, VantaOpContext>;
7466
8087
  export type SubmitDocumentCollectionError = VantaOpError;
7467
8088
  /** Submit document collection Submit document collection. */
7468
8089
  export declare const submitDocumentCollection: API.OperationMethod<SubmitDocumentCollectionRequest, SubmitDocumentCollectionResponse, SubmitDocumentCollectionError, VantaOpContext>;
@@ -7583,6 +8204,9 @@ export declare const uploadComplianceFrameworkBadge: API.OperationMethod<UploadC
7583
8204
  export type UploadContractError = VantaOpError;
7584
8205
  /** Upload contract Upload a contract. Rate limit: 10 requests / minute. */
7585
8206
  export declare const uploadContract: API.OperationMethod<UploadContractRequest, Contract, UploadContractError, VantaOpContext>;
8207
+ export type UploadDocumentForAssessmentError = VantaOpError;
8208
+ /** Add document to assessment Add a document to a vendor assessment of any type. */
8209
+ export declare const uploadDocumentForAssessment: API.OperationMethod<UploadDocumentForAssessmentRequest, VendorDocument, UploadDocumentForAssessmentError, VantaOpContext>;
7586
8210
  export type UploadDocumentForSecurityReviewError = VantaOpError;
7587
8211
  /** Add document to security review Add document to a security review. */
7588
8212
  export declare const uploadDocumentForSecurityReview: API.OperationMethod<UploadDocumentForSecurityReviewRequest, VendorDocument, UploadDocumentForSecurityReviewError, VantaOpContext>;