vanta-auditor-api-sdk 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/README.md +65 -105
- package/docs/sdks/auditors/README.md +1 -2
- package/docs/sdks/audits/README.md +1884 -102
- package/examples/{auditsList.example.ts → auditorsCreate.example.ts} +6 -2
- package/funcs/auditorsCreate.d.ts.map +1 -1
- package/funcs/auditorsCreate.js +2 -1
- package/funcs/auditorsCreate.js.map +1 -1
- package/funcs/auditsAcceptInformationRequestEvidence.d.ts +31 -0
- package/funcs/auditsAcceptInformationRequestEvidence.d.ts.map +1 -0
- package/funcs/auditsAcceptInformationRequestEvidence.js +139 -0
- package/funcs/auditsAcceptInformationRequestEvidence.js.map +1 -0
- package/funcs/auditsCreateCommentForEvidence.d.ts.map +1 -1
- package/funcs/auditsCreateCommentForEvidence.js +2 -1
- package/funcs/auditsCreateCommentForEvidence.js.map +1 -1
- package/funcs/auditsCreateCommentForInformationRequest.d.ts +20 -0
- package/funcs/auditsCreateCommentForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsCreateCommentForInformationRequest.js +130 -0
- package/funcs/auditsCreateCommentForInformationRequest.js.map +1 -0
- package/funcs/auditsCreateCustomControl.d.ts.map +1 -1
- package/funcs/auditsCreateCustomControl.js +2 -1
- package/funcs/auditsCreateCustomControl.js.map +1 -1
- package/funcs/auditsCreateCustomEvidenceRequest.d.ts.map +1 -1
- package/funcs/auditsCreateCustomEvidenceRequest.js +2 -1
- package/funcs/auditsCreateCustomEvidenceRequest.js.map +1 -1
- package/funcs/auditsCreateInformationRequest.d.ts +25 -0
- package/funcs/auditsCreateInformationRequest.d.ts.map +1 -0
- package/funcs/auditsCreateInformationRequest.js +131 -0
- package/funcs/auditsCreateInformationRequest.js.map +1 -0
- package/funcs/auditsDeleteCommentForInformationRequest.d.ts +19 -0
- package/funcs/auditsDeleteCommentForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsDeleteCommentForInformationRequest.js +132 -0
- package/funcs/auditsDeleteCommentForInformationRequest.js.map +1 -0
- package/funcs/auditsDeleteInformationRequest.d.ts +27 -0
- package/funcs/auditsDeleteInformationRequest.d.ts.map +1 -0
- package/funcs/auditsDeleteInformationRequest.js +135 -0
- package/funcs/auditsDeleteInformationRequest.js.map +1 -0
- package/funcs/auditsFlagInformationRequestEvidence.d.ts +33 -0
- package/funcs/auditsFlagInformationRequestEvidence.d.ts.map +1 -0
- package/funcs/auditsFlagInformationRequestEvidence.js +143 -0
- package/funcs/auditsFlagInformationRequestEvidence.js.map +1 -0
- package/funcs/auditsGetAudit.d.ts +22 -0
- package/funcs/auditsGetAudit.d.ts.map +1 -0
- package/funcs/auditsGetAudit.js +125 -0
- package/funcs/auditsGetAudit.js.map +1 -0
- package/funcs/auditsGetEvidenceUrls.d.ts +2 -0
- package/funcs/auditsGetEvidenceUrls.d.ts.map +1 -1
- package/funcs/auditsGetEvidenceUrls.js +4 -1
- package/funcs/auditsGetEvidenceUrls.js.map +1 -1
- package/funcs/auditsGetFrameworkCodes.d.ts +23 -0
- package/funcs/auditsGetFrameworkCodes.d.ts.map +1 -0
- package/funcs/auditsGetFrameworkCodes.js +126 -0
- package/funcs/auditsGetFrameworkCodes.js.map +1 -0
- package/funcs/auditsGetInformationRequest.d.ts +23 -0
- package/funcs/auditsGetInformationRequest.d.ts.map +1 -0
- package/funcs/auditsGetInformationRequest.js +130 -0
- package/funcs/auditsGetInformationRequest.js.map +1 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.d.ts +30 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.d.ts.map +1 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js +143 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js.map +1 -0
- package/funcs/auditsList.d.ts +4 -0
- package/funcs/auditsList.d.ts.map +1 -1
- package/funcs/auditsList.js +6 -1
- package/funcs/auditsList.js.map +1 -1
- package/funcs/auditsListAuditIssues.d.ts +33 -0
- package/funcs/auditsListAuditIssues.d.ts.map +1 -0
- package/funcs/auditsListAuditIssues.js +143 -0
- package/funcs/auditsListAuditIssues.js.map +1 -0
- package/funcs/auditsListAuditSnapshots.d.ts +31 -0
- package/funcs/auditsListAuditSnapshots.d.ts.map +1 -0
- package/funcs/auditsListAuditSnapshots.js +140 -0
- package/funcs/auditsListAuditSnapshots.js.map +1 -0
- package/funcs/auditsListComments.d.ts.map +1 -1
- package/funcs/auditsListComments.js +2 -1
- package/funcs/auditsListComments.js.map +1 -1
- package/funcs/auditsListCommentsForInformationRequest.d.ts +39 -0
- package/funcs/auditsListCommentsForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsListCommentsForInformationRequest.js +152 -0
- package/funcs/auditsListCommentsForInformationRequest.js.map +1 -0
- package/funcs/auditsListControls.d.ts.map +1 -1
- package/funcs/auditsListControls.js +2 -1
- package/funcs/auditsListControls.js.map +1 -1
- package/funcs/auditsListEvidence.d.ts.map +1 -1
- package/funcs/auditsListEvidence.js +2 -1
- package/funcs/auditsListEvidence.js.map +1 -1
- package/funcs/auditsListInformationRequestActivity.d.ts +35 -0
- package/funcs/auditsListInformationRequestActivity.d.ts.map +1 -0
- package/funcs/auditsListInformationRequestActivity.js +148 -0
- package/funcs/auditsListInformationRequestActivity.js.map +1 -0
- package/funcs/auditsListInformationRequestEvidence.d.ts +39 -0
- package/funcs/auditsListInformationRequestEvidence.d.ts.map +1 -0
- package/funcs/auditsListInformationRequestEvidence.js +153 -0
- package/funcs/auditsListInformationRequestEvidence.js.map +1 -0
- package/funcs/auditsListInformationRequests.d.ts +39 -0
- package/funcs/auditsListInformationRequests.d.ts.map +1 -0
- package/funcs/auditsListInformationRequests.js +148 -0
- package/funcs/auditsListInformationRequests.js.map +1 -0
- package/funcs/auditsListInformationRequestsForControl.d.ts +34 -0
- package/funcs/auditsListInformationRequestsForControl.d.ts.map +1 -0
- package/funcs/auditsListInformationRequestsForControl.js +146 -0
- package/funcs/auditsListInformationRequestsForControl.js.map +1 -0
- package/funcs/auditsShareInformationRequestList.d.ts +20 -0
- package/funcs/auditsShareInformationRequestList.d.ts.map +1 -0
- package/funcs/auditsShareInformationRequestList.js +123 -0
- package/funcs/auditsShareInformationRequestList.js.map +1 -0
- package/funcs/auditsUpdateCommentForInformationRequest.d.ts +20 -0
- package/funcs/auditsUpdateCommentForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsUpdateCommentForInformationRequest.js +132 -0
- package/funcs/auditsUpdateCommentForInformationRequest.js.map +1 -0
- package/funcs/auditsUpdateEvidence.d.ts.map +1 -1
- package/funcs/auditsUpdateEvidence.js +2 -1
- package/funcs/auditsUpdateEvidence.js.map +1 -1
- package/funcs/auditsUpdateInformationRequest.d.ts +28 -0
- package/funcs/auditsUpdateInformationRequest.d.ts.map +1 -0
- package/funcs/auditsUpdateInformationRequest.js +138 -0
- package/funcs/auditsUpdateInformationRequest.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +5 -9
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +2 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +39 -6
- package/lib/encodings.js.map +1 -1
- package/lib/files.d.ts +13 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +19 -0
- package/lib/files.js.map +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +12 -10
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +20 -10
- package/lib/security.js.map +1 -1
- package/lib/url.d.ts.map +1 -1
- package/lib/url.js +4 -2
- package/lib/url.js.map +1 -1
- package/models/components/acceptinformationrequestevidenceinput.d.ts +25 -0
- package/models/components/acceptinformationrequestevidenceinput.d.ts.map +1 -0
- package/models/components/acceptinformationrequestevidenceinput.js +49 -0
- package/models/components/acceptinformationrequestevidenceinput.js.map +1 -0
- package/models/components/addauditorinput.d.ts +0 -5
- package/models/components/addauditorinput.d.ts.map +1 -1
- package/models/components/addauditorinput.js +1 -12
- package/models/components/addauditorinput.js.map +1 -1
- package/models/components/addcommentinput.d.ts +0 -5
- package/models/components/addcommentinput.d.ts.map +1 -1
- package/models/components/addcommentinput.js +1 -12
- package/models/components/addcommentinput.js.map +1 -1
- package/models/components/addinformationrequestcommentinput.d.ts +44 -0
- package/models/components/addinformationrequestcommentinput.d.ts.map +1 -0
- package/models/components/addinformationrequestcommentinput.js +51 -0
- package/models/components/addinformationrequestcommentinput.js.map +1 -0
- package/models/components/audit.d.ts +31 -21
- package/models/components/audit.d.ts.map +1 -1
- package/models/components/audit.js +11 -23
- package/models/components/audit.js.map +1 -1
- package/models/components/auditevidencestate.d.ts +0 -2
- package/models/components/auditevidencestate.d.ts.map +1 -1
- package/models/components/auditevidencestate.js +1 -3
- package/models/components/auditevidencestate.js.map +1 -1
- package/models/components/auditevidencetype.d.ts +0 -2
- package/models/components/auditevidencetype.d.ts.map +1 -1
- package/models/components/auditevidencetype.js +1 -3
- package/models/components/auditevidencetype.js.map +1 -1
- package/models/components/auditevidenceupdateinput.d.ts +0 -8
- package/models/components/auditevidenceupdateinput.d.ts.map +1 -1
- package/models/components/auditevidenceupdateinput.js +1 -19
- package/models/components/auditevidenceupdateinput.js.map +1 -1
- package/models/components/auditfocus.d.ts +0 -2
- package/models/components/auditfocus.d.ts.map +1 -1
- package/models/components/auditfocus.js +1 -3
- package/models/components/auditfocus.js.map +1 -1
- package/models/components/auditor.d.ts +0 -11
- package/models/components/auditor.d.ts.map +1 -1
- package/models/components/auditor.js +1 -13
- package/models/components/auditor.js.map +1 -1
- package/models/components/auditorcontrol.d.ts +10 -28
- package/models/components/auditorcontrol.d.ts.map +1 -1
- package/models/components/auditorcontrol.js +3 -29
- package/models/components/auditorcontrol.js.map +1 -1
- package/models/components/auditorenabledstatetransition.d.ts +0 -2
- package/models/components/auditorenabledstatetransition.d.ts.map +1 -1
- package/models/components/auditorenabledstatetransition.js +2 -4
- package/models/components/auditorenabledstatetransition.js.map +1 -1
- package/models/components/comment.d.ts +9 -13
- package/models/components/comment.d.ts.map +1 -1
- package/models/components/comment.js +2 -15
- package/models/components/comment.js.map +1 -1
- package/models/components/control.d.ts +9 -25
- package/models/components/control.d.ts.map +1 -1
- package/models/components/control.js +3 -27
- package/models/components/control.js.map +1 -1
- package/models/components/controldomain.d.ts +0 -2
- package/models/components/controldomain.d.ts.map +1 -1
- package/models/components/controldomain.js +2 -4
- package/models/components/controldomain.js.map +1 -1
- package/models/components/controlsource.d.ts +0 -2
- package/models/components/controlsource.d.ts.map +1 -1
- package/models/components/controlsource.js +1 -3
- package/models/components/controlsource.js.map +1 -1
- package/models/components/createcustomcontrolinput.d.ts +0 -7
- package/models/components/createcustomcontrolinput.d.ts.map +1 -1
- package/models/components/createcustomcontrolinput.js +2 -19
- package/models/components/createcustomcontrolinput.js.map +1 -1
- package/models/components/createcustomevidencerequestinput.d.ts +0 -5
- package/models/components/createcustomevidencerequestinput.d.ts.map +1 -1
- package/models/components/createcustomevidencerequestinput.js +1 -16
- package/models/components/createcustomevidencerequestinput.js.map +1 -1
- package/models/components/createinformationrequestinput.d.ts +98 -0
- package/models/components/createinformationrequestinput.d.ts.map +1 -0
- package/models/components/createinformationrequestinput.js +70 -0
- package/models/components/createinformationrequestinput.js.map +1 -0
- package/models/components/customevidencerequest.d.ts +0 -13
- package/models/components/customevidencerequest.d.ts.map +1 -1
- package/models/components/customevidencerequest.js +1 -15
- package/models/components/customevidencerequest.js.map +1 -1
- package/models/components/customfield.d.ts +0 -13
- package/models/components/customfield.d.ts.map +1 -1
- package/models/components/customfield.js +1 -16
- package/models/components/customfield.js.map +1 -1
- package/models/components/deleteinformationrequestcommentinput.d.ts +25 -0
- package/models/components/deleteinformationrequestcommentinput.d.ts.map +1 -0
- package/models/components/deleteinformationrequestcommentinput.js +49 -0
- package/models/components/deleteinformationrequestcommentinput.js.map +1 -0
- package/models/components/evidence.d.ts +1 -19
- package/models/components/evidence.d.ts.map +1 -1
- package/models/components/evidence.js +1 -20
- package/models/components/evidence.js.map +1 -1
- package/models/components/evidencecontrol.d.ts +0 -8
- package/models/components/evidencecontrol.d.ts.map +1 -1
- package/models/components/evidencecontrol.js +1 -10
- package/models/components/evidencecontrol.js.map +1 -1
- package/models/components/evidenceurl.d.ts +4 -10
- package/models/components/evidenceurl.d.ts.map +1 -1
- package/models/components/evidenceurl.js +2 -12
- package/models/components/evidenceurl.js.map +1 -1
- package/models/components/flaginformationrequestevidenceinput.d.ts +36 -0
- package/models/components/flaginformationrequestevidenceinput.d.ts.map +1 -0
- package/models/components/flaginformationrequestevidenceinput.js +50 -0
- package/models/components/flaginformationrequestevidenceinput.js.map +1 -0
- package/models/components/frameworkcodes.d.ts +19 -0
- package/models/components/frameworkcodes.d.ts.map +1 -0
- package/models/components/frameworkcodes.js +50 -0
- package/models/components/frameworkcodes.js.map +1 -0
- package/models/components/frameworkid.d.ts +0 -2
- package/models/components/frameworkid.d.ts.map +1 -1
- package/models/components/frameworkid.js +2 -4
- package/models/components/frameworkid.js.map +1 -1
- package/models/components/frameworksection.d.ts +0 -8
- package/models/components/frameworksection.d.ts.map +1 -1
- package/models/components/frameworksection.js +1 -17
- package/models/components/frameworksection.js.map +1 -1
- package/models/components/index.d.ts +41 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +41 -0
- package/models/components/index.js.map +1 -1
- package/models/components/informationrequest.d.ts +191 -0
- package/models/components/informationrequest.d.ts.map +1 -0
- package/models/components/informationrequest.js +110 -0
- package/models/components/informationrequest.js.map +1 -0
- package/models/components/informationrequestactivitylog.d.ts +110 -0
- package/models/components/informationrequestactivitylog.d.ts.map +1 -0
- package/models/components/informationrequestactivitylog.js +89 -0
- package/models/components/informationrequestactivitylog.js.map +1 -0
- package/models/components/informationrequestactivitytype.d.ts +13 -0
- package/models/components/informationrequestactivitytype.d.ts.map +1 -0
- package/{mcp-server/tools/auditsList.js → models/components/informationrequestactivitytype.js} +11 -25
- package/models/components/informationrequestactivitytype.js.map +1 -0
- package/models/components/informationrequestapprovalstatus.d.ts +28 -0
- package/models/components/informationrequestapprovalstatus.d.ts.map +1 -0
- package/{mcp-server/tools/auditorsCreate.js → models/components/informationrequestapprovalstatus.js} +18 -25
- package/models/components/informationrequestapprovalstatus.js.map +1 -0
- package/models/components/informationrequestcadence.d.ts +18 -0
- package/models/components/informationrequestcadence.d.ts.map +1 -0
- package/{mcp-server/tools/auditsUpdateEvidence.js → models/components/informationrequestcadence.js} +13 -25
- package/models/components/informationrequestcadence.js.map +1 -0
- package/models/components/informationrequestcomment.d.ts +72 -0
- package/models/components/informationrequestcomment.d.ts.map +1 -0
- package/models/components/informationrequestcomment.js +56 -0
- package/models/components/informationrequestcomment.js.map +1 -0
- package/models/components/informationrequestevidence.d.ts +59 -0
- package/models/components/informationrequestevidence.d.ts.map +1 -0
- package/models/components/informationrequestevidence.js +58 -0
- package/models/components/informationrequestevidence.js.map +1 -0
- package/models/components/informationrequestevidenceunion.d.ts +21 -0
- package/models/components/informationrequestevidenceunion.d.ts.map +1 -0
- package/models/components/informationrequestevidenceunion.js +63 -0
- package/models/components/informationrequestevidenceunion.js.map +1 -0
- package/models/components/informationrequestsupportedevidencetype.d.ts +17 -0
- package/models/components/informationrequestsupportedevidencetype.d.ts.map +1 -0
- package/{mcp-server/tools/auditsListControls.js → models/components/informationrequestsupportedevidencetype.js} +16 -25
- package/models/components/informationrequestsupportedevidencetype.js.map +1 -0
- package/models/components/informationrequesttype.d.ts +31 -0
- package/models/components/informationrequesttype.d.ts.map +1 -0
- package/models/components/informationrequesttype.js +59 -0
- package/models/components/informationrequesttype.js.map +1 -0
- package/models/components/issuesnapshotitem.d.ts +65 -0
- package/models/components/issuesnapshotitem.d.ts.map +1 -0
- package/models/components/issuesnapshotitem.js +63 -0
- package/models/components/issuesnapshotitem.js.map +1 -0
- package/models/components/issuesnapshotmetadata.d.ts +25 -0
- package/models/components/issuesnapshotmetadata.d.ts.map +1 -0
- package/models/components/issuesnapshotmetadata.js +54 -0
- package/models/components/issuesnapshotmetadata.js.map +1 -0
- package/models/components/issuestatustypeforsnapshot.d.ts +11 -0
- package/models/components/issuestatustypeforsnapshot.d.ts.map +1 -0
- package/models/components/issuestatustypeforsnapshot.js +48 -0
- package/models/components/issuestatustypeforsnapshot.js.map +1 -0
- package/models/components/linkevidence.d.ts +24 -0
- package/models/components/linkevidence.d.ts.map +1 -0
- package/models/components/linkevidence.js +52 -0
- package/models/components/linkevidence.js.map +1 -0
- package/models/components/observationevidence.d.ts +16 -0
- package/models/components/observationevidence.d.ts.map +1 -0
- package/models/components/observationevidence.js +50 -0
- package/models/components/observationevidence.js.map +1 -0
- package/models/components/pageinfo.d.ts +0 -10
- package/models/components/pageinfo.d.ts.map +1 -1
- package/models/components/pageinfo.js +1 -12
- package/models/components/pageinfo.js.map +1 -1
- package/models/components/paginatedissuesnapshotitemsresponse.d.ts +22 -0
- package/models/components/paginatedissuesnapshotitemsresponse.d.ts.map +1 -0
- package/models/components/paginatedissuesnapshotitemsresponse.js +61 -0
- package/models/components/paginatedissuesnapshotitemsresponse.js.map +1 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.d.ts +22 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.d.ts.map +1 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.js +61 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.js.map +1 -0
- package/models/components/paginatedresponseaudit.d.ts +2 -17
- package/models/components/paginatedresponseaudit.d.ts.map +1 -1
- package/models/components/paginatedresponseaudit.js +1 -18
- package/models/components/paginatedresponseaudit.js.map +1 -1
- package/models/components/paginatedresponseauditorcontrol.d.ts +2 -17
- package/models/components/paginatedresponseauditorcontrol.d.ts.map +1 -1
- package/models/components/paginatedresponseauditorcontrol.js +1 -18
- package/models/components/paginatedresponseauditorcontrol.js.map +1 -1
- package/models/components/paginatedresponsecomment.d.ts +2 -17
- package/models/components/paginatedresponsecomment.d.ts.map +1 -1
- package/models/components/paginatedresponsecomment.js +1 -18
- package/models/components/paginatedresponsecomment.js.map +1 -1
- package/models/components/paginatedresponseevidence.d.ts +2 -17
- package/models/components/paginatedresponseevidence.d.ts.map +1 -1
- package/models/components/paginatedresponseevidence.js +1 -18
- package/models/components/paginatedresponseevidence.js.map +1 -1
- package/models/components/paginatedresponseevidenceurl.d.ts +2 -17
- package/models/components/paginatedresponseevidenceurl.d.ts.map +1 -1
- package/models/components/paginatedresponseevidenceurl.js +1 -18
- package/models/components/paginatedresponseevidenceurl.js.map +1 -1
- package/models/components/paginatedresponseinformationrequest.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequest.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequest.js +61 -0
- package/models/components/paginatedresponseinformationrequest.js.map +1 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.js +61 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.js.map +1 -0
- package/models/components/paginatedresponseinformationrequestcomment.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequestcomment.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequestcomment.js +61 -0
- package/models/components/paginatedresponseinformationrequestcomment.js.map +1 -0
- package/models/components/paginatedresponseinformationrequestevidence.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequestevidence.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequestevidence.js +61 -0
- package/models/components/paginatedresponseinformationrequestevidence.js.map +1 -0
- package/models/components/partialupdateinformationrequest.d.ts +69 -0
- package/models/components/partialupdateinformationrequest.d.ts.map +1 -0
- package/{mcp-server/tools/auditsCreateCustomEvidenceRequest.js → models/components/partialupdateinformationrequest.js} +20 -26
- package/models/components/partialupdateinformationrequest.js.map +1 -0
- package/models/components/recurrenceduration.d.ts +1 -0
- package/models/components/recurrenceduration.d.ts.map +1 -1
- package/models/components/recurrenceduration.js +1 -0
- package/models/components/recurrenceduration.js.map +1 -1
- package/models/components/section.d.ts +20 -8
- package/models/components/section.d.ts.map +1 -1
- package/models/components/section.js +9 -8
- package/models/components/section.js.map +1 -1
- package/models/components/security.d.ts +0 -5
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +1 -10
- package/models/components/security.js.map +1 -1
- package/models/components/updateinformationrequestcommentinput.d.ts +34 -0
- package/models/components/updateinformationrequestcommentinput.d.ts.map +1 -0
- package/models/components/updateinformationrequestcommentinput.js +50 -0
- package/models/components/updateinformationrequestcommentinput.js.map +1 -0
- package/models/components/uploadeddocumentevidence.d.ts +41 -0
- package/models/components/uploadeddocumentevidence.d.ts.map +1 -0
- package/models/components/uploadeddocumentevidence.js +53 -0
- package/models/components/uploadeddocumentevidence.js.map +1 -0
- package/models/components/vantadocumentevidence.d.ts +78 -0
- package/models/components/vantadocumentevidence.d.ts.map +1 -0
- package/models/components/vantadocumentevidence.js +79 -0
- package/models/components/vantadocumentevidence.js.map +1 -0
- package/models/components/vantadocumentlinkevidence.d.ts +27 -0
- package/models/components/vantadocumentlinkevidence.d.ts.map +1 -0
- package/models/components/vantadocumentlinkevidence.js +52 -0
- package/models/components/vantadocumentlinkevidence.js.map +1 -0
- package/models/components/vantadocumentuploadedevidence.d.ts +45 -0
- package/models/components/vantadocumentuploadedevidence.d.ts.map +1 -0
- package/models/components/vantadocumentuploadedevidence.js +54 -0
- package/models/components/vantadocumentuploadedevidence.js.map +1 -0
- package/models/components/vantapolicyevidence.d.ts +126 -0
- package/models/components/vantapolicyevidence.d.ts.map +1 -0
- package/models/components/vantapolicyevidence.js +79 -0
- package/models/components/vantapolicyevidence.js.map +1 -0
- package/models/components/vantatestevidence.d.ts +71 -0
- package/models/components/vantatestevidence.d.ts.map +1 -0
- package/models/components/vantatestevidence.js +67 -0
- package/models/components/vantatestevidence.js.map +1 -0
- package/models/components/vantatestfiletype.d.ts +12 -0
- package/models/components/vantatestfiletype.d.ts.map +1 -0
- package/models/components/vantatestfiletype.js +49 -0
- package/models/components/vantatestfiletype.js.map +1 -0
- package/models/components/vantatestrunstatus.d.ts +14 -0
- package/models/components/vantatestrunstatus.d.ts.map +1 -0
- package/models/components/vantatestrunstatus.js +51 -0
- package/models/components/vantatestrunstatus.js.map +1 -0
- package/models/components/vantatestsnapshotevidence.d.ts +68 -0
- package/models/components/vantatestsnapshotevidence.d.ts.map +1 -0
- package/{mcp-server/tools/auditsCreateCommentForEvidence.js → models/components/vantatestsnapshotevidence.js} +29 -25
- package/models/components/vantatestsnapshotevidence.js.map +1 -0
- package/models/components/vantatestsnapshotevidencedetail.d.ts +66 -0
- package/models/components/vantatestsnapshotevidencedetail.d.ts.map +1 -0
- package/models/components/vantatestsnapshotevidencedetail.js +76 -0
- package/models/components/vantatestsnapshotevidencedetail.js.map +1 -0
- package/models/components/vantatestsnapshotintegration.d.ts +14 -0
- package/models/components/vantatestsnapshotintegration.d.ts.map +1 -0
- package/models/components/vantatestsnapshotintegration.js +51 -0
- package/models/components/vantatestsnapshotintegration.js.map +1 -0
- package/models/components/vantatestsnapshotrawtestdatarow.d.ts +41 -0
- package/models/components/vantatestsnapshotrawtestdatarow.d.ts.map +1 -0
- package/models/components/vantatestsnapshotrawtestdatarow.js +52 -0
- package/models/components/vantatestsnapshotrawtestdatarow.js.map +1 -0
- package/models/operations/acceptinformationrequestevidence.d.ts +17 -0
- package/models/operations/acceptinformationrequestevidence.d.ts.map +1 -0
- package/models/operations/acceptinformationrequestevidence.js +57 -0
- package/models/operations/acceptinformationrequestevidence.js.map +1 -0
- package/models/operations/createcommentforauditevidence.d.ts +0 -5
- package/models/operations/createcommentforauditevidence.d.ts.map +1 -1
- package/models/operations/createcommentforauditevidence.js +1 -16
- package/models/operations/createcommentforauditevidence.js.map +1 -1
- package/models/operations/createcommentforinformationrequest.d.ts +17 -0
- package/models/operations/createcommentforinformationrequest.d.ts.map +1 -0
- package/models/operations/createcommentforinformationrequest.js +57 -0
- package/models/operations/createcommentforinformationrequest.js.map +1 -0
- package/models/operations/createcustomcontrol.d.ts +0 -5
- package/models/operations/createcustomcontrol.d.ts.map +1 -1
- package/models/operations/createcustomcontrol.js +1 -15
- package/models/operations/createcustomcontrol.js.map +1 -1
- package/models/operations/createcustomevidencerequest.d.ts +0 -5
- package/models/operations/createcustomevidencerequest.d.ts.map +1 -1
- package/models/operations/createcustomevidencerequest.js +1 -15
- package/models/operations/createcustomevidencerequest.js.map +1 -1
- package/models/operations/createinformationrequest.d.ts +15 -0
- package/models/operations/createinformationrequest.d.ts.map +1 -0
- package/models/operations/createinformationrequest.js +56 -0
- package/models/operations/createinformationrequest.js.map +1 -0
- package/models/operations/deletecommentforinformationrequest.d.ts +19 -0
- package/models/operations/deletecommentforinformationrequest.d.ts.map +1 -0
- package/{mcp-server/tools/auditsCreateCustomControl.js → models/operations/deletecommentforinformationrequest.js} +20 -26
- package/models/operations/deletecommentforinformationrequest.js.map +1 -0
- package/models/operations/deleteinformationrequest.d.ts +14 -0
- package/models/operations/deleteinformationrequest.d.ts.map +1 -0
- package/models/operations/deleteinformationrequest.js +50 -0
- package/models/operations/deleteinformationrequest.js.map +1 -0
- package/models/operations/flaginformationrequestevidence.d.ts +17 -0
- package/models/operations/flaginformationrequestevidence.d.ts.map +1 -0
- package/{mcp-server/tools/auditsListComments.js → models/operations/flaginformationrequestevidence.js} +19 -26
- package/models/operations/flaginformationrequestevidence.js.map +1 -0
- package/models/operations/getaudit.d.ts +12 -0
- package/models/operations/getaudit.d.ts.map +1 -0
- package/models/operations/getaudit.js +49 -0
- package/models/operations/getaudit.js.map +1 -0
- package/models/operations/getframeworkcodes.d.ts +12 -0
- package/models/operations/getframeworkcodes.d.ts.map +1 -0
- package/models/operations/getframeworkcodes.js +49 -0
- package/models/operations/getframeworkcodes.js.map +1 -0
- package/models/operations/getinformationrequest.d.ts +14 -0
- package/models/operations/getinformationrequest.d.ts.map +1 -0
- package/models/operations/getinformationrequest.js +50 -0
- package/models/operations/getinformationrequest.js.map +1 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.d.ts +16 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.d.ts.map +1 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.js +51 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.js.map +1 -0
- package/models/operations/index.d.ts +20 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +20 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listauditcomments.d.ts +0 -5
- package/models/operations/listauditcomments.d.ts.map +1 -1
- package/models/operations/listauditcomments.js +1 -13
- package/models/operations/listauditcomments.js.map +1 -1
- package/models/operations/listauditcontrols.d.ts +0 -5
- package/models/operations/listauditcontrols.d.ts.map +1 -1
- package/models/operations/listauditcontrols.js +1 -12
- package/models/operations/listauditcontrols.js.map +1 -1
- package/models/operations/listauditevidence.d.ts +0 -5
- package/models/operations/listauditevidence.d.ts.map +1 -1
- package/models/operations/listauditevidence.js +1 -13
- package/models/operations/listauditevidence.js.map +1 -1
- package/models/operations/listauditevidenceurls.d.ts +0 -5
- package/models/operations/listauditevidenceurls.d.ts.map +1 -1
- package/models/operations/listauditevidenceurls.js +1 -13
- package/models/operations/listauditevidenceurls.js.map +1 -1
- package/models/operations/listauditissues.d.ts +35 -0
- package/models/operations/listauditissues.d.ts.map +1 -0
- package/models/operations/listauditissues.js +53 -0
- package/models/operations/listauditissues.js.map +1 -0
- package/models/operations/listaudits.d.ts +0 -5
- package/models/operations/listaudits.d.ts.map +1 -1
- package/models/operations/listaudits.js +1 -13
- package/models/operations/listaudits.js.map +1 -1
- package/models/operations/listauditsnapshots.d.ts +30 -0
- package/models/operations/listauditsnapshots.d.ts.map +1 -0
- package/models/operations/listauditsnapshots.js +52 -0
- package/models/operations/listauditsnapshots.js.map +1 -0
- package/models/operations/listcommentsforinformationrequest.d.ts +32 -0
- package/models/operations/listcommentsforinformationrequest.d.ts.map +1 -0
- package/models/operations/listcommentsforinformationrequest.js +53 -0
- package/models/operations/listcommentsforinformationrequest.js.map +1 -0
- package/models/operations/listinformationrequestactivity.d.ts +29 -0
- package/models/operations/listinformationrequestactivity.d.ts.map +1 -0
- package/models/operations/listinformationrequestactivity.js +53 -0
- package/models/operations/listinformationrequestactivity.js.map +1 -0
- package/models/operations/listinformationrequestevidence.d.ts +42 -0
- package/models/operations/listinformationrequestevidence.d.ts.map +1 -0
- package/models/operations/listinformationrequestevidence.js +55 -0
- package/models/operations/listinformationrequestevidence.js.map +1 -0
- package/models/operations/listinformationrequests.d.ts +30 -0
- package/models/operations/listinformationrequests.d.ts.map +1 -0
- package/models/operations/listinformationrequests.js +52 -0
- package/models/operations/listinformationrequests.js.map +1 -0
- package/models/operations/listinformationrequestsforcontrol.d.ts +24 -0
- package/models/operations/listinformationrequestsforcontrol.d.ts.map +1 -0
- package/models/operations/listinformationrequestsforcontrol.js +52 -0
- package/models/operations/listinformationrequestsforcontrol.js.map +1 -0
- package/models/operations/shareinformationrequestlist.d.ts +12 -0
- package/models/operations/shareinformationrequestlist.d.ts.map +1 -0
- package/{mcp-server/tools/auditsListEvidence.js → models/operations/shareinformationrequestlist.js} +11 -26
- package/models/operations/shareinformationrequestlist.js.map +1 -0
- package/models/operations/updateauditevidence.d.ts +0 -5
- package/models/operations/updateauditevidence.d.ts.map +1 -1
- package/models/operations/updateauditevidence.js +1 -16
- package/models/operations/updateauditevidence.js.map +1 -1
- package/models/operations/updatecommentforinformationrequest.d.ts +19 -0
- package/models/operations/updatecommentforinformationrequest.d.ts.map +1 -0
- package/models/operations/updatecommentforinformationrequest.js +58 -0
- package/models/operations/updatecommentforinformationrequest.js.map +1 -0
- package/models/operations/updateinformationrequest.d.ts +17 -0
- package/models/operations/updateinformationrequest.d.ts.map +1 -0
- package/models/operations/updateinformationrequest.js +57 -0
- package/models/operations/updateinformationrequest.js.map +1 -0
- package/package.json +4 -14
- package/sdk/audits.d.ts +378 -19
- package/sdk/audits.d.ts.map +1 -1
- package/sdk/audits.js +444 -25
- package/sdk/audits.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/smoke-test/src/smoke.test.ts +201 -0
- package/smoke-test/vitest.config.ts +11 -0
- package/src/funcs/auditorsCreate.ts +3 -1
- package/src/funcs/auditsAcceptInformationRequestEvidence.ts +195 -0
- package/src/funcs/auditsCreateCommentForEvidence.ts +3 -2
- package/src/funcs/auditsCreateCommentForInformationRequest.ts +182 -0
- package/src/funcs/auditsCreateCustomControl.ts +3 -2
- package/src/funcs/auditsCreateCustomEvidenceRequest.ts +3 -2
- package/src/funcs/auditsCreateInformationRequest.ts +179 -0
- package/src/funcs/auditsDeleteCommentForInformationRequest.ts +188 -0
- package/src/funcs/auditsDeleteInformationRequest.ts +185 -0
- package/src/funcs/auditsFlagInformationRequestEvidence.ts +195 -0
- package/src/funcs/auditsGetAudit.ts +172 -0
- package/src/funcs/auditsGetEvidenceUrls.ts +5 -2
- package/src/funcs/auditsGetFrameworkCodes.ts +173 -0
- package/src/funcs/auditsGetInformationRequest.ts +180 -0
- package/src/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.ts +193 -0
- package/src/funcs/auditsList.ts +7 -1
- package/src/funcs/auditsListAuditIssues.ts +191 -0
- package/src/funcs/auditsListAuditSnapshots.ts +191 -0
- package/src/funcs/auditsListComments.ts +3 -2
- package/src/funcs/auditsListCommentsForInformationRequest.ts +208 -0
- package/src/funcs/auditsListControls.ts +3 -2
- package/src/funcs/auditsListEvidence.ts +3 -2
- package/src/funcs/auditsListInformationRequestActivity.ts +204 -0
- package/src/funcs/auditsListInformationRequestEvidence.ts +209 -0
- package/src/funcs/auditsListInformationRequests.ts +197 -0
- package/src/funcs/auditsListInformationRequestsForControl.ts +199 -0
- package/src/funcs/auditsShareInformationRequestList.ts +173 -0
- package/src/funcs/auditsUpdateCommentForInformationRequest.ts +188 -0
- package/src/funcs/auditsUpdateEvidence.ts +3 -2
- package/src/funcs/auditsUpdateInformationRequest.ts +188 -0
- package/src/lib/config.ts +5 -9
- package/src/lib/encodings.ts +49 -7
- package/src/lib/files.ts +22 -0
- package/src/lib/matchers.ts +3 -2
- package/src/lib/sdks.ts +12 -13
- package/src/lib/security.ts +15 -4
- package/src/lib/url.ts +16 -14
- package/src/models/components/acceptinformationrequestevidenceinput.ts +46 -0
- package/src/models/components/addauditorinput.ts +0 -22
- package/src/models/components/addcommentinput.ts +0 -24
- package/src/models/components/addinformationrequestcommentinput.ts +67 -0
- package/src/models/components/audit.ts +55 -49
- package/src/models/components/auditevidencestate.ts +0 -4
- package/src/models/components/auditevidencetype.ts +0 -4
- package/src/models/components/auditevidenceupdateinput.ts +0 -39
- package/src/models/components/auditfocus.ts +0 -3
- package/src/models/components/auditor.ts +0 -24
- package/src/models/components/auditorcontrol.ts +17 -73
- package/src/models/components/auditorenabledstatetransition.ts +1 -5
- package/src/models/components/comment.ts +10 -28
- package/src/models/components/control.ts +16 -63
- package/src/models/components/controldomain.ts +1 -5
- package/src/models/components/controlsource.ts +0 -4
- package/src/models/components/createcustomcontrolinput.ts +1 -34
- package/src/models/components/createcustomevidencerequestinput.ts +0 -27
- package/src/models/components/createinformationrequestinput.ts +138 -0
- package/src/models/components/customevidencerequest.ts +0 -33
- package/src/models/components/customfield.ts +0 -30
- package/src/models/components/deleteinformationrequestcommentinput.ts +46 -0
- package/src/models/components/evidence.ts +0 -42
- package/src/models/components/evidencecontrol.ts +0 -20
- package/src/models/components/evidenceurl.ts +5 -22
- package/src/models/components/flaginformationrequestevidenceinput.ts +58 -0
- package/src/models/components/frameworkcodes.ts +40 -0
- package/src/models/components/frameworkid.ts +1 -4
- package/src/models/components/frameworksection.ts +1 -41
- package/src/models/components/index.ts +41 -0
- package/src/models/components/informationrequest.ts +295 -0
- package/src/models/components/informationrequestactivitylog.ts +146 -0
- package/src/models/components/informationrequestactivitytype.ts +22 -0
- package/src/models/components/informationrequestapprovalstatus.ts +37 -0
- package/src/models/components/informationrequestcadence.ts +27 -0
- package/src/models/components/informationrequestcomment.ts +105 -0
- package/src/models/components/informationrequestevidence.ts +100 -0
- package/src/models/components/informationrequestevidenceunion.ts +73 -0
- package/src/models/components/informationrequestsupportedevidencetype.ts +28 -0
- package/src/models/components/informationrequesttype.ts +40 -0
- package/src/models/components/issuesnapshotitem.ts +105 -0
- package/src/models/components/issuesnapshotmetadata.ts +50 -0
- package/src/models/components/issuestatustypeforsnapshot.ts +20 -0
- package/src/models/components/linkevidence.ts +47 -0
- package/src/models/components/observationevidence.ts +37 -0
- package/src/models/components/pageinfo.ts +0 -22
- package/src/models/components/paginatedissuesnapshotitemsresponse.ts +71 -0
- package/src/models/components/paginatedissuesnapshotmetadataresponse.ts +74 -0
- package/src/models/components/paginatedresponseaudit.ts +2 -50
- package/src/models/components/paginatedresponseauditorcontrol.ts +1 -55
- package/src/models/components/paginatedresponsecomment.ts +2 -56
- package/src/models/components/paginatedresponseevidence.ts +2 -56
- package/src/models/components/paginatedresponseevidenceurl.ts +2 -58
- package/src/models/components/paginatedresponseinformationrequest.ts +71 -0
- package/src/models/components/paginatedresponseinformationrequestactivitylog.ts +80 -0
- package/src/models/components/paginatedresponseinformationrequestcomment.ts +77 -0
- package/src/models/components/paginatedresponseinformationrequestevidence.ts +80 -0
- package/src/models/components/partialupdateinformationrequest.ts +103 -0
- package/src/models/components/recurrenceduration.ts +1 -0
- package/src/models/components/section.ts +39 -18
- package/src/models/components/security.ts +0 -20
- package/src/models/components/updateinformationrequestcommentinput.ts +56 -0
- package/src/models/components/uploadeddocumentevidence.ts +65 -0
- package/src/models/components/vantadocumentevidence.ts +145 -0
- package/src/models/components/vantadocumentlinkevidence.ts +50 -0
- package/src/models/components/vantadocumentuploadedevidence.ts +70 -0
- package/src/models/components/vantapolicyevidence.ts +198 -0
- package/src/models/components/vantatestevidence.ts +122 -0
- package/src/models/components/vantatestfiletype.ts +19 -0
- package/src/models/components/vantatestrunstatus.ts +21 -0
- package/src/models/components/vantatestsnapshotevidence.ts +100 -0
- package/src/models/components/vantatestsnapshotevidencedetail.ts +135 -0
- package/src/models/components/vantatestsnapshotintegration.ts +36 -0
- package/src/models/components/vantatestsnapshotrawtestdatarow.ts +64 -0
- package/src/models/operations/acceptinformationrequestevidence.ts +50 -0
- package/src/models/operations/createcommentforauditevidence.ts +0 -27
- package/src/models/operations/createcommentforinformationrequest.ts +50 -0
- package/src/models/operations/createcustomcontrol.ts +0 -25
- package/src/models/operations/createcustomevidencerequest.ts +0 -27
- package/src/models/operations/createinformationrequest.ts +44 -0
- package/src/models/operations/deletecommentforinformationrequest.ts +54 -0
- package/src/models/operations/deleteinformationrequest.ts +36 -0
- package/src/models/operations/flaginformationrequestevidence.ts +48 -0
- package/src/models/operations/getaudit.ts +29 -0
- package/src/models/operations/getframeworkcodes.ts +31 -0
- package/src/models/operations/getinformationrequest.ts +36 -0
- package/src/models/operations/getinformationrequesttestsnapshotevidencedetail.ts +41 -0
- package/src/models/operations/index.ts +20 -0
- package/src/models/operations/listauditcomments.ts +0 -25
- package/src/models/operations/listauditcontrols.ts +0 -22
- package/src/models/operations/listauditevidence.ts +0 -25
- package/src/models/operations/listauditevidenceurls.ts +0 -23
- package/src/models/operations/listauditissues.ts +58 -0
- package/src/models/operations/listaudits.ts +0 -25
- package/src/models/operations/listauditsnapshots.ts +52 -0
- package/src/models/operations/listcommentsforinformationrequest.ts +58 -0
- package/src/models/operations/listinformationrequestactivity.ts +54 -0
- package/src/models/operations/listinformationrequestevidence.ts +72 -0
- package/src/models/operations/listinformationrequests.ts +54 -0
- package/src/models/operations/listinformationrequestsforcontrol.ts +49 -0
- package/src/models/operations/shareinformationrequestlist.ts +33 -0
- package/src/models/operations/updateauditevidence.ts +0 -26
- package/src/models/operations/updatecommentforinformationrequest.ts +54 -0
- package/src/models/operations/updateinformationrequest.ts +47 -0
- package/src/sdk/audits.ts +616 -37
- package/src/sdk/sdk.ts +5 -5
- package/src/types/enums.ts +1 -21
- package/src/types/index.ts +2 -1
- package/src/types/unrecognized.ts +35 -0
- package/types/enums.d.ts +1 -8
- package/types/enums.d.ts.map +1 -1
- package/types/enums.js +3 -21
- package/types/enums.js.map +1 -1
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js +15 -0
- package/types/index.js.map +1 -1
- package/types/unrecognized.d.ts +16 -0
- package/types/unrecognized.d.ts.map +1 -0
- package/types/unrecognized.js +34 -0
- package/types/unrecognized.js.map +1 -0
- package/.devcontainer/devcontainer.json +0 -45
- package/bin/mcp-server.js +0 -39009
- package/bin/mcp-server.js.map +0 -323
- package/examples/package-lock.json +0 -619
- package/examples/package.json +0 -18
- package/mcp-server/build.d.mts.map +0 -1
- package/mcp-server/build.mjs +0 -14
- package/mcp-server/build.mjs.map +0 -1
- package/mcp-server/cli/start/command.d.ts +0 -2
- package/mcp-server/cli/start/command.d.ts.map +0 -1
- package/mcp-server/cli/start/command.js +0 -125
- package/mcp-server/cli/start/command.js.map +0 -1
- package/mcp-server/cli/start/impl.d.ts +0 -16
- package/mcp-server/cli/start/impl.d.ts.map +0 -1
- package/mcp-server/cli/start/impl.js +0 -102
- package/mcp-server/cli/start/impl.js.map +0 -1
- package/mcp-server/cli.d.ts +0 -6
- package/mcp-server/cli.d.ts.map +0 -1
- package/mcp-server/cli.js +0 -10
- package/mcp-server/cli.js.map +0 -1
- package/mcp-server/console-logger.d.ts +0 -7
- package/mcp-server/console-logger.d.ts.map +0 -1
- package/mcp-server/console-logger.js +0 -59
- package/mcp-server/console-logger.js.map +0 -1
- package/mcp-server/extensions.d.ts +0 -11
- package/mcp-server/extensions.d.ts.map +0 -1
- package/mcp-server/extensions.js +0 -6
- package/mcp-server/extensions.js.map +0 -1
- package/mcp-server/mcp-server.d.ts +0 -2
- package/mcp-server/mcp-server.d.ts.map +0 -1
- package/mcp-server/mcp-server.js +0 -29
- package/mcp-server/mcp-server.js.map +0 -1
- package/mcp-server/prompts.d.ts +0 -26
- package/mcp-server/prompts.d.ts.map +0 -1
- package/mcp-server/prompts.js +0 -51
- package/mcp-server/prompts.js.map +0 -1
- package/mcp-server/resources.d.ts +0 -32
- package/mcp-server/resources.d.ts.map +0 -1
- package/mcp-server/resources.js +0 -87
- package/mcp-server/resources.js.map +0 -1
- package/mcp-server/scopes.d.ts +0 -3
- package/mcp-server/scopes.d.ts.map +0 -1
- package/mcp-server/scopes.js +0 -8
- package/mcp-server/scopes.js.map +0 -1
- package/mcp-server/server.d.ts +0 -13
- package/mcp-server/server.d.ts.map +0 -1
- package/mcp-server/server.js +0 -52
- package/mcp-server/server.js.map +0 -1
- package/mcp-server/shared.d.ts +0 -7
- package/mcp-server/shared.d.ts.map +0 -1
- package/mcp-server/shared.js +0 -98
- package/mcp-server/shared.js.map +0 -1
- package/mcp-server/tools/auditorsCreate.d.ts +0 -8
- package/mcp-server/tools/auditorsCreate.d.ts.map +0 -1
- package/mcp-server/tools/auditorsCreate.js.map +0 -1
- package/mcp-server/tools/auditsCreateCommentForEvidence.d.ts +0 -8
- package/mcp-server/tools/auditsCreateCommentForEvidence.d.ts.map +0 -1
- package/mcp-server/tools/auditsCreateCommentForEvidence.js.map +0 -1
- package/mcp-server/tools/auditsCreateCustomControl.d.ts +0 -8
- package/mcp-server/tools/auditsCreateCustomControl.d.ts.map +0 -1
- package/mcp-server/tools/auditsCreateCustomControl.js.map +0 -1
- package/mcp-server/tools/auditsCreateCustomEvidenceRequest.d.ts +0 -8
- package/mcp-server/tools/auditsCreateCustomEvidenceRequest.d.ts.map +0 -1
- package/mcp-server/tools/auditsCreateCustomEvidenceRequest.js.map +0 -1
- package/mcp-server/tools/auditsGetEvidenceUrls.d.ts +0 -8
- package/mcp-server/tools/auditsGetEvidenceUrls.d.ts.map +0 -1
- package/mcp-server/tools/auditsGetEvidenceUrls.js +0 -65
- package/mcp-server/tools/auditsGetEvidenceUrls.js.map +0 -1
- package/mcp-server/tools/auditsList.d.ts +0 -8
- package/mcp-server/tools/auditsList.d.ts.map +0 -1
- package/mcp-server/tools/auditsList.js.map +0 -1
- package/mcp-server/tools/auditsListComments.d.ts +0 -8
- package/mcp-server/tools/auditsListComments.d.ts.map +0 -1
- package/mcp-server/tools/auditsListComments.js.map +0 -1
- package/mcp-server/tools/auditsListControls.d.ts +0 -8
- package/mcp-server/tools/auditsListControls.d.ts.map +0 -1
- package/mcp-server/tools/auditsListControls.js.map +0 -1
- package/mcp-server/tools/auditsListEvidence.d.ts +0 -8
- package/mcp-server/tools/auditsListEvidence.d.ts.map +0 -1
- package/mcp-server/tools/auditsListEvidence.js.map +0 -1
- package/mcp-server/tools/auditsUpdateEvidence.d.ts +0 -8
- package/mcp-server/tools/auditsUpdateEvidence.d.ts.map +0 -1
- package/mcp-server/tools/auditsUpdateEvidence.js.map +0 -1
- package/mcp-server/tools.d.ts +0 -25
- package/mcp-server/tools.d.ts.map +0 -1
- package/mcp-server/tools.js +0 -82
- package/mcp-server/tools.js.map +0 -1
- package/src/mcp-server/cli/start/command.ts +0 -93
- package/src/mcp-server/cli/start/impl.ts +0 -130
- package/src/mcp-server/cli.ts +0 -13
- package/src/mcp-server/console-logger.ts +0 -71
- package/src/mcp-server/extensions.ts +0 -17
- package/src/mcp-server/mcp-server.ts +0 -26
- package/src/mcp-server/prompts.ts +0 -117
- package/src/mcp-server/resources.ts +0 -172
- package/src/mcp-server/scopes.ts +0 -7
- package/src/mcp-server/server.ts +0 -79
- package/src/mcp-server/shared.ts +0 -74
- package/src/mcp-server/tools/auditorsCreate.ts +0 -37
- package/src/mcp-server/tools/auditsCreateCommentForEvidence.ts +0 -38
- package/src/mcp-server/tools/auditsCreateCustomControl.ts +0 -37
- package/src/mcp-server/tools/auditsCreateCustomEvidenceRequest.ts +0 -39
- package/src/mcp-server/tools/auditsGetEvidenceUrls.ts +0 -38
- package/src/mcp-server/tools/auditsList.ts +0 -37
- package/src/mcp-server/tools/auditsListComments.ts +0 -37
- package/src/mcp-server/tools/auditsListControls.ts +0 -37
- package/src/mcp-server/tools/auditsListEvidence.ts +0 -37
- package/src/mcp-server/tools/auditsUpdateEvidence.ts +0 -37
- package/src/mcp-server/tools.ts +0 -129
- package/tsconfig.json +0 -41
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Information about the user who last edited this policy version.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Undefined if the user information is not available.
|
|
15
|
+
*/
|
|
16
|
+
export type LastEditedBy = {
|
|
17
|
+
email: string;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The uploaded policy file for this version.
|
|
23
|
+
*/
|
|
24
|
+
export type VantaPolicyEvidenceFile = {
|
|
25
|
+
/**
|
|
26
|
+
* The date when this policy version became effective, or when it was created.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* Format: ISO 8601 UTC timestamp.
|
|
30
|
+
*/
|
|
31
|
+
effectiveOrCreationDate: Date;
|
|
32
|
+
/**
|
|
33
|
+
* The locale/language of the policy document.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Examples: "EN" for English, "ES" for Spanish, "FR" for French
|
|
37
|
+
*/
|
|
38
|
+
locale: string;
|
|
39
|
+
/**
|
|
40
|
+
* A presigned URL for downloading the policy document.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* This URL is temporary and expires after a limited time.
|
|
44
|
+
* Request a new evidence list to get a fresh URL if expired.
|
|
45
|
+
*/
|
|
46
|
+
url: string;
|
|
47
|
+
/**
|
|
48
|
+
* The MIME type of the policy document indicating its file format.
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Common types: "application/pdf", "application/msword"
|
|
52
|
+
*/
|
|
53
|
+
mimeType: string;
|
|
54
|
+
/**
|
|
55
|
+
* The original filename of the uploaded policy document.
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Undefined if the filename was not captured during upload.
|
|
59
|
+
*/
|
|
60
|
+
filename?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* The unique identifier for the uploaded policy file in Vanta's system.
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Evidence in the form of a Vanta Policy.
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Vanta Policies are compliance policies with metadata like locale,
|
|
72
|
+
* effective dates, and versioning. Policies are always uploaded files
|
|
73
|
+
* stored in Vanta's system.
|
|
74
|
+
*/
|
|
75
|
+
export type VantaPolicyEvidence = {
|
|
76
|
+
/**
|
|
77
|
+
* The title of the policy as displayed in Vanta.
|
|
78
|
+
*/
|
|
79
|
+
title: string;
|
|
80
|
+
/**
|
|
81
|
+
* Optional description providing additional context about the policy.
|
|
82
|
+
*/
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* The date when the policy version expires and should be renewed.
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Undefined if no expiration is set.
|
|
89
|
+
* Format: ISO 8601 UTC timestamp.
|
|
90
|
+
*/
|
|
91
|
+
expirationDate?: Date | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Information about the user who last edited this policy version.
|
|
94
|
+
*
|
|
95
|
+
* @remarks
|
|
96
|
+
* Undefined if the user information is not available.
|
|
97
|
+
*/
|
|
98
|
+
lastEditedBy?: LastEditedBy | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The policy type this evidence belongs to (e.g. "information-security-policy-bsi").
|
|
101
|
+
*
|
|
102
|
+
* @remarks
|
|
103
|
+
* Policies prefixed with "custom-" are customer-defined; others are Vanta-provided templates.
|
|
104
|
+
*/
|
|
105
|
+
policyId: string;
|
|
106
|
+
/**
|
|
107
|
+
* The identifier of the approved policy version that was submitted as evidence.
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* A new version is created each time a policy is updated and approved.
|
|
111
|
+
*/
|
|
112
|
+
policyVersionId: string;
|
|
113
|
+
/**
|
|
114
|
+
* The identifier of the locale-specific file within the policy version.
|
|
115
|
+
*
|
|
116
|
+
* @remarks
|
|
117
|
+
* Each policy version may contain multiple files, one per supported language.
|
|
118
|
+
*/
|
|
119
|
+
policyVersionFileId: string;
|
|
120
|
+
/**
|
|
121
|
+
* The uploaded policy file for this version.
|
|
122
|
+
*/
|
|
123
|
+
file: VantaPolicyEvidenceFile;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/** @internal */
|
|
127
|
+
export const LastEditedBy$inboundSchema: z.ZodType<
|
|
128
|
+
LastEditedBy,
|
|
129
|
+
z.ZodTypeDef,
|
|
130
|
+
unknown
|
|
131
|
+
> = z.object({
|
|
132
|
+
email: z.string(),
|
|
133
|
+
name: z.string(),
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
export function lastEditedByFromJSON(
|
|
137
|
+
jsonString: string,
|
|
138
|
+
): SafeParseResult<LastEditedBy, SDKValidationError> {
|
|
139
|
+
return safeParse(
|
|
140
|
+
jsonString,
|
|
141
|
+
(x) => LastEditedBy$inboundSchema.parse(JSON.parse(x)),
|
|
142
|
+
`Failed to parse 'LastEditedBy' from JSON`,
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** @internal */
|
|
147
|
+
export const VantaPolicyEvidenceFile$inboundSchema: z.ZodType<
|
|
148
|
+
VantaPolicyEvidenceFile,
|
|
149
|
+
z.ZodTypeDef,
|
|
150
|
+
unknown
|
|
151
|
+
> = z.object({
|
|
152
|
+
effectiveOrCreationDate: z.string().datetime({ offset: true }).transform(v =>
|
|
153
|
+
new Date(v)
|
|
154
|
+
),
|
|
155
|
+
locale: z.string(),
|
|
156
|
+
url: z.string(),
|
|
157
|
+
mimeType: z.string(),
|
|
158
|
+
filename: z.string().optional(),
|
|
159
|
+
id: z.string(),
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
export function vantaPolicyEvidenceFileFromJSON(
|
|
163
|
+
jsonString: string,
|
|
164
|
+
): SafeParseResult<VantaPolicyEvidenceFile, SDKValidationError> {
|
|
165
|
+
return safeParse(
|
|
166
|
+
jsonString,
|
|
167
|
+
(x) => VantaPolicyEvidenceFile$inboundSchema.parse(JSON.parse(x)),
|
|
168
|
+
`Failed to parse 'VantaPolicyEvidenceFile' from JSON`,
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/** @internal */
|
|
173
|
+
export const VantaPolicyEvidence$inboundSchema: z.ZodType<
|
|
174
|
+
VantaPolicyEvidence,
|
|
175
|
+
z.ZodTypeDef,
|
|
176
|
+
unknown
|
|
177
|
+
> = z.object({
|
|
178
|
+
title: z.string(),
|
|
179
|
+
description: z.string().optional(),
|
|
180
|
+
expirationDate: z.string().datetime({ offset: true }).transform(v =>
|
|
181
|
+
new Date(v)
|
|
182
|
+
).optional(),
|
|
183
|
+
lastEditedBy: z.lazy(() => LastEditedBy$inboundSchema).optional(),
|
|
184
|
+
policyId: z.string(),
|
|
185
|
+
policyVersionId: z.string(),
|
|
186
|
+
policyVersionFileId: z.string(),
|
|
187
|
+
file: z.lazy(() => VantaPolicyEvidenceFile$inboundSchema),
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
export function vantaPolicyEvidenceFromJSON(
|
|
191
|
+
jsonString: string,
|
|
192
|
+
): SafeParseResult<VantaPolicyEvidence, SDKValidationError> {
|
|
193
|
+
return safeParse(
|
|
194
|
+
jsonString,
|
|
195
|
+
(x) => VantaPolicyEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
196
|
+
`Failed to parse 'VantaPolicyEvidence' from JSON`,
|
|
197
|
+
);
|
|
198
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
VantaTestFileType,
|
|
11
|
+
VantaTestFileType$inboundSchema,
|
|
12
|
+
} from "./vantatestfiletype.js";
|
|
13
|
+
import {
|
|
14
|
+
VantaTestRunStatus,
|
|
15
|
+
VantaTestRunStatus$inboundSchema,
|
|
16
|
+
} from "./vantatestrunstatus.js";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The evidence file for this test run.
|
|
20
|
+
*/
|
|
21
|
+
export type VantaTestEvidenceFile = {
|
|
22
|
+
/**
|
|
23
|
+
* The MIME type of the evidence file.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* Common types: "application/pdf" for workpapers, "text/csv" for raw data
|
|
27
|
+
*/
|
|
28
|
+
mimeType: string;
|
|
29
|
+
/**
|
|
30
|
+
* A presigned URL for downloading the evidence file.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* This URL is temporary and expires after a limited time.
|
|
34
|
+
* Request a new evidence list to get a fresh URL if expired.
|
|
35
|
+
*/
|
|
36
|
+
url: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Evidence in the form of a Vanta automated test run.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Vanta Tests are automated compliance tests with metadata like test status,
|
|
44
|
+
* execution time, and file type. Tests generate evidence files that can be
|
|
45
|
+
* workpapers, raw data, or API request logs.
|
|
46
|
+
*/
|
|
47
|
+
export type VantaTestEvidence = {
|
|
48
|
+
/**
|
|
49
|
+
* The title of the test run as displayed in Vanta.
|
|
50
|
+
*/
|
|
51
|
+
title: string;
|
|
52
|
+
/**
|
|
53
|
+
* The unique identifier for the test in Vanta's system.
|
|
54
|
+
*/
|
|
55
|
+
testId: string;
|
|
56
|
+
/**
|
|
57
|
+
* The unique identifier for the point-in-time capture of this test run's evidence.
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* A snapshot is an immutable record of all files (workpapers, raw data, etc.)
|
|
61
|
+
* generated during a single test execution.
|
|
62
|
+
*/
|
|
63
|
+
snapshotId: string;
|
|
64
|
+
testRunStatus: VantaTestRunStatus;
|
|
65
|
+
/**
|
|
66
|
+
* The date and time when the test was executed.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Format: ISO 8601 UTC timestamp.
|
|
70
|
+
*/
|
|
71
|
+
executedAt: Date;
|
|
72
|
+
fileType: VantaTestFileType;
|
|
73
|
+
/**
|
|
74
|
+
* The evidence file for this test run.
|
|
75
|
+
*/
|
|
76
|
+
file: VantaTestEvidenceFile;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const VantaTestEvidenceFile$inboundSchema: z.ZodType<
|
|
81
|
+
VantaTestEvidenceFile,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
unknown
|
|
84
|
+
> = z.object({
|
|
85
|
+
mimeType: z.string(),
|
|
86
|
+
url: z.string(),
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export function vantaTestEvidenceFileFromJSON(
|
|
90
|
+
jsonString: string,
|
|
91
|
+
): SafeParseResult<VantaTestEvidenceFile, SDKValidationError> {
|
|
92
|
+
return safeParse(
|
|
93
|
+
jsonString,
|
|
94
|
+
(x) => VantaTestEvidenceFile$inboundSchema.parse(JSON.parse(x)),
|
|
95
|
+
`Failed to parse 'VantaTestEvidenceFile' from JSON`,
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const VantaTestEvidence$inboundSchema: z.ZodType<
|
|
101
|
+
VantaTestEvidence,
|
|
102
|
+
z.ZodTypeDef,
|
|
103
|
+
unknown
|
|
104
|
+
> = z.object({
|
|
105
|
+
title: z.string(),
|
|
106
|
+
testId: z.string(),
|
|
107
|
+
snapshotId: z.string(),
|
|
108
|
+
testRunStatus: VantaTestRunStatus$inboundSchema,
|
|
109
|
+
executedAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
110
|
+
fileType: VantaTestFileType$inboundSchema,
|
|
111
|
+
file: z.lazy(() => VantaTestEvidenceFile$inboundSchema),
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
export function vantaTestEvidenceFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<VantaTestEvidence, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => VantaTestEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'VantaTestEvidence' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const VantaTestFileType = {
|
|
9
|
+
TestEvidenceWorkpaper: "TEST_EVIDENCE_WORKPAPER",
|
|
10
|
+
TestRawData: "TEST_RAW_DATA",
|
|
11
|
+
OutOfScopeResources: "OUT_OF_SCOPE_RESOURCES",
|
|
12
|
+
ApiRequests: "API_REQUESTS",
|
|
13
|
+
} as const;
|
|
14
|
+
export type VantaTestFileType = ClosedEnum<typeof VantaTestFileType>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const VantaTestFileType$inboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof VantaTestFileType
|
|
19
|
+
> = z.nativeEnum(VantaTestFileType);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const VantaTestRunStatus = {
|
|
9
|
+
Na: "NA",
|
|
10
|
+
InProgress: "IN_PROGRESS",
|
|
11
|
+
Pass: "PASS",
|
|
12
|
+
Fail: "FAIL",
|
|
13
|
+
Invalid: "INVALID",
|
|
14
|
+
Disabled: "DISABLED",
|
|
15
|
+
} as const;
|
|
16
|
+
export type VantaTestRunStatus = ClosedEnum<typeof VantaTestRunStatus>;
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const VantaTestRunStatus$inboundSchema: z.ZodNativeEnum<
|
|
20
|
+
typeof VantaTestRunStatus
|
|
21
|
+
> = z.nativeEnum(VantaTestRunStatus);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The outcome status of the test run.
|
|
13
|
+
*/
|
|
14
|
+
export const TestRunStatus = {
|
|
15
|
+
Na: "NA",
|
|
16
|
+
InProgress: "IN_PROGRESS",
|
|
17
|
+
Pass: "PASS",
|
|
18
|
+
Fail: "FAIL",
|
|
19
|
+
Invalid: "INVALID",
|
|
20
|
+
Disabled: "DISABLED",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* The outcome status of the test run.
|
|
24
|
+
*/
|
|
25
|
+
export type TestRunStatus = ClosedEnum<typeof TestRunStatus>;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Evidence in the form of a Vanta automated test run snapshot.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
*
|
|
32
|
+
* Unlike VantaTestEvidence (which represents a single file within a test run's
|
|
33
|
+
* evidence packet), a snapshot represents the entire test-run bundle. Use the
|
|
34
|
+
* dedicated snapshot detail endpoint to retrieve the files associated with a
|
|
35
|
+
* snapshot.
|
|
36
|
+
*/
|
|
37
|
+
export type VantaTestSnapshotEvidence = {
|
|
38
|
+
/**
|
|
39
|
+
* The unique identifier for the point-in-time capture of this test run's evidence.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* A snapshot is an immutable record of all files (workpapers, raw data, etc.)
|
|
43
|
+
* generated during a single test execution.
|
|
44
|
+
*/
|
|
45
|
+
snapshotId: string;
|
|
46
|
+
/**
|
|
47
|
+
* The unique identifier for the test in Vanta's system.
|
|
48
|
+
*/
|
|
49
|
+
testId: string;
|
|
50
|
+
/**
|
|
51
|
+
* The unique identifier for the test run this snapshot was captured from.
|
|
52
|
+
*/
|
|
53
|
+
testRunId: string;
|
|
54
|
+
/**
|
|
55
|
+
* The title of the test run as displayed in Vanta.
|
|
56
|
+
*/
|
|
57
|
+
testRunTitle: string;
|
|
58
|
+
/**
|
|
59
|
+
* The outcome status of the test run.
|
|
60
|
+
*/
|
|
61
|
+
testRunStatus: TestRunStatus;
|
|
62
|
+
/**
|
|
63
|
+
* The date and time when the test was executed.
|
|
64
|
+
*
|
|
65
|
+
* @remarks
|
|
66
|
+
* Format: ISO 8601 UTC timestamp.
|
|
67
|
+
*/
|
|
68
|
+
testRunExecutedAt: Date;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const TestRunStatus$inboundSchema: z.ZodNativeEnum<
|
|
73
|
+
typeof TestRunStatus
|
|
74
|
+
> = z.nativeEnum(TestRunStatus);
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const VantaTestSnapshotEvidence$inboundSchema: z.ZodType<
|
|
78
|
+
VantaTestSnapshotEvidence,
|
|
79
|
+
z.ZodTypeDef,
|
|
80
|
+
unknown
|
|
81
|
+
> = z.object({
|
|
82
|
+
snapshotId: z.string(),
|
|
83
|
+
testId: z.string(),
|
|
84
|
+
testRunId: z.string(),
|
|
85
|
+
testRunTitle: z.string(),
|
|
86
|
+
testRunStatus: TestRunStatus$inboundSchema,
|
|
87
|
+
testRunExecutedAt: z.string().datetime({ offset: true }).transform(v =>
|
|
88
|
+
new Date(v)
|
|
89
|
+
),
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
export function vantaTestSnapshotEvidenceFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<VantaTestSnapshotEvidence, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => VantaTestSnapshotEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'VantaTestSnapshotEvidence' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
VantaTestSnapshotIntegration,
|
|
11
|
+
VantaTestSnapshotIntegration$inboundSchema,
|
|
12
|
+
} from "./vantatestsnapshotintegration.js";
|
|
13
|
+
import {
|
|
14
|
+
VantaTestSnapshotRawTestDataRow,
|
|
15
|
+
VantaTestSnapshotRawTestDataRow$inboundSchema,
|
|
16
|
+
} from "./vantatestsnapshotrawtestdatarow.js";
|
|
17
|
+
|
|
18
|
+
export type Settings = {
|
|
19
|
+
numericValue: number;
|
|
20
|
+
unit: string | null;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* SLA remediation policy attached to the test, or null when no SLA is set.
|
|
25
|
+
*/
|
|
26
|
+
export type SlaRemediation = {
|
|
27
|
+
id: string;
|
|
28
|
+
settings: Settings | null;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Detail response for a captured automated-test snapshot evidence row.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
*
|
|
36
|
+
* Combines the test-level metadata (description, integrations, SLA
|
|
37
|
+
* remediation) with a uniform raw-data array so external clients see the
|
|
38
|
+
* same shape regardless of whether the snapshot was structured or
|
|
39
|
+
* unstructured.
|
|
40
|
+
*/
|
|
41
|
+
export type VantaTestSnapshotEvidenceDetail = {
|
|
42
|
+
/**
|
|
43
|
+
* The unique identifier for the test in Vanta's system.
|
|
44
|
+
*/
|
|
45
|
+
testId: string;
|
|
46
|
+
/**
|
|
47
|
+
* The display name of the test.
|
|
48
|
+
*/
|
|
49
|
+
testName: string;
|
|
50
|
+
/**
|
|
51
|
+
* A short description of what the test checks.
|
|
52
|
+
*/
|
|
53
|
+
description: string;
|
|
54
|
+
/**
|
|
55
|
+
* Longer-form, formatted description of the test. Null when unset.
|
|
56
|
+
*/
|
|
57
|
+
evaluationCriteria: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Integrations whose data feeds the test.
|
|
60
|
+
*/
|
|
61
|
+
integrations: Array<VantaTestSnapshotIntegration>;
|
|
62
|
+
/**
|
|
63
|
+
* SLA remediation policy attached to the test, or null when no SLA is set.
|
|
64
|
+
*/
|
|
65
|
+
slaRemediation: SlaRemediation | null;
|
|
66
|
+
/**
|
|
67
|
+
* Raw test data captured at snapshot time.
|
|
68
|
+
*/
|
|
69
|
+
rawTestData: Array<VantaTestSnapshotRawTestDataRow>;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const Settings$inboundSchema: z.ZodType<
|
|
74
|
+
Settings,
|
|
75
|
+
z.ZodTypeDef,
|
|
76
|
+
unknown
|
|
77
|
+
> = z.object({
|
|
78
|
+
numericValue: z.number(),
|
|
79
|
+
unit: z.nullable(z.string()),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export function settingsFromJSON(
|
|
83
|
+
jsonString: string,
|
|
84
|
+
): SafeParseResult<Settings, SDKValidationError> {
|
|
85
|
+
return safeParse(
|
|
86
|
+
jsonString,
|
|
87
|
+
(x) => Settings$inboundSchema.parse(JSON.parse(x)),
|
|
88
|
+
`Failed to parse 'Settings' from JSON`,
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const SlaRemediation$inboundSchema: z.ZodType<
|
|
94
|
+
SlaRemediation,
|
|
95
|
+
z.ZodTypeDef,
|
|
96
|
+
unknown
|
|
97
|
+
> = z.object({
|
|
98
|
+
id: z.string(),
|
|
99
|
+
settings: z.nullable(z.lazy(() => Settings$inboundSchema)),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
export function slaRemediationFromJSON(
|
|
103
|
+
jsonString: string,
|
|
104
|
+
): SafeParseResult<SlaRemediation, SDKValidationError> {
|
|
105
|
+
return safeParse(
|
|
106
|
+
jsonString,
|
|
107
|
+
(x) => SlaRemediation$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
+
`Failed to parse 'SlaRemediation' from JSON`,
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
export const VantaTestSnapshotEvidenceDetail$inboundSchema: z.ZodType<
|
|
114
|
+
VantaTestSnapshotEvidenceDetail,
|
|
115
|
+
z.ZodTypeDef,
|
|
116
|
+
unknown
|
|
117
|
+
> = z.object({
|
|
118
|
+
testId: z.string(),
|
|
119
|
+
testName: z.string(),
|
|
120
|
+
description: z.string(),
|
|
121
|
+
evaluationCriteria: z.nullable(z.string()),
|
|
122
|
+
integrations: z.array(VantaTestSnapshotIntegration$inboundSchema),
|
|
123
|
+
slaRemediation: z.nullable(z.lazy(() => SlaRemediation$inboundSchema)),
|
|
124
|
+
rawTestData: z.array(VantaTestSnapshotRawTestDataRow$inboundSchema),
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
export function vantaTestSnapshotEvidenceDetailFromJSON(
|
|
128
|
+
jsonString: string,
|
|
129
|
+
): SafeParseResult<VantaTestSnapshotEvidenceDetail, SDKValidationError> {
|
|
130
|
+
return safeParse(
|
|
131
|
+
jsonString,
|
|
132
|
+
(x) => VantaTestSnapshotEvidenceDetail$inboundSchema.parse(JSON.parse(x)),
|
|
133
|
+
`Failed to parse 'VantaTestSnapshotEvidenceDetail' from JSON`,
|
|
134
|
+
);
|
|
135
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Integration metadata for a test, mirroring the Vanta web app.
|
|
12
|
+
*/
|
|
13
|
+
export type VantaTestSnapshotIntegration = {
|
|
14
|
+
integrationId: string;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const VantaTestSnapshotIntegration$inboundSchema: z.ZodType<
|
|
20
|
+
VantaTestSnapshotIntegration,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
integrationId: z.string(),
|
|
25
|
+
displayName: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function vantaTestSnapshotIntegrationFromJSON(
|
|
29
|
+
jsonString: string,
|
|
30
|
+
): SafeParseResult<VantaTestSnapshotIntegration, SDKValidationError> {
|
|
31
|
+
return safeParse(
|
|
32
|
+
jsonString,
|
|
33
|
+
(x) => VantaTestSnapshotIntegration$inboundSchema.parse(JSON.parse(x)),
|
|
34
|
+
`Failed to parse 'VantaTestSnapshotIntegration' from JSON`,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* One row of raw test data attached to a snapshot.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
*
|
|
15
|
+
* For structured snapshots, every row carries the resource refs and the raw
|
|
16
|
+
* JSON for that resource. For unstructured snapshots, a single row is returned
|
|
17
|
+
* with `resourceId` and `resourceType` set to `null` and `rawJson` containing
|
|
18
|
+
* the entire test-run JSON blob.
|
|
19
|
+
*/
|
|
20
|
+
export type VantaTestSnapshotRawTestDataRow = {
|
|
21
|
+
/**
|
|
22
|
+
* Identifier of the underlying resource the row was captured from. Null for
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* unstructured snapshots, which do not partition by resource.
|
|
26
|
+
*/
|
|
27
|
+
resourceId: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Specific resource kind for the row (e.g. `AwsIamUser`). Null for
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* unstructured snapshots.
|
|
33
|
+
*/
|
|
34
|
+
resourceType: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Raw JSON payload as emitted by the test runner. Shape varies by
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* `resourceType` for structured snapshots and matches the full test-run
|
|
40
|
+
* blob for unstructured snapshots.
|
|
41
|
+
*/
|
|
42
|
+
rawJson?: any | undefined;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const VantaTestSnapshotRawTestDataRow$inboundSchema: z.ZodType<
|
|
47
|
+
VantaTestSnapshotRawTestDataRow,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
resourceId: z.nullable(z.string()),
|
|
52
|
+
resourceType: z.nullable(z.string()),
|
|
53
|
+
rawJson: z.any().optional(),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function vantaTestSnapshotRawTestDataRowFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<VantaTestSnapshotRawTestDataRow, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => VantaTestSnapshotRawTestDataRow$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'VantaTestSnapshotRawTestDataRow' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|