@itentialopensource/adapter-zscaler 0.10.11 → 0.11.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.
Files changed (81) hide show
  1. package/.eslintrc.js +1 -0
  2. package/AUTH.md +4 -4
  3. package/BROKER.md +4 -4
  4. package/CALLS.md +597 -9
  5. package/ENHANCE.md +3 -3
  6. package/PROPERTIES.md +24 -9
  7. package/README.md +24 -23
  8. package/SUMMARY.md +2 -2
  9. package/SYSTEMINFO.md +1 -1
  10. package/TAB1.md +2 -2
  11. package/TAB2.md +10 -6
  12. package/TROUBLESHOOT.md +10 -1
  13. package/UTILITIES.md +473 -0
  14. package/adapter.js +9958 -5
  15. package/adapterBase.js +52 -16
  16. package/entities/APIAuthentication/action.json +165 -0
  17. package/entities/APIAuthentication/schema.json +26 -0
  18. package/entities/AdvancedSettings/action.json +45 -0
  19. package/entities/AdvancedSettings/schema.json +20 -0
  20. package/entities/AdvancedThreatProtectionPolicy/action.json +127 -0
  21. package/entities/AdvancedThreatProtectionPolicy/schema.json +24 -0
  22. package/entities/AuthenticationSettings/action.json +66 -0
  23. package/entities/AuthenticationSettings/schema.json +21 -0
  24. package/entities/CloudAppControlPolicy/action.json +247 -0
  25. package/entities/CloudAppControlPolicy/schema.json +41 -0
  26. package/entities/CloudApplications/action.json +46 -0
  27. package/entities/CloudApplications/schema.json +20 -0
  28. package/entities/CloudNanologStreamingServiceNSS/action.json +252 -0
  29. package/entities/CloudNanologStreamingServiceNSS/schema.json +30 -0
  30. package/entities/DNSControlPolicy/action.json +106 -0
  31. package/entities/DNSControlPolicy/schema.json +23 -0
  32. package/entities/FileTypeControlPolicy/action.json +127 -0
  33. package/entities/FileTypeControlPolicy/schema.json +24 -0
  34. package/entities/ForwardingControlPolicy/action.json +204 -0
  35. package/entities/ForwardingControlPolicy/schema.json +11 -1
  36. package/entities/IPSControlPolicy/action.json +106 -0
  37. package/entities/IPSControlPolicy/schema.json +23 -0
  38. package/entities/MalwareProtectionPolicy/action.json +168 -0
  39. package/entities/MalwareProtectionPolicy/schema.json +26 -0
  40. package/entities/OrganizationDetails/action.json +67 -0
  41. package/entities/OrganizationDetails/schema.json +21 -0
  42. package/entities/RemoteAssistanceSupport/action.json +45 -0
  43. package/entities/RemoteAssistanceSupport/schema.json +20 -0
  44. package/entities/SSLInspectionPolicy/action.json +106 -0
  45. package/entities/SSLInspectionPolicy/schema.json +23 -0
  46. package/entities/SandBoxPolicy/action.json +168 -0
  47. package/entities/SandBoxPolicy/schema.json +26 -0
  48. package/entities/URLFilteringPolicy/action.json +148 -0
  49. package/entities/URLFilteringPolicy/schema.json +25 -0
  50. package/entities/URLFilteringandCloudAppControlSettings/action.json +45 -0
  51. package/entities/URLFilteringandCloudAppControlSettings/schema.json +20 -0
  52. package/package.json +24 -28
  53. package/pronghorn.json +4347 -13
  54. package/propertiesSchema.json +68 -7
  55. package/report/adapterInfo.json +8 -8
  56. package/report/auto-adapter-openapi.json +55355 -0
  57. package/report/updateReport1748556249696.json +120 -0
  58. package/sampleProperties.json +5 -1
  59. package/test/integration/adapterTestBasicGet.js +88 -54
  60. package/test/integration/adapterTestConnectivity.js +15 -16
  61. package/test/integration/adapterTestIntegration.js +2481 -38
  62. package/test/unit/adapterBaseTestUnit.js +641 -39
  63. package/test/unit/adapterTestUnit.js +2400 -54
  64. package/utils/adapterInfo.js +114 -164
  65. package/utils/argParser.js +44 -0
  66. package/utils/checkMigrate.js +77 -38
  67. package/utils/entitiesToDB.js +53 -42
  68. package/utils/logger.js +26 -0
  69. package/utils/modify.js +56 -55
  70. package/utils/mongoDbConnection.js +79 -0
  71. package/utils/mongoUtils.js +162 -0
  72. package/utils/taskMover.js +31 -32
  73. package/utils/tbScript.js +36 -172
  74. package/utils/tbUtils.js +84 -226
  75. package/utils/troubleshootingAdapter.js +68 -84
  76. package/utils/updateAdapterConfig.js +158 -0
  77. package/utils/addAuth.js +0 -94
  78. package/utils/artifactize.js +0 -146
  79. package/utils/basicGet.js +0 -50
  80. package/utils/packModificationScript.js +0 -35
  81. package/utils/patches2bundledDeps.js +0 -90
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getFirewallDnsRules",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/firewallDnsRules?{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": "postFirewallDnsRules",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/firewallDnsRules?{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": "getFirewallDnsRulesRuleId",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/firewallDnsRules/{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": "putFirewallDnsRulesRuleId",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/firewallDnsRules/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "deleteFirewallDnsRulesRuleId",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/firewallDnsRules/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getFirewallDnsRules",
12
+ "enum": [
13
+ "getFirewallDnsRules",
14
+ "postFirewallDnsRules",
15
+ "getFirewallDnsRulesRuleId",
16
+ "putFirewallDnsRulesRuleId",
17
+ "deleteFirewallDnsRulesRuleId"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getfileTypeRules",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/fileTypeRules?{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": "postFileTypeRules",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/fileTypeRules?{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": "getLite",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/fileTypeRules/lite?{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": "getFileTypeRulesRuleId",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/fileTypeRules/{pathv1}?{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": "putFileTypeRulesRuleId",
88
+ "protocol": "REST",
89
+ "method": "PUT",
90
+ "entitypath": "{base_path}/{version}/fileTypeRules/{pathv1}?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "deleteFileTypeRulesRuleId",
108
+ "protocol": "REST",
109
+ "method": "DELETE",
110
+ "entitypath": "{base_path}/{version}/fileTypeRules/{pathv1}?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ }
126
+ ]
127
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getfileTypeRules",
12
+ "enum": [
13
+ "getfileTypeRules",
14
+ "postFileTypeRules",
15
+ "getLite",
16
+ "getFileTypeRulesRuleId",
17
+ "putFileTypeRulesRuleId",
18
+ "deleteFileTypeRulesRuleId"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -203,6 +203,210 @@
203
203
  "mockFile": ""
204
204
  }
205
205
  ]
206
+ },
207
+ {
208
+ "name": "postForwardingRules",
209
+ "protocol": "REST",
210
+ "method": "POST",
211
+ "entitypath": "{base_path}/{version}/forwardingRules?{query}",
212
+ "requestSchema": "schema.json",
213
+ "responseSchema": "schema.json",
214
+ "timeout": 0,
215
+ "sendEmpty": false,
216
+ "requestDatatype": "JSON",
217
+ "responseDatatype": "JSON",
218
+ "headers": {},
219
+ "responseObjects": [
220
+ {
221
+ "type": "default",
222
+ "key": "",
223
+ "mockFile": ""
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "getForwardingRulesRuleId",
229
+ "protocol": "REST",
230
+ "method": "GET",
231
+ "entitypath": "{base_path}/{version}/forwardingRules/{pathv1}?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "sendGetBody": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": ""
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "putForwardingRulesRuleId",
250
+ "protocol": "REST",
251
+ "method": "PUT",
252
+ "entitypath": "{base_path}/{version}/forwardingRules/{pathv1}?{query}",
253
+ "requestSchema": "schema.json",
254
+ "responseSchema": "schema.json",
255
+ "timeout": 0,
256
+ "sendEmpty": false,
257
+ "requestDatatype": "JSON",
258
+ "responseDatatype": "JSON",
259
+ "headers": {},
260
+ "responseObjects": [
261
+ {
262
+ "type": "default",
263
+ "key": "",
264
+ "mockFile": ""
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "name": "deleteForwardingRulesRuleId",
270
+ "protocol": "REST",
271
+ "method": "DELETE",
272
+ "entitypath": "{base_path}/{version}/forwardingRules/{pathv1}?{query}",
273
+ "requestSchema": "schema.json",
274
+ "responseSchema": "schema.json",
275
+ "timeout": 0,
276
+ "sendEmpty": false,
277
+ "requestDatatype": "JSON",
278
+ "responseDatatype": "JSON",
279
+ "headers": {},
280
+ "responseObjects": [
281
+ {
282
+ "type": "default",
283
+ "key": "",
284
+ "mockFile": ""
285
+ }
286
+ ]
287
+ },
288
+ {
289
+ "name": "postZpaGateways",
290
+ "protocol": "REST",
291
+ "method": "POST",
292
+ "entitypath": "{base_path}/{version}/zpaGateways?{query}",
293
+ "requestSchema": "schema.json",
294
+ "responseSchema": "schema.json",
295
+ "timeout": 0,
296
+ "sendEmpty": false,
297
+ "requestDatatype": "JSON",
298
+ "responseDatatype": "JSON",
299
+ "headers": {},
300
+ "responseObjects": [
301
+ {
302
+ "type": "default",
303
+ "key": "",
304
+ "mockFile": ""
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "name": "getZpaGatewaysGatewayId",
310
+ "protocol": "REST",
311
+ "method": "GET",
312
+ "entitypath": "{base_path}/{version}/zpaGateways/{pathv1}?{query}",
313
+ "requestSchema": "schema.json",
314
+ "responseSchema": "schema.json",
315
+ "timeout": 0,
316
+ "sendEmpty": false,
317
+ "sendGetBody": false,
318
+ "requestDatatype": "JSON",
319
+ "responseDatatype": "JSON",
320
+ "headers": {},
321
+ "responseObjects": [
322
+ {
323
+ "type": "default",
324
+ "key": "",
325
+ "mockFile": ""
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "name": "putZpaGatewaysGatewayId",
331
+ "protocol": "REST",
332
+ "method": "PUT",
333
+ "entitypath": "{base_path}/{version}/zpaGateways/{pathv1}?{query}",
334
+ "requestSchema": "schema.json",
335
+ "responseSchema": "schema.json",
336
+ "timeout": 0,
337
+ "sendEmpty": false,
338
+ "requestDatatype": "JSON",
339
+ "responseDatatype": "JSON",
340
+ "headers": {},
341
+ "responseObjects": [
342
+ {
343
+ "type": "default",
344
+ "key": "",
345
+ "mockFile": ""
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "name": "deleteZpaGatewaysGatewayId",
351
+ "protocol": "REST",
352
+ "method": "DELETE",
353
+ "entitypath": "{base_path}/{version}/zpaGateways/{pathv1}?{query}",
354
+ "requestSchema": "schema.json",
355
+ "responseSchema": "schema.json",
356
+ "timeout": 0,
357
+ "sendEmpty": false,
358
+ "requestDatatype": "JSON",
359
+ "responseDatatype": "JSON",
360
+ "headers": {},
361
+ "responseObjects": [
362
+ {
363
+ "type": "default",
364
+ "key": "",
365
+ "mockFile": ""
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ "name": "getProxyGateways",
371
+ "protocol": "REST",
372
+ "method": "GET",
373
+ "entitypath": "{base_path}/{version}/proxyGateways?{query}",
374
+ "requestSchema": "schema.json",
375
+ "responseSchema": "schema.json",
376
+ "timeout": 0,
377
+ "sendEmpty": false,
378
+ "sendGetBody": false,
379
+ "requestDatatype": "JSON",
380
+ "responseDatatype": "JSON",
381
+ "headers": {},
382
+ "responseObjects": [
383
+ {
384
+ "type": "default",
385
+ "key": "",
386
+ "mockFile": ""
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "name": "getProxyGatewaysLite",
392
+ "protocol": "REST",
393
+ "method": "GET",
394
+ "entitypath": "{base_path}/{version}/proxyGateways/lite?{query}",
395
+ "requestSchema": "schema.json",
396
+ "responseSchema": "schema.json",
397
+ "timeout": 0,
398
+ "sendEmpty": false,
399
+ "sendGetBody": false,
400
+ "requestDatatype": "JSON",
401
+ "responseDatatype": "JSON",
402
+ "headers": {},
403
+ "responseObjects": [
404
+ {
405
+ "type": "default",
406
+ "key": "",
407
+ "mockFile": ""
408
+ }
409
+ ]
206
410
  }
207
411
  ]
208
412
  }
@@ -19,7 +19,17 @@
19
19
  "addZpaGateway",
20
20
  "getZpaGatewayById",
21
21
  "editZpaGateway",
22
- "deleteZpaGateway"
22
+ "deleteZpaGateway",
23
+ "postForwardingRules",
24
+ "getForwardingRulesRuleId",
25
+ "putForwardingRulesRuleId",
26
+ "deleteForwardingRulesRuleId",
27
+ "postZpaGateways",
28
+ "getZpaGatewaysGatewayId",
29
+ "putZpaGatewaysGatewayId",
30
+ "deleteZpaGatewaysGatewayId",
31
+ "getProxyGateways",
32
+ "getProxyGatewaysLite"
23
33
  ],
24
34
  "external_name": "ph_request_type"
25
35
  }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getFirewallIpsRules",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/firewallIpsRules?{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": "postFirewallIpsRules",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/firewallIpsRules?{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": "getFirewallIpsRulesRuleId",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/firewallIpsRules/{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": "putFirewallIpsRulesRuleId",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/firewallIpsRules/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "deleteFirewallIpsRulesRuleId",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/firewallIpsRules/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getFirewallIpsRules",
12
+ "enum": [
13
+ "getFirewallIpsRules",
14
+ "postFirewallIpsRules",
15
+ "getFirewallIpsRulesRuleId",
16
+ "putFirewallIpsRulesRuleId",
17
+ "deleteFirewallIpsRulesRuleId"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }