@trycompai/mcp-server 0.3.7 → 0.4.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 +3095 -2049
- package/bin/mcp-server.js.map +109 -92
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.js +3 -2
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.js.map +1 -1
- package/esm/funcs/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.js +3 -2
- package/esm/funcs/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.js.map +1 -1
- package/esm/funcs/cloudSecurityCloudSecurityControllerSetupGcpV1.js +3 -2
- package/esm/funcs/cloudSecurityCloudSecurityControllerSetupGcpV1.js.map +1 -1
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.d.ts +1 -1
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js +3 -1
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.js +3 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerSubmitFormV1.js +3 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerSubmitFormV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.js +3 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.d.ts +2 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.d.ts.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.js +6 -5
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.d.ts +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js +4 -3
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js.map +1 -1
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts +2 -1
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts.map +1 -1
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.js +14 -3
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.js.map +1 -1
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts +16 -0
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts.map +1 -0
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js +98 -0
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js.map +1 -0
- package/esm/funcs/ismsISMSControllerSetCoverageV1.d.ts +1 -1
- package/esm/funcs/ismsISMSControllerSetCoverageV1.js +1 -1
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts +16 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js +90 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js.map +1 -0
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerDeleteDocumentV1.js +3 -2
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerDeleteDocumentV1.js.map +1 -1
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetDownloadUrlV1.js +3 -2
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetDownloadUrlV1.js.map +1 -1
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetViewUrlV1.js +3 -2
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetViewUrlV1.js.map +1 -1
- package/esm/funcs/offboardingChecklistOffboardingChecklistControllerRevokeVendorAccessV1.js +3 -2
- package/esm/funcs/offboardingChecklistOffboardingChecklistControllerRevokeVendorAccessV1.js.map +1 -1
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.d.ts +1 -1
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.d.ts.map +1 -1
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.js +5 -4
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.js.map +1 -1
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.d.ts +2 -1
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.d.ts.map +1 -1
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.js +14 -3
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.js.map +1 -1
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.d.ts +2 -1
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.d.ts.map +1 -1
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.js +14 -3
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.js.map +1 -1
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.d.ts +2 -1
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.d.ts.map +1 -1
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.js +14 -3
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerAcceptPolicyChangesV1.js +3 -2
- package/esm/funcs/policiesPoliciesControllerAcceptPolicyChangesV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerAddPolicyControlsV1.js +3 -2
- package/esm/funcs/policiesPoliciesControllerAddPolicyControlsV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerCreatePolicyVersionV1.d.ts +1 -1
- package/esm/funcs/policiesPoliciesControllerCreatePolicyVersionV1.js +1 -1
- package/esm/funcs/policiesPoliciesControllerDenyPolicyChangesV1.js +3 -2
- package/esm/funcs/policiesPoliciesControllerDenyPolicyChangesV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerPublishAllPoliciesV1.js +1 -1
- package/esm/funcs/policiesPoliciesControllerPublishAllPoliciesV1.js.map +1 -1
- package/esm/funcs/trustAccessTrustAccessControllerPreviewNdaV1.d.ts +2 -2
- package/esm/funcs/trustAccessTrustAccessControllerPreviewNdaV1.js +2 -2
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomLinkV1.js +3 -2
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomLinkV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.js +3 -2
- package/esm/funcs/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- 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 +5 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js +1 -1
- package/esm/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.d.ts +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.js +2 -2
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.js.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js.map +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts +5 -1
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.js +7 -2
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.js.map +1 -1
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js +35 -0
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js.map +1 -0
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.js +1 -1
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.js.map +1 -1
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js +35 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js.map +1 -0
- package/esm/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.d.ts +1 -1
- package/esm/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.js +1 -1
- package/esm/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.js.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.d.ts +5 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.js +7 -2
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.js.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.d.ts +5 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.js +7 -2
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.js.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.d.ts +5 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.js +7 -2
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.js.map +1 -1
- package/esm/mcp-server/tools/policiesPoliciesControllerCreatePolicyVersionV1.js +1 -1
- package/esm/mcp-server/tools/policiesPoliciesControllerCreatePolicyVersionV1.js.map +1 -1
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerPreviewNdaV1.js +2 -2
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerPreviewNdaV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js +8 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.js.map +1 -1
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.d.ts +2 -0
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.d.ts.map +1 -1
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.js +3 -2
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.d.ts +28 -0
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.d.ts.map +1 -1
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.js +19 -0
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.d.ts +12 -0
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.d.ts.map +1 -1
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.js +6 -0
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.d.ts +8 -0
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.d.ts.map +1 -1
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.js +5 -0
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.js.map +1 -1
- package/esm/models/createpolicydto.js +2 -2
- package/esm/models/createpolicydto.js.map +1 -1
- package/esm/models/createpolicyversiondto.js +1 -1
- package/esm/models/createpolicyversiondto.js.map +1 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.js +36 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.js +34 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts +42 -5
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js +38 -4
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.js +34 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts +42 -5
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js +38 -5
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.d.ts +60 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.js +52 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.d.ts +42 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.js +35 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.d.ts +44 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.js +40 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.js.map +1 -1
- package/esm/models/evidenceformscontrolleruploadfilev1op.d.ts +50 -0
- package/esm/models/evidenceformscontrolleruploadfilev1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrolleruploadfilev1op.js +42 -0
- package/esm/models/evidenceformscontrolleruploadfilev1op.js.map +1 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.d.ts +50 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.js +43 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.js.map +1 -1
- package/esm/models/ismscontrollersetcoveragev1op.d.ts +1 -1
- package/esm/models/ismscontrollersetcoveragev1op.js +3 -3
- package/esm/models/ismscontrollersetcoveragev1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts +8 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.js +8 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts +8 -0
- package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.js +8 -0
- package/esm/models/ismsregisterscontrollerdeleterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.d.ts +14 -0
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.d.ts.map +1 -0
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js +13 -0
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts +8 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js +8 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js.map +1 -1
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.d.ts +8 -0
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.d.ts.map +1 -1
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.js +4 -0
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.js.map +1 -1
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.d.ts +8 -0
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.d.ts.map +1 -1
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.js +4 -0
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.js.map +1 -1
- package/esm/models/knowledgebasecontrollergetviewurlv1op.d.ts +8 -0
- package/esm/models/knowledgebasecontrollergetviewurlv1op.d.ts.map +1 -1
- package/esm/models/knowledgebasecontrollergetviewurlv1op.js +5 -0
- package/esm/models/knowledgebasecontrollergetviewurlv1op.js.map +1 -1
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.d.ts +11 -0
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.d.ts.map +1 -1
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.js +8 -0
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.js.map +1 -1
- package/esm/models/organizationcontrollercreateapikeyv1op.d.ts +31 -0
- package/esm/models/organizationcontrollercreateapikeyv1op.d.ts.map +1 -0
- package/esm/models/organizationcontrollercreateapikeyv1op.js +26 -0
- package/esm/models/organizationcontrollercreateapikeyv1op.js.map +1 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.d.ts +9 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.d.ts.map +1 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.js +9 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.js.map +1 -0
- package/esm/models/organizationcontrolleruploadlogov1op.d.ts +11 -0
- package/esm/models/organizationcontrolleruploadlogov1op.d.ts.map +1 -0
- package/esm/models/organizationcontrolleruploadlogov1op.js +11 -0
- package/esm/models/organizationcontrolleruploadlogov1op.js.map +1 -0
- package/esm/models/orgchartcontrollerupsertorgchartv1op.d.ts +2 -0
- package/esm/models/orgchartcontrollerupsertorgchartv1op.d.ts.map +1 -1
- package/esm/models/orgchartcontrollerupsertorgchartv1op.js +2 -0
- package/esm/models/orgchartcontrollerupsertorgchartv1op.js.map +1 -1
- package/esm/models/policiescontrolleracceptpolicychangesv1op.d.ts +9 -0
- package/esm/models/policiescontrolleracceptpolicychangesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrolleracceptpolicychangesv1op.js +5 -0
- package/esm/models/policiescontrolleracceptpolicychangesv1op.js.map +1 -1
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.d.ts +8 -0
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.d.ts.map +1 -1
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.js +5 -0
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.js.map +1 -1
- package/esm/models/policiescontrollerdenypolicychangesv1op.d.ts +9 -0
- package/esm/models/policiescontrollerdenypolicychangesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollerdenypolicychangesv1op.js +6 -0
- package/esm/models/policiescontrollerdenypolicychangesv1op.js.map +1 -1
- package/esm/models/policiescontrollergetallpoliciesv1op.d.ts +77 -2
- package/esm/models/policiescontrollergetallpoliciesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollergetallpoliciesv1op.js +61 -2
- package/esm/models/policiescontrollergetallpoliciesv1op.js.map +1 -1
- package/esm/models/policiescontrollerpublishallpoliciesv1op.d.ts +17 -0
- package/esm/models/policiescontrollerpublishallpoliciesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollerpublishallpoliciesv1op.js +12 -0
- package/esm/models/policiescontrollerpublishallpoliciesv1op.js.map +1 -1
- package/esm/models/policyresponsedto.js +2 -2
- package/esm/models/policyresponsedto.js.map +1 -1
- package/esm/models/synccontrollersetdevicesyncproviderv1op.d.ts +9 -0
- package/esm/models/synccontrollersetdevicesyncproviderv1op.d.ts.map +1 -0
- package/esm/models/synccontrollersetdevicesyncproviderv1op.js +9 -0
- package/esm/models/synccontrollersetdevicesyncproviderv1op.js.map +1 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.d.ts +10 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.d.ts.map +1 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.js +15 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.js.map +1 -0
- package/esm/models/taskitemresponsedto.d.ts +3 -3
- package/esm/models/taskitemresponsedto.d.ts.map +1 -1
- package/esm/models/taskitemresponsedto.js +2 -3
- package/esm/models/taskitemresponsedto.js.map +1 -1
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.d.ts +9 -0
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.js +9 -0
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.js.map +1 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.d.ts +9 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.js +9 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.js.map +1 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.d.ts +11 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.js +11 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.d.ts +9 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.js +9 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.d.ts +11 -0
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.d.ts.map +1 -1
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.js +7 -0
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.js.map +1 -1
- package/esm/models/trustportalcontrollerupdateframeworksv1op.d.ts +242 -0
- package/esm/models/trustportalcontrollerupdateframeworksv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollerupdateframeworksv1op.js +224 -0
- package/esm/models/trustportalcontrollerupdateframeworksv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.d.ts +38 -0
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.d.ts.map +1 -1
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.js +34 -0
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.js.map +1 -1
- package/esm/models/trustportalcontrolleruploadfaviconv1op.d.ts +31 -0
- package/esm/models/trustportalcontrolleruploadfaviconv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrolleruploadfaviconv1op.js +26 -0
- package/esm/models/trustportalcontrolleruploadfaviconv1op.js.map +1 -0
- package/esm/models/updatepolicydto.js +2 -2
- package/esm/models/updatepolicydto.js.map +1 -1
- package/esm/models/upsertorgchartdto.d.ts +12 -0
- package/esm/models/upsertorgchartdto.d.ts.map +1 -0
- package/esm/models/upsertorgchartdto.js +14 -0
- package/esm/models/upsertorgchartdto.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +14 -6
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.ts +3 -2
- package/src/funcs/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.ts +3 -2
- package/src/funcs/cloudSecurityCloudSecurityControllerSetupGcpV1.ts +3 -2
- package/src/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.ts +3 -1
- package/src/funcs/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.ts +3 -2
- package/src/funcs/evidenceFormsEvidenceFormsControllerSubmitFormV1.ts +3 -2
- package/src/funcs/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.ts +3 -2
- package/src/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.ts +8 -9
- package/src/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.ts +4 -3
- package/src/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.ts +22 -0
- package/src/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.ts +168 -0
- package/src/funcs/ismsISMSControllerSetCoverageV1.ts +1 -1
- package/src/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts +158 -0
- package/src/funcs/knowledgeBaseKnowledgeBaseControllerDeleteDocumentV1.ts +3 -2
- package/src/funcs/knowledgeBaseKnowledgeBaseControllerGetDownloadUrlV1.ts +3 -2
- package/src/funcs/knowledgeBaseKnowledgeBaseControllerGetViewUrlV1.ts +3 -2
- package/src/funcs/offboardingChecklistOffboardingChecklistControllerRevokeVendorAccessV1.ts +3 -2
- package/src/funcs/orgChartOrgChartControllerUpsertOrgChartV1.ts +7 -8
- package/src/funcs/organizationOrganizationControllerCreateApiKeyV1.ts +22 -0
- package/src/funcs/organizationOrganizationControllerRevokeApiKeyV1.ts +22 -0
- package/src/funcs/organizationOrganizationControllerUploadLogoV1.ts +22 -0
- package/src/funcs/policiesPoliciesControllerAcceptPolicyChangesV1.ts +3 -2
- package/src/funcs/policiesPoliciesControllerAddPolicyControlsV1.ts +3 -2
- package/src/funcs/policiesPoliciesControllerCreatePolicyVersionV1.ts +1 -1
- package/src/funcs/policiesPoliciesControllerDenyPolicyChangesV1.ts +3 -2
- package/src/funcs/policiesPoliciesControllerPublishAllPoliciesV1.ts +1 -1
- package/src/funcs/trustAccessTrustAccessControllerPreviewNdaV1.ts +2 -2
- package/src/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.ts +22 -0
- package/src/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.ts +22 -0
- package/src/funcs/trustPortalTrustPortalControllerTogglePortalV1.ts +22 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.ts +24 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateCustomLinkV1.ts +3 -2
- package/src/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.ts +24 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.ts +3 -2
- package/src/funcs/trustPortalTrustPortalControllerUploadFaviconV1.ts +22 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.ts +1 -1
- package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.ts +2 -2
- package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.ts +1 -1
- package/src/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.ts +11 -2
- package/src/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.ts +45 -0
- package/src/mcp-server/tools/ismsISMSControllerSetCoverageV1.ts +1 -1
- package/src/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts +46 -0
- package/src/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.ts +1 -1
- package/src/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.ts +11 -2
- package/src/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.ts +11 -2
- package/src/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.ts +11 -2
- package/src/mcp-server/tools/policiesPoliciesControllerCreatePolicyVersionV1.ts +1 -1
- package/src/mcp-server/tools/trustAccessTrustAccessControllerPreviewNdaV1.ts +2 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.ts +12 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.ts +11 -2
- package/src/models/auditorevidenceexportcontrollerexportallevidencev1op.ts +11 -2
- package/src/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.ts +44 -0
- package/src/models/cloudsecuritycontrollerselectgcpprojectsv1op.ts +26 -0
- package/src/models/cloudsecuritycontrollersetupgcpv1op.ts +21 -1
- package/src/models/createpolicydto.ts +2 -2
- package/src/models/createpolicyversiondto.ts +1 -1
- package/src/models/evidenceformscontrollerdeletesubmissionv1op.ts +50 -2
- package/src/models/evidenceformscontrollerexportcsvv1op.ts +48 -2
- package/src/models/evidenceformscontrollergetformwithsubmissionsv1op.ts +71 -23
- package/src/models/evidenceformscontrollergetsubmissionv1op.ts +48 -2
- package/src/models/evidenceformscontrollerlistsubmissionsv1op.ts +55 -11
- package/src/models/evidenceformscontrollerreviewsubmissionv1op.ts +84 -2
- package/src/models/evidenceformscontrollersubmitformv1op.ts +52 -2
- package/src/models/evidenceformscontrollerupdateformsettingv1op.ts +65 -2
- package/src/models/evidenceformscontrolleruploadfilev1op.ts +77 -0
- package/src/models/evidenceformscontrolleruploadsubmissionv1op.ts +82 -2
- package/src/models/ismscontrollersetcoveragev1op.ts +4 -4
- package/src/models/ismsregisterscontrollercreaterowv1op.ts +8 -0
- package/src/models/ismsregisterscontrollerdeleterowv1op.ts +8 -0
- package/src/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.ts +38 -0
- package/src/models/ismsregisterscontrollerupdaterowv1op.ts +8 -0
- package/src/models/knowledgebasecontrollerdeletedocumentv1op.ts +22 -0
- package/src/models/knowledgebasecontrollergetdownloadurlv1op.ts +22 -0
- package/src/models/knowledgebasecontrollergetviewurlv1op.ts +24 -1
- package/src/models/offboardingchecklistcontrollerrevokevendoraccessv1op.ts +33 -0
- package/src/models/organizationcontrollercreateapikeyv1op.ts +49 -0
- package/src/models/organizationcontrollerrevokeapikeyv1op.ts +17 -0
- package/src/models/organizationcontrolleruploadlogov1op.ts +25 -0
- package/src/models/orgchartcontrollerupsertorgchartv1op.ts +6 -0
- package/src/models/policiescontrolleracceptpolicychangesv1op.ts +22 -0
- package/src/models/policiescontrolleraddpolicycontrolsv1op.ts +17 -0
- package/src/models/policiescontrollerdenypolicychangesv1op.ts +21 -0
- package/src/models/policiescontrollergetallpoliciesv1op.ts +165 -6
- package/src/models/policiescontrollerpublishallpoliciesv1op.ts +42 -0
- package/src/models/policyresponsedto.ts +2 -2
- package/src/models/synccontrollersetdevicesyncproviderv1op.ts +21 -0
- package/src/models/taskintegrationscontrollergettaskcheckrunresultsv1op.ts +29 -0
- package/src/models/taskitemresponsedto.ts +8 -5
- package/src/models/trustportalcontrolleraddcustomdomainv1op.ts +19 -0
- package/src/models/trustportalcontrollercheckdnsrecordsv1op.ts +19 -0
- package/src/models/trustportalcontrollertoggleportalv1op.ts +27 -0
- package/src/models/trustportalcontrollerupdatealloweddomainsv1op.ts +20 -0
- package/src/models/trustportalcontrollerupdatecustomlinkv1op.ts +27 -1
- package/src/models/trustportalcontrollerupdateframeworksv1op.ts +391 -0
- package/src/models/trustportalcontrollerupdatevendortrustsettingsv1op.ts +65 -0
- package/src/models/trustportalcontrolleruploadfaviconv1op.ts +51 -0
- package/src/models/updatepolicydto.ts +2 -2
- package/src/models/upsertorgchartdto.ts +31 -0
- package/src/tool-names.ts +14 -6
package/src/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0bd02bac68d6
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1 } from "../../funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js";
|
|
7
|
+
import { TaskIntegrationsControllerGetTaskCheckRunResultsV1Request$zodSchema } from "../../models/taskintegrationscontrollergettaskcheckrunresultsv1op.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request: TaskIntegrationsControllerGetTaskCheckRunResultsV1Request$zodSchema,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const tool$integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1:
|
|
15
|
+
ToolDefinition<typeof args> = {
|
|
16
|
+
name: "get-task-check-run-results",
|
|
17
|
+
description: `List a check run's results
|
|
18
|
+
|
|
19
|
+
Returns one page of a check run's per-resource results (findings and passing rows) for a task. The run list only carries a small sample per run; use this to read the rest. Filter with passed, page with offset/limit.`,
|
|
20
|
+
annotations: {
|
|
21
|
+
"title": "",
|
|
22
|
+
"destructiveHint": false,
|
|
23
|
+
"idempotentHint": true,
|
|
24
|
+
"openWorldHint": false,
|
|
25
|
+
"readOnlyHint": true,
|
|
26
|
+
},
|
|
27
|
+
args,
|
|
28
|
+
tool: async (client, args, ctx) => {
|
|
29
|
+
const [result] =
|
|
30
|
+
await integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1(
|
|
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
|
+
};
|
|
@@ -16,7 +16,7 @@ export const tool$ismsISMSControllerSetCoverageV1: ToolDefinition<typeof args> =
|
|
|
16
16
|
name: "set-coverage",
|
|
17
17
|
description: `Set how much of an ISMS document Comp AI holds
|
|
18
18
|
|
|
19
|
-
Marks
|
|
19
|
+
Marks an ISMS document, or one section of it, as included, maintained outside Comp AI, or not applicable, which requires a written justification. External renders a pointer to where the content lives; the sections depend on the type.`,
|
|
20
20
|
annotations: {
|
|
21
21
|
"title": "",
|
|
22
22
|
"destructiveHint": false,
|
package/src/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 465a8e2af6f9
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1 } from "../../funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js";
|
|
7
|
+
import { IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema } from "../../models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request:
|
|
12
|
+
IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const tool$ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1:
|
|
16
|
+
ToolDefinition<typeof args> = {
|
|
17
|
+
name: "import-vendors-as-continuity-contacts",
|
|
18
|
+
description: `Add vendors to the continuity contact list in one action
|
|
19
|
+
|
|
20
|
+
Adds the chosen vendors to the Business Continuity Plan contact list in one transaction. Vendors already listed are skipped, not duplicated. The support contact is left blank: a vendor record holds our commercial contact, not their outage.`,
|
|
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 ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1(
|
|
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
|
+
};
|
|
@@ -8,7 +8,7 @@ import { OrgChartControllerUpsertOrgChartV1Request$zodSchema } from "../../model
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
-
request: OrgChartControllerUpsertOrgChartV1Request$zodSchema
|
|
11
|
+
request: OrgChartControllerUpsertOrgChartV1Request$zodSchema,
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export const tool$orgChartOrgChartControllerUpsertOrgChartV1: ToolDefinition<
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { organizationOrganizationControllerCreateApiKeyV1 } from "../../funcs/organizationOrganizationControllerCreateApiKeyV1.js";
|
|
7
|
+
import { OrganizationControllerCreateApiKeyV1Request$zodSchema } from "../../models/organizationcontrollercreateapikeyv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: OrganizationControllerCreateApiKeyV1Request$zodSchema.describe(
|
|
12
|
+
`API key to create. The secret is returned once, on creation.`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$organizationOrganizationControllerCreateApiKeyV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "create-api-key",
|
|
12
19
|
description: `Create API key
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Create a scoped API key for server-side compliance automation such as evidence s
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await organizationOrganizationControllerCreateApiKeyV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { organizationOrganizationControllerRevokeApiKeyV1 } from "../../funcs/organizationOrganizationControllerRevokeApiKeyV1.js";
|
|
7
|
+
import { OrganizationControllerRevokeApiKeyV1Request$zodSchema } from "../../models/organizationcontrollerrevokeapikeyv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: OrganizationControllerRevokeApiKeyV1Request$zodSchema.describe(
|
|
12
|
+
`API key to revoke`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$organizationOrganizationControllerRevokeApiKeyV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "revoke-api-key",
|
|
12
19
|
description: `Revoke API key
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Revoke an organization API key when an integration is retired, credentials rotat
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await organizationOrganizationControllerRevokeApiKeyV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { organizationOrganizationControllerUploadLogoV1 } from "../../funcs/organizationOrganizationControllerUploadLogoV1.js";
|
|
7
|
+
import { OrganizationControllerUploadLogoV1Request$zodSchema } from "../../models/organizationcontrolleruploadlogov1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: OrganizationControllerUploadLogoV1Request$zodSchema.describe(
|
|
12
|
+
`Logo image to store for the organization`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$organizationOrganizationControllerUploadLogoV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "upload-logo",
|
|
12
19
|
description: `Upload organization logo
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Upload organization logo in Comp AI. Manage organization profile data, API keys,
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await organizationOrganizationControllerUploadLogoV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -16,7 +16,7 @@ export const tool$policiesPoliciesControllerCreatePolicyVersionV1:
|
|
|
16
16
|
name: "create-policy-version",
|
|
17
17
|
description: `Create policy version
|
|
18
18
|
|
|
19
|
-
Creates a new draft version of a policy, cloned from the
|
|
19
|
+
Creates a new draft version of a policy, cloned from the policy's newest version — an unpublished draft included, a version awaiting approval skipped. Specify sourceVersionId to clone a particular version, such as the one that is live.`,
|
|
20
20
|
annotations: {
|
|
21
21
|
"title": "",
|
|
22
22
|
"destructiveHint": false,
|
|
@@ -15,9 +15,9 @@ export const tool$trustAccessTrustAccessControllerPreviewNdaV1: ToolDefinition<
|
|
|
15
15
|
typeof args
|
|
16
16
|
> = {
|
|
17
17
|
name: "preview-nda",
|
|
18
|
-
description: `Preview Trust Access NDA
|
|
18
|
+
description: `Preview or download the Trust Access NDA
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Return the executed NDA PDF for a Trust Access request once the reviewer has signed, or generate a preview copy of the agreement before signing.`,
|
|
21
21
|
annotations: {
|
|
22
22
|
"title": "",
|
|
23
23
|
"destructiveHint": false,
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { trustPortalTrustPortalControllerAddCustomDomainV1 } from "../../funcs/trustPortalTrustPortalControllerAddCustomDomainV1.js";
|
|
7
|
+
import { TrustPortalControllerAddCustomDomainV1Request$zodSchema } from "../../models/trustportalcontrolleraddcustomdomainv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: TrustPortalControllerAddCustomDomainV1Request$zodSchema.describe(
|
|
12
|
+
`Custom domain to attach to the trust portal`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$trustPortalTrustPortalControllerAddCustomDomainV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "add-custom-domain",
|
|
12
19
|
description: `Add or update a custom domain for the trust portal
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Add or update a custom domain for the trust portal in Comp AI. Configure the liv
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await trustPortalTrustPortalControllerAddCustomDomainV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { trustPortalTrustPortalControllerCheckDnsRecordsV1 } from "../../funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.js";
|
|
7
|
+
import { TrustPortalControllerCheckDnsRecordsV1Request$zodSchema } from "../../models/trustportalcontrollercheckdnsrecordsv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: TrustPortalControllerCheckDnsRecordsV1Request$zodSchema.describe(
|
|
12
|
+
`Custom domain whose DNS records should be re-checked`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$trustPortalTrustPortalControllerCheckDnsRecordsV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "check-dns-records",
|
|
12
19
|
description: `Check DNS records for a custom domain
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Check DNS records for a custom domain in Comp AI. Configure the live Trust Cente
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await trustPortalTrustPortalControllerCheckDnsRecordsV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { trustPortalTrustPortalControllerTogglePortalV1 } from "../../funcs/trustPortalTrustPortalControllerTogglePortalV1.js";
|
|
7
|
+
import { TrustPortalControllerTogglePortalV1Request$zodSchema } from "../../models/trustportalcontrollertoggleportalv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: TrustPortalControllerTogglePortalV1Request$zodSchema.describe(
|
|
12
|
+
`Whether the public trust portal is published, plus its contact`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$trustPortalTrustPortalControllerTogglePortalV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "toggle-portal",
|
|
12
19
|
description: `Enable or disable the trust portal
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Enable or disable the trust portal in Comp AI. Configure the live Trust Center,
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await trustPortalTrustPortalControllerTogglePortalV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -4,10 +4,18 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { trustPortalTrustPortalControllerUpdateAllowedDomainsV1 } from "../../funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js";
|
|
7
|
+
import { TrustPortalControllerUpdateAllowedDomainsV1Request$zodSchema } from "../../models/trustportalcontrollerupdatealloweddomainsv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: TrustPortalControllerUpdateAllowedDomainsV1Request$zodSchema
|
|
12
|
+
.describe(
|
|
13
|
+
`Full replacement list of email domains that skip NDA signing. Replaces the whole list; send an empty array to clear it.`,
|
|
14
|
+
),
|
|
15
|
+
};
|
|
16
|
+
|
|
9
17
|
export const tool$trustPortalTrustPortalControllerUpdateAllowedDomainsV1:
|
|
10
|
-
ToolDefinition = {
|
|
18
|
+
ToolDefinition<typeof args> = {
|
|
11
19
|
name: "update-allowed-domains",
|
|
12
20
|
description: `Update allowed domains for the trust portal
|
|
13
21
|
|
|
@@ -19,10 +27,12 @@ Update allowed domains for the trust portal in Comp AI. Configure the live Trust
|
|
|
19
27
|
"openWorldHint": false,
|
|
20
28
|
"readOnlyHint": false,
|
|
21
29
|
},
|
|
22
|
-
|
|
30
|
+
args,
|
|
31
|
+
tool: async (client, args, ctx) => {
|
|
23
32
|
const [result] =
|
|
24
33
|
await trustPortalTrustPortalControllerUpdateAllowedDomainsV1(
|
|
25
34
|
client,
|
|
35
|
+
args.request,
|
|
26
36
|
{ fetchOptions: { signal: ctx.signal } },
|
|
27
37
|
).$inspect();
|
|
28
38
|
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { trustPortalTrustPortalControllerUpdateFrameworksV1 } from "../../funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.js";
|
|
7
|
+
import { TrustPortalControllerUpdateFrameworksV1Request$zodSchema } from "../../models/trustportalcontrollerupdateframeworksv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: TrustPortalControllerUpdateFrameworksV1Request$zodSchema.describe(
|
|
12
|
+
`Framework badges to show on the public trust portal. Only the keys you send are changed.`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$trustPortalTrustPortalControllerUpdateFrameworksV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "update-frameworks",
|
|
12
19
|
description: `Update trust portal framework settings
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Update trust portal framework settings in Comp AI. Configure the live Trust Cent
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await trustPortalTrustPortalControllerUpdateFrameworksV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { trustPortalTrustPortalControllerUploadFaviconV1 } from "../../funcs/trustPortalTrustPortalControllerUploadFaviconV1.js";
|
|
7
|
+
import { TrustPortalControllerUploadFaviconV1Request$zodSchema } from "../../models/trustportalcontrolleruploadfaviconv1op.js";
|
|
7
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
9
|
|
|
10
|
+
const args = {
|
|
11
|
+
request: TrustPortalControllerUploadFaviconV1Request$zodSchema.describe(
|
|
12
|
+
`Favicon image to store for the trust portal`,
|
|
13
|
+
),
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export const tool$trustPortalTrustPortalControllerUploadFaviconV1:
|
|
10
|
-
ToolDefinition = {
|
|
17
|
+
ToolDefinition<typeof args> = {
|
|
11
18
|
name: "upload-favicon",
|
|
12
19
|
description: `Upload a favicon for the trust portal
|
|
13
20
|
|
|
@@ -19,9 +26,11 @@ Upload a favicon for the trust portal in Comp AI. Configure the live Trust Cente
|
|
|
19
26
|
"openWorldHint": false,
|
|
20
27
|
"readOnlyHint": false,
|
|
21
28
|
},
|
|
22
|
-
|
|
29
|
+
args,
|
|
30
|
+
tool: async (client, args, ctx) => {
|
|
23
31
|
const [result] = await trustPortalTrustPortalControllerUploadFaviconV1(
|
|
24
32
|
client,
|
|
33
|
+
args.request,
|
|
25
34
|
{ fetchOptions: { signal: ctx.signal } },
|
|
26
35
|
).$inspect();
|
|
27
36
|
|
|
@@ -7,11 +7,20 @@ import * as z from "zod";
|
|
|
7
7
|
|
|
8
8
|
export type AuditorEvidenceExportControllerExportAllEvidenceV1Request = {
|
|
9
9
|
includeJson?: boolean | undefined;
|
|
10
|
+
from?: string | undefined;
|
|
11
|
+
to?: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
export const AuditorEvidenceExportControllerExportAllEvidenceV1Request$zodSchema:
|
|
13
15
|
z.ZodType<AuditorEvidenceExportControllerExportAllEvidenceV1Request> = z
|
|
14
16
|
.object({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
from: z.iso.datetime({ offset: true }).describe(
|
|
18
|
+
"Start of the audit period (inclusive, strict ISO 8601). Omit for all history. Locale formats such as 12/31/2025, and date-times without a UTC offset, are rejected.",
|
|
19
|
+
).optional(),
|
|
20
|
+
includeJson: z.boolean().default(false).describe(
|
|
21
|
+
"Include raw JSON files alongside the rendered PDFs",
|
|
22
|
+
),
|
|
23
|
+
to: z.iso.datetime({ offset: true }).describe(
|
|
24
|
+
"End of the audit period (inclusive, strict ISO 8601). Must not be earlier than `from`. Omit for all history.",
|
|
25
|
+
).optional(),
|
|
17
26
|
});
|
|
@@ -4,12 +4,56 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Step to resolve, taken from the `steps[].id` returned by setup-gcp.
|
|
11
|
+
*/
|
|
12
|
+
export const StepId = {
|
|
13
|
+
EnableSecurityCommandCenterApi: "enable_security_command_center_api",
|
|
14
|
+
EnableCloudResourceManagerApi: "enable_cloud_resource_manager_api",
|
|
15
|
+
EnableServiceUsageApi: "enable_service_usage_api",
|
|
16
|
+
GrantFindingsViewerRole: "grant_findings_viewer_role",
|
|
17
|
+
} as const;
|
|
18
|
+
/**
|
|
19
|
+
* Step to resolve, taken from the `steps[].id` returned by setup-gcp.
|
|
20
|
+
*/
|
|
21
|
+
export type StepId = ClosedEnum<typeof StepId>;
|
|
22
|
+
|
|
23
|
+
export const StepId$zodSchema = z.enum([
|
|
24
|
+
"enable_security_command_center_api",
|
|
25
|
+
"enable_cloud_resource_manager_api",
|
|
26
|
+
"enable_service_usage_api",
|
|
27
|
+
"grant_findings_viewer_role",
|
|
28
|
+
]).describe(
|
|
29
|
+
"Step to resolve, taken from the `steps[].id` returned by setup-gcp.",
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Setup step to retry
|
|
34
|
+
*/
|
|
35
|
+
export type CloudSecurityControllerResolveGcpSetupStepV1RequestBody = {
|
|
36
|
+
stepId: StepId;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const CloudSecurityControllerResolveGcpSetupStepV1RequestBody$zodSchema:
|
|
40
|
+
z.ZodType<CloudSecurityControllerResolveGcpSetupStepV1RequestBody> = z.object(
|
|
41
|
+
{
|
|
42
|
+
stepId: StepId$zodSchema.describe(
|
|
43
|
+
"Step to resolve, taken from the `steps[].id` returned by setup-gcp.",
|
|
44
|
+
),
|
|
45
|
+
},
|
|
46
|
+
).describe("Setup step to retry");
|
|
7
47
|
|
|
8
48
|
export type CloudSecurityControllerResolveGcpSetupStepV1Request = {
|
|
9
49
|
connectionId: string;
|
|
50
|
+
body: CloudSecurityControllerResolveGcpSetupStepV1RequestBody;
|
|
10
51
|
};
|
|
11
52
|
|
|
12
53
|
export const CloudSecurityControllerResolveGcpSetupStepV1Request$zodSchema:
|
|
13
54
|
z.ZodType<CloudSecurityControllerResolveGcpSetupStepV1Request> = z.object({
|
|
55
|
+
body: z.lazy(() =>
|
|
56
|
+
CloudSecurityControllerResolveGcpSetupStepV1RequestBody$zodSchema
|
|
57
|
+
).describe("Setup step to retry"),
|
|
14
58
|
connectionId: z.string(),
|
|
15
59
|
});
|
|
@@ -5,11 +5,37 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* GCP projects to scan on this connection
|
|
10
|
+
*/
|
|
11
|
+
export type CloudSecurityControllerSelectGcpProjectsV1RequestBody = {
|
|
12
|
+
projectIds: Array<string>;
|
|
13
|
+
projectNames?: { [k: string]: string } | undefined;
|
|
14
|
+
gcpOrganizationId?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export const CloudSecurityControllerSelectGcpProjectsV1RequestBody$zodSchema:
|
|
18
|
+
z.ZodType<CloudSecurityControllerSelectGcpProjectsV1RequestBody> = z.object({
|
|
19
|
+
gcpOrganizationId: z.string().optional().describe(
|
|
20
|
+
"GCP organization the projects belong to. Saved on the connection when provided.",
|
|
21
|
+
),
|
|
22
|
+
projectIds: z.array(z.string()).describe(
|
|
23
|
+
"Project IDs to scan, from the connection's discovered projects.",
|
|
24
|
+
),
|
|
25
|
+
projectNames: z.record(z.string(), z.string()).optional().describe(
|
|
26
|
+
"Display name per project ID, for the UI.",
|
|
27
|
+
),
|
|
28
|
+
}).describe("GCP projects to scan on this connection");
|
|
29
|
+
|
|
8
30
|
export type CloudSecurityControllerSelectGcpProjectsV1Request = {
|
|
9
31
|
connectionId: string;
|
|
32
|
+
body: CloudSecurityControllerSelectGcpProjectsV1RequestBody;
|
|
10
33
|
};
|
|
11
34
|
|
|
12
35
|
export const CloudSecurityControllerSelectGcpProjectsV1Request$zodSchema:
|
|
13
36
|
z.ZodType<CloudSecurityControllerSelectGcpProjectsV1Request> = z.object({
|
|
37
|
+
body: z.lazy(() =>
|
|
38
|
+
CloudSecurityControllerSelectGcpProjectsV1RequestBody$zodSchema
|
|
39
|
+
).describe("GCP projects to scan on this connection"),
|
|
14
40
|
connectionId: z.string(),
|
|
15
41
|
});
|
|
@@ -5,10 +5,30 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Project to run setup against
|
|
10
|
+
*/
|
|
11
|
+
export type CloudSecurityControllerSetupGcpV1RequestBody = {
|
|
12
|
+
projectId?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const CloudSecurityControllerSetupGcpV1RequestBody$zodSchema: z.ZodType<
|
|
16
|
+
CloudSecurityControllerSetupGcpV1RequestBody
|
|
17
|
+
> = z.object({
|
|
18
|
+
projectId: z.string().optional().describe(
|
|
19
|
+
"Project to set up. Defaults to the connection's configured project.",
|
|
20
|
+
),
|
|
21
|
+
}).describe("Project to run setup against");
|
|
22
|
+
|
|
23
|
+
export type CloudSecurityControllerSetupGcpV1Request = {
|
|
24
|
+
connectionId: string;
|
|
25
|
+
body?: CloudSecurityControllerSetupGcpV1RequestBody | undefined;
|
|
26
|
+
};
|
|
9
27
|
|
|
10
28
|
export const CloudSecurityControllerSetupGcpV1Request$zodSchema: z.ZodType<
|
|
11
29
|
CloudSecurityControllerSetupGcpV1Request
|
|
12
30
|
> = z.object({
|
|
31
|
+
body: z.lazy(() => CloudSecurityControllerSetupGcpV1RequestBody$zodSchema)
|
|
32
|
+
.optional().describe("Project to run setup against"),
|
|
13
33
|
connectionId: z.string(),
|
|
14
34
|
});
|
|
@@ -63,10 +63,10 @@ export type CreatePolicyDto = {
|
|
|
63
63
|
|
|
64
64
|
export const CreatePolicyDto$zodSchema: z.ZodType<CreatePolicyDto> = z.object({
|
|
65
65
|
approverId: z.string().optional().describe(
|
|
66
|
-
"ID of the
|
|
66
|
+
"Member ID of the organization member who approved this policy",
|
|
67
67
|
),
|
|
68
68
|
assigneeId: z.string().optional().describe(
|
|
69
|
-
"ID of the
|
|
69
|
+
"Member ID of the organization member this policy is assigned to — must belong to this organization",
|
|
70
70
|
),
|
|
71
71
|
content: z.array(z.record(z.string(), z.any())).describe(
|
|
72
72
|
"Content of the policy as TipTap JSON (array of nodes)",
|
|
@@ -17,6 +17,6 @@ export const CreatePolicyVersionDto$zodSchema: z.ZodType<
|
|
|
17
17
|
"Optional changelog to associate with the new version",
|
|
18
18
|
),
|
|
19
19
|
sourceVersionId: z.string().optional().describe(
|
|
20
|
-
"
|
|
20
|
+
"Version ID to base the new version on. Defaults to the policy's newest version, skipping one awaiting approval — pass the live version's ID to start from what is published instead.",
|
|
21
21
|
),
|
|
22
22
|
});
|