@itentialopensource/adapter-zero_networks 0.1.2 → 0.2.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 (62) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/AUTH.md +14 -18
  4. package/BROKER.md +31 -19
  5. package/CALLS.md +1175 -23
  6. package/CHANGELOG.md +16 -0
  7. package/PROPERTIES.md +5 -0
  8. package/README.md +60 -63
  9. package/SYSTEMINFO.md +14 -6
  10. package/TAB1.md +8 -0
  11. package/TAB2.md +83 -6564
  12. package/adapter.js +16661 -39
  13. package/compliance-report.json +9 -0
  14. package/compliance-report.txt +5 -0
  15. package/entities/Asset/action.json +872 -0
  16. package/entities/Asset/schema.json +43 -1
  17. package/entities/AssetOTIoT/action.json +851 -0
  18. package/entities/AssetOTIoT/schema.json +42 -1
  19. package/entities/Assets/action.json +83 -0
  20. package/entities/Assets/schema.json +5 -1
  21. package/entities/Download/action.json +88 -0
  22. package/entities/Download/schema.json +22 -0
  23. package/entities/Group/action.json +518 -0
  24. package/entities/Group/schema.json +26 -1
  25. package/entities/Groups/action.json +354 -0
  26. package/entities/Groups/schema.json +18 -1
  27. package/entities/GroupsCustom/action.json +20 -0
  28. package/entities/GroupsCustom/schema.json +2 -1
  29. package/entities/GroupsTag/action.json +45 -0
  30. package/entities/GroupsTag/schema.json +20 -0
  31. package/entities/MFAIdentity/action.json +295 -0
  32. package/entities/MFAIdentity/schema.json +32 -0
  33. package/entities/MFAInbound/action.json +21 -0
  34. package/entities/MFAInbound/schema.json +2 -1
  35. package/entities/MFAOutbound/action.json +21 -0
  36. package/entities/MFAOutbound/schema.json +2 -1
  37. package/entities/Rules/action.json +40 -0
  38. package/entities/Rules/schema.json +3 -1
  39. package/entities/RulesInbound/action.json +293 -0
  40. package/entities/RulesInbound/schema.json +32 -0
  41. package/entities/RulesOutboundAllow/action.json +21 -0
  42. package/entities/RulesOutboundAllow/schema.json +2 -1
  43. package/entities/SettingsInactiveAssets/action.json +45 -0
  44. package/entities/SettingsInactiveAssets/schema.json +20 -0
  45. package/entities/SettingsLicenses/action.json +25 -0
  46. package/entities/SettingsLicenses/schema.json +19 -0
  47. package/entities/User/action.json +291 -0
  48. package/entities/User/schema.json +15 -1
  49. package/entities/Users/action.json +21 -0
  50. package/entities/Users/schema.json +2 -1
  51. package/metadata.json +16 -4
  52. package/package.json +12 -14
  53. package/pronghorn.json +12801 -490
  54. package/propertiesSchema.json +133 -36
  55. package/refs?service=git-upload-pack +0 -0
  56. package/report/adapter-openapi.json +115977 -0
  57. package/report/adapterInfo.json +7 -7
  58. package/report/updateReport1715609939167.json +120 -0
  59. package/sampleProperties.json +43 -31
  60. package/test/integration/adapterTestIntegration.js +4700 -0
  61. package/test/unit/adapterTestUnit.js +8585 -8
  62. package/utils/artifactize.js +0 -0
@@ -164,7 +164,48 @@
164
164
  "assetOTOutboundAllowRuleGet",
165
165
  "assetOTOutboundAllowRuleUpdate",
166
166
  "assetOTOutboundAllowRuleDelete",
167
- "assetOTTagsGet"
167
+ "assetOTTagsGet",
168
+ "assetOTMFAIdentityPoliciesList",
169
+ "assetOTMFAIdentityPoliciesCreate",
170
+ "assetOTMFAIdentityPoliciesGet",
171
+ "assetOTMFAIdentityPoliciesUpdate",
172
+ "assetOTMFAIdentityPoliciesDelete",
173
+ "assetOTMFAIdentityPoliciesDestinationCandidatesList",
174
+ "assetOTMFAIdentityPoliciesExcludedSourceCandidatesList",
175
+ "assetOTMFAIdentityPoliciesFiltersList",
176
+ "assetOTMFAIdentityPoliciesDestinationCandidatesFiltersList",
177
+ "assetOTMFAIdentityPoliciesSourceCandidatesFiltersList",
178
+ "assetOTMFAIdentityPoliciesSourceUsersCandidatesFiltersList",
179
+ "assetOTMFAIdentityPoliciesMFAMethodsList",
180
+ "assetOTMFAIdentityPoliciesSourceCandidatesList",
181
+ "assetOTMFAIdentityPoliciesSourceUserCandidatesList",
182
+ "assetOTMFAInboundPoliciesSimulateTest",
183
+ "assetOTMFAInboundPoliciesSimulateDestinationCandidatesList",
184
+ "assetOTMFAInboundPoliciesSimulateResolveGet",
185
+ "assetOTMFAInboundPoliciesSimulateSourceCandidatesList",
186
+ "assetOTMFAInboundPoliciesSimulateSourceUserCandidatesList",
187
+ "assetOTMFAOutboundPoliciesSimulateTest",
188
+ "assetOTMFAOutboundPoliciesSimulateDestinationCandidatesList",
189
+ "assetOTMFAOutboundPoliciesSimulateResolveGet",
190
+ "assetOTMFAOutboundPoliciesSimulateSourceCandidatesList",
191
+ "assetOTMFAOutboundPoliciesSimulateSourceUserCandidatesList",
192
+ "assetOTInboundRulesList",
193
+ "assetOTInboundRulesCreate",
194
+ "assetOTInboundRulesExport",
195
+ "assetOTInboundRulesExportGet",
196
+ "assetOTInboundRulesExcludedDestinationCandidatesList",
197
+ "assetOTInboundRulesFiltersList",
198
+ "assetOTInboundRulesDesinationCandidatesFiltersList",
199
+ "assetOTInboundRulesSourceCandidatesFiltersList",
200
+ "assetOTInboundRulesDestinationCandidatesList",
201
+ "assetOTInboundRulesSourceCandidatesList",
202
+ "assetOTInboundRulesReviewApprove",
203
+ "assetOTInboundRulesReviewApproveWithChanges",
204
+ "assetOTInboundRulesReviewDeny",
205
+ "assetOTInboundRuleGet",
206
+ "assetOTInboundRuleUpdate",
207
+ "assetOTInboundRuleDelete",
208
+ "assetOTOutboundAllowRulesDestinationCandidatesListV2"
168
209
  ],
