@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
@@ -0,0 +1,380 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listConfigUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/seikan/adminConfig?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "setConfigUsingPOST",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/seikan/adminConfig?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "getConfigUsingGET1",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/seikan/adminConfig/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "getBrandMappingUsingGET",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/seikan/brandConfig/mapping?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "getRulesColumnsUsingGET",
88
+ "protocol": "REST",
89
+ "method": "GET",
90
+ "entitypath": "{base_path}/{version}/seikan/brandConfig/{pathv1}/rulesColumns?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "sendGetBody": false,
96
+ "requestDatatype": "JSON",
97
+ "responseDatatype": "JSON",
98
+ "headers": {},
99
+ "responseObjects": [
100
+ {
101
+ "type": "default",
102
+ "key": "",
103
+ "mockFile": "mockdatafiles/getRulesColumnsUsingGET-default.json"
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "name": "getChangesOverTimeChartUsingGET",
109
+ "protocol": "REST",
110
+ "method": "GET",
111
+ "entitypath": "{base_path}/{version}/seikan/journal/changesOverTimeChart/{pathv1}/{pathv2}?{query}",
112
+ "requestSchema": "schema.json",
113
+ "responseSchema": "schema.json",
114
+ "timeout": 0,
115
+ "sendEmpty": false,
116
+ "sendGetBody": false,
117
+ "requestDatatype": "JSON",
118
+ "responseDatatype": "JSON",
119
+ "headers": {},
120
+ "responseObjects": [
121
+ {
122
+ "type": "default",
123
+ "key": "",
124
+ "mockFile": ""
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "name": "getChangesOverTimeChartUsingGET1",
130
+ "protocol": "REST",
131
+ "method": "GET",
132
+ "entitypath": "{base_path}/{version}/seikan/journal/changesOverTimeReportChart/{pathv1}?{query}",
133
+ "requestSchema": "schema.json",
134
+ "responseSchema": "schema.json",
135
+ "timeout": 0,
136
+ "sendEmpty": false,
137
+ "sendGetBody": false,
138
+ "requestDatatype": "JSON",
139
+ "responseDatatype": "JSON",
140
+ "headers": {},
141
+ "responseObjects": [
142
+ {
143
+ "type": "default",
144
+ "key": "",
145
+ "mockFile": ""
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "name": "getAllChangesReportUsingGET",
151
+ "protocol": "REST",
152
+ "method": "GET",
153
+ "entitypath": "{base_path}/{version}/seikan/journal/report/{pathv1}?{query}",
154
+ "requestSchema": "schema.json",
155
+ "responseSchema": "schema.json",
156
+ "timeout": 0,
157
+ "sendEmpty": false,
158
+ "sendGetBody": false,
159
+ "requestDatatype": "JSON",
160
+ "responseDatatype": "JSON",
161
+ "headers": {},
162
+ "responseObjects": [
163
+ {
164
+ "type": "default",
165
+ "key": "",
166
+ "mockFile": ""
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "name": "getAllChangesIntervalUsingGET",
172
+ "protocol": "REST",
173
+ "method": "GET",
174
+ "entitypath": "{base_path}/{version}/seikan/journal/{pathv1}/interval/{pathv2}/{pathv3}?{query}",
175
+ "requestSchema": "schema.json",
176
+ "responseSchema": "schema.json",
177
+ "timeout": 0,
178
+ "sendEmpty": false,
179
+ "sendGetBody": false,
180
+ "requestDatatype": "JSON",
181
+ "responseDatatype": "JSON",
182
+ "headers": {},
183
+ "responseObjects": [
184
+ {
185
+ "type": "default",
186
+ "key": "",
187
+ "mockFile": ""
188
+ }
189
+ ]
190
+ },
191
+ {
192
+ "name": "getMachineSetupUsingGET",
193
+ "protocol": "REST",
194
+ "method": "GET",
195
+ "entitypath": "{base_path}/{version}/seikan/login/setup?{query}",
196
+ "requestSchema": "schema.json",
197
+ "responseSchema": "schema.json",
198
+ "timeout": 0,
199
+ "sendEmpty": false,
200
+ "sendGetBody": false,
201
+ "requestDatatype": "JSON",
202
+ "responseDatatype": "JSON",
203
+ "headers": {},
204
+ "responseObjects": [
205
+ {
206
+ "type": "default",
207
+ "key": "",
208
+ "mockFile": ""
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "name": "getAllApplicationsUsingGET",
214
+ "protocol": "REST",
215
+ "method": "GET",
216
+ "entitypath": "{base_path}/{version}/seikan/objects/applications?{query}",
217
+ "requestSchema": "schema.json",
218
+ "responseSchema": "schema.json",
219
+ "timeout": 0,
220
+ "sendEmpty": false,
221
+ "sendGetBody": false,
222
+ "requestDatatype": "JSON",
223
+ "responseDatatype": "JSON",
224
+ "headers": {},
225
+ "responseObjects": [
226
+ {
227
+ "type": "default",
228
+ "key": "",
229
+ "mockFile": ""
230
+ }
231
+ ]
232
+ },
233
+ {
234
+ "name": "getNetworkObjectsUsingGET",
235
+ "protocol": "REST",
236
+ "method": "GET",
237
+ "entitypath": "{base_path}/{version}/seikan/objects/{pathv1}/networkObjects?{query}",
238
+ "requestSchema": "schema.json",
239
+ "responseSchema": "schema.json",
240
+ "timeout": 0,
241
+ "sendEmpty": false,
242
+ "sendGetBody": false,
243
+ "requestDatatype": "JSON",
244
+ "responseDatatype": "JSON",
245
+ "headers": {},
246
+ "responseObjects": [
247
+ {
248
+ "type": "default",
249
+ "key": "",
250
+ "mockFile": "mockdatafiles/getNetworkObjectsUsingGET-default.json"
251
+ }
252
+ ]
253
+ },
254
+ {
255
+ "name": "getServiceObjectsUsingGET",
256
+ "protocol": "REST",
257
+ "method": "GET",
258
+ "entitypath": "{base_path}/{version}/seikan/objects/{pathv1}/serviceObjects?{query}",
259
+ "requestSchema": "schema.json",
260
+ "responseSchema": "schema.json",
261
+ "timeout": 0,
262
+ "sendEmpty": false,
263
+ "sendGetBody": false,
264
+ "requestDatatype": "JSON",
265
+ "responseDatatype": "JSON",
266
+ "headers": {},
267
+ "responseObjects": [
268
+ {
269
+ "type": "default",
270
+ "key": "",
271
+ "mockFile": "mockdatafiles/getServiceObjectsUsingGET-default.json"
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "name": "getSecurityRatingOverTimeUsingGET",
277
+ "protocol": "REST",
278
+ "method": "GET",
279
+ "entitypath": "{base_path}/{version}/seikan/report/securityRatingOverTime/{pathv1}?{query}",
280
+ "requestSchema": "schema.json",
281
+ "responseSchema": "schema.json",
282
+ "timeout": 0,
283
+ "sendEmpty": false,
284
+ "sendGetBody": false,
285
+ "requestDatatype": "JSON",
286
+ "responseDatatype": "JSON",
287
+ "headers": {},
288
+ "responseObjects": [
289
+ {
290
+ "type": "default",
291
+ "key": "",
292
+ "mockFile": ""
293
+ }
294
+ ]
295
+ },
296
+ {
297
+ "name": "downloadUsingGET",
298
+ "protocol": "REST",
299
+ "method": "GET",
300
+ "entitypath": "{base_path}/{version}/seikan/report/{pathv1}/download?{query}",
301
+ "requestSchema": "schema.json",
302
+ "responseSchema": "schema.json",
303
+ "timeout": 0,
304
+ "sendEmpty": false,
305
+ "sendGetBody": false,
306
+ "requestDatatype": "JSON",
307
+ "responseDatatype": "JSON",
308
+ "headers": {},
309
+ "responseObjects": [
310
+ {
311
+ "type": "default",
312
+ "key": "",
313
+ "mockFile": ""
314
+ }
315
+ ]
316
+ },
317
+ {
318
+ "name": "exportPdfUsingPOST",
319
+ "protocol": "REST",
320
+ "method": "POST",
321
+ "entitypath": "{base_path}/{version}/seikan/report/{pathv1}/export/pdf?{query}",
322
+ "requestSchema": "schema.json",
323
+ "responseSchema": "schema.json",
324
+ "timeout": 0,
325
+ "sendEmpty": false,
326
+ "requestDatatype": "JSON",
327
+ "responseDatatype": "JSON",
328
+ "headers": {},
329
+ "responseObjects": [
330
+ {
331
+ "type": "default",
332
+ "key": "",
333
+ "mockFile": ""
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "name": "getReportRisksUsingGET",
339
+ "protocol": "REST",
340
+ "method": "GET",
341
+ "entitypath": "{base_path}/{version}/seikan/report/{pathv1}/risks_list?{query}",
342
+ "requestSchema": "schema.json",
343
+ "responseSchema": "schema.json",
344
+ "timeout": 0,
345
+ "sendEmpty": false,
346
+ "sendGetBody": false,
347
+ "requestDatatype": "JSON",
348
+ "responseDatatype": "JSON",
349
+ "headers": {},
350
+ "responseObjects": [
351
+ {
352
+ "type": "default",
353
+ "key": "",
354
+ "mockFile": "mockdatafiles/getReportRisksUsingGET-default.json"
355
+ }
356
+ ]
357
+ },
358
+ {
359
+ "name": "statisticsUsingGET",
360
+ "protocol": "REST",
361
+ "method": "GET",
362
+ "entitypath": "{base_path}/{version}/seikan/report/{pathv1}/statistics?{query}",
363
+ "requestSchema": "schema.json",
364
+ "responseSchema": "schema.json",
365
+ "timeout": 0,
366
+ "sendEmpty": false,
367
+ "sendGetBody": false,
368
+ "requestDatatype": "JSON",
369
+ "responseDatatype": "JSON",
370
+ "headers": {},
371
+ "responseObjects": [
372
+ {
373
+ "type": "default",
374
+ "key": "",
375
+ "mockFile": ""
376
+ }
377
+ ]
378
+ }
379
+ ]
380
+ }
@@ -0,0 +1,52 @@
1
+ [
2
+ {
3
+ "canonizedName": "string",
4
+ "ipType": "mixed",
5
+ "ipaddresses": [
6
+ "string",
7
+ "string"
8
+ ],
9
+ "members": [
10
+ "string",
11
+ "string",
12
+ "string",
13
+ "string",
14
+ "string"
15
+ ],
16
+ "name": "string",
17
+ "objectInternalType": "Cisco_Inline",
18
+ "originalName": "string"
19
+ },
20
+ {
21
+ "canonizedName": "string",
22
+ "ipType": "Null",
23
+ "ipaddresses": [
24
+ "string"
25
+ ],
26
+ "members": [
27
+ "string",
28
+ "string",
29
+ "string",
30
+ "string",
31
+ "string",
32
+ "string"
33
+ ],
34
+ "name": "string",
35
+ "objectInternalType": "predefined",
36
+ "originalName": "string"
37
+ },
38
+ {
39
+ "canonizedName": "string",
40
+ "ipType": "mixed",
41
+ "ipaddresses": [
42
+ "string",
43
+ "string"
44
+ ],
45
+ "members": [
46
+ "string"
47
+ ],
48
+ "name": "string",
49
+ "objectInternalType": "predefined",
50
+ "originalName": "string"
51
+ }
52
+ ]
@@ -0,0 +1,47 @@
1
+ [
2
+ {
3
+ "device": "string",
4
+ "newRiskInReport": false,
5
+ "riskDefinition": {
6
+ "assessment": "string",
7
+ "code": "string",
8
+ "description": "string",
9
+ "name": "string",
10
+ "remedy": "string",
11
+ "severity": "Low",
12
+ "title": "string"
13
+ },
14
+ "title": "string",
15
+ "total": 8
16
+ },
17
+ {
18
+ "device": "string",
19
+ "newRiskInReport": true,
20
+ "riskDefinition": {
21
+ "assessment": "string",
22
+ "code": "string",
23
+ "description": "string",
24
+ "name": "string",
25
+ "remedy": "string",
26
+ "severity": "High",
27
+ "title": "string"
28
+ },
29
+ "title": "string",
30
+ "total": 1
31
+ },
32
+ {
33
+ "device": "string",
34
+ "newRiskInReport": true,
35
+ "riskDefinition": {
36
+ "assessment": "string",
37
+ "code": "string",
38
+ "description": "string",
39
+ "name": "string",
40
+ "remedy": "string",
41
+ "severity": "Low",
42
+ "title": "string"
43
+ },
44
+ "title": "string",
45
+ "total": 8
46
+ }
47
+ ]
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "displayName": "string",
4
+ "linkToDef": false,
5
+ "name": "string"
6
+ },
7
+ {
8
+ "displayName": "string",
9
+ "linkToDef": false,
10
+ "name": "string"
11
+ },
12
+ {
13
+ "displayName": "string",
14
+ "linkToDef": true,
15
+ "name": "string"
16
+ },
17
+ {
18
+ "displayName": "string",
19
+ "linkToDef": true,
20
+ "name": "string"
21
+ }
22
+ ]
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "canonizedName": "string",
4
+ "objectContainerBrand": "string",
5
+ "objectContainerName": "string",
6
+ "objectInternalType": "Dynamic",
7
+ "originalName": "string",
8
+ "serviceDefinitions": "string"
9
+ },
10
+ {
11
+ "canonizedName": "string",
12
+ "objectContainerBrand": "string",
13
+ "objectContainerName": "string",
14
+ "objectInternalType": "Cisco_Inline",
15
+ "originalName": "string",
16
+ "serviceDefinitions": "string"
17
+ }
18
+ ]
@@ -0,0 +1,36 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "listConfigUsingGET",
12
+ "enum": [
13
+ "listConfigUsingGET",
14
+ "setConfigUsingPOST",
15
+ "getConfigUsingGET1",
16
+ "getBrandMappingUsingGET",
17
+ "getRulesColumnsUsingGET",
18
+ "getChangesOverTimeChartUsingGET",
19
+ "getChangesOverTimeChartUsingGET1",
20
+ "getAllChangesReportUsingGET",
21
+ "getAllChangesIntervalUsingGET",
22
+ "getMachineSetupUsingGET",
23
+ "getAllApplicationsUsingGET",
24
+ "getNetworkObjectsUsingGET",
25
+ "getServiceObjectsUsingGET",
26
+ "getSecurityRatingOverTimeUsingGET",
27
+ "downloadUsingGET",
28
+ "exportPdfUsingPOST",
29
+ "getReportRisksUsingGET",
30
+ "statisticsUsingGET"
31
+ ],
32
+ "external_name": "ph_request_type"
33
+ }
34
+ },
35
+ "definitions": {}
36
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRiskyRulesByReportUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/riskyRules/getByReport?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getLatestRiskyRulesByDeviceUsingGET",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/riskyRules/getLatestByDevice?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getRiskyRulesByReportUsingGET",
12
+ "enum": [
13
+ "getRiskyRulesByReportUsingGET",
14
+ "getLatestRiskyRulesByDeviceUsingGET"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRiskyRulesUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/risks/riskyRules?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getRiskyRulesUsingGET",
12
+ "enum": [
13
+ "getRiskyRulesUsingGET"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }