@itentialopensource/adapter-algosec_firewall 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +170 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +15343 -0
  18. package/adapterBase.js +1787 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +4 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/AnalyzeTaskExternalController/action.json +46 -0
  28. package/entities/AnalyzeTaskExternalController/mockdatafiles/getCurrentAnalyzeTaskStatusesUsingGET-default.json +10 -0
  29. package/entities/AnalyzeTaskExternalController/schema.json +20 -0
  30. package/entities/AnalyzeTaskExternalControllerCompatible/action.json +45 -0
  31. package/entities/AnalyzeTaskExternalControllerCompatible/schema.json +20 -0
  32. package/entities/ApplicationsExternalController/action.json +145 -0
  33. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameAndDeviceGroupObjectsUsingPOST-default.json +86 -0
  34. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameAndDevicesUsingPOST-default.json +23 -0
  35. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameUsingPOST-default.json +86 -0
  36. package/entities/ApplicationsExternalController/mockdatafiles/getGroupMembersUsingPOST-default.json +23 -0
  37. package/entities/ApplicationsExternalController/schema.json +25 -0
  38. package/entities/BaselineComplianceExternalController/action.json +25 -0
  39. package/entities/BaselineComplianceExternalController/schema.json +19 -0
  40. package/entities/BrandConfigExternalController/action.json +25 -0
  41. package/entities/BrandConfigExternalController/schema.json +19 -0
  42. package/entities/CloudDbExternalController/action.json +214 -0
  43. package/entities/CloudDbExternalController/mockdatafiles/getContainerInstancesUsingGET-default.json +54 -0
  44. package/entities/CloudDbExternalController/mockdatafiles/getContainerSecurityGroupUsingGET-default.json +28 -0
  45. package/entities/CloudDbExternalController/mockdatafiles/getDevicesBySecuritySegmentUsingGET-default.json +454 -0
  46. package/entities/CloudDbExternalController/mockdatafiles/getInstancesBySecurityGroupUsingGET-default.json +41 -0
  47. package/entities/CloudDbExternalController/schema.json +28 -0
  48. package/entities/ConfigExternalController/action.json +107 -0
  49. package/entities/ConfigExternalController/schema.json +23 -0
  50. package/entities/DeviceExternalController/action.json +290 -0
  51. package/entities/DeviceExternalController/mockdatafiles/getSectionHeadersUsingGET-default.json +10 -0
  52. package/entities/DeviceExternalController/mockdatafiles/getSecurityProfileGroupsUsingGET-default.json +3 -0
  53. package/entities/DeviceExternalController/mockdatafiles/searchChildrenDevicesByParentsUsingPOST-default.json +101 -0
  54. package/entities/DeviceExternalController/mockdatafiles/searchDeviceGroupHierarchyTreeUsingPOST-default.json +486 -0
  55. package/entities/DeviceExternalController/mockdatafiles/searchLeafChildrenDevicesByParentsUsingPOST-default.json +89 -0
  56. package/entities/DeviceExternalController/mockdatafiles/searchParentsDevicesByChildrenUsingPOST-default.json +146 -0
  57. package/entities/DeviceExternalController/schema.json +32 -0
  58. package/entities/DeviceExternalControllerCompatible/action.json +86 -0
  59. package/entities/DeviceExternalControllerCompatible/mockdatafiles/getDevicesByPolicyUsingPOST-default.json +306 -0
  60. package/entities/DeviceExternalControllerCompatible/mockdatafiles/getDevicesUsingGET1-default.json +935 -0
  61. package/entities/DeviceExternalControllerCompatible/schema.json +22 -0
  62. package/entities/DeviceRelocationController/action.json +126 -0
  63. package/entities/DeviceRelocationController/schema.json +24 -0
  64. package/entities/DeviceSetupController/action.json +267 -0
  65. package/entities/DeviceSetupController/mockdatafiles/getAllDevicesDetailsUsingGET-default.json +371 -0
  66. package/entities/DeviceSetupController/mockdatafiles/getCmaManagedDevicesInPv1ModeUsingPOST-default.json +11 -0
  67. package/entities/DeviceSetupController/mockdatafiles/getCmaManagedDevicesUsingPOST-default.json +11 -0
  68. package/entities/DeviceSetupController/mockdatafiles/getFortimangerManagedDevicesUsingPOST-default.json +8 -0
  69. package/entities/DeviceSetupController/mockdatafiles/getPv1ManagedDevicesUsingPOST-default.json +5 -0
  70. package/entities/DeviceSetupController/schema.json +31 -0
  71. package/entities/DeviceZonesController/action.json +25 -0
  72. package/entities/DeviceZonesController/schema.json +19 -0
  73. package/entities/DnsLookupExternalController/action.json +25 -0
  74. package/entities/DnsLookupExternalController/schema.json +19 -0
  75. package/entities/ExternalApi/action.json +380 -0
  76. package/entities/ExternalApi/mockdatafiles/getNetworkObjectsUsingGET-default.json +52 -0
  77. package/entities/ExternalApi/mockdatafiles/getReportRisksUsingGET-default.json +47 -0
  78. package/entities/ExternalApi/mockdatafiles/getRulesColumnsUsingGET-default.json +22 -0
  79. package/entities/ExternalApi/mockdatafiles/getServiceObjectsUsingGET-default.json +18 -0
  80. package/entities/ExternalApi/schema.json +36 -0
  81. package/entities/ExternalRiskyRuleController/action.json +46 -0
  82. package/entities/ExternalRiskyRuleController/schema.json +20 -0
  83. package/entities/ExternalRiskyRuleControllerCompatible/action.json +25 -0
  84. package/entities/ExternalRiskyRuleControllerCompatible/schema.json +19 -0
  85. package/entities/FirewallDataExternalController/action.json +127 -0
  86. package/entities/FirewallDataExternalController/mockdatafiles/getAllBrothersDevicesUsingGET-default.json +4 -0
  87. package/entities/FirewallDataExternalController/mockdatafiles/getOriginalNamesUsingPOST-default.json +18 -0
  88. package/entities/FirewallDataExternalController/mockdatafiles/getTreeAndDisplayOfContainingGroupsUsingGET-default.json +6 -0
  89. package/entities/FirewallDataExternalController/schema.json +24 -0
  90. package/entities/IssuesCenterExternalController/action.json +25 -0
  91. package/entities/IssuesCenterExternalController/schema.json +19 -0
  92. package/entities/LicenseController/action.json +129 -0
  93. package/entities/LicenseController/schema.json +24 -0
  94. package/entities/LicensingExternalController/action.json +46 -0
  95. package/entities/LicensingExternalController/schema.json +20 -0
  96. package/entities/NetworkInterfacesExternalController/action.json +45 -0
  97. package/entities/NetworkInterfacesExternalController/mockdatafiles/getInterfacesUsingGET-default.json +4 -0
  98. package/entities/NetworkInterfacesExternalController/schema.json +20 -0
  99. package/entities/NetworkObjectExternalController/action.json +353 -0
  100. package/entities/NetworkObjectExternalController/mockdatafiles/findByContainerNameAndNameUsingGET-default.json +5 -0
  101. package/entities/NetworkObjectExternalController/mockdatafiles/findByNameAndContainerNameUsingGET-default.json +61 -0
  102. package/entities/NetworkObjectExternalController/mockdatafiles/findByOriginalOrCanonizedNameUsingPOST1-default.json +199 -0
  103. package/entities/NetworkObjectExternalController/mockdatafiles/findNetworkObjectsForQueryUsingPOST-default.json +208 -0
  104. package/entities/NetworkObjectExternalController/mockdatafiles/getApplicationProfilesUsingGET-default.json +4 -0
  105. package/entities/NetworkObjectExternalController/mockdatafiles/getObjectsUsingGET-default.json +101 -0
  106. package/entities/NetworkObjectExternalController/schema.json +35 -0
  107. package/entities/NetworkServicesExternalController/action.json +25 -0
  108. package/entities/NetworkServicesExternalController/schema.json +19 -0
  109. package/entities/PolicyOptimizationController/action.json +67 -0
  110. package/entities/PolicyOptimizationController/mockdatafiles/getDisabledRulesUsingGET-default.json +6041 -0
  111. package/entities/PolicyOptimizationController/mockdatafiles/getRulesWithoutCommentsUsingGET-default.json +17588 -0
  112. package/entities/PolicyOptimizationController/mockdatafiles/getRulesWithoutLoggingUsingGET-default.json +9295 -0
  113. package/entities/PolicyOptimizationController/schema.json +21 -0
  114. package/entities/ReportExternalController/action.json +87 -0
  115. package/entities/ReportExternalController/mockdatafiles/getReportIdsUsingGET-default.json +4 -0
  116. package/entities/ReportExternalController/schema.json +22 -0
  117. package/entities/RiskCheckExternalController/action.json +44 -0
  118. package/entities/RiskCheckExternalController/schema.json +20 -0
  119. package/entities/RuleExternalController/action.json +247 -0
  120. package/entities/RuleExternalController/mockdatafiles/findRuleIdByRuleNumberUsingPOST-default.json +5 -0
  121. package/entities/RuleExternalController/mockdatafiles/getAllRulesUsingGET-default.json +2482 -0
  122. package/entities/RuleExternalController/mockdatafiles/getRulesUsingPOST-default.json +2446 -0
  123. package/entities/RuleExternalController/schema.json +30 -0
  124. package/entities/RuleExternalControllerCompatible/action.json +25 -0
  125. package/entities/RuleExternalControllerCompatible/mockdatafiles/getRulesUsingGET-default.json +3 -0
  126. package/entities/RuleExternalControllerCompatible/schema.json +19 -0
  127. package/entities/RuleIdentifierExternalController/action.json +24 -0
  128. package/entities/RuleIdentifierExternalController/schema.json +19 -0
  129. package/entities/SecurityZonesExternalController/action.json +67 -0
  130. package/entities/SecurityZonesExternalController/schema.json +32 -0
  131. package/entities/SupportZipController/action.json +24 -0
  132. package/entities/SupportZipController/schema.json +19 -0
  133. package/entities/TrafficSimulationQueryExternalController/action.json +24 -0
  134. package/entities/TrafficSimulationQueryExternalController/schema.json +19 -0
  135. package/entities/TrustedTrafficDataExternalController/action.json +146 -0
  136. package/entities/TrustedTrafficDataExternalController/mockdatafiles/addTrustedTrafficDataUsingPOST-default.json +3 -0
  137. package/entities/TrustedTrafficDataExternalController/mockdatafiles/editTrustedTrafficDataUsingPUT-default.json +4 -0
  138. package/entities/TrustedTrafficDataExternalController/mockdatafiles/exportTrustedTrafficUsingGET-default.json +6 -0
  139. package/entities/TrustedTrafficDataExternalController/mockdatafiles/importTrustedTrafficFromFileUsingPOST-default.json +6 -0
  140. package/entities/TrustedTrafficDataExternalController/mockdatafiles/trustRiskRuleUsingPOST-default.json +4 -0
  141. package/entities/TrustedTrafficDataExternalController/schema.json +25 -0
  142. package/entities/UrlCategoriesController/action.json +227 -0
  143. package/entities/UrlCategoriesController/mockdatafiles/getUrlIpsUsingGET-default.json +6 -0
  144. package/entities/UrlCategoriesController/schema.json +40 -0
  145. package/entities/UsersExternalController/action.json +46 -0
  146. package/entities/UsersExternalController/schema.json +20 -0
  147. package/error.json +190 -0
  148. package/package.json +86 -0
  149. package/pronghorn.json +16879 -0
  150. package/propertiesDecorators.json +14 -0
  151. package/propertiesSchema.json +1248 -0
  152. package/refs?service=git-upload-pack +0 -0
  153. package/report/algosec_firewall_swagger.json +14731 -0
  154. package/report/creationReport.json +1325 -0
  155. package/sampleProperties.json +195 -0
  156. package/test/integration/adapterTestBasicGet.js +83 -0
  157. package/test/integration/adapterTestConnectivity.js +93 -0
  158. package/test/integration/adapterTestIntegration.js +5196 -0
  159. package/test/unit/adapterBaseTestUnit.js +949 -0
  160. package/test/unit/adapterTestUnit.js +6610 -0
  161. package/utils/adapterInfo.js +206 -0
  162. package/utils/addAuth.js +94 -0
  163. package/utils/artifactize.js +146 -0
  164. package/utils/basicGet.js +50 -0
  165. package/utils/checkMigrate.js +63 -0
  166. package/utils/entitiesToDB.js +178 -0
  167. package/utils/findPath.js +74 -0
  168. package/utils/methodDocumentor.js +225 -0
  169. package/utils/modify.js +154 -0
  170. package/utils/packModificationScript.js +35 -0
  171. package/utils/patches2bundledDeps.js +90 -0
  172. package/utils/pre-commit.sh +32 -0
  173. package/utils/removeHooks.js +20 -0
  174. package/utils/setup.js +33 -0
  175. package/utils/tbScript.js +246 -0
  176. package/utils/tbUtils.js +490 -0
  177. package/utils/testRunner.js +298 -0
  178. package/utils/troubleshootingAdapter.js +195 -0
  179. package/workflows/README.md +3 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.