@itentialopensource/adapter-zscaler 0.8.2 → 0.9.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 (125) hide show
  1. package/CALLS.md +1116 -0
  2. package/CHANGELOG.md +16 -0
  3. package/TAB1.md +5 -0
  4. package/TAB2.md +1732 -0
  5. package/adapter.js +17190 -0
  6. package/entities/AdminRoleManagement/action.json +126 -0
  7. package/entities/AdminRoleManagement/schema.json +24 -0
  8. package/entities/AppViews/action.json +46 -0
  9. package/entities/AppViews/mockdatafiles/getViewApps-default.json +40 -0
  10. package/entities/AppViews/mockdatafiles/getViews-default.json +16 -0
  11. package/entities/AppViews/schema.json +20 -0
  12. package/entities/Applications/action.json +66 -0
  13. package/entities/Applications/mockdatafiles/appsSearchGET-default.json +186 -0
  14. package/entities/Applications/schema.json +21 -0
  15. package/entities/BrowserIsolation/action.json +25 -0
  16. package/entities/BrowserIsolation/mockdatafiles/getCloudBrowserIsolationProfiles-default.json +20 -0
  17. package/entities/BrowserIsolation/schema.json +19 -0
  18. package/entities/DataLossPrevention/action.json +767 -0
  19. package/entities/DataLossPrevention/mockdatafiles/getDLPDictionarySummary-default.json +808 -0
  20. package/entities/DataLossPrevention/mockdatafiles/getDLPEngines-default.json +26 -0
  21. package/entities/DataLossPrevention/mockdatafiles/getDLPEnginesSummary-default.json +18 -0
  22. package/entities/DataLossPrevention/mockdatafiles/getDlpDictionaries-default.json +402 -0
  23. package/entities/DataLossPrevention/mockdatafiles/getICAPServerSummary-default.json +14 -0
  24. package/entities/DataLossPrevention/mockdatafiles/getICAPServers-default.json +20 -0
  25. package/entities/DataLossPrevention/mockdatafiles/getIncidentReceiverServerSummary-default.json +30 -0
  26. package/entities/DataLossPrevention/mockdatafiles/getIncidentReceiverServers-default.json +30 -0
  27. package/entities/DataLossPrevention/mockdatafiles/getPredefinedHierarchicalIdentifiersByDictionaryId-default.json +4 -0
  28. package/entities/DataLossPrevention/mockdatafiles/getProfiles-default.json +94 -0
  29. package/entities/DataLossPrevention/mockdatafiles/getRules-default.json +5556 -0
  30. package/entities/DataLossPrevention/mockdatafiles/getSchemaLite-default.json +52 -0
  31. package/entities/DataLossPrevention/mockdatafiles/getSchemas-default.json +379 -0
  32. package/entities/DataLossPrevention/mockdatafiles/getSummary-default.json +56 -0
  33. package/entities/DataLossPrevention/mockdatafiles/getWebDlpRulesLite-default.json +5758 -0
  34. package/entities/DataLossPrevention/mockdatafiles/gettemplates-default.json +34 -0
  35. package/entities/DataLossPrevention/schema.json +55 -0
  36. package/entities/DeviceGroups/action.json +67 -0
  37. package/entities/DeviceGroups/mockdatafiles/getDeviceGroups-default.json +20 -0
  38. package/entities/DeviceGroups/mockdatafiles/getDevices-default.json +26 -0
  39. package/entities/DeviceGroups/mockdatafiles/getDevicesLite-default.json +38 -0
  40. package/entities/DeviceGroups/schema.json +21 -0
  41. package/entities/EventLogs/action.json +86 -0
  42. package/entities/EventLogs/schema.json +22 -0
  43. package/entities/FirewallPolicies/action.json +889 -0
  44. package/entities/FirewallPolicies/mockdatafiles/getDestinationIpGroups-default.json +130 -0
  45. package/entities/FirewallPolicies/mockdatafiles/getDestinationIpGroupsLite-default.json +94 -0
  46. package/entities/FirewallPolicies/mockdatafiles/getDestinationIpv6Groups-default.json +111 -0
  47. package/entities/FirewallPolicies/mockdatafiles/getDestinationIpv6GroupsLite-default.json +20 -0
  48. package/entities/FirewallPolicies/mockdatafiles/getFirewallFilteringRules-default.json +3884 -0
  49. package/entities/FirewallPolicies/mockdatafiles/getNetowrkApplicationGroups-default.json +21 -0
  50. package/entities/FirewallPolicies/mockdatafiles/getNetowrkApplicationGroupsLite-default.json +49 -0
  51. package/entities/FirewallPolicies/mockdatafiles/getNetworkApplications-default.json +20 -0
  52. package/entities/FirewallPolicies/mockdatafiles/getNetworkServiceGroups-default.json +657 -0
  53. package/entities/FirewallPolicies/mockdatafiles/getNetworkServiceGroupsLite-default.json +361 -0
  54. package/entities/FirewallPolicies/mockdatafiles/getNetworkServices-default.json +206 -0
  55. package/entities/FirewallPolicies/mockdatafiles/getNetworkServicesLite-default.json +322 -0
  56. package/entities/FirewallPolicies/mockdatafiles/getSourceIpGroups-default.json +57 -0
  57. package/entities/FirewallPolicies/mockdatafiles/getSourceIpGroupsLite-default.json +17 -0
  58. package/entities/FirewallPolicies/mockdatafiles/getSourceIpv6Groups-default.json +54 -0
  59. package/entities/FirewallPolicies/mockdatafiles/getSourceIpv6GroupsLite-default.json +15 -0
  60. package/entities/FirewallPolicies/mockdatafiles/getTimeWindowSummary-default.json +42 -0
  61. package/entities/FirewallPolicies/mockdatafiles/getTimeWindows-default.json +32 -0
  62. package/entities/FirewallPolicies/schema.json +61 -0
  63. package/entities/ForwardingControlPolicy/action.json +208 -0
  64. package/entities/ForwardingControlPolicy/mockdatafiles/getForwardingRules-default.json +2183 -0
  65. package/entities/ForwardingControlPolicy/mockdatafiles/getZpaGateways-default.json +60 -0
  66. package/entities/ForwardingControlPolicy/schema.json +28 -0
  67. package/entities/IntermediateCACertificates/action.json +455 -0
  68. package/entities/IntermediateCACertificates/mockdatafiles/getCertificatesInReadyToUseState-default.json +70 -0
  69. package/entities/IntermediateCACertificates/mockdatafiles/getIntermediateCaCertificates-default.json +19 -0
  70. package/entities/IntermediateCACertificates/mockdatafiles/getIntermediateCaCertificatesLite-default.json +53 -0
  71. package/entities/IntermediateCACertificates/schema.json +40 -0
  72. package/entities/IoTReport/action.json +88 -0
  73. package/entities/IoTReport/mockdatafiles/getCategories-default.json +22 -0
  74. package/entities/IoTReport/mockdatafiles/getClassifications-default.json +12 -0
  75. package/entities/IoTReport/mockdatafiles/getDeviceTypes-default.json +7 -0
  76. package/entities/IoTReport/schema.json +22 -0
  77. package/entities/LocationManagement/action.json +130 -0
  78. package/entities/LocationManagement/mockdatafiles/getGroups-default.json +372 -0
  79. package/entities/LocationManagement/mockdatafiles/getGroups__v1-default.json +372 -0
  80. package/entities/LocationManagement/mockdatafiles/getGroups__v2-default.json +372 -0
  81. package/entities/LocationManagement/mockdatafiles/getSubLocations-default.json +465 -0
  82. package/entities/LocationManagement/mockdatafiles/getTopLocations-default.json +191 -0
  83. package/entities/LocationManagement/schema.json +24 -0
  84. package/entities/RuleLabels/action.json +106 -0
  85. package/entities/RuleLabels/mockdatafiles/getRuleLabels-default.json +59 -0
  86. package/entities/RuleLabels/schema.json +23 -0
  87. package/entities/SandboxSettings/action.json +66 -0
  88. package/entities/SandboxSettings/schema.json +21 -0
  89. package/entities/SandboxSubmissionAPI/action.json +44 -0
  90. package/entities/SandboxSubmissionAPI/schema.json +20 -0
  91. package/entities/ShadowITReport/action.json +106 -0
  92. package/entities/ShadowITReport/mockdatafiles/getAllCustomTags-default.json +10 -0
  93. package/entities/ShadowITReport/mockdatafiles/getCloudApplicationsLite-default.json +10 -0
  94. package/entities/ShadowITReport/schema.json +23 -0
  95. package/entities/TrafficForwarding/action.json +459 -0
  96. package/entities/TrafficForwarding/mockdatafiles/getAllGreTunnels-default.json +70 -0
  97. package/entities/TrafficForwarding/mockdatafiles/getAllStaticIPs-default.json +90 -0
  98. package/entities/TrafficForwarding/mockdatafiles/getDns64Prefixes-default.json +34 -0
  99. package/entities/TrafficForwarding/mockdatafiles/getIPGWDetails-default.json +32 -0
  100. package/entities/TrafficForwarding/mockdatafiles/getNat64Prefixes-default.json +18 -0
  101. package/entities/TrafficForwarding/mockdatafiles/getRecommendedGreVips-default.json +20 -0
  102. package/entities/TrafficForwarding/mockdatafiles/getRecommendedVipsGroupedByDC-default.json +82 -0
  103. package/entities/TrafficForwarding/mockdatafiles/getRegionsByPrefix-default.json +26 -0
  104. package/entities/TrafficForwarding/mockdatafiles/getVpnCredentials-default.json +82 -0
  105. package/entities/TrafficForwarding/mockdatafiles/getVpnCredentials__v1-default.json +82 -0
  106. package/entities/TrafficForwarding/mockdatafiles/getVpnCredentials__v2-default.json +82 -0
  107. package/entities/TrafficForwarding/mockdatafiles/getZscalerNodesDetails-default.json +170 -0
  108. package/entities/TrafficForwarding/mockdatafiles/validateAndGetAvailableInternalIpRanges-default.json +18 -0
  109. package/entities/TrafficForwarding/schema.json +40 -0
  110. package/entities/URLFilteringPolicies/action.json +106 -0
  111. package/entities/URLFilteringPolicies/mockdatafiles/getUrlFilteringRules-default.json +2918 -0
  112. package/entities/URLFilteringPolicies/schema.json +23 -0
  113. package/entities/UserAuthenticationSettings/action.json +45 -0
  114. package/entities/UserAuthenticationSettings/schema.json +20 -0
  115. package/entities/WorkloadGroups/action.json +25 -0
  116. package/entities/WorkloadGroups/mockdatafiles/getWorkloadGroups-default.json +396 -0
  117. package/entities/WorkloadGroups/schema.json +19 -0
  118. package/package.json +3 -3
  119. package/pronghorn.json +17256 -0
  120. package/refs?service=git-upload-pack +0 -0
  121. package/report/adapter-openapi.json +17120 -2
  122. package/report/adapter-openapi.yaml +13753 -815
  123. package/report/adapterInfo.json +7 -7
  124. package/test/integration/adapterTestIntegration.js +4882 -0
  125. package/test/unit/adapterTestUnit.js +3848 -1
