@trycompai/mcp-server 0.1.0 → 0.2.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/README.md +2 -2
- package/bin/mcp-server.js +3550 -2509
- package/bin/mcp-server.js.map +43 -21
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveSessionV1.d.ts +16 -0
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveSessionV1.d.ts.map +1 -0
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveSessionV1.js +87 -0
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveSessionV1.js.map +1 -0
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.d.ts +2 -2
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js +3 -3
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js.map +1 -1
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerListV1.d.ts +18 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerListV1.d.ts.map +1 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerListV1.js +88 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerListV1.js.map +1 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.d.ts +18 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.d.ts.map +1 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.js +90 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.js.map +1 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.d.ts +18 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.d.ts.map +1 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.js +91 -0
- package/esm/funcs/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.js.map +1 -0
- package/esm/funcs/taskAutomationsAutomationsControllerCreateVersionV1.js +3 -2
- package/esm/funcs/taskAutomationsAutomationsControllerCreateVersionV1.js.map +1 -1
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.d.ts +16 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.d.ts.map +1 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.js +87 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.js.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerListCustomFrameworksV1.d.ts +17 -0
- package/esm/funcs/trustPortalTrustPortalControllerListCustomFrameworksV1.d.ts.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerListCustomFrameworksV1.js +73 -0
- package/esm/funcs/trustPortalTrustPortalControllerListCustomFrameworksV1.js.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.d.ts +18 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.d.ts.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.js +84 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.js.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.d.ts +18 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.d.ts.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.js +84 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.js.map +1 -0
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.js +1 -1
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/env.d.ts.map +1 -1
- package/esm/lib/env.js +2 -2
- package/esm/lib/env.js.map +1 -1
- package/esm/lib/primitives.d.ts +1 -0
- package/esm/lib/primitives.d.ts.map +1 -1
- package/esm/lib/primitives.js +17 -0
- package/esm/lib/primitives.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +17 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/cloudSecurityCloudSecurityControllerResolveSessionV1.d.ts +7 -0
- package/esm/mcp-server/tools/cloudSecurityCloudSecurityControllerResolveSessionV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/cloudSecurityCloudSecurityControllerResolveSessionV1.js +34 -0
- package/esm/mcp-server/tools/cloudSecurityCloudSecurityControllerResolveSessionV1.js.map +1 -0
- package/esm/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js +2 -2
- package/esm/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js.map +1 -1
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerListV1.d.ts +7 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerListV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerListV1.js +34 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerListV1.js.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.d.ts +7 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.js +34 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.js.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.d.ts +7 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.js +34 -0
- package/esm/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.js.map +1 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.d.ts +7 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.js +34 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.js.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerListCustomFrameworksV1.d.ts +3 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerListCustomFrameworksV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerListCustomFrameworksV1.js +29 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerListCustomFrameworksV1.js.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.d.ts +7 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.js +34 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.js.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.d.ts +7 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.js +35 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.js.map +1 -0
- package/esm/models/automationscontrollercreateversionv1op.d.ts +2 -0
- package/esm/models/automationscontrollercreateversionv1op.d.ts.map +1 -1
- package/esm/models/automationscontrollercreateversionv1op.js +2 -0
- package/esm/models/automationscontrollercreateversionv1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollerresolvesessionv1op.d.ts +6 -0
- package/esm/models/cloudsecuritycontrollerresolvesessionv1op.d.ts.map +1 -0
- package/esm/models/cloudsecuritycontrollerresolvesessionv1op.js +8 -0
- package/esm/models/cloudsecuritycontrollerresolvesessionv1op.js.map +1 -0
- package/esm/models/complianceresourceresponsedto.d.ts +13 -1
- package/esm/models/complianceresourceresponsedto.d.ts.map +1 -1
- package/esm/models/complianceresourceresponsedto.js +10 -2
- package/esm/models/complianceresourceresponsedto.js.map +1 -1
- package/esm/models/complianceresourcesignedurldto.d.ts +4 -3
- package/esm/models/complianceresourcesignedurldto.d.ts.map +1 -1
- package/esm/models/complianceresourcesignedurldto.js +5 -3
- package/esm/models/complianceresourcesignedurldto.js.map +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts +3 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.js +2 -0
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.js.map +1 -1
- package/esm/models/createcontroldto.d.ts +2 -0
- package/esm/models/createcontroldto.d.ts.map +1 -1
- package/esm/models/createcontroldto.js +2 -0
- package/esm/models/createcontroldto.js.map +1 -1
- package/esm/models/createfindingdto.d.ts +2 -0
- package/esm/models/createfindingdto.d.ts.map +1 -1
- package/esm/models/createfindingdto.js +2 -0
- package/esm/models/createfindingdto.js.map +1 -1
- package/esm/models/createpenetrationtestdto.d.ts +1 -0
- package/esm/models/createpenetrationtestdto.d.ts.map +1 -1
- package/esm/models/createpenetrationtestdto.js +1 -0
- package/esm/models/createpenetrationtestdto.js.map +1 -1
- package/esm/models/createversiondto.d.ts +2 -1
- package/esm/models/createversiondto.d.ts.map +1 -1
- package/esm/models/createversiondto.js +3 -2
- package/esm/models/createversiondto.js.map +1 -1
- package/esm/models/findingscontrollerlistfindingsv1op.d.ts +2 -0
- package/esm/models/findingscontrollerlistfindingsv1op.d.ts.map +1 -1
- package/esm/models/findingscontrollerlistfindingsv1op.js +2 -0
- package/esm/models/findingscontrollerlistfindingsv1op.js.map +1 -1
- package/esm/models/linkdocumenttypesdto.d.ts +2 -0
- package/esm/models/linkdocumenttypesdto.d.ts.map +1 -1
- package/esm/models/linkdocumenttypesdto.js +2 -0
- package/esm/models/linkdocumenttypesdto.js.map +1 -1
- package/esm/models/pentestfindingcontextscontrollerlistv1op.d.ts +7 -0
- package/esm/models/pentestfindingcontextscontrollerlistv1op.d.ts.map +1 -0
- package/esm/models/pentestfindingcontextscontrollerlistv1op.js +9 -0
- package/esm/models/pentestfindingcontextscontrollerlistv1op.js.map +1 -0
- package/esm/models/pentestfindingcontextscontrollerremovev1op.d.ts +7 -0
- package/esm/models/pentestfindingcontextscontrollerremovev1op.d.ts.map +1 -0
- package/esm/models/pentestfindingcontextscontrollerremovev1op.js +9 -0
- package/esm/models/pentestfindingcontextscontrollerremovev1op.js.map +1 -0
- package/esm/models/pentestfindingcontextscontrollerupsertv1op.d.ts +9 -0
- package/esm/models/pentestfindingcontextscontrollerupsertv1op.d.ts.map +1 -0
- package/esm/models/pentestfindingcontextscontrollerupsertv1op.js +11 -0
- package/esm/models/pentestfindingcontextscontrollerupsertv1op.js.map +1 -0
- package/esm/models/trustaccesscontrollergetpubliccustomframeworksv1op.d.ts +6 -0
- package/esm/models/trustaccesscontrollergetpubliccustomframeworksv1op.d.ts.map +1 -0
- package/esm/models/trustaccesscontrollergetpubliccustomframeworksv1op.js +8 -0
- package/esm/models/trustaccesscontrollergetpubliccustomframeworksv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.d.ts +42 -0
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.js +44 -0
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.js.map +1 -0
- package/esm/models/updateallowedemailsdto.d.ts +6 -0
- package/esm/models/updateallowedemailsdto.d.ts.map +1 -0
- package/esm/models/updateallowedemailsdto.js +8 -0
- package/esm/models/updateallowedemailsdto.js.map +1 -0
- package/esm/models/uploadcomplianceresourcedto.d.ts +4 -3
- package/esm/models/uploadcomplianceresourcedto.d.ts.map +1 -1
- package/esm/models/uploadcomplianceresourcedto.js +4 -3
- package/esm/models/uploadcomplianceresourcedto.js.map +1 -1
- package/esm/models/upsertfindingcontextdto.d.ts +7 -0
- package/esm/models/upsertfindingcontextdto.d.ts.map +1 -0
- package/esm/models/upsertfindingcontextdto.js +9 -0
- package/esm/models/upsertfindingcontextdto.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +33 -1
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/cloudSecurityCloudSecurityControllerResolveSessionV1.ts +153 -0
- package/src/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.ts +3 -3
- package/src/funcs/securityPenetrationTestsPentestFindingContextsControllerListV1.ts +155 -0
- package/src/funcs/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.ts +160 -0
- package/src/funcs/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.ts +161 -0
- package/src/funcs/taskAutomationsAutomationsControllerCreateVersionV1.ts +3 -2
- package/src/funcs/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.ts +155 -0
- package/src/funcs/trustPortalTrustPortalControllerListCustomFrameworksV1.ts +125 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.ts +146 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.ts +149 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +1 -1
- package/src/lib/env.ts +6 -3
- package/src/lib/primitives.ts +16 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -1
- package/src/mcp-server/tools/cloudSecurityCloudSecurityControllerResolveSessionV1.ts +45 -0
- package/src/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.ts +2 -2
- package/src/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerListV1.ts +44 -0
- package/src/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.ts +44 -0
- package/src/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.ts +44 -0
- package/src/mcp-server/tools/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.ts +44 -0
- package/src/mcp-server/tools/trustPortalTrustPortalControllerListCustomFrameworksV1.ts +38 -0
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.ts +44 -0
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.ts +46 -0
- package/src/models/automationscontrollercreateversionv1op.ts +6 -0
- package/src/models/cloudsecuritycontrollerresolvesessionv1op.ts +14 -0
- package/src/models/complianceresourceresponsedto.ts +23 -3
- package/src/models/complianceresourcesignedurldto.ts +9 -6
- package/src/models/controlscontrollerunlinkdocumenttypev1op.ts +3 -1
- package/src/models/createcontroldto.ts +2 -0
- package/src/models/createfindingdto.ts +2 -0
- package/src/models/createpenetrationtestdto.ts +4 -0
- package/src/models/createversiondto.ts +6 -4
- package/src/models/findingscontrollerlistfindingsv1op.ts +2 -0
- package/src/models/linkdocumenttypesdto.ts +2 -0
- package/src/models/pentestfindingcontextscontrollerlistv1op.ts +19 -0
- package/src/models/pentestfindingcontextscontrollerremovev1op.ts +18 -0
- package/src/models/pentestfindingcontextscontrollerupsertv1op.ts +24 -0
- package/src/models/trustaccesscontrollergetpubliccustomframeworksv1op.ts +18 -0
- package/src/models/trustportalcontrollerupdatecustomframeworkv1op.ts +84 -0
- package/src/models/updateallowedemailsdto.ts +15 -0
- package/src/models/uploadcomplianceresourcedto.ts +10 -6
- package/src/models/upsertfindingcontextdto.ts +16 -0
- package/src/tool-names.ts +33 -1
- package/esm/lib/dlv.d.ts +0 -14
- package/esm/lib/dlv.d.ts.map +0 -1
- package/esm/lib/dlv.js +0 -46
- package/esm/lib/dlv.js.map +0 -1
- package/esm/lib/is-plain-object.d.ts +0 -2
- package/esm/lib/is-plain-object.d.ts.map +0 -1
- package/esm/lib/is-plain-object.js +0 -38
- package/esm/lib/is-plain-object.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
package/src/mcp-server/server.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { tool$cloudSecurityCloudSecurityControllerGetProvidersV1 } from "./tools
|
|
|
30
30
|
import { tool$cloudSecurityCloudSecurityControllerGetRunStatusV1 } from "./tools/cloudSecurityCloudSecurityControllerGetRunStatusV1.js";
|
|
31
31
|
import { tool$cloudSecurityCloudSecurityControllerMarkFindingAsExceptionV1 } from "./tools/cloudSecurityCloudSecurityControllerMarkFindingAsExceptionV1.js";
|
|
32
32
|
import { tool$cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1 } from "./tools/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.js";
|
|
33
|
+
import { tool$cloudSecurityCloudSecurityControllerResolveSessionV1 } from "./tools/cloudSecurityCloudSecurityControllerResolveSessionV1.js";
|
|
33
34
|
import { tool$cloudSecurityCloudSecurityControllerRevokeExceptionV1 } from "./tools/cloudSecurityCloudSecurityControllerRevokeExceptionV1.js";
|
|
34
35
|
import { tool$cloudSecurityCloudSecurityControllerScanV1 } from "./tools/cloudSecurityCloudSecurityControllerScanV1.js";
|
|
35
36
|
import { tool$cloudSecurityCloudSecurityControllerSelectGcpProjectsV1 } from "./tools/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.js";
|
|
@@ -245,6 +246,9 @@ import { tool$rolesRolesControllerGetRoleV1 } from "./tools/rolesRolesController
|
|
|
245
246
|
import { tool$rolesRolesControllerListRolesV1 } from "./tools/rolesRolesControllerListRolesV1.js";
|
|
246
247
|
import { tool$rolesRolesControllerUpdateBuiltInObligationsV1 } from "./tools/rolesRolesControllerUpdateBuiltInObligationsV1.js";
|
|
247
248
|
import { tool$rolesRolesControllerUpdateRoleV1 } from "./tools/rolesRolesControllerUpdateRoleV1.js";
|
|
249
|
+
import { tool$securityPenetrationTestsPentestFindingContextsControllerListV1 } from "./tools/securityPenetrationTestsPentestFindingContextsControllerListV1.js";
|
|
250
|
+
import { tool$securityPenetrationTestsPentestFindingContextsControllerRemoveV1 } from "./tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.js";
|
|
251
|
+
import { tool$securityPenetrationTestsPentestFindingContextsControllerUpsertV1 } from "./tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.js";
|
|
248
252
|
import { tool$securityPenetrationTestsSecurityPenetrationTestsControllerCreateV1 } from "./tools/securityPenetrationTestsSecurityPenetrationTestsControllerCreateV1.js";
|
|
249
253
|
import { tool$securityPenetrationTestsSecurityPenetrationTestsControllerGetByIdV1 } from "./tools/securityPenetrationTestsSecurityPenetrationTestsControllerGetByIdV1.js";
|
|
250
254
|
import { tool$securityPenetrationTestsSecurityPenetrationTestsControllerGetEventsV1 } from "./tools/securityPenetrationTestsSecurityPenetrationTestsControllerGetEventsV1.js";
|
|
@@ -309,6 +313,7 @@ import { tool$trustAccessTrustAccessControllerCreateAccessRequestV1 } from "./to
|
|
|
309
313
|
import { tool$trustAccessTrustAccessControllerDenyRequestV1 } from "./tools/trustAccessTrustAccessControllerDenyRequestV1.js";
|
|
310
314
|
import { tool$trustAccessTrustAccessControllerGetAccessRequestV1 } from "./tools/trustAccessTrustAccessControllerGetAccessRequestV1.js";
|
|
311
315
|
import { tool$trustAccessTrustAccessControllerGetFaqsV1 } from "./tools/trustAccessTrustAccessControllerGetFaqsV1.js";
|
|
316
|
+
import { tool$trustAccessTrustAccessControllerGetPublicCustomFrameworksV1 } from "./tools/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.js";
|
|
312
317
|
import { tool$trustAccessTrustAccessControllerGetPublicCustomLinksV1 } from "./tools/trustAccessTrustAccessControllerGetPublicCustomLinksV1.js";
|
|
313
318
|
import { tool$trustAccessTrustAccessControllerGetPublicFaviconV1 } from "./tools/trustAccessTrustAccessControllerGetPublicFaviconV1.js";
|
|
314
319
|
import { tool$trustAccessTrustAccessControllerGetPublicOverviewV1 } from "./tools/trustAccessTrustAccessControllerGetPublicOverviewV1.js";
|
|
@@ -331,6 +336,7 @@ import { tool$trustPortalTrustPortalControllerGetOverviewV1 } from "./tools/trus
|
|
|
331
336
|
import { tool$trustPortalTrustPortalControllerGetSettingsV1 } from "./tools/trustPortalTrustPortalControllerGetSettingsV1.js";
|
|
332
337
|
import { tool$trustPortalTrustPortalControllerGetTrustDocumentUrlV1 } from "./tools/trustPortalTrustPortalControllerGetTrustDocumentUrlV1.js";
|
|
333
338
|
import { tool$trustPortalTrustPortalControllerListComplianceResourcesV1 } from "./tools/trustPortalTrustPortalControllerListComplianceResourcesV1.js";
|
|
339
|
+
import { tool$trustPortalTrustPortalControllerListCustomFrameworksV1 } from "./tools/trustPortalTrustPortalControllerListCustomFrameworksV1.js";
|
|
334
340
|
import { tool$trustPortalTrustPortalControllerListCustomLinksV1 } from "./tools/trustPortalTrustPortalControllerListCustomLinksV1.js";
|
|
335
341
|
import { tool$trustPortalTrustPortalControllerListTrustDocumentsV1 } from "./tools/trustPortalTrustPortalControllerListTrustDocumentsV1.js";
|
|
336
342
|
import { tool$trustPortalTrustPortalControllerListVendorsV1 } from "./tools/trustPortalTrustPortalControllerListVendorsV1.js";
|
|
@@ -338,6 +344,8 @@ import { tool$trustPortalTrustPortalControllerRemoveFaviconV1 } from "./tools/tr
|
|
|
338
344
|
import { tool$trustPortalTrustPortalControllerReorderCustomLinksV1 } from "./tools/trustPortalTrustPortalControllerReorderCustomLinksV1.js";
|
|
339
345
|
import { tool$trustPortalTrustPortalControllerTogglePortalV1 } from "./tools/trustPortalTrustPortalControllerTogglePortalV1.js";
|
|
340
346
|
import { tool$trustPortalTrustPortalControllerUpdateAllowedDomainsV1 } from "./tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js";
|
|
347
|
+
import { tool$trustPortalTrustPortalControllerUpdateAllowedEmailsV1 } from "./tools/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.js";
|
|
348
|
+
import { tool$trustPortalTrustPortalControllerUpdateCustomFrameworkV1 } from "./tools/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.js";
|
|
341
349
|
import { tool$trustPortalTrustPortalControllerUpdateCustomLinkV1 } from "./tools/trustPortalTrustPortalControllerUpdateCustomLinkV1.js";
|
|
342
350
|
import { tool$trustPortalTrustPortalControllerUpdateFaqsV1 } from "./tools/trustPortalTrustPortalControllerUpdateFaqsV1.js";
|
|
343
351
|
import { tool$trustPortalTrustPortalControllerUpdateFrameworksV1 } from "./tools/trustPortalTrustPortalControllerUpdateFrameworksV1.js";
|
|
@@ -368,7 +376,7 @@ export function createMCPServer(deps: {
|
|
|
368
376
|
}) {
|
|
369
377
|
const server = new McpServer({
|
|
370
378
|
name: "CompAi",
|
|
371
|
-
version: "0.
|
|
379
|
+
version: "0.2.0",
|
|
372
380
|
});
|
|
373
381
|
|
|
374
382
|
const getClient = deps.getSDK || (() =>
|
|
@@ -568,7 +576,10 @@ export function createMCPServer(deps: {
|
|
|
568
576
|
tool(tool$trustPortalTrustPortalControllerCheckDnsRecordsV1);
|
|
569
577
|
tool(tool$trustPortalTrustPortalControllerUpdateFaqsV1);
|
|
570
578
|
tool(tool$trustPortalTrustPortalControllerUpdateAllowedDomainsV1);
|
|
579
|
+
tool(tool$trustPortalTrustPortalControllerUpdateAllowedEmailsV1);
|
|
571
580
|
tool(tool$trustPortalTrustPortalControllerUpdateFrameworksV1);
|
|
581
|
+
tool(tool$trustPortalTrustPortalControllerListCustomFrameworksV1);
|
|
582
|
+
tool(tool$trustPortalTrustPortalControllerUpdateCustomFrameworkV1);
|
|
572
583
|
tool(tool$trustPortalTrustPortalControllerUpdateOverviewV1);
|
|
573
584
|
tool(tool$trustPortalTrustPortalControllerGetOverviewV1);
|
|
574
585
|
tool(tool$trustPortalTrustPortalControllerCreateCustomLinkV1);
|
|
@@ -594,6 +605,7 @@ export function createMCPServer(deps: {
|
|
|
594
605
|
tool(tool$trustAccessTrustAccessControllerGetPublicCustomLinksV1);
|
|
595
606
|
tool(tool$trustAccessTrustAccessControllerGetPublicFaviconV1);
|
|
596
607
|
tool(tool$trustAccessTrustAccessControllerGetPublicVendorsV1);
|
|
608
|
+
tool(tool$trustAccessTrustAccessControllerGetPublicCustomFrameworksV1);
|
|
597
609
|
tool(tool$findingsFindingsControllerListFindingsV1);
|
|
598
610
|
tool(tool$findingsFindingsControllerCreateFindingV1);
|
|
599
611
|
tool(tool$findingsFindingsControllerGetOrganizationFindingsV1);
|
|
@@ -687,6 +699,7 @@ export function createMCPServer(deps: {
|
|
|
687
699
|
tool(tool$cloudSecurityCloudSecurityControllerRevokeExceptionV1);
|
|
688
700
|
tool(tool$cloudSecurityCloudSecurityControllerGetHistoryV1);
|
|
689
701
|
tool(tool$cloudSecurityCloudSecurityControllerGetCheckDefinitionV1);
|
|
702
|
+
tool(tool$cloudSecurityCloudSecurityControllerResolveSessionV1);
|
|
690
703
|
tool(tool$cloudSecurityCloudSecurityControllerScanV1);
|
|
691
704
|
tool(tool$cloudSecurityCloudSecurityControllerDetectServicesV1);
|
|
692
705
|
tool(tool$cloudSecurityCloudSecurityControllerDetectGcpOrgV1);
|
|
@@ -747,6 +760,9 @@ export function createMCPServer(deps: {
|
|
|
747
760
|
tool$securityPenetrationTestsSecurityPenetrationTestsControllerGetReportV1,
|
|
748
761
|
);
|
|
749
762
|
tool(tool$securityPenetrationTestsSecurityPenetrationTestsControllerGetPdfV1);
|
|
763
|
+
tool(tool$securityPenetrationTestsPentestFindingContextsControllerListV1);
|
|
764
|
+
tool(tool$securityPenetrationTestsPentestFindingContextsControllerUpsertV1);
|
|
765
|
+
tool(tool$securityPenetrationTestsPentestFindingContextsControllerRemoveV1);
|
|
750
766
|
tool(
|
|
751
767
|
tool$offboardingChecklistOffboardingChecklistControllerGetPendingOffboardingsV1,
|
|
752
768
|
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { cloudSecurityCloudSecurityControllerResolveSessionV1 } from "../../funcs/cloudSecurityCloudSecurityControllerResolveSessionV1.js";
|
|
6
|
+
import { CloudSecurityControllerResolveSessionV1Request$zodSchema } from "../../models/cloudsecuritycontrollerresolvesessionv1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: CloudSecurityControllerResolveSessionV1Request$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$cloudSecurityCloudSecurityControllerResolveSessionV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "resolve-session",
|
|
16
|
+
description:
|
|
17
|
+
`Resolve short-lived AWS credentials for a connection (internal only)
|
|
18
|
+
|
|
19
|
+
Resolve short-lived AWS credentials for a connection (internal only) in Comp AI. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.`,
|
|
20
|
+
annotations: {
|
|
21
|
+
"title": "",
|
|
22
|
+
"destructiveHint": false,
|
|
23
|
+
"idempotentHint": false,
|
|
24
|
+
"openWorldHint": false,
|
|
25
|
+
"readOnlyHint": false,
|
|
26
|
+
},
|
|
27
|
+
args,
|
|
28
|
+
tool: async (client, args, ctx) => {
|
|
29
|
+
const [result] =
|
|
30
|
+
await cloudSecurityCloudSecurityControllerResolveSessionV1(
|
|
31
|
+
client,
|
|
32
|
+
args.request,
|
|
33
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
34
|
+
).$inspect();
|
|
35
|
+
|
|
36
|
+
if (!result.ok) {
|
|
37
|
+
return {
|
|
38
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39
|
+
isError: true,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return formatResult(result.value);
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -14,9 +14,9 @@ const args = {
|
|
|
14
14
|
export const tool$evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1:
|
|
15
15
|
ToolDefinition<typeof args> = {
|
|
16
16
|
name: "export-all-evidence",
|
|
17
|
-
description: `
|
|
17
|
+
description: `Trigger bulk evidence export (Auditor only)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Trigger bulk evidence export (Auditor only) in Comp AI. Export all organization evidence for an auditor review package.`,
|
|
20
20
|
annotations: {
|
|
21
21
|
"title": "",
|
|
22
22
|
"destructiveHint": false,
|
package/src/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerListV1.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { securityPenetrationTestsPentestFindingContextsControllerListV1 } from "../../funcs/securityPenetrationTestsPentestFindingContextsControllerListV1.js";
|
|
6
|
+
import { PentestFindingContextsControllerListV1Request$zodSchema } from "../../models/pentestfindingcontextscontrollerlistv1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: PentestFindingContextsControllerListV1Request$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$securityPenetrationTestsPentestFindingContextsControllerListV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "list-pentest-finding-contexts",
|
|
16
|
+
description: `List pentest finding context notes
|
|
17
|
+
|
|
18
|
+
Returns the customer-written context notes attached to pentest findings for a target URL. These notes are shared with the testing agent on future scans of the same target so retests are informed, not blind.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] =
|
|
29
|
+
await securityPenetrationTestsPentestFindingContextsControllerListV1(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
package/src/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { securityPenetrationTestsPentestFindingContextsControllerRemoveV1 } from "../../funcs/securityPenetrationTestsPentestFindingContextsControllerRemoveV1.js";
|
|
6
|
+
import { PentestFindingContextsControllerRemoveV1Request$zodSchema } from "../../models/pentestfindingcontextscontrollerremovev1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: PentestFindingContextsControllerRemoveV1Request$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$securityPenetrationTestsPentestFindingContextsControllerRemoveV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "delete-pentest-finding-context",
|
|
16
|
+
description: `Remove context from a pentest finding
|
|
17
|
+
|
|
18
|
+
Deletes the customer context note attached to a pentest finding so future scans of the target no longer receive it from the testing agent briefing.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] =
|
|
29
|
+
await securityPenetrationTestsPentestFindingContextsControllerRemoveV1(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
package/src/mcp-server/tools/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { securityPenetrationTestsPentestFindingContextsControllerUpsertV1 } from "../../funcs/securityPenetrationTestsPentestFindingContextsControllerUpsertV1.js";
|
|
6
|
+
import { PentestFindingContextsControllerUpsertV1Request$zodSchema } from "../../models/pentestfindingcontextscontrollerupsertv1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: PentestFindingContextsControllerUpsertV1Request$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$securityPenetrationTestsPentestFindingContextsControllerUpsertV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "set-pentest-finding-context",
|
|
16
|
+
description: `Add context to a pentest finding
|
|
17
|
+
|
|
18
|
+
Saves a customer context note on a pentest finding, e.g. an accepted-by-design rationale or remediation details. Future scans of the same target pass the note to the testing agent so the issue is retested with that context.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] =
|
|
29
|
+
await securityPenetrationTestsPentestFindingContextsControllerUpsertV1(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { trustAccessTrustAccessControllerGetPublicCustomFrameworksV1 } from "../../funcs/trustAccessTrustAccessControllerGetPublicCustomFrameworksV1.js";
|
|
6
|
+
import { TrustAccessControllerGetPublicCustomFrameworksV1Request$zodSchema } from "../../models/trustaccesscontrollergetpubliccustomframeworksv1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: TrustAccessControllerGetPublicCustomFrameworksV1Request$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$trustAccessTrustAccessControllerGetPublicCustomFrameworksV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "get-public-custom-frameworks",
|
|
16
|
+
description: `Get org-authored custom frameworks shown on a trust portal
|
|
17
|
+
|
|
18
|
+
Get org-authored custom frameworks shown on a trust portal in Comp AI. Manage external Trust Center access requests, NDA signing, grants, tokenized document downloads, public FAQs, and reviewer access.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] =
|
|
29
|
+
await trustAccessTrustAccessControllerGetPublicCustomFrameworksV1(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { trustPortalTrustPortalControllerListCustomFrameworksV1 } from "../../funcs/trustPortalTrustPortalControllerListCustomFrameworksV1.js";
|
|
6
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
7
|
+
|
|
8
|
+
export const tool$trustPortalTrustPortalControllerListCustomFrameworksV1:
|
|
9
|
+
ToolDefinition = {
|
|
10
|
+
name: "list-custom-frameworks",
|
|
11
|
+
description:
|
|
12
|
+
`List org-authored custom frameworks with their trust portal selection
|
|
13
|
+
|
|
14
|
+
List org-authored custom frameworks with their trust portal selection in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.`,
|
|
15
|
+
annotations: {
|
|
16
|
+
"title": "",
|
|
17
|
+
"destructiveHint": false,
|
|
18
|
+
"idempotentHint": false,
|
|
19
|
+
"openWorldHint": false,
|
|
20
|
+
"readOnlyHint": false,
|
|
21
|
+
},
|
|
22
|
+
tool: async (client, ctx) => {
|
|
23
|
+
const [result] =
|
|
24
|
+
await trustPortalTrustPortalControllerListCustomFrameworksV1(
|
|
25
|
+
client,
|
|
26
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
27
|
+
).$inspect();
|
|
28
|
+
|
|
29
|
+
if (!result.ok) {
|
|
30
|
+
return {
|
|
31
|
+
content: [{ type: "text", text: result.error.message }],
|
|
32
|
+
isError: true,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return formatResult(result.value);
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { trustPortalTrustPortalControllerUpdateAllowedEmailsV1 } from "../../funcs/trustPortalTrustPortalControllerUpdateAllowedEmailsV1.js";
|
|
6
|
+
import { UpdateAllowedEmailsDto$zodSchema } from "../../models/updateallowedemailsdto.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: UpdateAllowedEmailsDto$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$trustPortalTrustPortalControllerUpdateAllowedEmailsV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "update-allowed-emails",
|
|
16
|
+
description: `Update allowed emails for the trust portal
|
|
17
|
+
|
|
18
|
+
Update allowed emails for the trust portal in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] =
|
|
29
|
+
await trustPortalTrustPortalControllerUpdateAllowedEmailsV1(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { trustPortalTrustPortalControllerUpdateCustomFrameworkV1 } from "../../funcs/trustPortalTrustPortalControllerUpdateCustomFrameworkV1.js";
|
|
6
|
+
import { TrustPortalControllerUpdateCustomFrameworkV1Request$zodSchema } from "../../models/trustportalcontrollerupdatecustomframeworkv1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: TrustPortalControllerUpdateCustomFrameworkV1Request$zodSchema
|
|
11
|
+
.describe(`At least one of \`enabled\` or \`status\` must be provided.`),
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const tool$trustPortalTrustPortalControllerUpdateCustomFrameworkV1:
|
|
15
|
+
ToolDefinition<typeof args> = {
|
|
16
|
+
name: "update-custom-framework",
|
|
17
|
+
description:
|
|
18
|
+
`Enable/disable a custom framework on the trust portal and set its status
|
|
19
|
+
|
|
20
|
+
Enable/disable a custom framework on the trust portal and set its status in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.`,
|
|
21
|
+
annotations: {
|
|
22
|
+
"title": "",
|
|
23
|
+
"destructiveHint": false,
|
|
24
|
+
"idempotentHint": false,
|
|
25
|
+
"openWorldHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
},
|
|
28
|
+
args,
|
|
29
|
+
tool: async (client, args, ctx) => {
|
|
30
|
+
const [result] =
|
|
31
|
+
await trustPortalTrustPortalControllerUpdateCustomFrameworkV1(
|
|
32
|
+
client,
|
|
33
|
+
args.request,
|
|
34
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
35
|
+
).$inspect();
|
|
36
|
+
|
|
37
|
+
if (!result.ok) {
|
|
38
|
+
return {
|
|
39
|
+
content: [{ type: "text", text: result.error.message }],
|
|
40
|
+
isError: true,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return formatResult(result.value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
@@ -3,15 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import {
|
|
7
|
+
CreateVersionDto,
|
|
8
|
+
CreateVersionDto$zodSchema,
|
|
9
|
+
} from "./createversiondto.js";
|
|
6
10
|
|
|
7
11
|
export type AutomationsControllerCreateVersionV1Request = {
|
|
8
12
|
taskId: string;
|
|
9
13
|
automationId: string;
|
|
14
|
+
body: CreateVersionDto;
|
|
10
15
|
};
|
|
11
16
|
|
|
12
17
|
export const AutomationsControllerCreateVersionV1Request$zodSchema: z.ZodType<
|
|
13
18
|
AutomationsControllerCreateVersionV1Request
|
|
14
19
|
> = z.object({
|
|
15
20
|
automationId: z.string().describe("Automation ID"),
|
|
21
|
+
body: CreateVersionDto$zodSchema,
|
|
16
22
|
taskId: z.string().describe("Task ID"),
|
|
17
23
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type CloudSecurityControllerResolveSessionV1Request = {
|
|
8
|
+
connectionId: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export const CloudSecurityControllerResolveSessionV1Request$zodSchema:
|
|
12
|
+
z.ZodType<CloudSecurityControllerResolveSessionV1Request> = z.object({
|
|
13
|
+
connectionId: z.string(),
|
|
14
|
+
});
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Set for native-framework certificates; null for custom ones
|
|
10
|
+
*/
|
|
8
11
|
export const ComplianceResourceResponseDtoFramework = {
|
|
9
12
|
Iso27001: "iso_27001",
|
|
10
13
|
Iso42001: "iso_42001",
|
|
@@ -19,6 +22,9 @@ export const ComplianceResourceResponseDtoFramework = {
|
|
|
19
22
|
Pipeda: "pipeda",
|
|
20
23
|
Ccpa: "ccpa",
|
|
21
24
|
} as const;
|
|
25
|
+
/**
|
|
26
|
+
* Set for native-framework certificates; null for custom ones
|
|
27
|
+
*/
|
|
22
28
|
export type ComplianceResourceResponseDtoFramework = ClosedEnum<
|
|
23
29
|
typeof ComplianceResourceResponseDtoFramework
|
|
24
30
|
>;
|
|
@@ -36,10 +42,21 @@ export const ComplianceResourceResponseDtoFramework$zodSchema = z.enum([
|
|
|
36
42
|
"iso_9001",
|
|
37
43
|
"pipeda",
|
|
38
44
|
"ccpa",
|
|
39
|
-
]);
|
|
45
|
+
]).describe("Set for native-framework certificates; null for custom ones");
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Set for custom-framework certificates; null for native ones
|
|
49
|
+
*/
|
|
50
|
+
export type CustomFrameworkId = {};
|
|
51
|
+
|
|
52
|
+
export const CustomFrameworkId$zodSchema: z.ZodType<CustomFrameworkId> = z
|
|
53
|
+
.object({}).describe(
|
|
54
|
+
"Set for custom-framework certificates; null for native ones",
|
|
55
|
+
);
|
|
40
56
|
|
|
41
57
|
export type ComplianceResourceResponseDto = {
|
|
42
|
-
framework: ComplianceResourceResponseDtoFramework;
|
|
58
|
+
framework: ComplianceResourceResponseDtoFramework | null;
|
|
59
|
+
customFrameworkId: CustomFrameworkId | null;
|
|
43
60
|
fileName: string;
|
|
44
61
|
fileSize: number;
|
|
45
62
|
updatedAt: string;
|
|
@@ -48,9 +65,12 @@ export type ComplianceResourceResponseDto = {
|
|
|
48
65
|
export const ComplianceResourceResponseDto$zodSchema: z.ZodType<
|
|
49
66
|
ComplianceResourceResponseDto
|
|
50
67
|
> = z.object({
|
|
68
|
+
customFrameworkId: z.lazy(() => CustomFrameworkId$zodSchema).nullable()
|
|
69
|
+
.describe("Set for custom-framework certificates; null for native ones"),
|
|
51
70
|
fileName: z.string(),
|
|
52
71
|
fileSize: z.number().describe("File size in bytes"),
|
|
53
|
-
framework: ComplianceResourceResponseDtoFramework$zodSchema
|
|
72
|
+
framework: ComplianceResourceResponseDtoFramework$zodSchema.nullable()
|
|
73
|
+
.describe("Set for native-framework certificates; null for custom ones"),
|
|
54
74
|
updatedAt: z.string().describe(
|
|
55
75
|
"ISO timestamp when the certificate was last updated",
|
|
56
76
|
),
|
|
@@ -6,7 +6,7 @@ import * as z from "zod";
|
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Native compliance framework identifier
|
|
10
10
|
*/
|
|
11
11
|
export const ComplianceResourceSignedUrlDtoFramework = {
|
|
12
12
|
Iso27001: "iso_27001",
|
|
@@ -23,7 +23,7 @@ export const ComplianceResourceSignedUrlDtoFramework = {
|
|
|
23
23
|
Ccpa: "ccpa",
|
|
24
24
|
} as const;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Native compliance framework identifier
|
|
27
27
|
*/
|
|
28
28
|
export type ComplianceResourceSignedUrlDtoFramework = ClosedEnum<
|
|
29
29
|
typeof ComplianceResourceSignedUrlDtoFramework
|
|
@@ -42,19 +42,22 @@ export const ComplianceResourceSignedUrlDtoFramework$zodSchema = z.enum([
|
|
|
42
42
|
"iso_9001",
|
|
43
43
|
"pipeda",
|
|
44
44
|
"ccpa",
|
|
45
|
-
]).describe("
|
|
45
|
+
]).describe("Native compliance framework identifier");
|
|
46
46
|
|
|
47
47
|
export type ComplianceResourceSignedUrlDto = {
|
|
48
48
|
organizationId: string;
|
|
49
|
-
framework
|
|
49
|
+
framework?: ComplianceResourceSignedUrlDtoFramework | undefined;
|
|
50
|
+
customFrameworkId?: string | undefined;
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
export const ComplianceResourceSignedUrlDto$zodSchema: z.ZodType<
|
|
53
54
|
ComplianceResourceSignedUrlDto
|
|
54
55
|
> = z.object({
|
|
55
|
-
|
|
56
|
-
"
|
|
56
|
+
customFrameworkId: z.string().optional().describe(
|
|
57
|
+
"Org-authored custom framework ID (alternative to `framework`)",
|
|
57
58
|
),
|
|
59
|
+
framework: ComplianceResourceSignedUrlDtoFramework$zodSchema.optional()
|
|
60
|
+
.describe("Native compliance framework identifier"),
|
|
58
61
|
organizationId: z.string().describe(
|
|
59
62
|
"Organization ID that owns the compliance resource",
|
|
60
63
|
),
|
|
@@ -28,6 +28,7 @@ export const ControlsControllerUnlinkDocumentTypeV1FormType = {
|
|
|
28
28
|
EmployeePerformanceEvaluation: "employee_performance_evaluation",
|
|
29
29
|
NetworkDiagram: "network_diagram",
|
|
30
30
|
TabletopExercise: "tabletop_exercise",
|
|
31
|
+
AccountTypes: "account_types",
|
|
31
32
|
} as const;
|
|
32
33
|
/**
|
|
33
34
|
* Evidence form type to unlink from the control
|
|
@@ -49,12 +50,13 @@ export const ControlsControllerUnlinkDocumentTypeV1FormType$zodSchema = z.enum([
|
|
|
49
50
|
"employee_performance_evaluation",
|
|
50
51
|
"network_diagram",
|
|
51
52
|
"tabletop_exercise",
|
|
53
|
+
"account_types",
|
|
52
54
|
]).describe("Evidence form type to unlink from the control");
|
|
53
55
|
|
|
54
56
|
export type ControlsControllerUnlinkDocumentTypeV1Request = {
|
|
55
57
|
id: string;
|
|
56
|
-
frameworkInstanceId: string;
|
|
57
58
|
formType: ControlsControllerUnlinkDocumentTypeV1FormType;
|
|
59
|
+
frameworkInstanceId: string;
|
|
58
60
|
};
|
|
59
61
|
|
|
60
62
|
export const ControlsControllerUnlinkDocumentTypeV1Request$zodSchema: z.ZodType<
|
|
@@ -22,6 +22,7 @@ export const DocumentType = {
|
|
|
22
22
|
EmployeePerformanceEvaluation: "employee_performance_evaluation",
|
|
23
23
|
NetworkDiagram: "network_diagram",
|
|
24
24
|
TabletopExercise: "tabletop_exercise",
|
|
25
|
+
AccountTypes: "account_types",
|
|
25
26
|
} as const;
|
|
26
27
|
export type DocumentType = ClosedEnum<typeof DocumentType>;
|
|
27
28
|
|
|
@@ -38,6 +39,7 @@ export const DocumentType$zodSchema = z.enum([
|
|
|
38
39
|
"employee_performance_evaluation",
|
|
39
40
|
"network_diagram",
|
|
40
41
|
"tabletop_exercise",
|
|
42
|
+
"account_types",
|
|
41
43
|
]);
|
|
42
44
|
|
|
43
45
|
export type CreateControlDto = {
|
|
@@ -21,6 +21,7 @@ export const EvidenceFormType = {
|
|
|
21
21
|
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
22
22
|
NetworkDiagram: "network-diagram",
|
|
23
23
|
TabletopExercise: "tabletop-exercise",
|
|
24
|
+
AccountTypes: "account-types",
|
|
24
25
|
} as const;
|
|
25
26
|
/**
|
|
26
27
|
* Evidence form type
|
|
@@ -40,6 +41,7 @@ export const EvidenceFormType$zodSchema = z.enum([
|
|
|
40
41
|
"employee-performance-evaluation",
|
|
41
42
|
"network-diagram",
|
|
42
43
|
"tabletop-exercise",
|
|
44
|
+
"account-types",
|
|
43
45
|
]).describe("Evidence form type");
|
|
44
46
|
|
|
45
47
|
/**
|