169
210
  "external_name": "ph_request_type"
170
211
  },
@@ -1331,6 +1331,89 @@
1331
1331
  "mockFile": ""
1332
1332
  }
1333
1333
  ]
1334
+ },
1335
+ {
1336
+ "name": "assetsListV2",
1337
+ "protocol": "REST",
1338
+ "method": "GET",
1339
+ "entitypath": "{base_path}/{version}/assets?{query}",
1340
+ "requestSchema": "schema.json",
1341
+ "responseSchema": "schema.json",
1342
+ "timeout": 0,
1343
+ "sendEmpty": false,
1344
+ "sendGetBody": false,
1345
+ "requestDatatype": "JSON",
1346
+ "responseDatatype": "JSON",
1347
+ "headers": {},
1348
+ "responseObjects": [
1349
+ {
1350
+ "type": "default",
1351
+ "key": "",
1352
+ "mockFile": ""
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ "name": "assetTypeUpdate",
1358
+ "protocol": "REST",
1359
+ "method": "PUT",
1360
+ "entitypath": "{base_path}/{version}/assets/{pathv1}/actions/type?{query}",
1361
+ "requestSchema": "schema.json",
1362
+ "responseSchema": "schema.json",
1363
+ "timeout": 0,
1364
+ "sendEmpty": false,
1365
+ "requestDatatype": "JSON",
1366
+ "responseDatatype": "JSON",
1367
+ "headers": {},
1368
+ "responseObjects": [
1369
+ {
1370
+ "type": "default",
1371
+ "key": "",
1372
+ "mockFile": ""
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "name": "assetsLinuxScriptGet",
1378
+ "protocol": "REST",
1379
+ "method": "GET",
1380
+ "entitypath": "{base_path}/{version}/assets/linux/scripts/add-user?{query}",
1381
+ "requestSchema": "schema.json",
1382
+ "responseSchema": "schema.json",
1383
+ "timeout": 0,
1384
+ "sendEmpty": false,
1385
+ "sendGetBody": false,
1386
+ "requestDatatype": "JSON",
1387
+ "responseDatatype": "JSON",
1388
+ "headers": {},
1389
+ "responseObjects": [
1390
+ {
1391
+ "type": "default",
1392
+ "key": "",
1393
+ "mockFile": ""
1394
+ }
1395
+ ]
1396
+ },
1397
+ {
1398
+ "name": "assetsLinuxScriptAvailableGet",
1399
+ "protocol": "REST",
1400
+ "method": "GET",
1401
+ "entitypath": "{base_path}/{version}/assets/linux/scripts/add-user-available?{query}",
1402
+ "requestSchema": "schema.json",
1403
+ "responseSchema": "schema.json",
1404
+ "timeout": 0,
1405
+ "sendEmpty": false,
1406
+ "sendGetBody": false,
1407
+ "requestDatatype": "JSON",
1408
+ "responseDatatype": "JSON",
1409
+ "headers": {},
1410
+ "responseObjects": [
1411
+ {
1412
+ "type": "default",
1413
+ "key": "",
1414
+ "mockFile": ""
1415
+ }
1416
+ ]
1334
1417
  }
1335
1418
  ]
1336
1419
  }
@@ -74,7 +74,11 @@
74
74
  "assetsSearch",
75
75
  "assetsStatesStatisticsGet",
76
76
  "assetsStatisticsGet",
77
- "usersManagedAssetsDelete"
77
+ "usersManagedAssetsDelete",
78
+ "assetsListV2",
79
+ "assetTypeUpdate",
80
+ "assetsLinuxScriptGet",
81
+ "assetsLinuxScriptAvailableGet"
78
82
  ],
79
83
  "external_name": "ph_request_type"
80
84
  },
@@ -0,0 +1,88 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "segmentServerDownload",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/download/segment/server?{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": "connectServerDownload",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/download/connect/server?{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": "connectClientDownload",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/download/connect/client?{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
+ "name": "cloudConnectorInstallerDownload",
68
+ "protocol": "REST",
69
+ "method": "GET",
70
+ "entitypath": "{base_path}/{version}/download/cloud-connector/installer?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": false,
75
+ "sendGetBody": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "responseObjects": [
80
+ {
81
+ "type": "default",
82
+ "key": "",
83
+ "mockFile": ""
84
+ }
85
+ ]
86
+ }
87
+ ]
88
+ }
@@ -0,0 +1,22 @@
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": "segmentServerDownload",
12
+ "enum": [
13
+ "segmentServerDownload",
14
+ "connectServerDownload",
15
+ "connectClientDownload",
16
+ "cloudConnectorInstallerDownload"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }