@itentialopensource/adapter-zero_networks 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 (183) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +5576 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TAB1.md +5 -0
  22. package/TAB2.md +6798 -0
  23. package/TROUBLESHOOT.md +47 -0
  24. package/adapter.js +78448 -0
  25. package/adapterBase.js +1452 -0
  26. package/entities/.generic/action.json +214 -0
  27. package/entities/.generic/schema.json +28 -0
  28. package/entities/.system/action.json +50 -0
  29. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  30. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  31. package/entities/.system/schema.json +19 -0
  32. package/entities/.system/schemaTokenReq.json +53 -0
  33. package/entities/.system/schemaTokenResp.json +53 -0
  34. package/entities/Activities/action.json +295 -0
  35. package/entities/Activities/mockdatafiles/rPCActivitiesInterfaceCandidatesFiltersList-default.json +126 -0
  36. package/entities/Activities/mockdatafiles/rPCActivitiesOperationFiltersList-default.json +24 -0
  37. package/entities/Activities/schema.json +87 -0
  38. package/entities/Asset/action.json +3528 -0
  39. package/entities/Asset/mockdatafiles/assetRPCActivitiesInterfaceCandidatesFiltersList-default.json +52 -0
  40. package/entities/Asset/mockdatafiles/assetRPCActivitiesOperationFiltersList-default.json +78 -0
  41. package/entities/Asset/schema.json +288 -0
  42. package/entities/AssetOTIoT/action.json +3206 -0
  43. package/entities/AssetOTIoT/mockdatafiles/assetOTRPCActivitiesInterfaceCandidatesFiltersList-default.json +32 -0
  44. package/entities/AssetOTIoT/mockdatafiles/assetOTRPCActivitiesOperationFiltersList-default.json +46 -0
  45. package/entities/AssetOTIoT/schema.json +272 -0
  46. package/entities/Assets/action.json +1336 -0
  47. package/entities/Assets/mockdatafiles/assetsStatisticsGet-default.json +39 -0
  48. package/entities/Assets/schema.json +138 -0
  49. package/entities/AssetsOTIoT/action.json +106 -0
  50. package/entities/AssetsOTIoT/schema.json +78 -0
  51. package/entities/Audit/action.json +87 -0
  52. package/entities/Audit/schema.json +77 -0
  53. package/entities/Auth/action.json +64 -0
  54. package/entities/Auth/schema.json +21 -0
  55. package/entities/Entity/action.json +67 -0
  56. package/entities/Entity/schema.json +21 -0
  57. package/entities/Group/action.json +2565 -0
  58. package/entities/Group/schema.json +241 -0
  59. package/entities/Groups/action.json +378 -0
  60. package/entities/Groups/schema.json +124 -0
  61. package/entities/GroupsActiveDirectory/action.json +66 -0
  62. package/entities/GroupsActiveDirectory/schema.json +21 -0
  63. package/entities/GroupsCustom/action.json +125 -0
  64. package/entities/GroupsCustom/schema.json +68 -0
  65. package/entities/GroupsTags/action.json +24 -0
  66. package/entities/GroupsTags/schema.json +19 -0
  67. package/entities/MFA/action.json +46 -0
  68. package/entities/MFA/schema.json +20 -0
  69. package/entities/MFAInbound/action.json +379 -0
  70. package/entities/MFAInbound/schema.json +113 -0
  71. package/entities/MFAOutbound/action.json +379 -0
  72. package/entities/MFAOutbound/schema.json +102 -0
  73. package/entities/Profile/action.json +46 -0
  74. package/entities/Profile/schema.json +20 -0
  75. package/entities/Rules/action.json +227 -0
  76. package/entities/Rules/schema.json +29 -0
  77. package/entities/RulesIdentity/action.json +273 -0
  78. package/entities/RulesIdentity/schema.json +119 -0
  79. package/entities/RulesInboundAllow/action.json +293 -0
  80. package/entities/RulesInboundAllow/schema.json +120 -0
  81. package/entities/RulesInboundBlock/action.json +293 -0
  82. package/entities/RulesInboundBlock/schema.json +120 -0
  83. package/entities/RulesOutboundAllow/action.json +314 -0
  84. package/entities/RulesOutboundAllow/schema.json +121 -0
  85. package/entities/RulesOutboundBlock/action.json +293 -0
  86. package/entities/RulesOutboundBlock/schema.json +120 -0
  87. package/entities/RulesRPC/action.json +315 -0
  88. package/entities/RulesRPC/schema.json +121 -0
  89. package/entities/Sessions/action.json +66 -0
  90. package/entities/Sessions/schema.json +54 -0
  91. package/entities/Settings/action.json +66 -0
  92. package/entities/Settings/schema.json +21 -0
  93. package/entities/SettingsAI/action.json +189 -0
  94. package/entities/SettingsAI/schema.json +60 -0
  95. package/entities/SettingsAIRulesReview/action.json +45 -0
  96. package/entities/SettingsAIRulesReview/schema.json +20 -0
  97. package/entities/SettingsAccessTokens/action.json +85 -0
  98. package/entities/SettingsAccessTokens/schema.json +22 -0
  99. package/entities/SettingsActivities/action.json +45 -0
  100. package/entities/SettingsActivities/schema.json +20 -0
  101. package/entities/SettingsAssetManagement/action.json +533 -0
  102. package/entities/SettingsAssetManagement/schema.json +88 -0
  103. package/entities/SettingsAssetManagers/action.json +65 -0
  104. package/entities/SettingsAssetManagers/schema.json +43 -0
  105. package/entities/SettingsBreakGlass/action.json +45 -0
  106. package/entities/SettingsBreakGlass/schema.json +20 -0
  107. package/entities/SettingsCloudConnector/action.json +85 -0
  108. package/entities/SettingsCloudConnector/mockdatafiles/cloudConnectorAccessTokensCreate-default.json +9 -0
  109. package/entities/SettingsCloudConnector/mockdatafiles/cloudConnectorAccessTokensRegenerate-default.json +9 -0
  110. package/entities/SettingsCloudConnector/schema.json +22 -0
  111. package/entities/SettingsConnect/action.json +395 -0
  112. package/entities/SettingsConnect/schema.json +81 -0
  113. package/entities/SettingsFirewall/action.json +168 -0
  114. package/entities/SettingsFirewall/schema.json +26 -0
  115. package/entities/SettingsIdentityProviders/action.json +126 -0
  116. package/entities/SettingsIdentityProviders/schema.json +24 -0
  117. package/entities/SettingsInternalSubnets/action.json +86 -0
  118. package/entities/SettingsInternalSubnets/schema.json +22 -0
  119. package/entities/SettingsLearning/action.json +45 -0
  120. package/entities/SettingsLearning/schema.json +20 -0
  121. package/entities/SettingsMFA/action.json +86 -0
  122. package/entities/SettingsMFA/schema.json +22 -0
  123. package/entities/SettingsMailNotifications/action.json +45 -0
  124. package/entities/SettingsMailNotifications/schema.json +20 -0
  125. package/entities/SettingsPortalSecurity/action.json +45 -0
  126. package/entities/SettingsPortalSecurity/schema.json +20 -0
  127. package/entities/SettingsPrivilegedPorts/action.json +25 -0
  128. package/entities/SettingsPrivilegedPorts/schema.json +19 -0
  129. package/entities/SettingsProtectionPolicies/action.json +106 -0
  130. package/entities/SettingsProtectionPolicies/schema.json +56 -0
  131. package/entities/SettingsPushNotifications/action.json +85 -0
  132. package/entities/SettingsPushNotifications/schema.json +22 -0
  133. package/entities/SettingsRoles/action.json +86 -0
  134. package/entities/SettingsRoles/schema.json +55 -0
  135. package/entities/SettingsSegementServers/action.json +25 -0
  136. package/entities/SettingsSegementServers/schema.json +19 -0
  137. package/entities/SettingsServiceNow/action.json +85 -0
  138. package/entities/SettingsServiceNow/mockdatafiles/serviceNowAccessTokensCreate-default.json +9 -0
  139. package/entities/SettingsServiceNow/mockdatafiles/serviceNowAccessTokensRegenerate-default.json +9 -0
  140. package/entities/SettingsServiceNow/schema.json +22 -0
  141. package/entities/SettingsTrustedInternet/action.json +229 -0
  142. package/entities/SettingsTrustedInternet/schema.json +29 -0
  143. package/entities/SettingsZPA/action.json +45 -0
  144. package/entities/SettingsZPA/schema.json +20 -0
  145. package/entities/User/action.json +688 -0
  146. package/entities/User/schema.json +150 -0
  147. package/entities/Users/action.json +479 -0
  148. package/entities/Users/schema.json +107 -0
  149. package/error.json +190 -0
  150. package/metadata.json +56 -0
  151. package/package.json +83 -0
  152. package/pronghorn.json +55566 -0
  153. package/propertiesDecorators.json +14 -0
  154. package/propertiesSchema.json +1569 -0
  155. package/refs?service=git-upload-pack +0 -0
  156. package/report/ZeroNetworks-openapi (1).yaml-OpenApi3Json.json +94523 -0
  157. package/report/adapterInfo.json +10 -0
  158. package/report/creationReport.json +5425 -0
  159. package/sampleProperties.json +256 -0
  160. package/test/integration/adapterTestBasicGet.js +83 -0
  161. package/test/integration/adapterTestConnectivity.js +142 -0
  162. package/test/integration/adapterTestIntegration.js +23777 -0
  163. package/test/unit/adapterBaseTestUnit.js +1024 -0
  164. package/test/unit/adapterTestUnit.js +35451 -0
  165. package/utils/adapterInfo.js +206 -0
  166. package/utils/addAuth.js +94 -0
  167. package/utils/artifactize.js +146 -0
  168. package/utils/basicGet.js +50 -0
  169. package/utils/checkMigrate.js +63 -0
  170. package/utils/entitiesToDB.js +179 -0
  171. package/utils/findPath.js +74 -0
  172. package/utils/methodDocumentor.js +273 -0
  173. package/utils/modify.js +152 -0
  174. package/utils/packModificationScript.js +35 -0
  175. package/utils/patches2bundledDeps.js +90 -0
  176. package/utils/pre-commit.sh +32 -0
  177. package/utils/removeHooks.js +20 -0
  178. package/utils/setup.js +33 -0
  179. package/utils/taskMover.js +309 -0
  180. package/utils/tbScript.js +239 -0
  181. package/utils/tbUtils.js +489 -0
  182. package/utils/testRunner.js +298 -0
  183. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,315 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "rPCRulesList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/protection/rpc-rules?{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": "rPCRulesCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/protection/rpc-rules?{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": "rPCRuleGet",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/{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": "rPCRuleUpdate",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/{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": "rPCRuleDelete",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/{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
+ "name": "rPCRulesExcludedDestinationCandidatesList",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/excluded-local-candidates?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "sendGetBody": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "rPCRulesExport",
128
+ "protocol": "REST",
129
+ "method": "POST",
130
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/export?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "rPCRulesExportGet",
148
+ "protocol": "REST",
149
+ "method": "GET",
150
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/export/csv/{pathv1}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "sendGetBody": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "rPCRulesFiltersList",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/filters?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "sendGetBody": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": ""
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "rPCRulesDesinationCandidatesFiltersList",
190
+ "protocol": "REST",
191
+ "method": "GET",
192
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/filters/local-candidates?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "sendGetBody": false,
198
+ "requestDatatype": "JSON",
199
+ "responseDatatype": "JSON",
200
+ "headers": {},
201
+ "responseObjects": [
202
+ {
203
+ "type": "default",
204
+ "key": "",
205
+ "mockFile": ""
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "name": "rPCRulesSourceCandidatesFiltersList",
211
+ "protocol": "REST",
212
+ "method": "GET",
213
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/filters/remote-candidates?{query}",
214
+ "requestSchema": "schema.json",
215
+ "responseSchema": "schema.json",
216
+ "timeout": 0,
217
+ "sendEmpty": false,
218
+ "sendGetBody": false,
219
+ "requestDatatype": "JSON",
220
+ "responseDatatype": "JSON",
221
+ "headers": {},
222
+ "responseObjects": [
223
+ {
224
+ "type": "default",
225
+ "key": "",
226
+ "mockFile": ""
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "name": "rPCRulesUserCandidatesFiltersList",
232
+ "protocol": "REST",
233
+ "method": "GET",
234
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/filters/user-candidates?{query}",
235
+ "requestSchema": "schema.json",
236
+ "responseSchema": "schema.json",
237
+ "timeout": 0,
238
+ "sendEmpty": false,
239
+ "sendGetBody": false,
240
+ "requestDatatype": "JSON",
241
+ "responseDatatype": "JSON",
242
+ "headers": {},
243
+ "responseObjects": [
244
+ {
245
+ "type": "default",
246
+ "key": "",
247
+ "mockFile": ""
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "name": "rPCRulesDestinationCandidatesList",
253
+ "protocol": "REST",
254
+ "method": "GET",
255
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/local-candidates?{query}",
256
+ "requestSchema": "schema.json",
257
+ "responseSchema": "schema.json",
258
+ "timeout": 0,
259
+ "sendEmpty": false,
260
+ "sendGetBody": false,
261
+ "requestDatatype": "JSON",
262
+ "responseDatatype": "JSON",
263
+ "headers": {},
264
+ "responseObjects": [
265
+ {
266
+ "type": "default",
267
+ "key": "",
268
+ "mockFile": ""
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "name": "rPCRulesSourceCandidatesList",
274
+ "protocol": "REST",
275
+ "method": "GET",
276
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/remote-candidates?{query}",
277
+ "requestSchema": "schema.json",
278
+ "responseSchema": "schema.json",
279
+ "timeout": 0,
280
+ "sendEmpty": false,
281
+ "sendGetBody": false,
282
+ "requestDatatype": "JSON",
283
+ "responseDatatype": "JSON",
284
+ "headers": {},
285
+ "responseObjects": [
286
+ {
287
+ "type": "default",
288
+ "key": "",
289
+ "mockFile": ""
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "name": "rPCRulesUserCandidatesList",
295
+ "protocol": "REST",
296
+ "method": "GET",
297
+ "entitypath": "{base_path}/{version}/protection/rpc-rules/user-candidates?{query}",
298
+ "requestSchema": "schema.json",
299
+ "responseSchema": "schema.json",
300
+ "timeout": 0,
301
+ "sendEmpty": false,
302
+ "sendGetBody": false,
303
+ "requestDatatype": "JSON",
304
+ "responseDatatype": "JSON",
305
+ "headers": {},
306
+ "responseObjects": [
307
+ {
308
+ "type": "default",
309
+ "key": "",
310
+ "mockFile": ""
311
+ }
312
+ ]
313
+ }
314
+ ]
315
+ }
@@ -0,0 +1,121 @@
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": "rPCRulesList",
12
+ "enum": [
13
+ "rPCRulesList",
14
+ "rPCRulesCreate",
15
+ "rPCRuleGet",
16
+ "rPCRuleUpdate",
17
+ "rPCRuleDelete",
18
+ "rPCRulesExcludedDestinationCandidatesList",
19
+ "rPCRulesExport",
20
+ "rPCRulesExportGet",
21
+ "rPCRulesFiltersList",
22
+ "rPCRulesDesinationCandidatesFiltersList",
23
+ "rPCRulesSourceCandidatesFiltersList",
24
+ "rPCRulesUserCandidatesFiltersList",
25
+ "rPCRulesDestinationCandidatesList",
26
+ "rPCRulesSourceCandidatesList",
27
+ "rPCRulesUserCandidatesList"
28
+ ],
29
+ "external_name": "ph_request_type"
30
+ },
31
+ "limit": {
32
+ "type": "number",
33
+ "description": "Limit the return results",
34
+ "parse": false,
35
+ "encode": false,
36
+ "encrypt": {
37
+ "type": "AES",
38
+ "key": ""
39
+ },
40
+ "external_name": "_limit"
41
+ },
42
+ "offset": {
43
+ "type": "number",
44
+ "description": "Used to page through results",
45
+ "parse": false,
46
+ "encode": false,
47
+ "encrypt": {
48
+ "type": "AES",
49
+ "key": ""
50
+ },
51
+ "external_name": "_offset"
52
+ },
53
+ "filters": {
54
+ "type": "string",
55
+ "description": "JSON string URI encoded set of fiters",
56
+ "parse": false,
57
+ "encode": false,
58
+ "encrypt": {
59
+ "type": "AES",
60
+ "key": ""
61
+ },
62
+ "external_name": "_filters"
63
+ },
64
+ "withCount": {
65
+ "type": "boolean",
66
+ "description": "return count of objects",
67
+ "parse": false,
68
+ "encode": false,
69
+ "encrypt": {
70
+ "type": "AES",
71
+ "key": ""
72
+ },
73
+ "external_name": "with_count"
74
+ },
75
+ "addBuiltins": {
76
+ "type": "boolean",
77
+ "description": "show global rules",
78
+ "parse": false,
79
+ "encode": false,
80
+ "encrypt": {
81
+ "type": "AES",
82
+ "key": ""
83
+ },
84
+ "external_name": "_add_builtins"
85
+ },
86
+ "addAncestors": {
87
+ "type": "boolean",
88
+ "description": "show rules where the asset is part of a group",
89
+ "parse": false,
90
+ "encode": false,
91
+ "encrypt": {
92
+ "type": "AES",
93
+ "key": ""
94
+ },
95
+ "external_name": "_add_ancestors"
96
+ },
97
+ "cursor": {
98
+ "type": "number",
99
+ "description": "cursor position to start at",
100
+ "parse": false,
101
+ "encode": false,
102
+ "encrypt": {
103
+ "type": "AES",
104
+ "key": ""
105
+ },
106
+ "external_name": "_cursor"
107
+ },
108
+ "search": {
109
+ "type": "string",
110
+ "description": "Test to search for",
111
+ "parse": false,
112
+ "encode": false,
113
+ "encrypt": {
114
+ "type": "AES",
115
+ "key": ""
116
+ },
117
+ "external_name": "_search"
118
+ }
119
+ },
120
+ "definitions": {}
121
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "sessionsList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/sessions?{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": "sessionsFiltersList",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/sessions/filters?{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
+ "name": "sessionRevoke",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/sessions/{pathv1}/revoke?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,54 @@
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": "sessionsList",
12
+ "enum": [
13
+ "sessionsList",
14
+ "sessionsFiltersList",
15
+ "sessionRevoke"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ },
19
+ "limit": {
20
+ "type": "number",
21
+ "description": "Limit the return results",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "_limit"
29
+ },
30
+ "offset": {
31
+ "type": "number",
32
+ "description": "Used to page through results",
33
+ "parse": false,
34
+ "encode": false,
35
+ "encrypt": {
36
+ "type": "AES",
37
+ "key": ""
38
+ },
39
+ "external_name": "_offset"
40
+ },
41
+ "filters": {
42
+ "type": "string",
43
+ "description": "JSON string URI encoded set of fiters",
44
+ "parse": false,
45
+ "encode": false,
46
+ "encrypt": {
47
+ "type": "AES",
48
+ "key": ""
49
+ },
50
+ "external_name": "_filters"
51
+ }
52
+ },
53
+ "definitions": {}
54
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "aINextBatchGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/ai/next-batch?{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": "settingsClusterStrategyGet",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/environments/cluster-strategy?{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
+ "name": "settingsClusterStrategyUpdate",
47
+ "protocol": "REST",
48
+ "method": "PUT",
49
+ "entitypath": "{base_path}/{version}/environments/cluster-strategy?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,21 @@
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": "aINextBatchGet",
12
+ "enum": [
13
+ "aINextBatchGet",
14
+ "settingsClusterStrategyGet",
15
+ "settingsClusterStrategyUpdate"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }