@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,230 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getDeviceAdminConditions",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition?{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": "postDeviceAdminCondition",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition?{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": "getDeviceAdminConditionsForAuthenticationRule",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/authentication?{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": "getDeviceAdminConditionsForAuthorizationRule",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/authorization?{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": "getDeviceAdminConditionByConditionName",
88
+ "protocol": "REST",
89
+ "method": "GET",
90
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/condition-by-name/{pathv1}?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "sendGetBody": false,
96
+ "requestDatatype": "JSON",
97
+ "responseDatatype": "JSON",
98
+ "headers": {},
99
+ "responseObjects": [
100
+ {
101
+ "type": "default",
102
+ "key": "",
103
+ "mockFile": ""
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "name": "putDeviceAdminConditionByConditionName",
109
+ "protocol": "REST",
110
+ "method": "PUT",
111
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/condition-by-name/{pathv1}?{query}",
112
+ "requestSchema": "schema.json",
113
+ "responseSchema": "schema.json",
114
+ "timeout": 0,
115
+ "sendEmpty": false,
116
+ "requestDatatype": "JSON",
117
+ "responseDatatype": "JSON",
118
+ "headers": {},
119
+ "responseObjects": [
120
+ {
121
+ "type": "default",
122
+ "key": "",
123
+ "mockFile": ""
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "name": "deleteDeviceAdminConditionByConditionName",
129
+ "protocol": "REST",
130
+ "method": "DELETE",
131
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/condition-by-name/{pathv1}?{query}",
132
+ "requestSchema": "schema.json",
133
+ "responseSchema": "schema.json",
134
+ "timeout": 0,
135
+ "sendEmpty": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "getDeviceAdminConditionsForPolicySet",
149
+ "protocol": "REST",
150
+ "method": "GET",
151
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/policyset?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "sendGetBody": false,
157
+ "requestDatatype": "JSON",
158
+ "responseDatatype": "JSON",
159
+ "headers": {},
160
+ "responseObjects": [
161
+ {
162
+ "type": "default",
163
+ "key": "",
164
+ "mockFile": ""
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "name": "getDeviceAdminConditionByConditionId",
170
+ "protocol": "REST",
171
+ "method": "GET",
172
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/{pathv1}?{query}",
173
+ "requestSchema": "schema.json",
174
+ "responseSchema": "schema.json",
175
+ "timeout": 0,
176
+ "sendEmpty": false,
177
+ "sendGetBody": false,
178
+ "requestDatatype": "JSON",
179
+ "responseDatatype": "JSON",
180
+ "headers": {},
181
+ "responseObjects": [
182
+ {
183
+ "type": "default",
184
+ "key": "",
185
+ "mockFile": ""
186
+ }
187
+ ]
188
+ },
189
+ {
190
+ "name": "putDeviceAdminConditionByConditionId",
191
+ "protocol": "REST",
192
+ "method": "PUT",
193
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/{pathv1}?{query}",
194
+ "requestSchema": "schema.json",
195
+ "responseSchema": "schema.json",
196
+ "timeout": 0,
197
+ "sendEmpty": 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": "deleteDeviceAdminConditionByConditionId",
211
+ "protocol": "REST",
212
+ "method": "DELETE",
213
+ "entitypath": "{base_path}/{version}/policy/device-admin/condition/{pathv1}?{query}",
214
+ "requestSchema": "schema.json",
215
+ "responseSchema": "schema.json",
216
+ "timeout": 0,
217
+ "sendEmpty": false,
218
+ "requestDatatype": "JSON",
219
+ "responseDatatype": "JSON",
220
+ "headers": {},
221
+ "responseObjects": [
222
+ {
223
+ "type": "default",
224
+ "key": "",
225
+ "mockFile": ""
226
+ }
227
+ ]
228
+ }
229
+ ]
230
+ }
@@ -0,0 +1,29 @@
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": "getDeviceAdminConditions",
12
+ "enum": [
13
+ "getDeviceAdminConditions",
14
+ "postDeviceAdminCondition",
15
+ "getDeviceAdminConditionsForAuthenticationRule",
16
+ "getDeviceAdminConditionsForAuthorizationRule",
17
+ "getDeviceAdminConditionByConditionName",
18
+ "putDeviceAdminConditionByConditionName",
19
+ "deleteDeviceAdminConditionByConditionName",
20
+ "getDeviceAdminConditionsForPolicySet",
21
+ "getDeviceAdminConditionByConditionId",
22
+ "putDeviceAdminConditionByConditionId",
23
+ "deleteDeviceAdminConditionByConditionId"
24
+ ],
25
+ "external_name": "ph_request_type"
26
+ }
27
+ },
28
+ "definitions": {}
29
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getDeviceAdminDictionariesAuthentication",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/policy/device-admin/dictionaries/authentication?{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": "getDeviceAdminDictionariesAuthorization",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/policy/device-admin/dictionaries/authorization?{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": "getDeviceAdminDictionariesPolicyset",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/policy/device-admin/dictionaries/policyset?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ }
66
+ ]
67
+ }
@@ -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": "getDeviceAdminDictionariesAuthentication",
12
+ "enum": [
13
+ "getDeviceAdminDictionariesAuthentication",
14
+ "getDeviceAdminDictionariesAuthorization",
15
+ "getDeviceAdminDictionariesPolicyset"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getDeviceAdminIdentityStores",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/policy/device-admin/identity-stores?{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": "getDeviceAdminIdentityStores",
12
+ "enum": [
13
+ "getDeviceAdminIdentityStores"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getDeviceAdminNetworkConditions",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/policy/device-admin/network-condition?{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": "postDeviceAdminNetworkCondition",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/policy/device-admin/network-condition?{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": "getDeviceAdminNetworkConditionByConditionId",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/policy/device-admin/network-condition/{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": "putDeviceAdminNetworkConditionByConditionId",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/policy/device-admin/network-condition/{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": "deleteDeviceAdminNetworkConditionByConditionId",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/policy/device-admin/network-condition/{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": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getDeviceAdminNetworkConditions",
12
+ "enum": [
13
+ "getDeviceAdminNetworkConditions",
14
+ "postDeviceAdminNetworkCondition",
15
+ "getDeviceAdminNetworkConditionByConditionId",
16
+ "putDeviceAdminNetworkConditionByConditionId",
17
+ "deleteDeviceAdminNetworkConditionByConditionId"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getDeviceAdminPolicySetList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/policy/device-admin/policy-set?{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": "createDeviceAdminPolicySet",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/policy/device-admin/policy-set?{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": "resetHitCountsDeviceAdminPolicySets",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/policy/device-admin/policy-set/reset-hitcount?{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": "getDeviceAdminPolicySetById",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/policy/device-admin/policy-set/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": 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": "updateDeviceAdminPolicySetById",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/policy/device-admin/policy-set/{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": "deleteDeviceAdminPolicySetById",
107
+ "protocol": "REST",
108
+ "method": "DELETE",
109
+ "entitypath": "{base_path}/{version}/policy/device-admin/policy-set/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,24 @@
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": "getDeviceAdminPolicySetList",
12
+ "enum": [
13
+ "getDeviceAdminPolicySetList",
14
+ "createDeviceAdminPolicySet",
15
+ "resetHitCountsDeviceAdminPolicySets",
16
+ "getDeviceAdminPolicySetById",
17
+ "updateDeviceAdminPolicySetById",
18
+ "deleteDeviceAdminPolicySetById"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }