@probo/n8n-nodes-probo 0.185.0 → 0.187.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/dist/nodes/Probo/Probo.node.js +10 -5
- package/dist/nodes/Probo/Probo.node.js.map +1 -1
- package/dist/nodes/Probo/actions/asset/create.operation.js +12 -12
- package/dist/nodes/Probo/actions/asset/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/asset/get.operation.js +6 -6
- package/dist/nodes/Probo/actions/asset/get.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/asset/getAll.operation.js +6 -6
- package/dist/nodes/Probo/actions/asset/getAll.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/asset/update.operation.js +14 -14
- package/dist/nodes/Probo/actions/asset/update.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/datum/create.operation.js +12 -12
- package/dist/nodes/Probo/actions/datum/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/datum/get.operation.js +6 -6
- package/dist/nodes/Probo/actions/datum/get.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/datum/getAll.operation.js +6 -6
- package/dist/nodes/Probo/actions/datum/getAll.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/datum/update.operation.js +14 -14
- package/dist/nodes/Probo/actions/datum/update.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/index.js +4 -2
- package/dist/nodes/Probo/actions/index.js.map +1 -1
- package/dist/nodes/Probo/actions/riskAssessment/create.operation.js +89 -0
- package/dist/nodes/Probo/actions/riskAssessment/create.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/createNode.operation.js +96 -0
- package/dist/nodes/Probo/actions/riskAssessment/createNode.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/createProcess.operation.js +94 -0
- package/dist/nodes/Probo/actions/riskAssessment/createProcess.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/createScenario.operation.js +90 -0
- package/dist/nodes/Probo/actions/riskAssessment/createScenario.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/createScope.operation.js +62 -0
- package/dist/nodes/Probo/actions/riskAssessment/createScope.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/createThreat.operation.js +94 -0
- package/dist/nodes/Probo/actions/riskAssessment/createThreat.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/delete.operation.js +37 -0
- package/dist/nodes/Probo/actions/riskAssessment/delete.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteNode.operation.js +39 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteNode.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteProcess.operation.js +39 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteProcess.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteScenario.operation.js +39 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteScenario.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteScope.operation.js +39 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteScope.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteThreat.operation.js +39 -0
- package/dist/nodes/Probo/actions/riskAssessment/deleteThreat.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/get.operation.js +46 -0
- package/dist/nodes/Probo/actions/riskAssessment/get.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAll.operation.js +89 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAll.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllNodes.operation.js +90 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllNodes.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllProcesses.operation.js +91 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllProcesses.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllScenarios.operation.js +90 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllScenarios.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllScopes.operation.js +89 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllScopes.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllThreats.operation.js +91 -0
- package/dist/nodes/Probo/actions/riskAssessment/getAllThreats.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getNode.operation.js +44 -0
- package/dist/nodes/Probo/actions/riskAssessment/getNode.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getProcess.operation.js +45 -0
- package/dist/nodes/Probo/actions/riskAssessment/getProcess.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getScenario.operation.js +44 -0
- package/dist/nodes/Probo/actions/riskAssessment/getScenario.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getScope.operation.js +43 -0
- package/dist/nodes/Probo/actions/riskAssessment/getScope.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getScopeMermaidChart.operation.js +41 -0
- package/dist/nodes/Probo/actions/riskAssessment/getScopeMermaidChart.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/getThreat.operation.js +45 -0
- package/dist/nodes/Probo/actions/riskAssessment/getThreat.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/index.d.ts +38 -0
- package/dist/nodes/Probo/actions/riskAssessment/index.js +363 -0
- package/dist/nodes/Probo/actions/riskAssessment/index.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/linkScenarioRisk.operation.js +57 -0
- package/dist/nodes/Probo/actions/riskAssessment/linkScenarioRisk.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/linkScenarioThreat.operation.js +57 -0
- package/dist/nodes/Probo/actions/riskAssessment/linkScenarioThreat.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/unlinkScenarioRisk.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/unlinkScenarioRisk.operation.js +57 -0
- package/dist/nodes/Probo/actions/riskAssessment/unlinkScenarioRisk.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/unlinkScenarioThreat.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/unlinkScenarioThreat.operation.js +57 -0
- package/dist/nodes/Probo/actions/riskAssessment/unlinkScenarioThreat.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/update.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/update.operation.js +81 -0
- package/dist/nodes/Probo/actions/riskAssessment/update.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateNode.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateNode.operation.js +100 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateNode.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateProcess.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateProcess.operation.js +92 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateProcess.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateScenario.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateScenario.operation.js +82 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateScenario.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateScope.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateScope.operation.js +72 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateScope.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateThreat.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateThreat.operation.js +92 -0
- package/dist/nodes/Probo/actions/riskAssessment/updateThreat.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/create.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/create.operation.js +20 -20
- package/dist/nodes/Probo/actions/thirdParty/create.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/createContact.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/createContact.operation.js +13 -13
- package/dist/nodes/Probo/actions/thirdParty/createContact.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/createRiskAssessment.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/createRiskAssessment.operation.js +13 -13
- package/dist/nodes/Probo/actions/thirdParty/createRiskAssessment.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/createService.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/createService.operation.js +13 -13
- package/dist/nodes/Probo/actions/thirdParty/createService.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/delete.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/delete.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/delete.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/deleteBusinessAssociateAgreement.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/deleteBusinessAssociateAgreement.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/deleteBusinessAssociateAgreement.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/deleteComplianceReport.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/deleteComplianceReport.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/deleteComplianceReport.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/deleteContact.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/deleteContact.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/deleteContact.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/deleteDataPrivacyAgreement.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/deleteDataPrivacyAgreement.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/deleteDataPrivacyAgreement.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/deleteService.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/deleteService.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/deleteService.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/get.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/get.operation.js +10 -10
- package/dist/nodes/Probo/actions/thirdParty/get.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getAll.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getAll.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/getAll.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getAllComplianceReports.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getAllComplianceReports.operation.js +12 -12
- package/dist/nodes/Probo/actions/thirdParty/getAllComplianceReports.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getAllContacts.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getAllContacts.operation.js +19 -19
- package/dist/nodes/Probo/actions/thirdParty/getAllContacts.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getAllRiskAssessments.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getAllRiskAssessments.operation.js +19 -19
- package/dist/nodes/Probo/actions/thirdParty/getAllRiskAssessments.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getAllServices.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getAllServices.operation.js +19 -19
- package/dist/nodes/Probo/actions/thirdParty/getAllServices.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getBusinessAssociateAgreement.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getBusinessAssociateAgreement.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/getBusinessAssociateAgreement.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getContact.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getContact.operation.js +16 -16
- package/dist/nodes/Probo/actions/thirdParty/getContact.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getDataPrivacyAgreement.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getDataPrivacyAgreement.operation.js +9 -9
- package/dist/nodes/Probo/actions/thirdParty/getDataPrivacyAgreement.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getRiskAssessment.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getRiskAssessment.operation.js +16 -16
- package/dist/nodes/Probo/actions/thirdParty/getRiskAssessment.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/getService.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/getService.operation.js +16 -16
- package/dist/nodes/Probo/actions/thirdParty/getService.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/index.js +55 -55
- package/dist/nodes/Probo/actions/thirdParty/index.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/publish.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/publish.operation.js +6 -6
- package/dist/nodes/Probo/actions/thirdParty/publish.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/update.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/update.operation.js +27 -27
- package/dist/nodes/Probo/actions/thirdParty/update.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/updateBusinessAssociateAgreement.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/updateBusinessAssociateAgreement.operation.js +11 -11
- package/dist/nodes/Probo/actions/thirdParty/updateBusinessAssociateAgreement.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/updateContact.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/updateContact.operation.js +10 -10
- package/dist/nodes/Probo/actions/thirdParty/updateContact.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/updateDataPrivacyAgreement.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/updateDataPrivacyAgreement.operation.js +11 -11
- package/dist/nodes/Probo/actions/thirdParty/updateDataPrivacyAgreement.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/updateService.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/{vendor → thirdParty}/updateService.operation.js +13 -13
- package/dist/nodes/Probo/actions/thirdParty/updateService.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/webhook/create.operation.js +3 -3
- package/dist/nodes/Probo/actions/webhook/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/webhook/update.operation.js +3 -3
- package/dist/nodes/Probo/actions/webhook/update.operation.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/nodes/Probo/actions/vendor/create.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/createContact.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/createRiskAssessment.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/createService.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/delete.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/deleteBusinessAssociateAgreement.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/deleteComplianceReport.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/deleteContact.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/deleteDataPrivacyAgreement.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/deleteService.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/get.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getAll.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getAllComplianceReports.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getAllContacts.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getAllRiskAssessments.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getAllServices.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getBusinessAssociateAgreement.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getContact.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getDataPrivacyAgreement.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getRiskAssessment.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/getService.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/index.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/publish.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/update.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/updateBusinessAssociateAgreement.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/updateContact.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/updateDataPrivacyAgreement.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/vendor/updateService.operation.js.map +0 -1
- /package/dist/nodes/Probo/actions/{vendor → riskAssessment}/create.operation.d.ts +0 -0
- /package/dist/nodes/Probo/actions/{vendor/createContact.operation.d.ts → riskAssessment/createNode.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/createRiskAssessment.operation.d.ts → riskAssessment/createProcess.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/createService.operation.d.ts → riskAssessment/createScenario.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/delete.operation.d.ts → riskAssessment/createScope.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/deleteBusinessAssociateAgreement.operation.d.ts → riskAssessment/createThreat.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/deleteComplianceReport.operation.d.ts → riskAssessment/delete.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/deleteContact.operation.d.ts → riskAssessment/deleteNode.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/deleteDataPrivacyAgreement.operation.d.ts → riskAssessment/deleteProcess.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/deleteService.operation.d.ts → riskAssessment/deleteScenario.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/get.operation.d.ts → riskAssessment/deleteScope.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getAll.operation.d.ts → riskAssessment/deleteThreat.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getAllComplianceReports.operation.d.ts → riskAssessment/get.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getAllContacts.operation.d.ts → riskAssessment/getAll.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getAllRiskAssessments.operation.d.ts → riskAssessment/getAllNodes.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getAllServices.operation.d.ts → riskAssessment/getAllProcesses.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getBusinessAssociateAgreement.operation.d.ts → riskAssessment/getAllScenarios.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getContact.operation.d.ts → riskAssessment/getAllScopes.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getDataPrivacyAgreement.operation.d.ts → riskAssessment/getAllThreats.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getRiskAssessment.operation.d.ts → riskAssessment/getNode.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/getService.operation.d.ts → riskAssessment/getProcess.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/publish.operation.d.ts → riskAssessment/getScenario.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/update.operation.d.ts → riskAssessment/getScope.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/updateBusinessAssociateAgreement.operation.d.ts → riskAssessment/getScopeMermaidChart.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/updateContact.operation.d.ts → riskAssessment/getThreat.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/updateDataPrivacyAgreement.operation.d.ts → riskAssessment/linkScenarioRisk.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor/updateService.operation.d.ts → riskAssessment/linkScenarioThreat.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{vendor → thirdParty}/index.d.ts +0 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.unlinkScenarioRisk = exports.linkScenarioRisk = exports.unlinkScenarioThreat = exports.linkScenarioThreat = exports.deleteScenario = exports.updateScenario = exports.getAllScenarios = exports.getScenario = exports.createScenario = exports.deleteThreat = exports.updateThreat = exports.getAllThreats = exports.getThreat = exports.createThreat = exports.deleteProcess = exports.updateProcess = exports.getAllProcesses = exports.getProcess = exports.createProcess = exports.deleteNode = exports.updateNode = exports.getAllNodes = exports.getNode = exports.createNode = exports.getScopeMermaidChart = exports.deleteScope = exports.updateScope = exports.getAllScopes = exports.getScope = exports.createScope = exports.delete = exports.update = exports.getAll = exports.get = exports.create = exports.description = void 0;
|
|
37
|
+
const createOp = __importStar(require("./create.operation"));
|
|
38
|
+
exports.create = createOp;
|
|
39
|
+
const getOp = __importStar(require("./get.operation"));
|
|
40
|
+
exports.get = getOp;
|
|
41
|
+
const getAllOp = __importStar(require("./getAll.operation"));
|
|
42
|
+
exports.getAll = getAllOp;
|
|
43
|
+
const updateOp = __importStar(require("./update.operation"));
|
|
44
|
+
exports.update = updateOp;
|
|
45
|
+
const deleteOp = __importStar(require("./delete.operation"));
|
|
46
|
+
exports.delete = deleteOp;
|
|
47
|
+
const createScopeOp = __importStar(require("./createScope.operation"));
|
|
48
|
+
exports.createScope = createScopeOp;
|
|
49
|
+
const getScopeOp = __importStar(require("./getScope.operation"));
|
|
50
|
+
exports.getScope = getScopeOp;
|
|
51
|
+
const getAllScopesOp = __importStar(require("./getAllScopes.operation"));
|
|
52
|
+
exports.getAllScopes = getAllScopesOp;
|
|
53
|
+
const updateScopeOp = __importStar(require("./updateScope.operation"));
|
|
54
|
+
exports.updateScope = updateScopeOp;
|
|
55
|
+
const deleteScopeOp = __importStar(require("./deleteScope.operation"));
|
|
56
|
+
exports.deleteScope = deleteScopeOp;
|
|
57
|
+
const getScopeMermaidChartOp = __importStar(require("./getScopeMermaidChart.operation"));
|
|
58
|
+
exports.getScopeMermaidChart = getScopeMermaidChartOp;
|
|
59
|
+
const createNodeOp = __importStar(require("./createNode.operation"));
|
|
60
|
+
exports.createNode = createNodeOp;
|
|
61
|
+
const getNodeOp = __importStar(require("./getNode.operation"));
|
|
62
|
+
exports.getNode = getNodeOp;
|
|
63
|
+
const getAllNodesOp = __importStar(require("./getAllNodes.operation"));
|
|
64
|
+
exports.getAllNodes = getAllNodesOp;
|
|
65
|
+
const updateNodeOp = __importStar(require("./updateNode.operation"));
|
|
66
|
+
exports.updateNode = updateNodeOp;
|
|
67
|
+
const deleteNodeOp = __importStar(require("./deleteNode.operation"));
|
|
68
|
+
exports.deleteNode = deleteNodeOp;
|
|
69
|
+
const createProcessOp = __importStar(require("./createProcess.operation"));
|
|
70
|
+
exports.createProcess = createProcessOp;
|
|
71
|
+
const getProcessOp = __importStar(require("./getProcess.operation"));
|
|
72
|
+
exports.getProcess = getProcessOp;
|
|
73
|
+
const getAllProcessesOp = __importStar(require("./getAllProcesses.operation"));
|
|
74
|
+
exports.getAllProcesses = getAllProcessesOp;
|
|
75
|
+
const updateProcessOp = __importStar(require("./updateProcess.operation"));
|
|
76
|
+
exports.updateProcess = updateProcessOp;
|
|
77
|
+
const deleteProcessOp = __importStar(require("./deleteProcess.operation"));
|
|
78
|
+
exports.deleteProcess = deleteProcessOp;
|
|
79
|
+
const createThreatOp = __importStar(require("./createThreat.operation"));
|
|
80
|
+
exports.createThreat = createThreatOp;
|
|
81
|
+
const getThreatOp = __importStar(require("./getThreat.operation"));
|
|
82
|
+
exports.getThreat = getThreatOp;
|
|
83
|
+
const getAllThreatsOp = __importStar(require("./getAllThreats.operation"));
|
|
84
|
+
exports.getAllThreats = getAllThreatsOp;
|
|
85
|
+
const updateThreatOp = __importStar(require("./updateThreat.operation"));
|
|
86
|
+
exports.updateThreat = updateThreatOp;
|
|
87
|
+
const deleteThreatOp = __importStar(require("./deleteThreat.operation"));
|
|
88
|
+
exports.deleteThreat = deleteThreatOp;
|
|
89
|
+
const createScenarioOp = __importStar(require("./createScenario.operation"));
|
|
90
|
+
exports.createScenario = createScenarioOp;
|
|
91
|
+
const getScenarioOp = __importStar(require("./getScenario.operation"));
|
|
92
|
+
exports.getScenario = getScenarioOp;
|
|
93
|
+
const getAllScenariosOp = __importStar(require("./getAllScenarios.operation"));
|
|
94
|
+
exports.getAllScenarios = getAllScenariosOp;
|
|
95
|
+
const updateScenarioOp = __importStar(require("./updateScenario.operation"));
|
|
96
|
+
exports.updateScenario = updateScenarioOp;
|
|
97
|
+
const deleteScenarioOp = __importStar(require("./deleteScenario.operation"));
|
|
98
|
+
exports.deleteScenario = deleteScenarioOp;
|
|
99
|
+
const linkScenarioThreatOp = __importStar(require("./linkScenarioThreat.operation"));
|
|
100
|
+
exports.linkScenarioThreat = linkScenarioThreatOp;
|
|
101
|
+
const unlinkScenarioThreatOp = __importStar(require("./unlinkScenarioThreat.operation"));
|
|
102
|
+
exports.unlinkScenarioThreat = unlinkScenarioThreatOp;
|
|
103
|
+
const linkScenarioRiskOp = __importStar(require("./linkScenarioRisk.operation"));
|
|
104
|
+
exports.linkScenarioRisk = linkScenarioRiskOp;
|
|
105
|
+
const unlinkScenarioRiskOp = __importStar(require("./unlinkScenarioRisk.operation"));
|
|
106
|
+
exports.unlinkScenarioRisk = unlinkScenarioRiskOp;
|
|
107
|
+
exports.description = [
|
|
108
|
+
{
|
|
109
|
+
displayName: 'Operation',
|
|
110
|
+
name: 'operation',
|
|
111
|
+
type: 'options',
|
|
112
|
+
noDataExpression: true,
|
|
113
|
+
displayOptions: {
|
|
114
|
+
show: {
|
|
115
|
+
resource: ['riskAssessment'],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
options: [
|
|
119
|
+
{
|
|
120
|
+
name: 'Create',
|
|
121
|
+
value: 'create',
|
|
122
|
+
description: 'Create a risk assessment',
|
|
123
|
+
action: 'Create a risk assessment',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'Create Node',
|
|
127
|
+
value: 'createNode',
|
|
128
|
+
description: 'Create a node in a scope',
|
|
129
|
+
action: 'Create a node',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: 'Create Process',
|
|
133
|
+
value: 'createProcess',
|
|
134
|
+
description: 'Create a process in a scope',
|
|
135
|
+
action: 'Create a process',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'Create Scenario',
|
|
139
|
+
value: 'createScenario',
|
|
140
|
+
description: 'Create a scenario in a scope',
|
|
141
|
+
action: 'Create a scenario',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'Create Scope',
|
|
145
|
+
value: 'createScope',
|
|
146
|
+
description: 'Create a scope in a risk assessment',
|
|
147
|
+
action: 'Create a scope',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'Create Threat',
|
|
151
|
+
value: 'createThreat',
|
|
152
|
+
description: 'Create a threat in a scope',
|
|
153
|
+
action: 'Create a threat',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'Delete',
|
|
157
|
+
value: 'delete',
|
|
158
|
+
description: 'Delete a risk assessment',
|
|
159
|
+
action: 'Delete a risk assessment',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'Delete Node',
|
|
163
|
+
value: 'deleteNode',
|
|
164
|
+
description: 'Delete a node',
|
|
165
|
+
action: 'Delete a node',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'Delete Process',
|
|
169
|
+
value: 'deleteProcess',
|
|
170
|
+
description: 'Delete a process',
|
|
171
|
+
action: 'Delete a process',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: 'Delete Scenario',
|
|
175
|
+
value: 'deleteScenario',
|
|
176
|
+
description: 'Delete a scenario',
|
|
177
|
+
action: 'Delete a scenario',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'Delete Scope',
|
|
181
|
+
value: 'deleteScope',
|
|
182
|
+
description: 'Delete a scope',
|
|
183
|
+
action: 'Delete a scope',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'Delete Threat',
|
|
187
|
+
value: 'deleteThreat',
|
|
188
|
+
description: 'Delete a threat',
|
|
189
|
+
action: 'Delete a threat',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'Get',
|
|
193
|
+
value: 'get',
|
|
194
|
+
description: 'Get a risk assessment',
|
|
195
|
+
action: 'Get a risk assessment',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'Get Many',
|
|
199
|
+
value: 'getAll',
|
|
200
|
+
description: 'Get many risk assessments',
|
|
201
|
+
action: 'Get many risk assessments',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: 'Get Many Nodes',
|
|
205
|
+
value: 'getAllNodes',
|
|
206
|
+
action: 'Get many nodes',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'Get Many Processes',
|
|
210
|
+
value: 'getAllProcesses',
|
|
211
|
+
action: 'Get many processes',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: 'Get Many Scenarios',
|
|
215
|
+
value: 'getAllScenarios',
|
|
216
|
+
action: 'Get many scenarios',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'Get Many Scopes',
|
|
220
|
+
value: 'getAllScopes',
|
|
221
|
+
action: 'Get many scopes',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: 'Get Many Threats',
|
|
225
|
+
value: 'getAllThreats',
|
|
226
|
+
action: 'Get many threats',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: 'Get Node',
|
|
230
|
+
value: 'getNode',
|
|
231
|
+
description: 'Get a node',
|
|
232
|
+
action: 'Get a node',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: 'Get Process',
|
|
236
|
+
value: 'getProcess',
|
|
237
|
+
description: 'Get a process',
|
|
238
|
+
action: 'Get a process',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'Get Scenario',
|
|
242
|
+
value: 'getScenario',
|
|
243
|
+
description: 'Get a scenario',
|
|
244
|
+
action: 'Get a scenario',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: 'Get Scope',
|
|
248
|
+
value: 'getScope',
|
|
249
|
+
description: 'Get a scope',
|
|
250
|
+
action: 'Get a scope',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'Get Scope Mermaid Chart',
|
|
254
|
+
value: 'getScopeMermaidChart',
|
|
255
|
+
description: 'Get the Mermaid diagram for a scope',
|
|
256
|
+
action: 'Get a scope mermaid chart',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: 'Get Threat',
|
|
260
|
+
value: 'getThreat',
|
|
261
|
+
description: 'Get a threat',
|
|
262
|
+
action: 'Get a threat',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: 'Link Scenario Risk',
|
|
266
|
+
value: 'linkScenarioRisk',
|
|
267
|
+
description: 'Link a scenario to a risk',
|
|
268
|
+
action: 'Link a scenario to a risk',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'Link Scenario Threat',
|
|
272
|
+
value: 'linkScenarioThreat',
|
|
273
|
+
description: 'Link a scenario to a threat',
|
|
274
|
+
action: 'Link a scenario to a threat',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'Unlink Scenario Risk',
|
|
278
|
+
value: 'unlinkScenarioRisk',
|
|
279
|
+
description: 'Unlink a scenario from a risk',
|
|
280
|
+
action: 'Unlink a scenario from a risk',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'Unlink Scenario Threat',
|
|
284
|
+
value: 'unlinkScenarioThreat',
|
|
285
|
+
description: 'Unlink a scenario from a threat',
|
|
286
|
+
action: 'Unlink a scenario from a threat',
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'Update',
|
|
290
|
+
value: 'update',
|
|
291
|
+
description: 'Update a risk assessment',
|
|
292
|
+
action: 'Update a risk assessment',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'Update Node',
|
|
296
|
+
value: 'updateNode',
|
|
297
|
+
description: 'Update a node',
|
|
298
|
+
action: 'Update a node',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'Update Process',
|
|
302
|
+
value: 'updateProcess',
|
|
303
|
+
description: 'Update a process',
|
|
304
|
+
action: 'Update a process',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'Update Scenario',
|
|
308
|
+
value: 'updateScenario',
|
|
309
|
+
description: 'Update a scenario',
|
|
310
|
+
action: 'Update a scenario',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: 'Update Scope',
|
|
314
|
+
value: 'updateScope',
|
|
315
|
+
description: 'Update a scope',
|
|
316
|
+
action: 'Update a scope',
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: 'Update Threat',
|
|
320
|
+
value: 'updateThreat',
|
|
321
|
+
description: 'Update a threat',
|
|
322
|
+
action: 'Update a threat',
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
default: 'create',
|
|
326
|
+
},
|
|
327
|
+
...createOp.description,
|
|
328
|
+
...getOp.description,
|
|
329
|
+
...getAllOp.description,
|
|
330
|
+
...updateOp.description,
|
|
331
|
+
...deleteOp.description,
|
|
332
|
+
...createScopeOp.description,
|
|
333
|
+
...getScopeOp.description,
|
|
334
|
+
...getAllScopesOp.description,
|
|
335
|
+
...updateScopeOp.description,
|
|
336
|
+
...deleteScopeOp.description,
|
|
337
|
+
...getScopeMermaidChartOp.description,
|
|
338
|
+
...createNodeOp.description,
|
|
339
|
+
...getNodeOp.description,
|
|
340
|
+
...getAllNodesOp.description,
|
|
341
|
+
...updateNodeOp.description,
|
|
342
|
+
...deleteNodeOp.description,
|
|
343
|
+
...createProcessOp.description,
|
|
344
|
+
...getProcessOp.description,
|
|
345
|
+
...getAllProcessesOp.description,
|
|
346
|
+
...updateProcessOp.description,
|
|
347
|
+
...deleteProcessOp.description,
|
|
348
|
+
...createThreatOp.description,
|
|
349
|
+
...getThreatOp.description,
|
|
350
|
+
...getAllThreatsOp.description,
|
|
351
|
+
...updateThreatOp.description,
|
|
352
|
+
...deleteThreatOp.description,
|
|
353
|
+
...createScenarioOp.description,
|
|
354
|
+
...getScenarioOp.description,
|
|
355
|
+
...getAllScenariosOp.description,
|
|
356
|
+
...updateScenarioOp.description,
|
|
357
|
+
...deleteScenarioOp.description,
|
|
358
|
+
...linkScenarioThreatOp.description,
|
|
359
|
+
...unlinkScenarioThreatOp.description,
|
|
360
|
+
...linkScenarioRiskOp.description,
|
|
361
|
+
...unlinkScenarioRiskOp.description,
|
|
362
|
+
];
|
|
363
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/riskAssessment/index.ts"],"names":[],"mappings":";;;;;;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B,GAAG,cAAc,CAAC,WAAW;IAC7B,GAAG,gBAAgB,CAAC,WAAW;IAC/B,GAAG,aAAa,CAAC,WAAW;IAC5B,GAAG,iBAAiB,CAAC,WAAW;IAChC,GAAG,gBAAgB,CAAC,WAAW;IAC/B,GAAG,gBAAgB,CAAC,WAAW;IAC/B,GAAG,oBAAoB,CAAC,WAAW;IACnC,GAAG,sBAAsB,CAAC,WAAW;IACrC,GAAG,kBAAkB,CAAC,WAAW;IACjC,GAAG,oBAAoB,CAAC,WAAW;CACnC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Scenario ID',
|
|
9
|
+
name: 'riskAssessmentScenarioId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['riskAssessment'],
|
|
14
|
+
operation: ['linkScenarioRisk'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the scenario',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Risk ID',
|
|
23
|
+
name: 'riskId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['riskAssessment'],
|
|
28
|
+
operation: ['linkScenarioRisk'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The ID of the risk to link',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
async function execute(itemIndex) {
|
|
37
|
+
const riskAssessmentScenarioId = this.getNodeParameter('riskAssessmentScenarioId', itemIndex);
|
|
38
|
+
const riskId = this.getNodeParameter('riskId', itemIndex);
|
|
39
|
+
const query = `
|
|
40
|
+
mutation LinkRiskAssessmentScenarioRisk($input: LinkRiskAssessmentScenarioRiskInput!) {
|
|
41
|
+
linkRiskAssessmentScenarioRisk(input: $input) {
|
|
42
|
+
riskAssessmentScenario {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
50
|
+
input: { riskAssessmentScenarioId, riskId },
|
|
51
|
+
});
|
|
52
|
+
return {
|
|
53
|
+
json: responseData,
|
|
54
|
+
pairedItem: { item: itemIndex },
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=linkScenarioRisk.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkScenarioRisk.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/riskAssessment/linkScenarioRisk.operation.ts"],"names":[],"mappings":";;;AAgDA,0BA0BC;AA3DD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,EAAE,SAAS,CAAW,CAAC;IACxG,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAW,CAAC;IAEpE,MAAM,KAAK,GAAG;;;;;;;;;EASb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE;QAC5D,KAAK,EAAE,EAAE,wBAAwB,EAAE,MAAM,EAAE;KAC3C,CAAC,CAAC;IAEH,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Scenario ID',
|
|
9
|
+
name: 'riskAssessmentScenarioId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['riskAssessment'],
|
|
14
|
+
operation: ['linkScenarioThreat'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the scenario',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Threat ID',
|
|
23
|
+
name: 'threatId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['riskAssessment'],
|
|
28
|
+
operation: ['linkScenarioThreat'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The ID of the threat to link',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
async function execute(itemIndex) {
|
|
37
|
+
const riskAssessmentScenarioId = this.getNodeParameter('riskAssessmentScenarioId', itemIndex);
|
|
38
|
+
const threatId = this.getNodeParameter('threatId', itemIndex);
|
|
39
|
+
const query = `
|
|
40
|
+
mutation LinkRiskAssessmentScenarioThreat($input: LinkRiskAssessmentScenarioThreatInput!) {
|
|
41
|
+
linkRiskAssessmentScenarioThreat(input: $input) {
|
|
42
|
+
riskAssessmentScenario {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
50
|
+
input: { riskAssessmentScenarioId, threatId },
|
|
51
|
+
});
|
|
52
|
+
return {
|
|
53
|
+
json: responseData,
|
|
54
|
+
pairedItem: { item: itemIndex },
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=linkScenarioThreat.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkScenarioThreat.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/riskAssessment/linkScenarioThreat.operation.ts"],"names":[],"mappings":";;;AAgDA,0BA0BC;AA3DD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,oBAAoB,CAAC;aACjC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,oBAAoB,CAAC;aACjC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,EAAE,SAAS,CAAW,CAAC;IACxG,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,CAAW,CAAC;IAExE,MAAM,KAAK,GAAG;;;;;;;;;EASb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE;QAC5D,KAAK,EAAE,EAAE,wBAAwB,EAAE,QAAQ,EAAE;KAC7C,CAAC,CAAC;IAEH,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Scenario ID',
|
|
9
|
+
name: 'riskAssessmentScenarioId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['riskAssessment'],
|
|
14
|
+
operation: ['unlinkScenarioRisk'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the scenario',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Risk ID',
|
|
23
|
+
name: 'riskId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['riskAssessment'],
|
|
28
|
+
operation: ['unlinkScenarioRisk'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The ID of the risk to unlink',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
async function execute(itemIndex) {
|
|
37
|
+
const riskAssessmentScenarioId = this.getNodeParameter('riskAssessmentScenarioId', itemIndex);
|
|
38
|
+
const riskId = this.getNodeParameter('riskId', itemIndex);
|
|
39
|
+
const query = `
|
|
40
|
+
mutation UnlinkRiskAssessmentScenarioRisk($input: UnlinkRiskAssessmentScenarioRiskInput!) {
|
|
41
|
+
unlinkRiskAssessmentScenarioRisk(input: $input) {
|
|
42
|
+
riskAssessmentScenario {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
50
|
+
input: { riskAssessmentScenarioId, riskId },
|
|
51
|
+
});
|
|
52
|
+
return {
|
|
53
|
+
json: responseData,
|
|
54
|
+
pairedItem: { item: itemIndex },
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=unlinkScenarioRisk.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unlinkScenarioRisk.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/riskAssessment/unlinkScenarioRisk.operation.ts"],"names":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, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Scenario ID',
|
|
9
|
+
name: 'riskAssessmentScenarioId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['riskAssessment'],
|
|
14
|
+
operation: ['unlinkScenarioThreat'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the scenario',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Threat ID',
|
|
23
|
+
name: 'threatId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['riskAssessment'],
|
|
28
|
+
operation: ['unlinkScenarioThreat'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The ID of the threat to unlink',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
async function execute(itemIndex) {
|
|
37
|
+
const riskAssessmentScenarioId = this.getNodeParameter('riskAssessmentScenarioId', itemIndex);
|
|
38
|
+
const threatId = this.getNodeParameter('threatId', itemIndex);
|
|
39
|
+
const query = `
|
|
40
|
+
mutation UnlinkRiskAssessmentScenarioThreat($input: UnlinkRiskAssessmentScenarioThreatInput!) {
|
|
41
|
+
unlinkRiskAssessmentScenarioThreat(input: $input) {
|
|
42
|
+
riskAssessmentScenario {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
50
|
+
input: { riskAssessmentScenarioId, threatId },
|
|
51
|
+
});
|
|
52
|
+
return {
|
|
53
|
+
json: responseData,
|
|
54
|
+
pairedItem: { item: itemIndex },
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=unlinkScenarioThreat.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unlinkScenarioThreat.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/riskAssessment/unlinkScenarioThreat.operation.ts"],"names":[],"mappings":";;;AAgDA,0BA0BC;AA3DD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,sBAAsB,CAAC;aACnC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,sBAAsB,CAAC;aACnC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,EAAE,SAAS,CAAW,CAAC;IACxG,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,CAAW,CAAC;IAExE,MAAM,KAAK,GAAG;;;;;;;;;EASb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,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