@itentialopensource/adapter-cisco_ise 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 (226) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +34 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +2991 -0
  7. package/CODE_OF_CONDUCT.md +43 -0
  8. package/CONTRIBUTING.md +13 -0
  9. package/ENHANCE.md +69 -0
  10. package/LICENSE +201 -0
  11. package/PROPERTIES.md +646 -0
  12. package/README.md +349 -0
  13. package/SUMMARY.md +9 -0
  14. package/SYSTEMINFO.md +23 -0
  15. package/TAB1.md +13 -0
  16. package/TAB2.md +306 -0
  17. package/TROUBLESHOOT.md +56 -0
  18. package/adapter.js +53480 -0
  19. package/adapterBase.js +1452 -0
  20. package/entities/.generic/action.json +214 -0
  21. package/entities/.generic/schema.json +28 -0
  22. package/entities/.system/action.json +50 -0
  23. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  24. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  25. package/entities/.system/schema.json +19 -0
  26. package/entities/.system/schemaTokenReq.json +53 -0
  27. package/entities/.system/schemaTokenResp.json +53 -0
  28. package/entities/ACIConnection/action.json +330 -0
  29. package/entities/ACIConnection/schema.json +34 -0
  30. package/entities/ACIData/action.json +205 -0
  31. package/entities/ACIData/schema.json +28 -0
  32. package/entities/ADGroups/action.json +25 -0
  33. package/entities/ADGroups/schema.json +19 -0
  34. package/entities/ActiveDirectories/action.json +25 -0
  35. package/entities/ActiveDirectories/schema.json +19 -0
  36. package/entities/BackupAndRestore/action.json +125 -0
  37. package/entities/BackupAndRestore/schema.json +24 -0
  38. package/entities/Certificates/action.json +452 -0
  39. package/entities/Certificates/schema.json +40 -0
  40. package/entities/ClassificationRule/action.json +146 -0
  41. package/entities/ClassificationRule/schema.json +25 -0
  42. package/entities/Configuration/action.json +24 -0
  43. package/entities/Configuration/schema.json +19 -0
  44. package/entities/CustomAttributes/action.json +106 -0
  45. package/entities/CustomAttributes/schema.json +23 -0
  46. package/entities/DataconnectServices/action.json +106 -0
  47. package/entities/DataconnectServices/schema.json +23 -0
  48. package/entities/DeviceAdminMFARules/action.json +126 -0
  49. package/entities/DeviceAdminMFARules/schema.json +24 -0
  50. package/entities/DeviceAdministrationAuthenticationRules/action.json +126 -0
  51. package/entities/DeviceAdministrationAuthenticationRules/schema.json +24 -0
  52. package/entities/DeviceAdministrationAuthorizationExceptionRules/action.json +126 -0
  53. package/entities/DeviceAdministrationAuthorizationExceptionRules/schema.json +24 -0
  54. package/entities/DeviceAdministrationAuthorizationGlobalExceptionRules/action.json +126 -0
  55. package/entities/DeviceAdministrationAuthorizationGlobalExceptionRules/schema.json +24 -0
  56. package/entities/DeviceAdministrationAuthorizationRules/action.json +126 -0
  57. package/entities/DeviceAdministrationAuthorizationRules/schema.json +24 -0
  58. package/entities/DeviceAdministrationCommandSets/action.json +25 -0
  59. package/entities/DeviceAdministrationCommandSets/schema.json +19 -0
  60. package/entities/DeviceAdministrationConditions/action.json +230 -0
  61. package/entities/DeviceAdministrationConditions/schema.json +29 -0
  62. package/entities/DeviceAdministrationDictionaryAttributesList/action.json +67 -0
  63. package/entities/DeviceAdministrationDictionaryAttributesList/schema.json +21 -0
  64. package/entities/DeviceAdministrationIdentityStores/action.json +25 -0
  65. package/entities/DeviceAdministrationIdentityStores/schema.json +19 -0
  66. package/entities/DeviceAdministrationNetworkConditions/action.json +106 -0
  67. package/entities/DeviceAdministrationNetworkConditions/schema.json +23 -0
  68. package/entities/DeviceAdministrationPolicySets/action.json +126 -0
  69. package/entities/DeviceAdministrationPolicySets/schema.json +24 -0
  70. package/entities/DeviceAdministrationServiceNames/action.json +25 -0
  71. package/entities/DeviceAdministrationServiceNames/schema.json +19 -0
  72. package/entities/DeviceAdministrationShellProfiles/action.json +25 -0
  73. package/entities/DeviceAdministrationShellProfiles/schema.json +19 -0
  74. package/entities/DeviceAdministrationTimeDateConditions/action.json +106 -0
  75. package/entities/DeviceAdministrationTimeDateConditions/schema.json +23 -0
  76. package/entities/DuoIdentitySync/action.json +168 -0
  77. package/entities/DuoIdentitySync/schema.json +26 -0
  78. package/entities/DuoMfa/action.json +147 -0
  79. package/entities/DuoMfa/schema.json +25 -0
  80. package/entities/EnableMFA/action.json +24 -0
  81. package/entities/EnableMFA/schema.json +19 -0
  82. package/entities/EndpointStopReplicationService/action.json +45 -0
  83. package/entities/EndpointStopReplicationService/schema.json +20 -0
  84. package/entities/Endpoints/action.json +207 -0
  85. package/entities/Endpoints/schema.json +28 -0
  86. package/entities/ExternalConnection/action.json +25 -0
  87. package/entities/ExternalConnection/schema.json +19 -0
  88. package/entities/InboundRule/action.json +166 -0
  89. package/entities/InboundRule/schema.json +26 -0
  90. package/entities/LSDSettings/action.json +25 -0
  91. package/entities/LSDSettings/schema.json +19 -0
  92. package/entities/Licensing/action.json +231 -0
  93. package/entities/Licensing/schema.json +29 -0
  94. package/entities/NBARApplicationManagement/action.json +106 -0
  95. package/entities/NBARApplicationManagement/schema.json +23 -0
  96. package/entities/NativeIPsec/action.json +187 -0
  97. package/entities/NativeIPsec/schema.json +27 -0
  98. package/entities/NetworkAccessAuthenticationRules/action.json +126 -0
  99. package/entities/NetworkAccessAuthenticationRules/schema.json +24 -0
  100. package/entities/NetworkAccessAuthorizationExceptionRules/action.json +126 -0
  101. package/entities/NetworkAccessAuthorizationExceptionRules/schema.json +24 -0
  102. package/entities/NetworkAccessAuthorizationGlobalExceptionRules/action.json +126 -0
  103. package/entities/NetworkAccessAuthorizationGlobalExceptionRules/schema.json +24 -0
  104. package/entities/NetworkAccessAuthorizationProfiles/action.json +25 -0
  105. package/entities/NetworkAccessAuthorizationProfiles/schema.json +19 -0
  106. package/entities/NetworkAccessAuthorizationRules/action.json +126 -0
  107. package/entities/NetworkAccessAuthorizationRules/schema.json +24 -0
  108. package/entities/NetworkAccessConditions/action.json +230 -0
  109. package/entities/NetworkAccessConditions/schema.json +29 -0
  110. package/entities/NetworkAccessDictionaries/action.json +106 -0
  111. package/entities/NetworkAccessDictionaries/schema.json +23 -0
  112. package/entities/NetworkAccessDictionaryAttributes/action.json +106 -0
  113. package/entities/NetworkAccessDictionaryAttributes/schema.json +23 -0
  114. package/entities/NetworkAccessDictionaryAttributesList/action.json +67 -0
  115. package/entities/NetworkAccessDictionaryAttributesList/schema.json +21 -0
  116. package/entities/NetworkAccessIdentityStores/action.json +25 -0
  117. package/entities/NetworkAccessIdentityStores/schema.json +19 -0
  118. package/entities/NetworkAccessMFARules/action.json +126 -0
  119. package/entities/NetworkAccessMFARules/schema.json +24 -0
  120. package/entities/NetworkAccessNetworkConditions/action.json +106 -0
  121. package/entities/NetworkAccessNetworkConditions/schema.json +23 -0
  122. package/entities/NetworkAccessPolicySets/action.json +126 -0
  123. package/entities/NetworkAccessPolicySets/schema.json +24 -0
  124. package/entities/NetworkAccessSecurityGroups/action.json +25 -0
  125. package/entities/NetworkAccessSecurityGroups/schema.json +19 -0
  126. package/entities/NetworkAccessServiceNames/action.json +25 -0
  127. package/entities/NetworkAccessServiceNames/schema.json +19 -0
  128. package/entities/NetworkAccessTimeDateConditions/action.json +106 -0
  129. package/entities/NetworkAccessTimeDateConditions/schema.json +23 -0
  130. package/entities/NodeDeployment/action.json +186 -0
  131. package/entities/NodeDeployment/schema.json +27 -0
  132. package/entities/NodeGroup/action.json +167 -0
  133. package/entities/NodeGroup/schema.json +26 -0
  134. package/entities/NodeServices/action.json +107 -0
  135. package/entities/NodeServices/schema.json +23 -0
  136. package/entities/OutboundRule/action.json +146 -0
  137. package/entities/OutboundRule/schema.json +25 -0
  138. package/entities/PANHA/action.json +45 -0
  139. package/entities/PANHA/schema.json +20 -0
  140. package/entities/Patch/action.json +252 -0
  141. package/entities/Patch/schema.json +30 -0
  142. package/entities/PatchAndHotPatch/action.json +126 -0
  143. package/entities/PatchAndHotPatch/schema.json +24 -0
  144. package/entities/PrometheusAlertmanager/action.json +330 -0
  145. package/entities/PrometheusAlertmanager/schema.json +34 -0
  146. package/entities/Proxy/action.json +45 -0
  147. package/entities/Proxy/schema.json +20 -0
  148. package/entities/PxGridCloud/action.json +107 -0
  149. package/entities/PxGridCloud/schema.json +23 -0
  150. package/entities/PxGridDirect/action.json +290 -0
  151. package/entities/PxGridDirect/schema.json +32 -0
  152. package/entities/Repository/action.json +127 -0
  153. package/entities/Repository/schema.json +24 -0
  154. package/entities/RuleFlow/action.json +24 -0
  155. package/entities/RuleFlow/schema.json +19 -0
  156. package/entities/RuleSummary/action.json +24 -0
  157. package/entities/RuleSummary/schema.json +19 -0
  158. package/entities/SXP/action.json +67 -0
  159. package/entities/SXP/schema.json +21 -0
  160. package/entities/SXPDomainsWithMappingAndDevicesCounts/action.json +25 -0
  161. package/entities/SXPDomainsWithMappingAndDevicesCounts/schema.json +19 -0
  162. package/entities/SecurityGroupManagement/action.json +25 -0
  163. package/entities/SecurityGroupManagement/schema.json +19 -0
  164. package/entities/Sgt/action.json +25 -0
  165. package/entities/Sgt/schema.json +19 -0
  166. package/entities/SgtReservation/action.json +106 -0
  167. package/entities/SgtReservation/schema.json +23 -0
  168. package/entities/SharedMappings/action.json +25 -0
  169. package/entities/SharedMappings/schema.json +19 -0
  170. package/entities/Subscriber/action.json +147 -0
  171. package/entities/Subscriber/schema.json +25 -0
  172. package/entities/TaskService/action.json +46 -0
  173. package/entities/TaskService/schema.json +20 -0
  174. package/entities/Telemetry/action.json +45 -0
  175. package/entities/Telemetry/schema.json +20 -0
  176. package/entities/TrustSecMatrixPolicy/action.json +46 -0
  177. package/entities/TrustSecMatrixPolicy/schema.json +20 -0
  178. package/entities/TrustsecIntegrationRuleDefaultTrustsecIntegrationRuleSet/action.json +25 -0
  179. package/entities/TrustsecIntegrationRuleDefaultTrustsecIntegrationRuleSet/schema.json +19 -0
  180. package/entities/TrustsecIntegrationRuleDictionaries/action.json +67 -0
  181. package/entities/TrustsecIntegrationRuleDictionaries/schema.json +21 -0
  182. package/entities/TrustsecIntegrationRuleDictionaryAttributes/action.json +130 -0
  183. package/entities/TrustsecIntegrationRuleDictionaryAttributes/schema.json +24 -0
  184. package/entities/Upgrade/action.json +168 -0
  185. package/entities/Upgrade/schema.json +26 -0
  186. package/entities/UserEquipment/action.json +188 -0
  187. package/entities/UserEquipment/schema.json +27 -0
  188. package/entities/VirtualNetworkManagement/action.json +166 -0
  189. package/entities/VirtualNetworkManagement/schema.json +26 -0
  190. package/entities/WorkloadConnection/action.json +717 -0
  191. package/entities/WorkloadConnection/schema.json +53 -0
  192. package/error.json +190 -0
  193. package/metadata.json +85 -0
  194. package/package.json +81 -0
  195. package/pronghorn.json +22101 -0
  196. package/propertiesDecorators.json +14 -0
  197. package/propertiesSchema.json +1582 -0
  198. package/report/adapterInfo.json +10 -0
  199. package/report/auto-adapter-openapi.json +18045 -0
  200. package/report/creationReport.json +3745 -0
  201. package/report/ise.json +40324 -0
  202. package/sampleProperties.json +257 -0
  203. package/test/integration/adapterTestBasicGet.js +83 -0
  204. package/test/integration/adapterTestConnectivity.js +118 -0
  205. package/test/integration/adapterTestIntegration.js +12350 -0
  206. package/test/unit/adapterBaseTestUnit.js +1024 -0
  207. package/test/unit/adapterTestUnit.js +11628 -0
  208. package/utils/adapterInfo.js +206 -0
  209. package/utils/addAuth.js +94 -0
  210. package/utils/artifactize.js +146 -0
  211. package/utils/basicGet.js +50 -0
  212. package/utils/checkMigrate.js +63 -0
  213. package/utils/entitiesToDB.js +179 -0
  214. package/utils/findPath.js +74 -0
  215. package/utils/methodDocumentor.js +273 -0
  216. package/utils/modify.js +152 -0
  217. package/utils/packModificationScript.js +35 -0
  218. package/utils/patches2bundledDeps.js +90 -0
  219. package/utils/pre-commit.sh +32 -0
  220. package/utils/removeHooks.js +20 -0
  221. package/utils/setup.js +33 -0
  222. package/utils/taskMover.js +309 -0
  223. package/utils/tbScript.js +239 -0
  224. package/utils/tbUtils.js +489 -0
  225. package/utils/testRunner.js +298 -0
  226. package/utils/troubleshootingAdapter.js +193 -0
