@itentialopensource/adapter-zscaler 0.8.3 → 0.10.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/AUTH.md +19 -16
- package/BROKER.md +31 -19
- package/CALLS.md +1173 -20
- package/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/SYSTEMINFO.md +18 -6
- package/TAB1.md +8 -0
- package/TAB2.md +86 -1495
- package/adapter.js +17190 -0
- package/entities/AdminRoleManagement/action.json +126 -0
- package/entities/AdminRoleManagement/schema.json +24 -0
- package/entities/AppViews/action.json +46 -0
- package/entities/AppViews/mockdatafiles/getViewApps-default.json +40 -0
- package/entities/AppViews/mockdatafiles/getViews-default.json +16 -0
- package/entities/AppViews/schema.json +20 -0
- package/entities/Applications/action.json +66 -0
- package/entities/Applications/mockdatafiles/appsSearchGET-default.json +186 -0
- package/entities/Applications/schema.json +21 -0
- package/entities/BrowserIsolation/action.json +25 -0
- package/entities/BrowserIsolation/mockdatafiles/getCloudBrowserIsolationProfiles-default.json +20 -0
- package/entities/BrowserIsolation/schema.json +19 -0
- package/entities/DataLossPrevention/action.json +767 -0
- package/entities/DataLossPrevention/mockdatafiles/getDLPDictionarySummary-default.json +808 -0
- package/entities/DataLossPrevention/mockdatafiles/getDLPEngines-default.json +26 -0
- package/entities/DataLossPrevention/mockdatafiles/getDLPEnginesSummary-default.json +18 -0
- package/entities/DataLossPrevention/mockdatafiles/getDlpDictionaries-default.json +402 -0
- package/entities/DataLossPrevention/mockdatafiles/getICAPServerSummary-default.json +14 -0
- package/entities/DataLossPrevention/mockdatafiles/getICAPServers-default.json +20 -0
- package/entities/DataLossPrevention/mockdatafiles/getIncidentReceiverServerSummary-default.json +30 -0
- package/entities/DataLossPrevention/mockdatafiles/getIncidentReceiverServers-default.json +30 -0
- package/entities/DataLossPrevention/mockdatafiles/getPredefinedHierarchicalIdentifiersByDictionaryId-default.json +4 -0
- package/entities/DataLossPrevention/mockdatafiles/getProfiles-default.json +94 -0
- package/entities/DataLossPrevention/mockdatafiles/getRules-default.json +5556 -0
- package/entities/DataLossPrevention/mockdatafiles/getSchemaLite-default.json +52 -0
- package/entities/DataLossPrevention/mockdatafiles/getSchemas-default.json +379 -0
- package/entities/DataLossPrevention/mockdatafiles/getSummary-default.json +56 -0
- package/entities/DataLossPrevention/mockdatafiles/getWebDlpRulesLite-default.json +5758 -0
- package/entities/DataLossPrevention/mockdatafiles/gettemplates-default.json +34 -0
- package/entities/DataLossPrevention/schema.json +55 -0
- package/entities/DeviceGroups/action.json +67 -0
- package/entities/DeviceGroups/mockdatafiles/getDeviceGroups-default.json +20 -0
- package/entities/DeviceGroups/mockdatafiles/getDevices-default.json +26 -0
- package/entities/DeviceGroups/mockdatafiles/getDevicesLite-default.json +38 -0
- package/entities/DeviceGroups/schema.json +21 -0
- package/entities/EventLogs/action.json +86 -0
- package/entities/EventLogs/schema.json +22 -0
- package/entities/FirewallPolicies/action.json +889 -0
- package/entities/FirewallPolicies/mockdatafiles/getDestinationIpGroups-default.json +130 -0
- package/entities/FirewallPolicies/mockdatafiles/getDestinationIpGroupsLite-default.json +94 -0
- package/entities/FirewallPolicies/mockdatafiles/getDestinationIpv6Groups-default.json +111 -0
- package/entities/FirewallPolicies/mockdatafiles/getDestinationIpv6GroupsLite-default.json +20 -0
- package/entities/FirewallPolicies/mockdatafiles/getFirewallFilteringRules-default.json +3884 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetowrkApplicationGroups-default.json +21 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetowrkApplicationGroupsLite-default.json +49 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetworkApplications-default.json +20 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetworkServiceGroups-default.json +657 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetworkServiceGroupsLite-default.json +361 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetworkServices-default.json +206 -0
- package/entities/FirewallPolicies/mockdatafiles/getNetworkServicesLite-default.json +322 -0
- package/entities/FirewallPolicies/mockdatafiles/getSourceIpGroups-default.json +57 -0
- package/entities/FirewallPolicies/mockdatafiles/getSourceIpGroupsLite-default.json +17 -0
- package/entities/FirewallPolicies/mockdatafiles/getSourceIpv6Groups-default.json +54 -0
- package/entities/FirewallPolicies/mockdatafiles/getSourceIpv6GroupsLite-default.json +15 -0
- package/entities/FirewallPolicies/mockdatafiles/getTimeWindowSummary-default.json +42 -0
- package/entities/FirewallPolicies/mockdatafiles/getTimeWindows-default.json +32 -0
- package/entities/FirewallPolicies/schema.json +61 -0
- package/entities/ForwardingControlPolicy/action.json +208 -0
- package/entities/ForwardingControlPolicy/mockdatafiles/getForwardingRules-default.json +2183 -0
- package/entities/ForwardingControlPolicy/mockdatafiles/getZpaGateways-default.json +60 -0
- package/entities/ForwardingControlPolicy/schema.json +28 -0
- package/entities/IntermediateCACertificates/action.json +455 -0
- package/entities/IntermediateCACertificates/mockdatafiles/getCertificatesInReadyToUseState-default.json +70 -0
- package/entities/IntermediateCACertificates/mockdatafiles/getIntermediateCaCertificates-default.json +19 -0
- package/entities/IntermediateCACertificates/mockdatafiles/getIntermediateCaCertificatesLite-default.json +53 -0
- package/entities/IntermediateCACertificates/schema.json +40 -0
- package/entities/IoTReport/action.json +88 -0
- package/entities/IoTReport/mockdatafiles/getCategories-default.json +22 -0
- package/entities/IoTReport/mockdatafiles/getClassifications-default.json +12 -0
- package/entities/IoTReport/mockdatafiles/getDeviceTypes-default.json +7 -0
- package/entities/IoTReport/schema.json +22 -0
- package/entities/LocationManagement/action.json +130 -0
- package/entities/LocationManagement/mockdatafiles/getGroups-default.json +372 -0
- package/entities/LocationManagement/mockdatafiles/getGroups__v1-default.json +372 -0
- package/entities/LocationManagement/mockdatafiles/getGroups__v2-default.json +372 -0
- package/entities/LocationManagement/mockdatafiles/getSubLocations-default.json +465 -0
- package/entities/LocationManagement/mockdatafiles/getTopLocations-default.json +191 -0
- package/entities/LocationManagement/schema.json +24 -0
- package/entities/RuleLabels/action.json +106 -0
- package/entities/RuleLabels/mockdatafiles/getRuleLabels-default.json +59 -0
- package/entities/RuleLabels/schema.json +23 -0
- package/entities/SandboxSettings/action.json +66 -0
- package/entities/SandboxSettings/schema.json +21 -0
- package/entities/SandboxSubmissionAPI/action.json +44 -0
- package/entities/SandboxSubmissionAPI/schema.json +20 -0
- package/entities/ShadowITReport/action.json +106 -0
- package/entities/ShadowITReport/mockdatafiles/getAllCustomTags-default.json +10 -0
- package/entities/ShadowITReport/mockdatafiles/getCloudApplicationsLite-default.json +10 -0
- package/entities/ShadowITReport/schema.json +23 -0
- package/entities/TrafficForwarding/action.json +459 -0
- package/entities/TrafficForwarding/mockdatafiles/getAllGreTunnels-default.json +70 -0
- package/entities/TrafficForwarding/mockdatafiles/getAllStaticIPs-default.json +90 -0
- package/entities/TrafficForwarding/mockdatafiles/getDns64Prefixes-default.json +34 -0
- package/entities/TrafficForwarding/mockdatafiles/getIPGWDetails-default.json +32 -0
- package/entities/TrafficForwarding/mockdatafiles/getNat64Prefixes-default.json +18 -0
- package/entities/TrafficForwarding/mockdatafiles/getRecommendedGreVips-default.json +20 -0
- package/entities/TrafficForwarding/mockdatafiles/getRecommendedVipsGroupedByDC-default.json +82 -0
- package/entities/TrafficForwarding/mockdatafiles/getRegionsByPrefix-default.json +26 -0
- package/entities/TrafficForwarding/mockdatafiles/getVpnCredentials-default.json +82 -0
- package/entities/TrafficForwarding/mockdatafiles/getVpnCredentials__v1-default.json +82 -0
- package/entities/TrafficForwarding/mockdatafiles/getVpnCredentials__v2-default.json +82 -0
- package/entities/TrafficForwarding/mockdatafiles/getZscalerNodesDetails-default.json +170 -0
- package/entities/TrafficForwarding/mockdatafiles/validateAndGetAvailableInternalIpRanges-default.json +18 -0
- package/entities/TrafficForwarding/schema.json +40 -0
- package/entities/URLFilteringPolicies/action.json +106 -0
- package/entities/URLFilteringPolicies/mockdatafiles/getUrlFilteringRules-default.json +2918 -0
- package/entities/URLFilteringPolicies/schema.json +23 -0
- package/entities/UserAuthenticationSettings/action.json +45 -0
- package/entities/UserAuthenticationSettings/schema.json +20 -0
- package/entities/WorkloadGroups/action.json +25 -0
- package/entities/WorkloadGroups/mockdatafiles/getWorkloadGroups-default.json +396 -0
- package/entities/WorkloadGroups/schema.json +19 -0
- package/metadata.json +29 -7
- package/package.json +5 -7
- package/pronghorn.json +17256 -0
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +17120 -2
- package/report/adapter-openapi.yaml +13753 -815
- package/report/adapterInfo.json +7 -7
- package/report/updateReport1715610332922.json +120 -0
- package/sampleProperties.json +40 -28
- package/test/integration/adapterTestIntegration.js +4883 -0
- package/test/unit/adapterTestUnit.js +3847 -2
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"configLines":
|
|
2
|
+
"version": "0.9.0",
|
|
3
|
+
"configLines": 22098,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
|
-
"codeLines":
|
|
6
|
-
"testLines":
|
|
7
|
-
"testCases":
|
|
8
|
-
"totalCodeLines":
|
|
9
|
-
"wfTasks":
|
|
5
|
+
"codeLines": 23080,
|
|
6
|
+
"testLines": 14658,
|
|
7
|
+
"testCases": 746,
|
|
8
|
+
"totalCodeLines": 39521,
|
|
9
|
+
"wfTasks": 268
|
|
10
10
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [],
|
|
3
|
+
"statistics": [
|
|
4
|
+
{
|
|
5
|
+
"owner": "errorJson",
|
|
6
|
+
"description": "New adapter errors available for use",
|
|
7
|
+
"value": 0
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"owner": "errorJson",
|
|
11
|
+
"description": "Adapter errors no longer available for use",
|
|
12
|
+
"value": 0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"owner": "errorJson",
|
|
16
|
+
"description": "Adapter errors that have been updated (e.g. recommendation changes)",
|
|
17
|
+
"value": 31
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"owner": "packageJson",
|
|
21
|
+
"description": "Number of production dependencies",
|
|
22
|
+
"value": 16
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"owner": "packageJson",
|
|
26
|
+
"description": "Number of development dependencies",
|
|
27
|
+
"value": 6
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"owner": "packageJson",
|
|
31
|
+
"description": "Number of npm scripts",
|
|
32
|
+
"value": 21
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"owner": "packageJson",
|
|
36
|
+
"description": "Runtime Library dependency",
|
|
37
|
+
"value": "^5.3.10"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"owner": "propertiesSchemaJson",
|
|
41
|
+
"description": "Adapter properties defined in the propertiesSchema file",
|
|
42
|
+
"value": 79
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"owner": "markdown",
|
|
46
|
+
"description": "Number of lines in the README.md",
|
|
47
|
+
"value": 344
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"owner": "markdown",
|
|
51
|
+
"description": "Number of lines in the SUMMARY.md",
|
|
52
|
+
"value": 9
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"owner": "markdown",
|
|
56
|
+
"description": "Number of lines in the PROPERTIES.md",
|
|
57
|
+
"value": 647
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"owner": "markdown",
|
|
61
|
+
"description": "Number of lines in the TROUBLESHOOT.md",
|
|
62
|
+
"value": 48
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"owner": "markdown",
|
|
66
|
+
"description": "Number of lines in the ENHANCE.md",
|
|
67
|
+
"value": 70
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"owner": "markdown",
|
|
71
|
+
"description": "Number of lines in the BROKER.md",
|
|
72
|
+
"value": 70
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"owner": "unitTestJS",
|
|
76
|
+
"description": "Number of lines of code in unit tests",
|
|
77
|
+
"value": 6344
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "unitTestJS",
|
|
81
|
+
"description": "Number of unit tests",
|
|
82
|
+
"value": 424
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "integrationTestJS",
|
|
86
|
+
"description": "Number of lines of code in integration tests",
|
|
87
|
+
"value": 7062
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "integrationTestJS",
|
|
91
|
+
"description": "Number of integration tests",
|
|
92
|
+
"value": 252
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"owner": "staticFile",
|
|
96
|
+
"description": "Number of lines of code in adapterBase.js",
|
|
97
|
+
"value": 1453
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"owner": "staticFile",
|
|
101
|
+
"description": "Number of static files added",
|
|
102
|
+
"value": 36
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"owner": "Overall",
|
|
106
|
+
"description": "Total lines of Code",
|
|
107
|
+
"value": 14859
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "Overall",
|
|
111
|
+
"description": "Total Tests",
|
|
112
|
+
"value": 676
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "Overall",
|
|
116
|
+
"description": "Total Files",
|
|
117
|
+
"value": 6
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
package/sampleProperties.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"stub": true,
|
|
15
15
|
"protocol": "https",
|
|
16
16
|
"authentication": {
|
|
17
|
-
"auth_method": "
|
|
17
|
+
"auth_method": "request_token",
|
|
18
18
|
"username": "exampleUsername",
|
|
19
19
|
"password": "examplePassword",
|
|
20
20
|
"apiKey": "exampleApiKey",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"token_timeout": 180000,
|
|
23
23
|
"token_cache": "local",
|
|
24
24
|
"invalid_token_error": 401,
|
|
25
|
-
"auth_field": "header.headers.
|
|
26
|
-
"auth_field_format": "
|
|
25
|
+
"auth_field": "header.headers.Cookie",
|
|
26
|
+
"auth_field_format": "JSESSIONID={token}",
|
|
27
27
|
"auth_logging": false,
|
|
28
28
|
"client_id": "",
|
|
29
29
|
"client_secret": "",
|
|
@@ -115,30 +115,32 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"devicebroker": {
|
|
118
|
+
"enabled": false,
|
|
118
119
|
"getDevice": [
|
|
119
120
|
{
|
|
120
|
-
"path": "/
|
|
121
|
+
"path": "/not/mapped",
|
|
121
122
|
"method": "GET",
|
|
122
123
|
"query": {},
|
|
123
124
|
"body": {},
|
|
124
125
|
"headers": {},
|
|
125
126
|
"handleFailure": "ignore",
|
|
126
127
|
"requestFields": {
|
|
127
|
-
"
|
|
128
|
+
"insample": "{port}"
|
|
128
129
|
},
|
|
129
130
|
"responseDatakey": "",
|
|
130
131
|
"responseFields": {
|
|
131
|
-
"name": "
|
|
132
|
-
"ostype": "
|
|
133
|
-
"ostypePrefix": "
|
|
134
|
-
"
|
|
135
|
-
"
|
|
132
|
+
"name": "{this}{||}{that}",
|
|
133
|
+
"ostype": "{osfield}",
|
|
134
|
+
"ostypePrefix": "meraki-",
|
|
135
|
+
"port": "{port}",
|
|
136
|
+
"ipaddress": "{ip_addr}",
|
|
137
|
+
"serial" : "{serial}"
|
|
136
138
|
}
|
|
137
139
|
}
|
|
138
140
|
],
|
|
139
141
|
"getDevicesFiltered": [
|
|
140
142
|
{
|
|
141
|
-
"path": "/
|
|
143
|
+
"path": "/not/mapped",
|
|
142
144
|
"method": "GET",
|
|
143
145
|
"pagination": {
|
|
144
146
|
"offsetVar": "",
|
|
@@ -153,42 +155,44 @@
|
|
|
153
155
|
"requestFields": {},
|
|
154
156
|
"responseDatakey": "",
|
|
155
157
|
"responseFields": {
|
|
156
|
-
"name": "
|
|
157
|
-
"ostype": "
|
|
158
|
-
"ostypePrefix": "
|
|
159
|
-
"
|
|
160
|
-
"
|
|
158
|
+
"name": "{this}{||}{that}",
|
|
159
|
+
"ostype": "{osfield}",
|
|
160
|
+
"ostypePrefix": "meraki-",
|
|
161
|
+
"port": "{port}",
|
|
162
|
+
"ipaddress": "{ip_addr}",
|
|
163
|
+
"serial" : "{serial}",
|
|
164
|
+
"id": "{myid}"
|
|
161
165
|
}
|
|
162
166
|
}
|
|
163
167
|
],
|
|
164
168
|
"isAlive": [
|
|
165
169
|
{
|
|
166
|
-
"path": "/
|
|
170
|
+
"path": "/not/mapped/{devID}",
|
|
167
171
|
"method": "GET",
|
|
168
172
|
"query": {},
|
|
169
173
|
"body": {},
|
|
170
174
|
"headers": {},
|
|
171
175
|
"handleFailure": "ignore",
|
|
172
176
|
"requestFields": {
|
|
173
|
-
"
|
|
177
|
+
"devID": "{id}"
|
|
174
178
|
},
|
|
175
179
|
"responseDatakey": "",
|
|
176
180
|
"responseFields": {
|
|
177
|
-
"status": "
|
|
178
|
-
"statusValue": "
|
|
181
|
+
"status": "return2xx",
|
|
182
|
+
"statusValue": "AD.200"
|
|
179
183
|
}
|
|
180
184
|
}
|
|
181
185
|
],
|
|
182
186
|
"getConfig": [
|
|
183
187
|
{
|
|
184
|
-
"path": "/
|
|
188
|
+
"path": "/not/mapped/{devID}",
|
|
185
189
|
"method": "GET",
|
|
186
190
|
"query": {},
|
|
187
191
|
"body": {},
|
|
188
192
|
"headers": {},
|
|
189
193
|
"handleFailure": "ignore",
|
|
190
194
|
"requestFields": {
|
|
191
|
-
"
|
|
195
|
+
"devID": "{id}"
|
|
192
196
|
},
|
|
193
197
|
"responseDatakey": "",
|
|
194
198
|
"responseFields": {}
|
|
@@ -196,7 +200,7 @@
|
|
|
196
200
|
],
|
|
197
201
|
"getCount": [
|
|
198
202
|
{
|
|
199
|
-
"path": "/
|
|
203
|
+
"path": "/not/mapped",
|
|
200
204
|
"method": "GET",
|
|
201
205
|
"query": {},
|
|
202
206
|
"body": {},
|
|
@@ -212,15 +216,15 @@
|
|
|
212
216
|
"enabled": false,
|
|
213
217
|
"entities": [
|
|
214
218
|
{
|
|
215
|
-
"entityType": "",
|
|
216
|
-
"frequency":
|
|
219
|
+
"entityType": "device",
|
|
220
|
+
"frequency": 3600,
|
|
217
221
|
"flushOnFail": false,
|
|
218
|
-
"limit":
|
|
222
|
+
"limit": 10000,
|
|
219
223
|
"retryAttempts": 5,
|
|
220
224
|
"sort": true,
|
|
221
225
|
"populate": [
|
|
222
226
|
{
|
|
223
|
-
"path": "",
|
|
227
|
+
"path": "/not/mapped",
|
|
224
228
|
"method": "GET",
|
|
225
229
|
"pagination": {
|
|
226
230
|
"offsetVar": "",
|
|
@@ -234,7 +238,15 @@
|
|
|
234
238
|
"handleFailure": "ignore",
|
|
235
239
|
"requestFields": {},
|
|
236
240
|
"responseDatakey": "",
|
|
237
|
-
"responseFields": {
|
|
241
|
+
"responseFields": {
|
|
242
|
+
"name": "{this}{||}{that}",
|
|
243
|
+
"ostype": "{osfield}",
|
|
244
|
+
"ostypePrefix": "meraki-",
|
|
245
|
+
"port": "{port}",
|
|
246
|
+
"ipaddress": "{ip_addr}",
|
|
247
|
+
"serial" : "{serial}",
|
|
248
|
+
"id": "{myid}"
|
|
249
|
+
}
|
|
238
250
|
}
|
|
239
251
|
],
|
|
240
252
|
"cachedTasks": [
|