@@ -0,0 +1,361 @@
1
+ [
2
+ {
3
+ "id": 4,
4
+ "name": "string",
5
+ "services": [
6
+ {
7
+ "id": 5,
8
+ "name": "string",
9
+ "tag": "string",
10
+ "srcTcpPorts": [
11
+ {
12
+ "start": 1,
13
+ "end": 2
14
+ }
15
+ ],
16
+ "destTcpPorts": [
17
+ {
18
+ "start": 10,
19
+ "end": 2
20
+ },
21
+ {
22
+ "start": 4,
23
+ "end": 2
24
+ },
25
+ {
26
+ "start": 4,
27
+ "end": 9
28
+ },
29
+ {
30
+ "start": 7,
31
+ "end": 6
32
+ },
33
+ {
34
+ "start": 3,
35
+ "end": 4
36
+ },
37
+ {
38
+ "start": 1,
39
+ "end": 2
40
+ },
41
+ {
42
+ "start": 9,
43
+ "end": 4
44
+ },
45
+ {
46
+ "start": 9,
47
+ "end": 10
48
+ }
49
+ ],
50
+ "srcUdpPorts": [
51
+ {
52
+ "start": 6,
53
+ "end": 4
54
+ },
55
+ {
56
+ "start": 9,
57
+ "end": 4
58
+ },
59
+ {
60
+ "start": 10,
61
+ "end": 4
62
+ },
63
+ {
64
+ "start": 8,
65
+ "end": 6
66
+ },
67
+ {
68
+ "start": 7,
69
+ "end": 7
70
+ }
71
+ ],
72
+ "destUdpPorts": [
73
+ {
74
+ "start": 3,
75
+ "end": 7
76
+ },
77
+ {
78
+ "start": 2,
79
+ "end": 3
80
+ }
81
+ ],
82
+ "type": "CUSTOM",
83
+ "description": "string",
84
+ "isNameL10nTag": false
85
+ },
86
+ {
87
+ "id": 4,
88
+ "name": "string",
89
+ "tag": "string",
90
+ "srcTcpPorts": [
91
+ {
92
+ "start": 3,
93
+ "end": 9
94
+ },
95
+ {
96
+ "start": 6,
97
+ "end": 9
98
+ },
99
+ {
100
+ "start": 7,
101
+ "end": 8
102
+ },
103
+ {
104
+ "start": 9,
105
+ "end": 4
106
+ },
107
+ {
108
+ "start": 5,
109
+ "end": 5
110
+ },
111
+ {
112
+ "start": 5,
113
+ "end": 10
114
+ },
115
+ {
116
+ "start": 6,
117
+ "end": 2
118
+ },
119
+ {
120
+ "start": 5,
121
+ "end": 6
122
+ },
123
+ {
124
+ "start": 9,
125
+ "end": 9
126
+ },
127
+ {
128
+ "start": 6,
129
+ "end": 4
130
+ }
131
+ ],
132
+ "destTcpPorts": [
133
+ {
134
+ "start": 3,
135
+ "end": 2
136
+ },
137
+ {
138
+ "start": 10,
139
+ "end": 7
140
+ },
141
+ {
142
+ "start": 4,
143
+ "end": 3
144
+ },
145
+ {
146
+ "start": 2,
147
+ "end": 6
148
+ },
149
+ {
150
+ "start": 3,
151
+ "end": 4
152
+ },
153
+ {
154
+ "start": 9,
155
+ "end": 6
156
+ },
157
+ {
158
+ "start": 6,
159
+ "end": 10
160
+ }
161
+ ],
162
+ "srcUdpPorts": [
163
+ {
164
+ "start": 10,
165
+ "end": 8
166
+ },
167
+ {
168
+ "start": 10,
169
+ "end": 2
170
+ },
171
+ {
172
+ "start": 4,
173
+ "end": 3
174
+ },
175
+ {
176
+ "start": 1,
177
+ "end": 2
178
+ },
179
+ {
180
+ "start": 9,
181
+ "end": 5
182
+ },
183
+ {
184
+ "start": 4,
185
+ "end": 6
186
+ },
187
+ {
188
+ "start": 6,
189
+ "end": 10
190
+ },
191
+ {
192
+ "start": 1,
193
+ "end": 5
194
+ },
195
+ {
196
+ "start": 5,
197
+ "end": 1
198
+ },
199
+ {
200
+ "start": 7,
201
+ "end": 10
202
+ }
203
+ ],
204
+ "destUdpPorts": [
205
+ {
206
+ "start": 10,
207
+ "end": 8
208
+ },
209
+ {
210
+ "start": 10,
211
+ "end": 3
212
+ },
213
+ {
214
+ "start": 1,
215
+ "end": 10
216
+ },
217
+ {
218
+ "start": 8,
219
+ "end": 3
220
+ },
221
+ {
222
+ "start": 8,
223
+ "end": 1
224
+ },
225
+ {
226
+ "start": 10,
227
+ "end": 10
228
+ },
229
+ {
230
+ "start": 9,
231
+ "end": 7
232
+ },
233
+ {
234
+ "start": 3,
235
+ "end": 10
236
+ },
237
+ {
238
+ "start": 7,
239
+ "end": 3
240
+ }
241
+ ],
242
+ "type": "PREDEFINED",
243
+ "description": "string",
244
+ "isNameL10nTag": true
245
+ },
246
+ {
247
+ "id": 1,
248
+ "name": "string",
249
+ "tag": "string",
250
+ "srcTcpPorts": [
251
+ {
252
+ "start": 4,
253
+ "end": 4
254
+ }
255
+ ],
256
+ "destTcpPorts": [
257
+ {
258
+ "start": 8,
259
+ "end": 5
260
+ },
261
+ {
262
+ "start": 2,
263
+ "end": 7
264
+ },
265
+ {
266
+ "start": 1,
267
+ "end": 2
268
+ },
269
+ {
270
+ "start": 3,
271
+ "end": 1
272
+ }
273
+ ],
274
+ "srcUdpPorts": [
275
+ {
276
+ "start": 8,
277
+ "end": 3
278
+ }
279
+ ],
280
+ "destUdpPorts": [
281
+ {
282
+ "start": 9,
283
+ "end": 10
284
+ }
285
+ ],
286
+ "type": "PREDEFINED",
287
+ "description": "string",
288
+ "isNameL10nTag": false
289
+ },
290
+ {
291
+ "id": 9,
292
+ "name": "string",
293
+ "tag": "string",
294
+ "srcTcpPorts": [
295
+ {
296
+ "start": 8,
297
+ "end": 3
298
+ },
299
+ {
300
+ "start": 8,
301
+ "end": 4
302
+ },
303
+ {
304
+ "start": 5,
305
+ "end": 7
306
+ },
307
+ {
308
+ "start": 10,
309
+ "end": 8
310
+ },
311
+ {
312
+ "start": 9,
313
+ "end": 5
314
+ }
315
+ ],
316
+ "destTcpPorts": [
317
+ {
318
+ "start": 7,
319
+ "end": 6
320
+ },
321
+ {
322
+ "start": 8,
323
+ "end": 9
324
+ },
325
+ {
326
+ "start": 2,
327
+ "end": 3
328
+ },
329
+ {
330
+ "start": 10,
331
+ "end": 1
332
+ },
333
+ {
334
+ "start": 7,
335
+ "end": 5
336
+ }
337
+ ],
338
+ "srcUdpPorts": [
339
+ {
340
+ "start": 4,
341
+ "end": 4
342
+ }
343
+ ],
344
+ "destUdpPorts": [
345
+ {
346
+ "start": 4,
347
+ "end": 6
348
+ },
349
+ {
350
+ "start": 4,
351
+ "end": 4
352
+ }
353
+ ],
354
+ "type": "CUSTOM",
355
+ "description": "string",
356
+ "isNameL10nTag": false
357
+ }
358
+ ],
359
+ "description": "string"
360
+ }
361
+ ]
@@ -0,0 +1,206 @@
1
+ [
2
+ {
3
+ "id": 4,
4
+ "name": "string",
5
+ "tag": "string",
6
+ "srcTcpPorts": [
7
+ {
8
+ "start": 4,
9
+ "end": 9
10
+ }
11
+ ],
12
+ "destTcpPorts": [
13
+ {
14
+ "start": 5,
15
+ "end": 4
16
+ },
17
+ {
18
+ "start": 1,
19
+ "end": 7
20
+ },
21
+ {
22
+ "start": 7,
23
+ "end": 6
24
+ },
25
+ {
26
+ "start": 6,
27
+ "end": 9
28
+ },
29
+ {
30
+ "start": 3,
31
+ "end": 8
32
+ },
33
+ {
34
+ "start": 6,
35
+ "end": 4
36
+ },
37
+ {
38
+ "start": 8,
39
+ "end": 8
40
+ },
41
+ {
42
+ "start": 9,
43
+ "end": 3
44
+ },
45
+ {
46
+ "start": 4,
47
+ "end": 7
48
+ },
49
+ {
50
+ "start": 5,
51
+ "end": 6
52
+ }
53
+ ],
54
+ "srcUdpPorts": [
55
+ {
56
+ "start": 4,
57
+ "end": 4
58
+ },
59
+ {
60
+ "start": 7,
61
+ "end": 5
62
+ },
63
+ {
64
+ "start": 5,
65
+ "end": 7
66
+ },
67
+ {
68
+ "start": 1,
69
+ "end": 2
70
+ }
71
+ ],
72
+ "destUdpPorts": [
73
+ {
74
+ "start": 6,
75
+ "end": 8
76
+ },
77
+ {
78
+ "start": 10,
79
+ "end": 7
80
+ },
81
+ {
82
+ "start": 2,
83
+ "end": 7
84
+ },
85
+ {
86
+ "start": 4,
87
+ "end": 10
88
+ },
89
+ {
90
+ "start": 10,
91
+ "end": 3
92
+ },
93
+ {
94
+ "start": 9,
95
+ "end": 7
96
+ }
97
+ ],
98
+ "type": "PREDEFINED",
99
+ "description": "string",
100
+ "isNameL10nTag": true
101
+ },
102
+ {
103
+ "id": 2,
104
+ "name": "string",
105
+ "tag": "string",
106
+ "srcTcpPorts": [
107
+ {
108
+ "start": 7,
109
+ "end": 6
110
+ },
111
+ {
112
+ "start": 6,
113
+ "end": 1
114
+ },
115
+ {
116
+ "start": 9,
117
+ "end": 1
118
+ },
119
+ {
120
+ "start": 5,
121
+ "end": 9
122
+ },
123
+ {
124
+ "start": 7,
125
+ "end": 8
126
+ }
127
+ ],
128
+ "destTcpPorts": [
129
+ {
130
+ "start": 7,
131
+ "end": 8
132
+ },
133
+ {
134
+ "start": 5,
135
+ "end": 4
136
+ },
137
+ {
138
+ "start": 1,
139
+ "end": 4
140
+ },
141
+ {
142
+ "start": 5,
143
+ "end": 3
144
+ },
145
+ {
146
+ "start": 8,
147
+ "end": 10
148
+ },
149
+ {
150
+ "start": 10,
151
+ "end": 8
152
+ },
153
+ {
154
+ "start": 4,
155
+ "end": 8
156
+ },
157
+ {
158
+ "start": 8,
159
+ "end": 9
160
+ }
161
+ ],
162
+ "srcUdpPorts": [
163
+ {
164
+ "start": 10,
165
+ "end": 6
166
+ },
167
+ {
168
+ "start": 10,
169
+ "end": 8
170
+ }
171
+ ],
172
+ "destUdpPorts": [
173
+ {
174
+ "start": 8,
175
+ "end": 8
176
+ },
177
+ {
178
+ "start": 2,
179
+ "end": 1
180
+ },
181
+ {
182
+ "start": 3,
183
+ "end": 10
184
+ },
185
+ {
186
+ "start": 10,
187
+ "end": 7
188
+ },
189
+ {
190
+ "start": 1,
191
+ "end": 6
192
+ },
193
+ {
194
+ "start": 3,
195
+ "end": 1
196
+ },
197
+ {
198
+ "start": 2,
199
+ "end": 3
200
+ }
201
+ ],
202
+ "type": "CUSTOM",
203
+ "description": "string",
204
+ "isNameL10nTag": false
205
+ }
206
+ ]