@@ -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": "getStopReplicationStatus",
12
+ "enum": [
13
+ "getStopReplicationStatus",
14
+ "setStopReplicationService"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,207 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllEndpoints",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/endpoint?{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": "createEndPoint",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/endpoint?{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": "updateBulkEndPoints",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/endpoint/bulk?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "createBulkEndPoints",
66
+ "protocol": "REST",
67
+ "method": "POST",
68
+ "entitypath": "{base_path}/{version}/endpoint/bulk?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "deleteBulkEndPoints",
86
+ "protocol": "REST",
87
+ "method": "DELETE",
88
+ "entitypath": "{base_path}/{version}/endpoint/bulk?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "getDeviceTypeSummary",
106
+ "protocol": "REST",
107
+ "method": "GET",
108
+ "entitypath": "{base_path}/{version}/endpoint/deviceType/summary?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "sendGetBody": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "getEndpointByIdOrMAC",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/endpoint/{pathv1}?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": 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": "updateEndpoint",
148
+ "protocol": "REST",
149
+ "method": "PUT",
150
+ "entitypath": "{base_path}/{version}/endpoint/{pathv1}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "deleteEndpoint",
168
+ "protocol": "REST",
169
+ "method": "DELETE",
170
+ "entitypath": "{base_path}/{version}/endpoint/{pathv1}?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": ""
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "createEndPointTask",
188
+ "protocol": "REST",
189
+ "method": "POST",
190
+ "entitypath": "{base_path}/{version}/endpointTask?{query}",
191
+ "requestSchema": "schema.json",
192
+ "responseSchema": "schema.json",
193
+ "timeout": 0,
194
+ "sendEmpty": false,
195
+ "requestDatatype": "JSON",
196
+ "responseDatatype": "JSON",
197
+ "headers": {},
198
+ "responseObjects": [
199
+ {
200
+ "type": "default",
201
+ "key": "",
202
+ "mockFile": ""
203
+ }
204
+ ]
205
+ }
206
+ ]
207
+ }
@@ -0,0 +1,28 @@
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": "getAllEndpoints",
12
+ "enum": [
13
+ "getAllEndpoints",
14
+ "createEndPoint",
15
+ "updateBulkEndPoints",
16
+ "createBulkEndPoints",
17
+ "deleteBulkEndPoints",
18
+ "getDeviceTypeSummary",
19
+ "getEndpointByIdOrMAC",
20
+ "updateEndpoint",
21
+ "deleteEndpoint",
22
+ "createEndPointTask"
23
+ ],
24
+ "external_name": "ph_request_type"
25
+ }
26
+ },
27
+ "definitions": {}
28
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getExternalConnections",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/trustsec/integration/external-connection?{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": "getExternalConnections",
12
+ "enum": [
13
+ "getExternalConnections"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getIngressFilterList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule?{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": "createIngressFilterConfiguration",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule?{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": "getInboundRuleFilterPreview",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule/preview?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "getInboundRuleFilterPreviewById",
66
+ "protocol": "REST",
67
+ "method": "POST",
68
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule/preview/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "getIngressSxpDomains",
86
+ "protocol": "REST",
87
+ "method": "POST",
88
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule/sxp-domain?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "getIngressFilterById",
106
+ "protocol": "REST",
107
+ "method": "GET",
108
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule/{pathv1}?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "sendGetBody": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "updateIngressFilterById",
127
+ "protocol": "REST",
128
+ "method": "PUT",
129
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule/{pathv1}?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "deleteIngressFilterById",
147
+ "protocol": "REST",
148
+ "method": "DELETE",
149
+ "entitypath": "{base_path}/{version}/trustsec/inbound-rule/{pathv1}?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": ""
162
+ }
163
+ ]
164
+ }
165
+ ]
166
+ }
@@ -0,0 +1,26 @@
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": "getIngressFilterList",
12
+ "enum": [
13
+ "getIngressFilterList",
14
+ "createIngressFilterConfiguration",
15
+ "getInboundRuleFilterPreview",
16
+ "getInboundRuleFilterPreviewById",
17
+ "getIngressSxpDomains",
18
+ "getIngressFilterById",
19
+ "updateIngressFilterById",
20
+ "deleteIngressFilterById"
21
+ ],
22
+ "external_name": "ph_request_type"
23
+ }
24
+ },
25
+ "definitions": {}
26
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getConfiguration",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/lsd/updateLsdSettings?{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": "getConfiguration",
12
+ "enum": [
13
+ "getConfiguration"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }